{"version":3,"file":"shared.xAlWZysF.mjs","names":["React.Fragment","React.useState","React.useRef","React.useCallback","__esmMin","le","init_ssg_sandbox_shims","ne","x","window","j","_e","p","K","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","init_framer_CKT6jEEQ","RenderTarget","ControlType","hasConnectedLayoutNode","node","child","readLogicalElementWidth","element","fallback","client","offset","readLogicalElementHeight","readLayoutViewportWidth","width","readLayoutViewportHeight","height","readVisibleViewportHeight","visualHeight","createCoarsePointerResizeGate","coarsePointer","lastAcceptedWidth","nextWidth","widthChanged","active","editing","force","useAvailableWidth","setWidth","raf","commit","next","current","useViewportWidth","lastViewportWidth","measureViewport","scheduleMeasure","quickWidth","handleResize","handleOrientation","handlePageShow","handleLoad","ref","measureElement","scheduleElementMeasure","observer","contentWidth","entries","useViewportHeight","setHeight","enabled","lastWidth","measure","schedule","useContainViewportHeight","snapshot","setSnapshot","settleRafA","settleRafB","settleTimer","failOpenTimer","loadCheckTimer","postReadyTimer","bootstrapListenersAttached","bootstrapping","userInteracted","checkpointSequence","measuredHeight","wasRevealed","releaseBootstrapListeners","handleUserInteraction","handleUserScroll","handleVisualResize","completeBootstrap","reveal","heightChanged","isReady","startup","capture","scheduleCapture","cancelCheckpoint","checkpoint","ticket","finalHeight","useRuntimeHeightBridge","latestHeightRef","syncHeightRef","root","rootRef","body","html","host","safeHeight","saved","oldBodyMinHeight","oldHtmlMinHeight","touchedBodyMinHeight","touchedHtmlMinHeight","scheduled","remember","item","restoreOwnedStyles","clipsY","style","hasMeaningfulFlowSibling","ancestor","branch","rect","setExactHeight","clip","pixels","expandOnly","needed","apply","pageTop","requiredBottom","depth","exactCorridor","ancestorTop","displayHeight","hostHeight","nextHeight","shouldMeasureResize","acquireHeightFitContainmentRuntime","head","g","runtime","HEIGHT_FIT_RUNTIME_KEY","HEIGHT_FIT_ATTRIBUTE","HEIGHT_FIT_VARIABLES","name","existing","styleElement","useHeightFitBackgroundContainment","options","safeWidth","visualWidth","horizontalOffset","useHeightFitVirtualViewportScroll","spacer","spacerRef","movingContent","movingContentRef","paintRaf","geometryRaf","upgradeRafA","upgradeRafB","idleTimer","destroyed","lastAuthoredTravel","lastScrollSignalAt","jsScrollAttached","nativeAnimation","lastLayoutWidth","safeScale","scale","maxVisualTravel","scaledHeight","viewportHeight","maxAuthoredTravel","measurePageTop","retireCompositorHint","scheduleCompositorRetirement","activateCompositorHint","currentAuthoredTravel","writeInlinePosition","authoredTravel","transform","paintJsPosition","scheduleJsPaint","promote","handleScroll","attachJsScroll","detachJsScroll","uninstallNativeTimeline","nativeGeometryMatchesRootScroll","scrollingElement","viewportH","documentHeight","maxDocumentScroll","tolerance","tryInstallNativeTimeline","ScrollTimelineCtor","source","timeline","animation","cancelUpgrade","scheduleNativeUpgrade","refreshGeometry","scheduleGeometryRefresh","handleRuntimeResize","handleRuntimeOrientation","measureConnectedLayoutHeight","directRoot","nestedRoot","readBoxHeight","target","directHeight","wrapperHeight","nestedHeight","parsePositiveLayoutValue","value","parsed","measureDynamicLayoutExtent","selector","DYNAMIC_LAYOUT_PARTICIPANT_ATTRIBUTE","participants","fallbackWidth","rootRect","maxBottom","maxRight","activeParticipants","participant","declaredHeight","DYNAMIC_LAYOUT_HEIGHT_ATTRIBUTE","declaredWidth","DYNAMIC_LAYOUT_WIDTH_ATTRIBUTE","authoredAtOrigin","DYNAMIC_LAYOUT_ORIGIN_ATTRIBUTE","logicalTop","logicalLeft","restoreParticipantOverflow","inline","authoredOverflow","prior","authoredOverflowX","authoredOverflowY","reconcileInternalParticipantClipping","required","visited","previous","externallyReauthored","computed","clips","contentRoot","original","useRuntimeHorizontalOverflowRelease","ScaledComposition","props","contentRef","containFrameRef","hasEstablishedContentGeometryRef","navigationFramingPinned","setNavigationFramingPinned","contentExtent","setContentExtent","baseWidth","containPreflightFailOpen","setContainPreflightFailOpen","useLayoutZoom","fitMode","timer","safeBaseWidth","safeAvailableWidth","availableWidth","safeAvailableHeight","availableHeight","safeReferenceViewportHeight","referenceViewportHeight","widthScale","viewportHeightScale","liveContainScale","liveContainHorizontalOffset","priorContainFrame","containSnapshotMatchesViewport","containStartupRevision","lockedContainFrame","containViewportReady","scaler","VIEWPORT_SCALER_ATTRIBUTE","captureFraming","event","SCALER_SCROLL_EVENT","lastPresence","missingConfirmationTimer","presenceStartedAt","lastLoadAt","releasedInternalOverflow","restoreInternalOverflow","old","confirmMissing","now","onContentPresence","scheduleMissingConfirmation","connectedBoxHeight","authoredHeight","protocol","geometryReady","scrollToken","SCALER_MEASURED_EVENT","owningScaler","measureForNavigation","token","SCALER_MEASURE_EVENT","resizeObserver","protocolObserver","logicalContentHeight","containPaintReady","logicalContentWidth","scaledWidth","scaledContentWidth","scaledViewportHeight","liveContainVerticalOffset","shortPageCenterOffset","fillCenterOffset","fillCenterRequested","fillCenterViewportHeight","verticalOffset","containFloor","spacerHeight","visualContentWidth","fillCenterPaintReady","fillCenterViewportReady","onVisualMetrics","AuramarkViewportScaler","navigationTopCommitted","setNavigationTopCommitted","navigationTopRef","isCanvas","visualMetrics","setVisualMetrics","canvasPreview","desktopBaseWidth","mobileBaseWidth","preferredMode","breakpoint","fallbackMode","preferredNode","mobileLayout","desktopLayout","fallbackNode","preferredConnected","fallbackConnected","runtimeMissingMode","setRuntimeMissingMode","preferredRejectedAtRuntime","mode","activeConnected","usingFallback","framerHeightHintPresent","runtimeOwnsHeight","scaleMode","mobileViewportHeight","desktopViewportHeight","viewportAvailableHeight","centerEligible","fillVerticalAlignment","containViewport","canvasContainHeight","runtimeRootWidth","handleVisualMetrics","handleContentPresence","present","heightFitBackgroundContainmentEnabled","pending","anchoring","scrollBehaviorBefore","suppressScrollAnchoring","restoreScrollAnchoring","jumpNativeScroll","finish","success","reason","scheduleCheck","checkGeometryAndScroll","job","committedLogical","expected","physicalHeight","record","pageHeight","visibleHeight","maxY","pageWidth","visibleWidth","maxX","afterFlowTop","visibleScene","targetY","targetX","error","verify","updatedPageHeight","updatedMaximum","expectedY","updatedPageWidth","expectedX","wrongY","onMeasured","payload","onScrollRequest","custom","detail","currentSpacer","committedCrop","moveToTop","onExplicitNavigation","compensatingCrop","ok","dynamicHorizontalOverflow","init_AuramarkViewportScaler","addPropertyControls"],"sources":["https:/framerusercontent.com/modules/Y862oIzkQaF6Mj8qfcIr/LOA1kOnLrMG9R4Mfofmb/AuramarkViewportScaler.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const VIEWPORT_SCALER_ATTRIBUTE=\"data-auramark-viewport-scaler\";const VIEWPORT_SCALE_ATTRIBUTE=\"data-auramark-viewport-scale\";const DYNAMIC_LAYOUT_PARTICIPANT_ATTRIBUTE=\"data-auramark-dynamic-layout-participant\";const DYNAMIC_LAYOUT_HEIGHT_ATTRIBUTE=\"data-auramark-dynamic-layout-height\";const DYNAMIC_LAYOUT_WIDTH_ATTRIBUTE=\"data-auramark-dynamic-layout-width\";// Optional for full-scene participants anchored to the authoring origin.\n// Legacy participants continue using measured/scaled DOM offsets unchanged.\nconst DYNAMIC_LAYOUT_ORIGIN_ATTRIBUTE=\"data-auramark-dynamic-layout-origin\";// Loosely coupled DOM contract; Scaler remains independently usable without\n// importing any Navigator runtime, Coordinator or React consumer module.\nconst SCALER_SCROLL_EVENT=\"auramark:viewport-scaler-navigation-scroll\";const SCALER_MEASURE_EVENT=\"auramark:viewport-scaler-navigation-measure\";const SCALER_MEASURED_EVENT=\"auramark:viewport-scaler-navigation-measured\";/**\n * Framer ComponentInstance outlets are React-node payloads, not simple booleans.\n * An unconnected outlet can arrive as an empty array/fragment-like shape, which\n * is truthy in JavaScript. Normalize those shapes before breakpoint selection.\n */function hasConnectedLayoutNode(node){if(node==null||node===false)return false;if(Array.isArray(node)){return node.some(child=>hasConnectedLayoutNode(child));}if(typeof node===\"string\")return node.trim().length>0;if(typeof node===\"number\")return true;if(/*#__PURE__*/React.isValidElement(node)){if(node.type===React.Fragment){return hasConnectedLayoutNode(node.props?.children);}return true;}try{return React.Children.count(node)>0;}catch{return false;}}function readLogicalElementWidth(element,fallback){if(!element)return fallback;// IMPORTANT: do not use getBoundingClientRect() here.\n// In the Framer Canvas it includes the editor's visual zoom transform.\nconst client=element.clientWidth;if(Number.isFinite(client)&&client>0)return client;const offset=element.offsetWidth;if(Number.isFinite(offset)&&offset>0)return offset;return fallback;}function readLogicalElementHeight(element,fallback){if(!element)return fallback;// Same Canvas rule as width: logical layout box only, never editor-zoomed rects.\nconst client=element.clientHeight;if(Number.isFinite(client)&&client>0)return client;const offset=element.offsetHeight;if(Number.isFinite(offset)&&offset>0)return offset;return fallback;}function readLayoutViewportWidth(fallback){if(typeof document!==\"undefined\"){const width=document.documentElement?.clientWidth;if(Number.isFinite(width)&&width>0)return width;}if(typeof window!==\"undefined\"){const width=window.innerWidth;if(Number.isFinite(width)&&width>0)return width;}return fallback;}function readLayoutViewportHeight(fallback){if(typeof document!==\"undefined\"){const height=document.documentElement?.clientHeight;if(Number.isFinite(height)&&height>0)return height;}if(typeof window!==\"undefined\"){const height=window.innerHeight;if(Number.isFinite(height)&&height>0)return height;}return fallback;}function readVisibleViewportHeight(fallback){if(typeof window!==\"undefined\"){const visualHeight=window.visualViewport?.height;if(Number.isFinite(visualHeight)&&(visualHeight||0)>0){return visualHeight;}}return readLayoutViewportHeight(fallback);}/**\n * Candidate A: gate browser-chrome height-only window.resize events before\n * triggering expensive content/ancestor geometry work.\n *\n * Coarse pointer is the only path filtered. Touch browsers may emit a long\n * series of height-only resizes as their browser toolbar collapses/expands.\n * Changes to actual content are still observed independently by ResizeObserver\n * and the explicit Dynamic Layout attribute observer.\n *\n * Preserve editable/IME interactions conservatively, even when the browser\n * changes only viewport height. Forced orientation/pageshow checks also bypass\n * the gate. Fine-pointer desktops preserve their existing resize behavior.\n */function createCoarsePointerResizeGate(){const coarsePointer=typeof window.matchMedia===\"function\"&&window.matchMedia(\"(pointer: coarse)\").matches;let lastAcceptedWidth=readLayoutViewportWidth(1);return (force=false)=>{if(!coarsePointer)return true;const nextWidth=readLayoutViewportWidth(lastAcceptedWidth);const widthChanged=Math.abs(nextWidth-lastAcceptedWidth)>=.5;const active=document.activeElement;const editing=active instanceof HTMLElement&&(active.isContentEditable||active.tagName===\"INPUT\"||active.tagName===\"TEXTAREA\"||active.tagName===\"SELECT\");if(!force&&!widthChanged&&!editing)return false;lastAcceptedWidth=nextWidth;return true;};}function useAvailableWidth(ref,fallback,useViewportWidth){const[width,setWidth]=React.useState(fallback);React.useLayoutEffect(()=>{let raf=0;const commit=next=>{if(!Number.isFinite(next)||next<=0)return;setWidth(current=>Math.abs(current-next)<.01?current:next);};if(useViewportWidth){let lastViewportWidth=fallback;const measureViewport=()=>{const next=readLayoutViewportWidth(fallback);lastViewportWidth=next;commit(next);};const scheduleMeasure=(force=false)=>{const quickWidth=readLayoutViewportWidth(lastViewportWidth);if(!force&&Math.abs(quickWidth-lastViewportWidth)<.5){return;}lastViewportWidth=quickWidth;if(raf)return;raf=window.requestAnimationFrame(()=>{raf=0;measureViewport();});};measureViewport();if(typeof window===\"undefined\")return;// Layout viewport width is authoritative. visualViewport resize is\n// intentionally ignored because mobile browser chrome can emit it while\n// the layout width remains unchanged (Safari + Chromium Android).\nconst handleResize=()=>scheduleMeasure(false);const handleOrientation=()=>scheduleMeasure(true);const handlePageShow=()=>scheduleMeasure(true);// The first response after a publish may finish viewport/meta layout\n// after the React mount. This one-shot load read is width-only and\n// does not alter the existing mobile browser-chrome resize gate.\nconst handleLoad=()=>scheduleMeasure(true);window.addEventListener(\"resize\",handleResize,{passive:true});window.addEventListener(\"orientationchange\",handleOrientation);window.addEventListener(\"pageshow\",handlePageShow);window.addEventListener(\"load\",handleLoad);return()=>{if(raf)window.cancelAnimationFrame(raf);window.removeEventListener(\"load\",handleLoad);window.removeEventListener(\"resize\",handleResize);window.removeEventListener(\"orientationchange\",handleOrientation);window.removeEventListener(\"pageshow\",handlePageShow);};}const element=ref.current;if(!element)return;const measureElement=()=>{commit(readLogicalElementWidth(element,fallback));};const scheduleElementMeasure=()=>{if(raf)return;raf=requestAnimationFrame(()=>{raf=0;measureElement();});};measureElement();if(typeof ResizeObserver!==\"undefined\"){const observer=new ResizeObserver(entries=>{const entry=entries[0];const contentWidth=entry?.contentRect?.width;if(Number.isFinite(contentWidth)&&contentWidth>0){commit(contentWidth);}else{scheduleElementMeasure();}});observer.observe(element);return()=>{if(raf)cancelAnimationFrame(raf);observer.disconnect();};}if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",scheduleElementMeasure,{passive:true});return()=>{if(raf)window.cancelAnimationFrame(raf);window.removeEventListener(\"resize\",scheduleElementMeasure);};}},[ref,fallback,useViewportWidth]);return width;}function useViewportHeight(fallback,enabled){const[height,setHeight]=React.useState(fallback);React.useLayoutEffect(()=>{if(!enabled)return;if(typeof window===\"undefined\")return;let raf=0;let lastWidth=readLayoutViewportWidth(1);const coarsePointer=typeof window.matchMedia===\"function\"&&window.matchMedia(\"(pointer: coarse)\").matches;const commit=next=>{if(!Number.isFinite(next)||next<=0)return;setHeight(current=>Math.abs(current-next)<.01?current:next);};const measure=(force=false)=>{const nextWidth=readLayoutViewportWidth(lastWidth);const widthChanged=Math.abs(nextWidth-lastWidth)>1;// On Android/iOS coarse-pointer browsers, toolbar movement can emit\n// height-only resize events while scrolling. Do not rescale the entire\n// authored composition for that transient chrome movement.\nif(!force&&coarsePointer&&!widthChanged)return;lastWidth=nextWidth;commit(readLayoutViewportHeight(fallback));};const schedule=(force=false)=>{if(raf)window.cancelAnimationFrame(raf);raf=window.requestAnimationFrame(()=>{raf=0;measure(force);});};// Initial mount must always capture the actual layout viewport height.\nmeasure(true);const handleResize=()=>schedule(false);const handleOrientation=()=>schedule(true);const handlePageShow=()=>schedule(true);window.addEventListener(\"resize\",handleResize,{passive:true});window.addEventListener(\"orientationchange\",handleOrientation);window.addEventListener(\"pageshow\",handlePageShow);return()=>{if(raf)window.cancelAnimationFrame(raf);window.removeEventListener(\"resize\",handleResize);window.removeEventListener(\"orientationchange\",handleOrientation);window.removeEventListener(\"pageshow\",handlePageShow);};},[fallback,enabled]);return enabled?height:fallback;}function useContainViewportHeight(fallback,enabled){const[snapshot,setSnapshot]=React.useState({height:fallback,ready:false,startupRevision:0});React.useLayoutEffect(()=>{if(!enabled)return;if(typeof window===\"undefined\")return;const coarsePointer=typeof window.matchMedia===\"function\"&&window.matchMedia(\"(pointer: coarse)\").matches;let lastWidth=readLayoutViewportWidth(1);let raf=0;let settleRafA=0;let settleRafB=0;let settleTimer=0;let failOpenTimer=0;let loadCheckTimer=0;let postReadyTimer=0;let bootstrapListenersAttached=false;let bootstrapping=true;let userInteracted=false;let checkpointSequence=0;let measuredHeight=readVisibleViewportHeight(fallback);let wasRevealed=false;// Changing the authored viewport reference or re-enabling Contain must\n// never reuse a previously settled height from another composition.\nsetSnapshot(current=>current.ready?{height:measuredHeight,ready:false,startupRevision:current.startupRevision+1}:current);const releaseBootstrapListeners=()=>{if(!bootstrapListenersAttached)return;bootstrapListenersAttached=false;window.removeEventListener(\"pointerdown\",handleUserInteraction,true);window.removeEventListener(\"scroll\",handleUserScroll);window.visualViewport?.removeEventListener(\"resize\",handleVisualResize);};const completeBootstrap=()=>{bootstrapping=false;releaseBootstrapListeners();};const commit=(next,reveal=false,startup=false)=>{if(!Number.isFinite(next)||next<=0)return;measuredHeight=next;if(reveal)wasRevealed=true;setSnapshot(current=>{const heightChanged=Math.abs(current.height-next)>=.5;const isReady=current.ready||reveal;if(!heightChanged&&isReady===current.ready)return current;return{height:next,ready:isReady,startupRevision:startup&&heightChanged&&current.ready?current.startupRevision+1:current.startupRevision};});};const capture=(force=false,startup=false)=>{const width=readLayoutViewportWidth(lastWidth);const widthChanged=Math.abs(width-lastWidth)>1;if(!force&&coarsePointer&&!widthChanged)return;lastWidth=width;const next=readVisibleViewportHeight(fallback);if(startup&&userInteracted)return;commit(next,false,startup);};const scheduleCapture=(force=false,startup=false)=>{if(raf)return;raf=window.requestAnimationFrame(()=>{raf=0;capture(force,startup);});};const cancelCheckpoint=()=>{checkpointSequence+=1;if(settleRafA)window.cancelAnimationFrame(settleRafA);if(settleRafB)window.cancelAnimationFrame(settleRafB);if(settleTimer)window.clearTimeout(settleTimer);settleRafA=0;settleRafB=0;settleTimer=0;};// A checkpoint consists of two paint-boundary reads followed by a short\n// final read. It is NOT a permanent viewport polling/animation loop.\nconst checkpoint=startup=>{if(startup&&userInteracted)return;cancelCheckpoint();const ticket=checkpointSequence;capture(true,startup);settleRafA=window.requestAnimationFrame(()=>{settleRafA=0;if(ticket!==checkpointSequence)return;capture(true,startup);settleRafB=window.requestAnimationFrame(()=>{settleRafB=0;if(ticket!==checkpointSequence)return;capture(true,startup);settleTimer=window.setTimeout(()=>{settleTimer=0;if(ticket!==checkpointSequence)return;const finalHeight=readVisibleViewportHeight(fallback);if(startup&&!userInteracted){commit(finalHeight,true,true);// A short grace window catches a late mobile\n// visualViewport correction without tracking any\n// browser toolbar motion during normal scrolling.\nif(postReadyTimer)window.clearTimeout(postReadyTimer);postReadyTimer=window.setTimeout(()=>{postReadyTimer=0;completeBootstrap();},360);}else if(!startup){capture(true,false);}},100);});});};// Measure immediately before paint; while the page is still loading,\n// don't expose this potentially provisional value as a settled Contain.\ncommit(measuredHeight,false,true);const handleLoad=()=>{if(userInteracted)return;capture(true,true);// Do not reveal the provisional first post-load height. Safari may\n// publish its actual visible viewport after the load callback.\nif(loadCheckTimer)window.clearTimeout(loadCheckTimer);loadCheckTimer=window.setTimeout(()=>{loadCheckTimer=0;if(!userInteracted)checkpoint(true);},260);};const handleResize=()=>{if(bootstrapping&&!userInteracted){scheduleCapture(true,true);}else{scheduleCapture(false,false);}};const handleVisualResize=()=>{// Only the cold-load window watches visualViewport height-only\n// changes. Toolbar animations after settlement do not rescale.\nif(bootstrapping&&!userInteracted){scheduleCapture(true,true);}};const handleOrientation=()=>{if(bootstrapping&&!userInteracted)checkpoint(true);else checkpoint(false);};const handlePageShow=()=>{if(bootstrapping&&!userInteracted)checkpoint(true);else checkpoint(false);};const handleUserInteraction=()=>{userInteracted=true;completeBootstrap();if(!wasRevealed)commit(measuredHeight,true,false);};const handleUserScroll=()=>{if(Math.abs(window.scrollY)>2)handleUserInteraction();};window.addEventListener(\"resize\",handleResize,{passive:true});window.addEventListener(\"orientationchange\",handleOrientation);window.addEventListener(\"pageshow\",handlePageShow);window.addEventListener(\"load\",handleLoad);window.addEventListener(\"pointerdown\",handleUserInteraction,{passive:true,capture:true});window.addEventListener(\"scroll\",handleUserScroll,{passive:true});window.visualViewport?.addEventListener(\"resize\",handleVisualResize,{passive:true});bootstrapListenersAttached=true;if(document.readyState===\"complete\")handleLoad();// A resource that never finishes loading must not leave the invitation\n// invisible indefinitely. The later load event can still reconcile.\nfailOpenTimer=window.setTimeout(()=>{if(!wasRevealed){commit(readVisibleViewportHeight(fallback),true,true);}},1400);return()=>{if(raf)window.cancelAnimationFrame(raf);cancelCheckpoint();if(failOpenTimer)window.clearTimeout(failOpenTimer);if(loadCheckTimer)window.clearTimeout(loadCheckTimer);if(postReadyTimer)window.clearTimeout(postReadyTimer);releaseBootstrapListeners();window.removeEventListener(\"resize\",handleResize);window.removeEventListener(\"orientationchange\",handleOrientation);window.removeEventListener(\"pageshow\",handlePageShow);window.removeEventListener(\"load\",handleLoad);};},[fallback,enabled]);return enabled?snapshot:{height:fallback,ready:true,startupRevision:0};}function useRuntimeHeightBridge(rootRef,visualHeight,enabled){// A published metrics update must not dismantle the bridge (and restore\n// intermediary Framer wrappers) before its replacement is installed.\n// Keep the latest target and a persistent imperative synchronizer instead.\nconst latestHeightRef=React.useRef(visualHeight);latestHeightRef.current=visualHeight;const syncHeightRef=React.useRef(null);React.useLayoutEffect(()=>{if(!enabled)return;if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const root=rootRef.current;if(!root)return;const body=document.body;const html=document.documentElement;const host=root.parentElement;if(!body||!html||!host)return;let safeHeight=Math.ceil(Math.max(1,latestHeightRef.current));const saved=[];const oldBodyMinHeight=body.style.minHeight;const oldHtmlMinHeight=html.style.minHeight;let touchedBodyMinHeight=false;let touchedHtmlMinHeight=false;let raf=0;let scheduled=false;const remember=element=>{if(saved.some(item=>item.element===element))return;saved.push({element,height:element.style.height,minHeight:element.style.minHeight,maxHeight:element.style.maxHeight,overflow:element.style.overflow,overflowY:element.style.overflowY});};const restoreOwnedStyles=()=>{// Preserve the exact pre-bridge inline values and their established\n// restoration order. Only needed on shrink/disable/unmount: an\n// expand-only ancestor may otherwise retain the former taller floor.\nsaved.reverse().forEach(item=>{item.element.style.height=item.height;item.element.style.minHeight=item.minHeight;item.element.style.maxHeight=item.maxHeight;item.element.style.overflow=item.overflow;item.element.style.overflowY=item.overflowY;});saved.length=0;if(touchedBodyMinHeight)body.style.minHeight=oldBodyMinHeight;if(touchedHtmlMinHeight)html.style.minHeight=oldHtmlMinHeight;touchedBodyMinHeight=false;touchedHtmlMinHeight=false;};const clipsY=element=>{const style=window.getComputedStyle(element);return style.overflowY===\"hidden\"||style.overflow===\"hidden\"||style.overflowY===\"clip\"||style.overflow===\"clip\";};const hasMeaningfulFlowSibling=(ancestor,branch)=>{for(const child of Array.from(ancestor.children)){if(!(child instanceof HTMLElement)||child===branch)continue;const style=window.getComputedStyle(child);if(style.display===\"none\"||style.visibility===\"hidden\"||style.position===\"absolute\"||style.position===\"fixed\")continue;const rect=child.getBoundingClientRect();if(rect.width<=0&&rect.height<=0)continue;return true;}return false;};const setExactHeight=(element,height)=>{const next=Math.ceil(Math.max(1,height));const rect=element.getBoundingClientRect();const clip=clipsY(element);if(Math.abs(rect.height-next)<=1&&!clip)return;remember(element);const pixels=`${next}px`;if(element.style.height!==pixels)element.style.height=pixels;if(element.style.minHeight!==pixels)element.style.minHeight=pixels;if(element.style.maxHeight!==\"none\")element.style.maxHeight=\"none\";if(clip){if(element.style.overflow!==\"visible\")element.style.overflow=\"visible\";if(element.style.overflowY!==\"visible\")element.style.overflowY=\"visible\";}};const expandOnly=(element,needed)=>{const rect=element.getBoundingClientRect();const clip=clipsY(element);if(needed<=rect.height+1&&!clip)return;remember(element);const pixels=`${Math.max(Math.ceil(rect.height),Math.ceil(needed))}px`;if(element.style.minHeight!==pixels)element.style.minHeight=pixels;if(element.style.maxHeight!==\"none\")element.style.maxHeight=\"none\";if(clip){if(element.style.overflow!==\"visible\")element.style.overflow=\"visible\";if(element.style.overflowY!==\"visible\")element.style.overflowY=\"visible\";}};const apply=()=>{scheduled=false;raf=0;const rootRect=root.getBoundingClientRect();const pageTop=rootRect.top+window.scrollY;const requiredBottom=Math.ceil(pageTop+safeHeight);// Keep Framer's immediate fixed/fill wrapper exact in BOTH directions.\nsetExactHeight(host,safeHeight);let branch=host;let ancestor=host.parentElement;let depth=0;let exactCorridor=true;while(ancestor&&ancestor!==body&&ancestor!==html&&depth<8){const rect=ancestor.getBoundingClientRect();const ancestorTop=rect.top+window.scrollY;const needed=Math.max(1,Math.ceil(requiredBottom-ancestorTop));if(exactCorridor&&!hasMeaningfulFlowSibling(ancestor,branch)){setExactHeight(ancestor,needed);}else{exactCorridor=false;expandOnly(ancestor,needed);}branch=ancestor;ancestor=ancestor.parentElement;depth+=1;}const naturalDocumentHeight=Math.max(document.scrollingElement?.scrollHeight||0,html.scrollHeight||0,body.scrollHeight||0);if(naturalDocumentHeight+1<requiredBottom){const minDocumentHeight=Math.max(readLayoutViewportHeight(1),requiredBottom);const pixels=`${minDocumentHeight}px`;if(body.style.minHeight!==pixels){touchedBodyMinHeight=true;body.style.minHeight=pixels;}if(html.style.minHeight!==pixels){touchedHtmlMinHeight=true;html.style.minHeight=pixels;}}const displayHeight=String(safeHeight);if(root.dataset.auramarkRuntimeVisualHeight!==displayHeight){root.dataset.auramarkRuntimeVisualHeight=displayHeight;}const hostHeight=String(Math.round(host.getBoundingClientRect().height));if(root.dataset.auramarkRuntimeHostHeight!==hostHeight){root.dataset.auramarkRuntimeHostHeight=hostHeight;}};const schedule=()=>{if(scheduled)return;scheduled=true;raf=window.requestAnimationFrame(apply);};const syncHeight=nextHeight=>{const next=Math.ceil(Math.max(1,nextHeight));if(next===safeHeight)return;// This is the significant semantic edge of persistent ownership:\n// unlike an exact corridor, a shared-flow ancestor is expand-only.\n// The prior bridge remounted (restoring original min-height) on each\n// React visual-height change. Rebase ONLY on shrinking to retain that\n// contraction behavior without throwing away listeners/observer.\nif(next<safeHeight)restoreOwnedStyles();safeHeight=next;if(raf)window.cancelAnimationFrame(raf);raf=0;scheduled=false;// Commit synchronously during useLayoutEffect, before browser paint.\napply();};syncHeightRef.current=syncHeight;apply();const observer=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(schedule):null;observer?.observe(host);const shouldMeasureResize=createCoarsePointerResizeGate();const handleResize=()=>{if(shouldMeasureResize())schedule();};const handleOrientation=()=>{if(shouldMeasureResize(true))schedule();};const handlePageShow=()=>{if(shouldMeasureResize(true))schedule();};window.addEventListener(\"resize\",handleResize,{passive:true});window.addEventListener(\"orientationchange\",handleOrientation);window.addEventListener(\"pageshow\",handlePageShow);return()=>{syncHeightRef.current=null;if(raf)window.cancelAnimationFrame(raf);observer?.disconnect();window.removeEventListener(\"resize\",handleResize);window.removeEventListener(\"orientationchange\",handleOrientation);window.removeEventListener(\"pageshow\",handlePageShow);restoreOwnedStyles();delete root.dataset.auramarkRuntimeVisualHeight;delete root.dataset.auramarkRuntimeHostHeight;};},[rootRef,enabled]);React.useLayoutEffect(()=>{// The bridge's full DOM ownership is persistent. Only a new HEIGHT\n// target is synchronized here; the RO/listeners are not reinstalled.\nif(enabled)syncHeightRef.current?.(visualHeight);},[visualHeight,enabled]);}const HEIGHT_FIT_RUNTIME_KEY=\"__AURAMARK_VIEWPORT_SCALER_HEIGHT_FIT_CONTAINMENT_V1__\";const HEIGHT_FIT_ATTRIBUTE=\"data-auramark-viewport-height-fit\";const HEIGHT_FIT_VARIABLES=[\"--auramark-vps-height-fit-left\",\"--auramark-vps-height-fit-width\",\"--auramark-vps-height-fit-height\"];function acquireHeightFitContainmentRuntime(){if(typeof document===\"undefined\")return()=>{};const html=document.documentElement;const head=document.head;if(!html||!head)return()=>{};const g=globalThis;let runtime=g[HEIGHT_FIT_RUNTIME_KEY];if(!runtime){runtime={count:0,styleElement:null,ownsStyleElement:false,previousAttribute:null,previousVariables:[]};g[HEIGHT_FIT_RUNTIME_KEY]=runtime;}if(runtime.count===0){runtime.previousAttribute=html.getAttribute(HEIGHT_FIT_ATTRIBUTE);runtime.previousVariables=HEIGHT_FIT_VARIABLES.map(name=>({name,value:html.style.getPropertyValue(name),priority:html.style.getPropertyPriority(name)}));const existing=document.querySelector('style[data-auramark-viewport-height-fit-style=\"true\"]');const styleElement=existing||document.createElement(\"style\");if(!existing){styleElement.setAttribute(\"data-auramark-viewport-height-fit-style\",\"true\");styleElement.textContent=`\nhtml[${HEIGHT_FIT_ATTRIBUTE}=\"true\"] [data-background-scroll-sincronizado=\"true\"] {\n    position: fixed !important;\n    inset: 0 auto auto var(--auramark-vps-height-fit-left, 0px) !important;\n    width: var(--auramark-vps-height-fit-width, 100vw) !important;\n    height: var(--auramark-vps-height-fit-height, 100vh) !important;\n    min-width: 0 !important;\n    min-height: 0 !important;\n    max-width: none !important;\n    max-height: none !important;\n    overflow: hidden !important;\nbox-sizing: border-box !important;\n}\n            `;head.appendChild(styleElement);}runtime.styleElement=styleElement;runtime.ownsStyleElement=!existing;html.setAttribute(HEIGHT_FIT_ATTRIBUTE,\"true\");}runtime.count+=1;return()=>{const current=g[HEIGHT_FIT_RUNTIME_KEY];if(!current)return;current.count=Math.max(0,current.count-1);if(current.count>0)return;if(current.ownsStyleElement)current.styleElement?.remove();current.styleElement=null;current.ownsStyleElement=false;if(current.previousAttribute===null){html.removeAttribute(HEIGHT_FIT_ATTRIBUTE);}else{html.setAttribute(HEIGHT_FIT_ATTRIBUTE,current.previousAttribute);}for(const item of current.previousVariables){if(item.value){html.style.setProperty(item.name,item.value,item.priority);}else{html.style.removeProperty(item.name);}}current.previousVariables=[];delete g[HEIGHT_FIT_RUNTIME_KEY];};}function useHeightFitBackgroundContainment(options){const{enabled,visualWidth,visualHeight,horizontalOffset}=options;React.useLayoutEffect(()=>{if(!enabled)return;return acquireHeightFitContainmentRuntime();},[enabled]);React.useLayoutEffect(()=>{if(!enabled)return;if(typeof document===\"undefined\")return;const html=document.documentElement;if(!html)return;const safeWidth=Math.max(1,visualWidth);const safeHeight=Math.max(1,visualHeight);html.style.setProperty(\"--auramark-vps-height-fit-left\",`${horizontalOffset.toFixed(3)}px`);html.style.setProperty(\"--auramark-vps-height-fit-width\",`${safeWidth.toFixed(3)}px`);html.style.setProperty(\"--auramark-vps-height-fit-height\",`${safeHeight.toFixed(3)}px`);},[enabled,visualWidth,visualHeight,horizontalOffset]);}function useHeightFitVirtualViewportScroll(options){const{enabled,spacerRef,movingContentRef,scale,scaledHeight,viewportHeight}=options;React.useLayoutEffect(()=>{if(!enabled)return;if(typeof window===\"undefined\"||typeof document===\"undefined\"){return;}const spacer=spacerRef.current;const movingContent=movingContentRef.current;if(!spacer||!movingContent)return;let paintRaf=0;let geometryRaf=0;let upgradeRafA=0;let upgradeRafB=0;let idleTimer=null;let pageTop=0;let destroyed=false;let lastAuthoredTravel=Number.NaN;let lastScrollSignalAt=0;let jsScrollAttached=false;let nativeAnimation=null;const coarsePointer=typeof window.matchMedia===\"function\"&&window.matchMedia(\"(pointer: coarse)\").matches;let lastLayoutWidth=readLayoutViewportWidth(1);const safeScale=Math.max(1e-4,scale);const maxVisualTravel=Math.max(0,scaledHeight-viewportHeight);const maxAuthoredTravel=maxVisualTravel/safeScale;const measurePageTop=()=>{const rect=spacer.getBoundingClientRect();pageTop=rect.top+window.scrollY;};const retireCompositorHint=()=>{if(idleTimer!==null){window.clearTimeout(idleTimer);idleTimer=null;}movingContent.style.willChange=\"\";};const scheduleCompositorRetirement=()=>{if(coarsePointer||idleTimer!==null)return;idleTimer=window.setTimeout(()=>{idleTimer=null;const now=typeof performance!==\"undefined\"?performance.now():Date.now();const elapsed=now-lastScrollSignalAt;if(elapsed<160){scheduleCompositorRetirement();return;}movingContent.style.willChange=\"\";},170);};const activateCompositorHint=()=>{// Explicit will-change on a several-thousand-pixel page can allocate a\n// very large GPU surface. Android/iOS coarse-pointer devices therefore\n// rely on the browser's own promotion policy. Fine-pointer desktop gets\n// only a short-lived hint during the JS fallback scroll path.\nif(coarsePointer)return;lastScrollSignalAt=typeof performance!==\"undefined\"?performance.now():Date.now();if(movingContent.style.willChange!==\"transform\"){movingContent.style.willChange=\"transform\";}scheduleCompositorRetirement();};const currentAuthoredTravel=()=>{const visualTravel=Math.max(0,Math.min(maxVisualTravel,window.scrollY-pageTop));return visualTravel/safeScale;};const writeInlinePosition=authoredTravel=>{lastAuthoredTravel=authoredTravel;const transform=Math.abs(authoredTravel)<.01?\"none\":`translate3d(0px, ${-authoredTravel.toFixed(4)}px, 0px)`;movingContent.style.transform=transform;movingContent.style.webkitTransform=transform;};const paintJsPosition=()=>{paintRaf=0;if(destroyed||nativeAnimation)return;const authoredTravel=currentAuthoredTravel();if(Number.isFinite(lastAuthoredTravel)&&Math.abs(authoredTravel-lastAuthoredTravel)<.01){return;}writeInlinePosition(authoredTravel);};const scheduleJsPaint=(promote=false)=>{if(nativeAnimation)return;if(promote)activateCompositorHint();if(paintRaf)return;paintRaf=window.requestAnimationFrame(paintJsPosition);};const handleScroll=()=>scheduleJsPaint(true);const attachJsScroll=()=>{if(jsScrollAttached||nativeAnimation)return;jsScrollAttached=true;window.addEventListener(\"scroll\",handleScroll,{passive:true});};const detachJsScroll=()=>{if(!jsScrollAttached)return;jsScrollAttached=false;window.removeEventListener(\"scroll\",handleScroll);};const uninstallNativeTimeline=()=>{if(!nativeAnimation)return;// Commit the current equivalent JS position underneath the WAAPI layer\n// before cancelling it, avoiding a one-frame snap during resize/orientation\n// handoff back to the fallback driver.\nwriteInlinePosition(currentAuthoredTravel());try{nativeAnimation.cancel();}catch{// Fail open to the JS scroll path.\n}nativeAnimation=null;movingContent.removeAttribute(\"data-auramark-height-fit-scroll-driver\");};const nativeGeometryMatchesRootScroll=()=>{const ScrollTimelineCtor=window.ScrollTimeline;if(!ScrollTimelineCtor)return false;if(typeof movingContent.animate!==\"function\")return false;const html=document.documentElement;const body=document.body;const scrollingElement=document.scrollingElement||html;const viewportH=readLayoutViewportHeight(viewportHeight);const documentHeight=Math.max(scrollingElement?.scrollHeight||0,html.scrollHeight||0,body?.scrollHeight||0);const maxDocumentScroll=Math.max(0,documentHeight-viewportH);// A root ScrollTimeline is exact only when this scaler owns the root\n// scroll range. If the page contains meaningful content before/after the\n// scaler, stay on the JS fallback rather than introducing timing drift.\nconst tolerance=Math.max(3,maxVisualTravel*.002);return Math.abs(pageTop)<=1.5&&Math.abs(maxDocumentScroll-maxVisualTravel)<=tolerance;};const tryInstallNativeTimeline=()=>{if(destroyed||nativeAnimation)return Boolean(nativeAnimation);if(maxVisualTravel<=.01)return false;if(!nativeGeometryMatchesRootScroll())return false;const ScrollTimelineCtor=window.ScrollTimeline;const source=document.scrollingElement||document.documentElement;try{const timeline=new ScrollTimelineCtor({source,axis:\"block\"});const animation=movingContent.animate([{transform:\"translate3d(0px, 0px, 0px)\"},{transform:`translate3d(0px, ${-maxAuthoredTravel.toFixed(4)}px, 0px)`}],{duration:1,fill:\"both\",easing:\"linear\",timeline});// Guard against partial implementations that expose the constructor\n// but silently ignore the supplied timeline in Element.animate().\nif(animation.timeline!==timeline){animation.cancel();return false;}nativeAnimation=animation;detachJsScroll();retireCompositorHint();movingContent.setAttribute(\"data-auramark-height-fit-scroll-driver\",\"native-scroll-timeline\");return true;}catch{nativeAnimation=null;return false;}};const cancelUpgrade=()=>{if(upgradeRafA)window.cancelAnimationFrame(upgradeRafA);if(upgradeRafB)window.cancelAnimationFrame(upgradeRafB);upgradeRafA=0;upgradeRafB=0;};const scheduleNativeUpgrade=()=>{cancelUpgrade();// Height Bridge / Framer host geometry may settle one frame after this\n// child layout effect. Retry after two frames, then use native scroll\n// only when the final root scroll range proves mathematically equivalent.\nupgradeRafA=window.requestAnimationFrame(()=>{upgradeRafA=0;upgradeRafB=window.requestAnimationFrame(()=>{upgradeRafB=0;if(destroyed)return;measurePageTop();if(!tryInstallNativeTimeline()){attachJsScroll();lastAuthoredTravel=Number.NaN;scheduleJsPaint(false);}});});};const refreshGeometry=()=>{geometryRaf=0;if(destroyed)return;uninstallNativeTimeline();attachJsScroll();measurePageTop();lastAuthoredTravel=Number.NaN;scheduleJsPaint(false);scheduleNativeUpgrade();};const scheduleGeometryRefresh=()=>{if(geometryRaf)return;geometryRaf=window.requestAnimationFrame(refreshGeometry);};measurePageTop();attachJsScroll();paintJsPosition();scheduleNativeUpgrade();const handleRuntimeResize=()=>{const nextWidth=readLayoutViewportWidth(lastLayoutWidth);const widthChanged=Math.abs(nextWidth-lastLayoutWidth)>1;// Ignore toolbar-only height resizes on Android/iOS. The height-fit\n// scale intentionally uses the stable layout viewport during a scroll\n// session and should not be rebuilt because browser chrome moved.\nif(coarsePointer&&!widthChanged)return;lastLayoutWidth=nextWidth;scheduleGeometryRefresh();};const handleRuntimeOrientation=()=>{lastLayoutWidth=readLayoutViewportWidth(lastLayoutWidth);scheduleGeometryRefresh();};window.addEventListener(\"resize\",handleRuntimeResize,{passive:true});window.addEventListener(\"orientationchange\",handleRuntimeOrientation);window.addEventListener(\"pageshow\",scheduleGeometryRefresh);return()=>{destroyed=true;if(paintRaf)window.cancelAnimationFrame(paintRaf);if(geometryRaf)window.cancelAnimationFrame(geometryRaf);cancelUpgrade();if(idleTimer!==null)window.clearTimeout(idleTimer);detachJsScroll();window.removeEventListener(\"resize\",handleRuntimeResize);window.removeEventListener(\"orientationchange\",handleRuntimeOrientation);window.removeEventListener(\"pageshow\",scheduleGeometryRefresh);uninstallNativeTimeline();retireCompositorHint();movingContent.style.transform=\"\";movingContent.style.webkitTransform=\"\";};},[enabled,spacerRef,movingContentRef,scale,scaledHeight,viewportHeight]);}/**\n * Reads the authored layout height of the connected ComponentInstance without\n * letting descendant overflow redefine the Frame's real dimensions.\n *\n * Priority:\n * 1. direct connected root box (authoritative Frame/ComponentInstance size);\n * 2. our immediate content wrapper box;\n * 3. one nested root box for Framer wrapper indirection;\n * 4. scrollHeight only as a fail-open fallback when no authored box exists.\n *\n * offsetHeight/clientHeight are intentionally used instead of\n * getBoundingClientRect() so Framer Canvas zoom/transforms do not contaminate the\n * logical authored measurement.\n */function measureConnectedLayoutHeight(element){const directRoot=element.firstElementChild instanceof HTMLElement?element.firstElementChild:null;const nestedRoot=directRoot?.firstElementChild instanceof HTMLElement?directRoot.firstElementChild:null;const readBoxHeight=target=>{if(!target)return 0;const offset=target.offsetHeight;if(Number.isFinite(offset)&&offset>1)return offset;const client=target.clientHeight;if(Number.isFinite(client)&&client>1)return client;return 0;};// The connected root is the source of truth whenever it has a real box.\nconst directHeight=readBoxHeight(directRoot);if(directHeight>1)return directHeight;// Our wrapper can itself receive a resolved intrinsic height from Framer.\nconst wrapperHeight=readBoxHeight(element);if(wrapperHeight>1)return wrapperHeight;// Some ComponentInstance payloads insert one zero-size wrapper before the\n// actual Frame root. Allow exactly one level of indirection, but never scan\n// arbitrary descendants because that would reintroduce overflow pollution.\nconst nestedHeight=readBoxHeight(nestedRoot);if(nestedHeight>1)return nestedHeight;// Fail open only when no authored box exists at all. This preserves unusual\n// auto-layout payloads while preventing normal fixed Frames from inheriting\n// deep overflow as their own height.\nconst fallback=Math.max(element.scrollHeight||0,directRoot?.scrollHeight||0,nestedRoot?.scrollHeight||0);return Number.isFinite(fallback)?Math.max(0,fallback):0;}function parsePositiveLayoutValue(value){if(!value)return 0;const parsed=Number.parseFloat(value);return Number.isFinite(parsed)&&parsed>1?parsed:0;}/**\n * Read only EXPLICIT dynamic-layout participants. This is deliberately not a\n * generic deep visual scan: effects, particles, absolute helpers and transformed\n * descendants never become page-size authorities unless they opt into the protocol.\n */function measureDynamicLayoutExtent(element,scale,fallbackWidth){const selector=`[${DYNAMIC_LAYOUT_PARTICIPANT_ATTRIBUTE}=\"true\"]`;const participants=Array.from(element.querySelectorAll(selector));if(!participants.length){return{height:0,width:fallbackWidth,active:false,activeParticipants:[]};}const rootRect=element.getBoundingClientRect();const safeScale=Math.max(1e-4,Math.abs(scale));let maxBottom=0;let maxRight=fallbackWidth;const activeParticipants=[];for(const participant of participants){const declaredHeight=parsePositiveLayoutValue(participant.getAttribute(DYNAMIC_LAYOUT_HEIGHT_ATTRIBUTE));const declaredWidth=parsePositiveLayoutValue(participant.getAttribute(DYNAMIC_LAYOUT_WIDTH_ATTRIBUTE));if(!declaredHeight&&!declaredWidth)continue;activeParticipants.push(participant);// Both nodes live under the scaler's uniform transform. Divide the painted\n// offset by scale to recover logical authoring-space placement. The protocol\n// values themselves are already logical pixels.\nconst rect=participant.getBoundingClientRect();const authoredAtOrigin=participant.getAttribute(DYNAMIC_LAYOUT_ORIGIN_ATTRIBUTE)===\"root\";const logicalTop=authoredAtOrigin?0:Math.max(0,(rect.top-rootRect.top)/safeScale);const logicalLeft=authoredAtOrigin?0:Math.max(0,(rect.left-rootRect.left)/safeScale);if(declaredHeight){maxBottom=Math.max(maxBottom,logicalTop+declaredHeight);}if(declaredWidth){maxRight=Math.max(maxRight,logicalLeft+declaredWidth);}}return{height:maxBottom,width:maxRight,active:activeParticipants.length>0,activeParticipants};}function restoreParticipantOverflow(target,prior){const inline=target.style;// CSS overflow is a shorthand: writing it can reset BOTH longhands.\n// Snapshot all three current values before touching any property, then\n// replay the desired shorthand and both axis values in the original order.\n// This preserves authored overflow-y-only / overflow-x-only combinations.\n// An externally changed non-visible value is retained instead of being\n// overwritten with an obsolete saved value.\nconst authoredOverflow=inline.overflow===\"visible\"?prior.overflow:inline.overflow;const authoredOverflowX=inline.overflowX===\"visible\"?prior.overflowX:inline.overflowX;const authoredOverflowY=inline.overflowY===\"visible\"?prior.overflowY:inline.overflowY;inline.overflow=authoredOverflow;inline.overflowX=authoredOverflowX;inline.overflowY=authoredOverflowY;}function reconcileInternalParticipantClipping(activeParticipants,contentRoot,saved){// The union is computed before any restoration: two participants can share\n// one clipping ancestor without one revoking the other's release.\nconst required=new Set;const visited=new Set;for(const participant of activeParticipants){let current=participant.parentElement;let depth=0;while(current&&depth<24){if(!visited.has(current)){visited.add(current);const previous=saved.get(current);const inline=current.style;// An already-owned node is still required as long as an active\n// participant traverses it. It is normally already visible;\n// avoid layout/style work and any repeat writes on that path.\nconst externallyReauthored=previous!==undefined&&(inline.overflow!==\"visible\"||inline.overflowX!==\"visible\"||inline.overflowY!==\"visible\");if(previous&&!externallyReauthored){required.add(current);}else{// For unowned nodes, and for existing nodes re-authored by\n// Framer while released, inspect the real computed policy.\n// Do not cache unowned computed styles: a stylesheet/class\n// change must be noticed on the next normal measurement.\nconst computed=window.getComputedStyle(current);const clips=computed.overflow===\"hidden\"||computed.overflow===\"clip\"||computed.overflowX===\"hidden\"||computed.overflowX===\"clip\"||computed.overflowY===\"hidden\"||computed.overflowY===\"clip\";if(previous&&externallyReauthored){// Preserve authored changes to individual properties;\n// do not confuse the scaler's other still-visible axes\n// with the new author intent for this node.\nif(inline.overflow!==\"visible\"){previous.overflow=inline.overflow;}if(inline.overflowX!==\"visible\"){previous.overflowX=inline.overflowX;}if(inline.overflowY!==\"visible\"){previous.overflowY=inline.overflowY;}}if(clips){if(!previous){saved.set(current,{overflow:inline.overflow,overflowX:inline.overflowX,overflowY:inline.overflowY});}required.add(current);if(inline.overflow!==\"visible\"){inline.overflow=\"visible\";}if(inline.overflowX!==\"visible\"){inline.overflowX=\"visible\";}if(inline.overflowY!==\"visible\"){inline.overflowY=\"visible\";}}}}if(current===contentRoot)break;current=current.parentElement;depth+=1;}}// Restore only ancestors whose last active participant left the corridor,\n// or whose newly authored overflow policy no longer requires release.\nfor(const[target,original]of saved){if(required.has(target))continue;restoreParticipantOverflow(target,original);saved.delete(target);}}function useRuntimeHorizontalOverflowRelease(rootRef,enabled){React.useLayoutEffect(()=>{if(!enabled||typeof window===\"undefined\"||typeof document===\"undefined\"){return;}const root=rootRef.current;if(!root)return;const body=document.body;const html=document.documentElement;const saved=[];const remember=element=>{if(saved.some(item=>item.element===element))return;saved.push({element,overflow:element.style.overflow,overflowX:element.style.overflowX});};let current=root;let depth=0;while(current&&current!==body&&current!==html&&depth<7){const computed=window.getComputedStyle(current);const clipsX=computed.overflowX===\"hidden\"||computed.overflow===\"hidden\"||computed.overflowX===\"clip\"||computed.overflow===\"clip\";if(clipsX){remember(current);current.style.overflow=\"visible\";current.style.overflowX=\"visible\";}current=current.parentElement;depth+=1;}return()=>{saved.reverse().forEach(item=>{item.element.style.overflow=item.overflow;item.element.style.overflowX=item.overflowX;});};},[rootRef,enabled]);}function ScaledComposition(props){const{node,baseWidth,availableWidth,availableHeight,referenceViewportHeight,containViewportReady,containStartupRevision,fitMode,useLayoutZoom,fillCenterRequested,fillCenterViewportHeight,fillCenterViewportReady,onVisualMetrics,onContentPresence}=props;const contentRef=React.useRef(null);const spacerRef=React.useRef(null);const containFrameRef=React.useRef(null);// A transient 0px Framer layout box must not destroy previously committed\n// page geometry; mode switching remounts this component with a fresh key.\nconst hasEstablishedContentGeometryRef=React.useRef(false);// Once Navigator starts its first transaction, preserve the first-fold\n// Contain framing that was already committed for this composition.\n// Its content can grow/shrink; only its scroll extent should change.\n// Viewport/orientation changes still invalidate the snapshot normally.\nconst[navigationFramingPinned,setNavigationFramingPinned]=React.useState(false);const[contentExtent,setContentExtent]=React.useState({height:1,width:Math.max(1,baseWidth),dynamic:false,// The 1px initial height is a sentinel, not a measured page.\n// Never let it author Contain's visible first-paint framing.\nready:false});const[containPreflightFailOpen,setContainPreflightFailOpen]=React.useState(false);// Keep the connected Frame mounted and measurable even while its visual\n// subtree is temporarily cloaked. Some Framer/auto-layout payloads report\n// no authored box on their first pass: fail open after a bounded wait,\n// rather than permanently hiding a valid visual-overflow composition.\nReact.useEffect(()=>{if(!useLayoutZoom||fitMode!==\"contain\"||contentExtent.ready){return;}const timer=window.setTimeout(()=>{setContainPreflightFailOpen(true);},1500);return()=>window.clearTimeout(timer);},[useLayoutZoom,fitMode,contentExtent.ready]);const safeBaseWidth=Math.max(1,baseWidth);const safeAvailableWidth=Math.max(1,availableWidth);const safeAvailableHeight=Math.max(1,availableHeight);const safeReferenceViewportHeight=Math.max(1,referenceViewportHeight);// Scale is determined ONLY by the authored viewport contract. Runtime growth\n// never feeds back into these equations.\nconst widthScale=safeAvailableWidth/safeBaseWidth;const viewportHeightScale=safeAvailableHeight/safeReferenceViewportHeight;const liveContainScale=Math.min(widthScale,viewportHeightScale);const liveContainWidth=safeBaseWidth*liveContainScale;const liveContainHorizontalOffset=(safeAvailableWidth-liveContainWidth)/2;const priorContainFrame=containFrameRef.current;// A viewport/reference change must invalidate *all* coordinates of a\n// dynamic snapshot. Startup revision alone was insufficient: on tablet\n// resizes/orientation changes the snapshot could retain the OLD scale,\n// Y offset and document floor while availableHeight had already changed.\nconst containSnapshotMatchesViewport=Boolean(priorContainFrame&&priorContainFrame.startupRevision===containStartupRevision&&Math.abs(priorContainFrame.availableWidth-safeAvailableWidth)<.5&&Math.abs(priorContainFrame.availableHeight-safeAvailableHeight)<.5&&Math.abs(priorContainFrame.baseWidth-safeBaseWidth)<.01&&Math.abs(priorContainFrame.referenceViewportHeight-safeReferenceViewportHeight)<.01);// The navigation-aware snapshot is enabled ONLY once the Scaler has\n// received the Navigator scroll capture. Ordinary standalone Scaler\n// compositions retain the official v0.2.31 short-page centring rules.\nconst lockedContainFrame=fitMode===\"contain\"&&containViewportReady&&contentExtent.ready&&(contentExtent.dynamic||navigationFramingPinned)&&containSnapshotMatchesViewport?priorContainFrame:null;const scale=fitMode===\"height\"?viewportHeightScale:fitMode===\"contain\"?lockedContainFrame?.scale??liveContainScale:widthScale;React.useLayoutEffect(()=>{if(fitMode!==\"contain\")return;const scaler=contentRef.current?.closest(`[${VIEWPORT_SCALER_ATTRIBUTE}=\"true\"]`);if(!scaler)return;const captureFraming=event=>{const detail=event.detail;if(detail?.phase===\"capture\"){setNavigationFramingPinned(true);}};scaler.addEventListener(SCALER_SCROLL_EVENT,captureFraming);return()=>scaler.removeEventListener(SCALER_SCROLL_EVENT,captureFraming);},[fitMode]);React.useLayoutEffect(()=>{const element=contentRef.current;if(!element)return;let raf=0;let lastPresence=null;let missingConfirmationTimer=0;const presenceStartedAt=Date.now();let lastLoadAt=document.readyState===\"complete\"?Date.now():0;const releasedInternalOverflow=new Map;const restoreInternalOverflow=()=>{for(const[target,old]of releasedInternalOverflow){restoreParticipantOverflow(target,old);}releasedInternalOverflow.clear();};const confirmMissing=()=>{missingConfirmationTimer=0;if(lastPresence===true)return;// Framer can hydrate a connected ComponentInstance after the first\n// paint on a cold deployment. A zero box is not an empty outlet.\n// Wait for the load boundary and a short post-load grace period.\n// A bounded maximum prevents a genuinely empty connected shell\n// from disabling the existing Desktop/Mobile fallback forever.\nconst now=Date.now();if(document.readyState!==\"complete\"&&now-presenceStartedAt<5e3||lastLoadAt>0&&now-lastLoadAt<350){missingConfirmationTimer=window.setTimeout(confirmMissing,350);return;}const actualHeight=measureConnectedLayoutHeight(element);if(actualHeight>1){scheduleMeasure();return;}// Only reject after a sustained, verified empty-box state.\n// There is no permanent negative flag during the first paint.\nlastPresence=false;onContentPresence?.(false);};const scheduleMissingConfirmation=()=>{if(missingConfirmationTimer||lastPresence===true)return;missingConfirmationTimer=window.setTimeout(confirmMissing,1400);};const measure=scrollToken=>{raf=0;// The authored Connected Frame remains the baseline truth.\nconst connectedBoxHeight=measureConnectedLayoutHeight(element);const authoredHeight=Math.max(1,connectedBoxHeight||0);const protocol=measureDynamicLayoutExtent(element,scale,safeBaseWidth);const nextHeight=Math.max(authoredHeight,protocol.height||0,1);const nextWidth=Math.max(safeBaseWidth,protocol.width||0,1);// A connected root with a real box (or a participating dynamic\n// extent) is required before its Contain framing can paint.\n// Once geometry is established, temporary zero-box reflows must\n// not re-cloak an already-visible interactive composition.\nconst geometryReady=connectedBoxHeight>1||protocol.height>1;if(geometryReady)hasEstablishedContentGeometryRef.current=true;const present=authoredHeight>1||protocol.height>1;if(present){if(missingConfirmationTimer){window.clearTimeout(missingConfirmationTimer);missingConfirmationTimer=0;}if(lastPresence!==true){lastPresence=true;onContentPresence?.(true);}}else{scheduleMissingConfirmation();}// Dynamic participants may escape their fixed Framer wrappers, but\n// the scaler remains the sole external/document geometry owner.\n// Reconcile the CURRENT required ancestor union against the last\n// owned union, instead of restore-all / release-all per measurement.\n// If the Framer-connected box disappears for a single render\n// between responsive mount/handoff states, it must not revoke\n// active clipping or replace the settled page with height=1px.\n// The already-registered observer will measure its next real box.\nif(geometryReady||!hasEstablishedContentGeometryRef.current){reconcileInternalParticipantClipping(protocol.activeParticipants,element,releasedInternalOverflow);}setContentExtent(current=>{if(!geometryReady&&current.ready)return current;if(Math.abs(current.height-nextHeight)<.01&&Math.abs(current.width-nextWidth)<.01&&current.dynamic===protocol.active&&(current.ready||geometryReady)===current.ready)return current;return{height:nextHeight,width:nextWidth,dynamic:protocol.active,ready:current.ready||geometryReady};});if(scrollToken){element.dispatchEvent(new CustomEvent(SCALER_MEASURED_EVENT,{bubbles:true,detail:{token:scrollToken,logicalHeight:nextHeight}}));}};const scheduleMeasure=()=>{if(raf)return;raf=requestAnimationFrame(()=>measure());};measure();const owningScaler=element.closest(`[${VIEWPORT_SCALER_ATTRIBUTE}=\"true\"]`);const measureForNavigation=event=>{const token=event.detail?.token;if(token)measure(token);};owningScaler?.addEventListener(SCALER_MEASURE_EVENT,measureForNavigation);const resizeObserver=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(scheduleMeasure):null;resizeObserver?.observe(element);if(element.firstElementChild instanceof Element){resizeObserver?.observe(element.firstElementChild);}// This observer is intentionally narrow: it reacts only to the explicit\n// geometry protocol, never to animation/style churn.\nconst protocolObserver=typeof MutationObserver!==\"undefined\"?new MutationObserver(scheduleMeasure):null;protocolObserver?.observe(element,{subtree:true,attributes:true,attributeFilter:[DYNAMIC_LAYOUT_HEIGHT_ATTRIBUTE,DYNAMIC_LAYOUT_WIDTH_ATTRIBUTE]});const shouldMeasureResize=createCoarsePointerResizeGate();const handleResize=()=>{if(shouldMeasureResize())scheduleMeasure();};const handleOrientation=()=>{if(shouldMeasureResize(true))scheduleMeasure();};const handlePageShow=()=>{if(shouldMeasureResize(true))scheduleMeasure();};const handleLoad=()=>{lastLoadAt=Date.now();scheduleMeasure();};window.addEventListener(\"load\",handleLoad);window.addEventListener(\"resize\",handleResize,{passive:true});window.addEventListener(\"orientationchange\",handleOrientation);window.addEventListener(\"pageshow\",handlePageShow);return()=>{if(raf)cancelAnimationFrame(raf);if(missingConfirmationTimer){window.clearTimeout(missingConfirmationTimer);}resizeObserver?.disconnect();protocolObserver?.disconnect();owningScaler?.removeEventListener(SCALER_MEASURE_EVENT,measureForNavigation);window.removeEventListener(\"load\",handleLoad);window.removeEventListener(\"resize\",handleResize);window.removeEventListener(\"orientationchange\",handleOrientation);window.removeEventListener(\"pageshow\",handlePageShow);restoreInternalOverflow();};},[node,safeBaseWidth,scale,onContentPresence]);// An unmeasured Contain page has no legitimate content height yet.\n// Reserve at least its authored viewport rectangle for external flow;\n// never model a long page as a visually centred 1px object.\nconst logicalContentHeight=Math.max(1,fitMode===\"contain\"&&!contentExtent.ready?safeReferenceViewportHeight:contentExtent.height);const containPaintReady=!useLayoutZoom||fitMode!==\"contain\"||(contentExtent.ready||containPreflightFailOpen)&&containViewportReady;const logicalContentWidth=Math.max(safeBaseWidth,contentExtent.width);const scaledHeight=Math.max(1,logicalContentHeight*scale);const scaledWidth=Math.max(1,safeBaseWidth*scale);const scaledContentWidth=Math.max(1,logicalContentWidth*scale);const scaledViewportHeight=Math.max(1,safeReferenceViewportHeight*scale);const horizontalOffset=fitMode===\"height\"?(safeAvailableWidth-scaledWidth)/2:fitMode===\"contain\"?lockedContainFrame?.horizontalOffset??liveContainHorizontalOffset:0;// Vertical framing belongs to the authored VISIBLE viewport, NOT the full\n// long-page height. The old `scaledHeight <= availableHeight` condition\n// made a tall Frame top-aligned even when its authored viewport had room\n// to centre; later height measurements could then move it unexpectedly.\n// A genuinely shorter-than-one-viewport Frame keeps its historical\n// short-content centering behavior (without enlarging the composition).\nconst containFramingHeight=Math.min(scaledHeight,scaledViewportHeight);const liveContainVerticalOffset=fitMode===\"contain\"?Math.max(0,(safeAvailableHeight-containFramingHeight)/2):0;// A dynamic snapshot freezes the authored first-fold framing while the\n// page GROWS. If its real measured extent later becomes shorter than the\n// actual viewport, retaining an old top-aligned snapshot would leave all\n// the spare space below the invitation. Recover only the short-page\n// centering floor on SHRINK; never use the long-page height to re-scale.\nconst shortPageCenterOffset=contentExtent.ready&&scaledHeight<safeAvailableHeight-.5?Math.max(0,(safeAvailableHeight-scaledHeight)/2):0;// v0.2.35: Center is a VIEWPORT framing policy, not a page-height policy.\n// The authored viewport fold is the only vertical anchor, so enlarging a\n// connected page (accordions, dynamic participants, or long content) cannot\n// silently reframe the current scene. A negative value hides equal top/bottom\n// portions of that fold in a shorter visible browser viewport. When the\n// browser is taller than the fold, don't invent blank space above it: the\n// extra viewport reveals additional authored content below, if any.\nconst fillCenterOffset=fitMode===\"width\"&&fillCenterRequested?Math.min(0,(Math.max(1,fillCenterViewportHeight)-scaledViewportHeight)/2):0;const verticalOffset=fitMode===\"contain\"?lockedContainFrame?navigationFramingPinned?lockedContainFrame.verticalOffset:Math.max(lockedContainFrame.verticalOffset,shortPageCenterOffset):liveContainVerticalOffset:fitMode===\"width\"?fillCenterOffset:0;React.useLayoutEffect(()=>{if(fitMode!==\"contain\"){containFrameRef.current=null;return;}// Do not freeze a transient initial 1px-height framing. If the first\n// actual measurement already includes a dynamic participant, establish\n// the initial snapshot once from that measured geometry.\nif(!contentExtent.ready||!containViewportReady)return;if((contentExtent.dynamic||navigationFramingPinned)&&containSnapshotMatchesViewport)return;containFrameRef.current={scale:liveContainScale,horizontalOffset:liveContainHorizontalOffset,verticalOffset:liveContainVerticalOffset,availableWidth:safeAvailableWidth,availableHeight:safeAvailableHeight,baseWidth:safeBaseWidth,referenceViewportHeight:safeReferenceViewportHeight,startupRevision:containStartupRevision};},[fitMode,containViewportReady,containStartupRevision,contentExtent.dynamic,navigationFramingPinned,contentExtent.ready,liveContainScale,liveContainHorizontalOffset,liveContainVerticalOffset,safeAvailableWidth,safeAvailableHeight,safeBaseWidth,safeReferenceViewportHeight,containSnapshotMatchesViewport]);const containFloor=fitMode===\"contain\"?lockedContainFrame?.availableHeight??safeAvailableHeight:safeAvailableHeight;const spacerHeight=fitMode===\"contain\"?Math.max(verticalOffset+scaledHeight,containFloor):fitMode===\"width\"&&fillCenterRequested?Math.max(1,scaledHeight+verticalOffset):scaledHeight;const visualContentWidth=Math.max(scaledWidth,horizontalOffset+scaledContentWidth);// Center has a cold-load viewport checkpoint like Contain. Hide only the\n// new optional framing path until settled so no top->center flash can paint.\n// Its exact fallback timer, mobile toolbar gate and post-load checkpoint\n// are reused from the already official Contain viewport implementation.\nconst fillCenterPaintReady=!fillCenterRequested||fillCenterViewportReady;useHeightFitVirtualViewportScroll({enabled:fitMode===\"height\",spacerRef,movingContentRef:contentRef,scale,scaledHeight,viewportHeight:scaledViewportHeight});React.useLayoutEffect(()=>{onVisualMetrics?.({height:fitMode===\"contain\"?spacerHeight:scaledHeight,width:scaledWidth,contentWidth:visualContentWidth,viewportHeight:scaledViewportHeight,left:horizontalOffset,scale,dynamicExtent:contentExtent.dynamic});},[scaledHeight,scaledWidth,visualContentWidth,scaledViewportHeight,horizontalOffset,spacerHeight,fitMode,scale,contentExtent.dynamic,onVisualMetrics]);return /*#__PURE__*/_jsx(\"div\",{ref:spacerRef,style:{position:\"relative\",width:\"100%\",height:spacerHeight,minHeight:spacerHeight,overflow:\"visible\",visibility:\"visible\"},\"data-auramark-scaled-height\":scaledHeight,\"data-auramark-logical-content-height\":logicalContentHeight,\"data-auramark-logical-content-width\":logicalContentWidth,\"data-auramark-dynamic-extent\":contentExtent.dynamic?\"true\":\"false\",\"data-auramark-fit-mode\":fitMode,\"data-auramark-scale-mechanism\":fitMode===\"height\"?\"transform-height-fit\":useLayoutZoom?\"layout-zoom\":\"transform-fallback\",\"data-auramark-contain-viewport-ready\":containViewportReady?\"true\":\"false\",\"data-auramark-contain-framing-lock\":fitMode===\"contain\"?lockedContainFrame?\"locked\":\"framing\":\"off\",\"data-auramark-contain-vertical-offset\":fitMode===\"contain\"?verticalOffset:0,\"data-auramark-contain-floor\":fitMode===\"contain\"?containFloor:0,\"data-auramark-fill-framing-mode\":fitMode===\"width\"?fillCenterRequested?\"center\":\"top\":\"off\",\"data-auramark-fill-vertical-offset\":fitMode===\"width\"?verticalOffset:0,\"data-auramark-fill-crop-top\":fitMode===\"width\"?Math.max(0,-verticalOffset):0,\"data-auramark-fill-viewport-ready\":fillCenterPaintReady?\"true\":\"false\",children:fitMode===\"height\"?/*#__PURE__*/_jsx(\"div\",{style:{position:\"sticky\",top:0,marginLeft:horizontalOffset,width:scaledWidth,height:scaledViewportHeight,overflow:\"hidden\",contain:\"paint\"},\"data-auramark-height-fit-virtual-viewport\":\"true\",children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:safeBaseWidth,transform:Math.abs(scale-1)<1e-4?\"none\":`scale(${scale})`,transformOrigin:\"top left\"},children:/*#__PURE__*/_jsx(\"div\",{ref:contentRef,style:{position:\"relative\",width:safeBaseWidth,transform:\"none\",WebkitTransform:\"none\"},children:node})})}):useLayoutZoom?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:verticalOffset,left:horizontalOffset,width:scaledContentWidth,height:scaledHeight,overflow:\"visible\",boxSizing:\"border-box\",opacity:containPaintReady&&fillCenterPaintReady?undefined:0,visibility:containPaintReady&&fillCenterPaintReady?undefined:\"hidden\",pointerEvents:containPaintReady&&fillCenterPaintReady?undefined:\"none\"},// Opacity is removed entirely once ready: settled CSS zoom\n// still preserves native paint order, with no additional\n// stacking context or compositing wrapper.\n\"data-auramark-native-paint-shell\":\"true\",\"data-auramark-contain-preflight\":fitMode===\"contain\"?containPaintReady?\"ready\":\"measuring\":\"off\",children:/*#__PURE__*/_jsx(\"div\",{ref:contentRef,style:{position:\"absolute\",top:0,left:0,width:safeBaseWidth,transform:\"none\",WebkitTransform:\"none\",zoom:Math.abs(scale-1)<1e-4?undefined:scale,textSizeAdjust:\"100%\",WebkitTextSizeAdjust:\"100%\"},\"data-auramark-native-paint-root\":\"true\",children:node})}):/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:verticalOffset,left:horizontalOffset,width:scaledContentWidth,height:scaledHeight,overflow:\"hidden\",boxSizing:\"border-box\"},\"data-auramark-transform-overflow-shell\":\"true\",children:/*#__PURE__*/_jsx(\"div\",{ref:contentRef,style:{position:\"absolute\",top:0,left:0,width:safeBaseWidth,transform:Math.abs(scale-1)<1e-4?\"none\":`scale(${scale})`,transformOrigin:\"top left\"},children:node})})});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 390\n * @framerIntrinsicHeight 844\n */export function AuramarkViewportScaler(props){const{mobileLayout,desktopLayout,mobileBaseWidth,mobileViewportHeight,desktopBaseWidth,desktopViewportHeight,breakpoint,canvasPreview,scaleMode,fillVerticalAlignment=\"top\",onExplicitNavigation=\"topCompensate\",style}=props;const rootRef=React.useRef(null);// An explicit Navigator settle can retire the initial centered framing.\n// The state is session-local; ordinary content ResizeObserver changes never\n// touch it. Keep a synchronous ref for the transaction capture snapshot.\nconst[navigationTopCommitted,setNavigationTopCommitted]=React.useState(false);const navigationTopRef=React.useRef(false);navigationTopRef.current=navigationTopCommitted;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[visualMetrics,setVisualMetrics]=React.useState({height:1,width:1,contentWidth:1,viewportHeight:1,left:0,scale:1,dynamicExtent:false});const fallbackWidth=canvasPreview===\"desktop\"?desktopBaseWidth:mobileBaseWidth;// Canvas must use logical component width, not editor-zoomed visual bounds.\n// Preview/published must follow the actual layout viewport directly.\nconst availableWidth=useAvailableWidth(rootRef,fallbackWidth,!isCanvas);let preferredMode;if(isCanvas&&canvasPreview!==\"auto\"){preferredMode=canvasPreview;}else{preferredMode=availableWidth<breakpoint?\"mobile\":\"desktop\";}const fallbackMode=preferredMode===\"mobile\"?\"desktop\":\"mobile\";const preferredNode=preferredMode===\"mobile\"?mobileLayout:desktopLayout;const fallbackNode=fallbackMode===\"mobile\"?mobileLayout:desktopLayout;const preferredConnected=hasConnectedLayoutNode(preferredNode);const fallbackConnected=hasConnectedLayoutNode(fallbackNode);// Defensive second line: if Framer supplies a truthy outlet shell that renders\n// no logical content, ScaledComposition can mark the preferred side missing and\n// we fail over to the other connected composition.\nconst[runtimeMissingMode,setRuntimeMissingMode]=React.useState(null);React.useLayoutEffect(()=>{setRuntimeMissingMode(null);},[preferredMode,mobileLayout,desktopLayout]);const preferredRejectedAtRuntime=runtimeMissingMode===preferredMode;const mode=preferredConnected&&!preferredRejectedAtRuntime?preferredMode:fallbackConnected?fallbackMode:preferredMode;const node=mode===\"mobile\"?mobileLayout:desktopLayout;const baseWidth=mode===\"mobile\"?mobileBaseWidth:desktopBaseWidth;const activeConnected=mode===preferredMode?preferredConnected&&!preferredRejectedAtRuntime:fallbackConnected;const usingFallback=mode!==preferredMode;// Framer fixed sizing passes `height: 100%` to the Code Component while the\n// authored pixel height lives on an OUTER wrapper. Runtime scaling must own\n// visual height; the Framer height hint remains relevant only in Canvas authoring.\nconst framerHeightHintPresent=style?.height!==undefined&&style.height!==null&&style.height!==\"auto\";const runtimeOwnsHeight=!isCanvas&&activeConnected;// Directional fallback contract:\n// - Mobile standing in for Desktop -> fit the authored Mobile VIEWPORT height to the current viewport height.\n// - Desktop standing in for Mobile -> fit to viewport width.\n// - Normal connected modes -> existing width-fit behavior.\nconst directionalHeightFallback=!isCanvas&&usingFallback&&preferredMode===\"desktop\"&&mode===\"mobile\";// Author policy owns the normal scaling path. Contain overrides the directional\n// fallback only when explicitly selected; Fill Width preserves all pre-existing\n// behavior, including the established Mobile -> Desktop height-fit exception.\nconst fitMode=scaleMode===\"contain\"?\"contain\":directionalHeightFallback?\"height\":\"width\";const referenceViewportHeight=mode===\"mobile\"?mobileViewportHeight:desktopViewportHeight;// Height-fit keeps the established stable layout-viewport contract. Contain\n// explicitly targets the actually visible browser viewport so tablets/phones\n// maximize the authored viewport rectangle without crop. On coarse-pointer\n// browsers the value is stable across toolbar-only height changes.\nconst viewportAvailableHeight=useViewportHeight(referenceViewportHeight,fitMode===\"height\");const centerEligible=!isCanvas&&fitMode===\"width\"&&fillVerticalAlignment===\"center\";const fillCenterRequested=centerEligible&&!navigationTopCommitted;// Reuse the official finite cold-load / visible-viewport checkpoint;\n// there is no permanent browser-toolbar-driven resize observer.\nconst containViewport=useContainViewportHeight(referenceViewportHeight,!isCanvas&&(fitMode===\"contain\"||centerEligible));const canvasContainHeight=fitMode===\"contain\"&&isCanvas&&framerHeightHintPresent?readLogicalElementHeight(rootRef.current,referenceViewportHeight):referenceViewportHeight;const availableHeight=fitMode===\"height\"?viewportAvailableHeight:fitMode===\"contain\"?isCanvas?canvasContainHeight:containViewport.height:referenceViewportHeight;const runtimeRootWidth=isCanvas?\"100%\":availableWidth;// CSS zoom is baseline across current evergreen browsers and, unlike transform,\n// participates in layout without creating a new stacking context/containing block.\n// Commit the runtime mechanism from the first render so descendants never mount\n// under one geometry model and then switch to another.\nconst useLayoutZoom=!isCanvas&&fitMode!==\"height\";const handleVisualMetrics=React.useCallback(next=>{setVisualMetrics(current=>Math.abs(current.height-next.height)<.01&&Math.abs(current.width-next.width)<.01&&Math.abs(current.contentWidth-next.contentWidth)<.01&&Math.abs(current.viewportHeight-next.viewportHeight)<.01&&Math.abs(current.left-next.left)<.01&&Math.abs(current.scale-next.scale)<1e-4&&current.dynamicExtent===next.dynamicExtent?current:next);},[]);const handleContentPresence=React.useCallback(present=>{if(present)return;if(mode!==preferredMode)return;if(!fallbackConnected)return;setRuntimeMissingMode(preferredMode);},[mode,preferredMode,fallbackConnected]);const heightFitBackgroundContainmentEnabled=!isCanvas&&activeConnected&&usingFallback&&preferredMode===\"desktop\"&&mode===\"mobile\"&&fitMode===\"height\"&&visualMetrics.width>1&&visualMetrics.viewportHeight>1;// BackgroundScrollSincronizado intentionally escapes transformed ancestors by\n// publishing a body-level runtime surface. In Mobile -> Desktop height-fit\n// fallback, that global surface must share the exact same visual rectangle as\n// the scaled Mobile composition or it will independently fit the Desktop width\n// and may extend document-space scroll geometry.\nuseHeightFitBackgroundContainment({enabled:heightFitBackgroundContainmentEnabled,visualWidth:visualMetrics.width,visualHeight:visualMetrics.viewportHeight,horizontalOffset:visualMetrics.left});// Runtime-only: propagate the transformed visual height through Framer's\n// external host/wrappers so browser scroll reaches the true end of content.\nuseRuntimeHeightBridge(rootRef,visualMetrics.height,runtimeOwnsHeight&&visualMetrics.height>1);// Scaler is the exclusive native scroll executor for nested Navigators.\n// This event contract is inactive for all ordinary Scaler usage.\nReact.useLayoutEffect(()=>{if(isCanvas||!activeConnected)return;const root=rootRef.current;if(!root||typeof window===\"undefined\")return;let capture=null;let pending=null;const anchoring=new Map;let scrollBehaviorBefore=null;const suppressScrollAnchoring=()=>{// Prevent browser scroll anchoring from moving the viewport when\n// the Coordinator changes the A→B flow owner. Safari may ignore\n// overflow-anchor; in that case the post-flow settle still applies.\nfor(const element of[root,document.scrollingElement,document.body]){if(!(element instanceof HTMLElement)||anchoring.has(element))continue;anchoring.set(element,element.style.overflowAnchor);element.style.overflowAnchor=\"none\";}const scrollingElement=document.scrollingElement;if(scrollingElement instanceof HTMLElement&&!scrollBehaviorBefore){scrollBehaviorBefore={element:scrollingElement,value:scrollingElement.style.getPropertyValue(\"scroll-behavior\"),priority:scrollingElement.style.getPropertyPriority(\"scroll-behavior\")};// CSS scroll-behavior:smooth also affects scrollTop writes in\n// Chromium. Temporarily force immediate document scrolling.\nscrollingElement.style.setProperty(\"scroll-behavior\",\"auto\",\"important\");}};const restoreScrollAnchoring=()=>{for(const[element,prior]of anchoring){element.style.overflowAnchor=prior;}anchoring.clear();if(scrollBehaviorBefore){const saved=scrollBehaviorBefore;if(saved.value){saved.element.style.setProperty(\"scroll-behavior\",saved.value,saved.priority);}else{saved.element.style.removeProperty(\"scroll-behavior\");}scrollBehaviorBefore=null;}};const jumpNativeScroll=(top,left)=>{// Use the scrolling element rather than Window.scrollTo to reduce\n// the risk of iOS compositing flashes during DOM geometry changes.\n// Explicit instant is essential: CSS scroll-behavior:smooth can make\n// plain scrollTop assignments animate in Chromium, even if an inline\n// auto override was just applied.\nconst scrollingElement=document.scrollingElement;if(scrollingElement instanceof HTMLElement){scrollingElement.scrollTo({top,left,behavior:\"instant\"});}else{window.scrollTo({top,left,behavior:\"instant\"});}};const finish=(success,reason)=>{const target=pending;if(!target)return;pending=null;if(target.raf)cancelAnimationFrame(target.raf);if(target.timer)window.clearTimeout(target.timer);target.observer?.disconnect();target.done(success,reason);};const scheduleCheck=()=>{if(!pending||pending.raf)return;pending.raf=window.requestAnimationFrame(checkGeometryAndScroll);};const checkGeometryAndScroll=()=>{const job=pending;if(!job)return;job.raf=0;// A breakpoint remount may replace ScaledComposition during handoff.\n// Retry only a handful of force-measure requests until the current\n// composition acknowledges; never poll the tree while idle.\nif(job.measuredHeight===null&&job.geometryAttempts<6){root.dispatchEvent(new CustomEvent(SCALER_MEASURE_EVENT,{detail:{token:job.token}}));}const spacer=root.querySelector(\"[data-auramark-logical-content-height]\");const committedLogical=Number.parseFloat(spacer?.getAttribute(\"data-auramark-logical-content-height\")||\"\");const expected=job.measuredHeight;const visualHeight=Number.parseFloat(root.getAttribute(\"data-auramark-visual-height\")||\"\");const physicalHeight=Number.parseFloat(root.style.height||\"\");// The new top-framing state must actually be committed to the\n// painted scene before any scroll/Enter acknowledgement. A mere\n// queued React state change is not sufficient for Safari handoff.\nconst framingReady=job.requiredFraming===null||spacer?.getAttribute(\"data-auramark-fill-framing-mode\")===job.requiredFraming;const ready=framingReady&&expected!==null&&Number.isFinite(committedLogical)&&Math.abs(committedLogical-expected)<=1.5&&Number.isFinite(visualHeight)&&visualHeight>1&&Number.isFinite(physicalHeight)&&Math.abs(physicalHeight-visualHeight)<=1.5;if(!ready){// Real state/geometry acknowledgements, never an unconditional\n// multi-frame sleep. The bounded timeout rejects a failed handoff.\nif(++job.geometryAttempts<120)scheduleCheck();return;}const record=capture;if(!record||record.token!==job.token){finish(false,\"scroll snapshot expired\");return;}// Scaler owns final scroll bounds and performs native window scroll.\n// The authoring viewport reference is not substituted for the physical\n// browser viewport; Height Fit keeps its virtual viewport behavior.\nconst pageHeight=Math.max(document.scrollingElement?.scrollHeight||0,document.documentElement?.scrollHeight||0,document.body?.scrollHeight||0);const visibleHeight=Math.max(1,document.documentElement?.clientHeight||window.innerHeight);const maxY=Math.max(0,pageHeight-visibleHeight);const pageWidth=Math.max(document.scrollingElement?.scrollWidth||0,document.documentElement?.scrollWidth||0,document.body?.scrollWidth||0);const visibleWidth=Math.max(1,document.documentElement?.clientWidth||window.innerWidth);const maxX=Math.max(0,pageWidth-visibleWidth);const afterFlowTop=(()=>{if(job.phase!==\"settle\"||job.behavior!==\"top\")return 0;// Height Fit's virtual viewport has an independent scroll\n// transform, so its logical scroll origin remains document 0.\nif(root.getAttribute(\"data-auramark-scale-mechanism\")===\"transform-height-fit\")return 0;const visibleScene=root.querySelector('[data-auramark-navigation-flow=\"true\"]');if(!visibleScene)return 0;const rect=visibleScene.getBoundingClientRect();return Number.isFinite(rect.top)?Math.max(0,window.scrollY+rect.top):0;})();const targetY=Math.max(0,Math.min(maxY,job.behavior===\"top\"?afterFlowTop+(job.phase===\"settle\"?job.compensation:0):record.y));const targetX=Math.max(0,Math.min(maxX,job.behavior===\"top\"?0:record.x));try{jumpNativeScroll(targetY,targetX);void root.getBoundingClientRect().top;}catch(error){finish(false,error instanceof Error?error.message:String(error));return;}// Safari sometimes commits the programmatic scroll on the next paint.\n// Do not expose Enter until the scroll has actually settled.\nconst verify=()=>{if(!pending||pending!==job)return;const updatedPageHeight=Math.max(document.scrollingElement?.scrollHeight||0,document.documentElement?.scrollHeight||0,document.body?.scrollHeight||0);const updatedMaximum=Math.max(0,updatedPageHeight-visibleHeight);const expectedY=Math.min(targetY,updatedMaximum);const updatedPageWidth=Math.max(document.scrollingElement?.scrollWidth||0,document.documentElement?.scrollWidth||0,document.body?.scrollWidth||0);const expectedX=Math.min(targetX,Math.max(0,updatedPageWidth-visibleWidth));// A stale horizontal scroll can make a correctly zoomed Frame\n// appear far left with a black gutter on the opposite side.\n// Verify BOTH axes before releasing the handoff cover.\nconst wrongY=Math.abs(window.scrollY-expectedY)>1.5;const wrongX=Math.abs(window.scrollX-expectedX)>1.5;if((wrongX||wrongY)&&job.scrollRetries++<3){jumpNativeScroll(expectedY,expectedX);job.raf=requestAnimationFrame(()=>{job.raf=0;verify();});return;}finish(true);};// Height Fit updates a virtual viewport by a scroll-driven RAF.\n// Confirm after that actual driver frame, not while its transform\n// still represents the outgoing scroll position.\nif(job.phase===\"settle\"||root.getAttribute(\"data-auramark-scale-mechanism\")===\"transform-height-fit\"){job.raf=window.requestAnimationFrame(()=>{job.raf=0;verify();});}else{verify();}};const onMeasured=event=>{const payload=event.detail;if(!pending||payload?.token!==pending.token)return;const height=payload.logicalHeight;if(!Number.isFinite(height)||(height||0)<=1)return;pending.measuredHeight=height;scheduleCheck();};const onScrollRequest=event=>{const custom=event;const detail=custom.detail;if(!detail||detail.version!==1||!detail.token)return;custom.preventDefault()// explicit positive acknowledgement of protocol\n;if(detail.phase===\"capture\"){if(pending)finish(false,\"superseded by new navigation\");// Snapshot the actual committed centered crop, NOT a guessed\n// reference-height delta. Layout zoom has already transformed\n// the authoring coordinates into native CSS pixel dimensions.\nconst currentSpacer=root.querySelector(\"[data-auramark-fill-framing-mode]\");const committedCrop=Number.parseFloat(currentSpacer?.getAttribute(\"data-auramark-fill-crop-top\")||\"0\");capture={token:detail.token,x:window.scrollX,y:window.scrollY,framingWasTop:navigationTopRef.current,cropTop:Number.isFinite(committedCrop)&&committedCrop>0?committedCrop:0};suppressScrollAnchoring();detail.acknowledge?.(true);return;}if(detail.phase===\"restore\"&&capture?.token===detail.token){// Roll back only the framing mutation owned by this transaction;\n// a later navigation must not re-center an already-long page.\nnavigationTopRef.current=capture.framingWasTop;setNavigationTopCommitted(capture.framingWasTop);}if(detail.phase===\"release\"){if(pending)finish(false,\"navigation released\");if(capture?.token===detail.token)capture=null;restoreScrollAnchoring();detail.acknowledge?.(true);return;}if(!capture||capture.token!==detail.token){detail.acknowledge?.(false,\"missing matching scroll capture\");return;}if(pending)finish(false,\"superseded scroll commit\");const moveToTop=detail.phase===\"settle\"&&detail.behavior===\"top\"&&centerEligible&&onExplicitNavigation!==\"preserve\";if(moveToTop&&!navigationTopRef.current){navigationTopRef.current=true;setNavigationTopCommitted(true);}const compensatingCrop=moveToTop&&onExplicitNavigation===\"topCompensate\"&&!capture.framingWasTop?capture.cropTop:0;pending={token:detail.token,phase:detail.phase===\"settle\"?\"settle\":detail.phase===\"restore\"?\"restore\":\"commit\",behavior:detail.phase===\"restore\"?\"preserve\":detail.behavior,done:(ok,reason)=>detail.acknowledge?.(ok,reason),measuredHeight:null,raf:0,timer:0,observer:null,geometryAttempts:0,scrollRetries:0,requiredFraming:moveToTop?\"top\":detail.phase===\"restore\"&&centerEligible?capture.framingWasTop?\"top\":\"center\":null,compensation:compensatingCrop};pending.timer=window.setTimeout(()=>finish(false,\"Scaler layout did not commit\"),1600);// React's height bridge runs in a layout effect. Attribute changes\n// here only wake the pending readiness check, never perform scrolling.\nif(typeof MutationObserver!==\"undefined\"){pending.observer=new MutationObserver(scheduleCheck);pending.observer.observe(root,{subtree:true,attributes:true,attributeFilter:[\"data-auramark-visual-height\",\"data-auramark-logical-content-height\"]});}root.dispatchEvent(new CustomEvent(SCALER_MEASURE_EVENT,{detail:{token:detail.token}}));scheduleCheck();};root.addEventListener(SCALER_SCROLL_EVENT,onScrollRequest);root.addEventListener(SCALER_MEASURED_EVENT,onMeasured);return()=>{root.removeEventListener(SCALER_SCROLL_EVENT,onScrollRequest);root.removeEventListener(SCALER_MEASURED_EVENT,onMeasured);if(pending)finish(false,\"ViewportScaler unmounted\");capture=null;restoreScrollAnchoring();};},[isCanvas,activeConnected,mode,centerEligible,onExplicitNavigation]);const dynamicHorizontalOverflow=!isCanvas&&activeConnected&&visualMetrics.dynamicExtent&&visualMetrics.contentWidth>availableWidth+1;useRuntimeHorizontalOverflowRelease(rootRef,dynamicHorizontalOverflow);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{...style,position:\"relative\",width:runtimeRootWidth,maxWidth:\"none\",height:runtimeOwnsHeight?visualMetrics.height:framerHeightHintPresent?style?.height:\"auto\",minHeight:runtimeOwnsHeight?visualMetrics.height:framerHeightHintPresent?style?.minHeight:undefined,maxHeight:runtimeOwnsHeight?\"none\":style?.maxHeight,minWidth:0,overflowX:dynamicHorizontalOverflow?\"visible\":\"clip\",overflowY:\"visible\",boxSizing:\"border-box\"},\"data-auramark-viewport-scaler\":\"true\",\"data-auramark-viewport-scale\":visualMetrics.scale,\"data-auramark-reference-base-width\":baseWidth,\"data-auramark-reference-viewport-height\":referenceViewportHeight,\"data-auramark-scale-mechanism\":fitMode===\"height\"?\"transform-height-fit\":useLayoutZoom?\"layout-zoom\":\"transform-fallback\",\"data-auramark-layout-protocol\":\"1\",\"data-auramark-navigation-scroll-owner\":isCanvas?\"disabled\":\"scaler\",\"data-auramark-layout\":mode,\"data-auramark-preferred-layout\":preferredMode,\"data-auramark-layout-fallback\":mode!==preferredMode?\"true\":\"false\",\"data-auramark-fallback-fit\":fitMode,\"data-auramark-scale-mode\":scaleMode,\"data-auramark-fill-vertical-alignment\":centerEligible?fillVerticalAlignment:\"top\",\"data-auramark-explicit-navigation-alignment\":centerEligible?onExplicitNavigation:\"preserve\",\"data-auramark-navigation-top-committed\":navigationTopCommitted?\"true\":\"false\",\"data-auramark-height-fit-background-containment\":heightFitBackgroundContainmentEnabled?\"true\":\"false\",\"data-auramark-viewport-width\":availableWidth,\"data-auramark-viewport-height\":availableHeight,\"data-auramark-contain-startup-revision\":containViewport.startupRevision,\"data-auramark-contain-startup-ready\":containViewport.ready?\"true\":\"false\",\"data-auramark-mobile-reference-viewport-height\":mobileViewportHeight,\"data-auramark-visual-height\":visualMetrics.height,\"data-auramark-visual-content-width\":visualMetrics.contentWidth,\"data-auramark-dynamic-extent\":visualMetrics.dynamicExtent?\"true\":\"false\",\"data-auramark-horizontal-overflow\":dynamicHorizontalOverflow?\"true\":\"false\",\"data-auramark-height-ownership\":runtimeOwnsHeight?\"scaler-runtime\":framerHeightHintPresent?\"framer-canvas\":\"content\",\"data-auramark-framer-style-height\":style?.height==null?\"unset\":String(style.height),\"data-auramark-contain-height-constraint\":fitMode===\"contain\"?isCanvas?framerHeightHintPresent?\"canvas-framer-box\":\"reference-viewport\":\"visible-browser-viewport\":\"none\",children:activeConnected?/*#__PURE__*/_jsx(ScaledComposition,{node:node,baseWidth:baseWidth,availableWidth:availableWidth,availableHeight:availableHeight,referenceViewportHeight:referenceViewportHeight,containViewportReady:isCanvas||containViewport.ready,containStartupRevision:containViewport.startupRevision,fitMode:fitMode,useLayoutZoom:useLayoutZoom,fillCenterRequested:fillCenterRequested,fillCenterViewportHeight:containViewport.height,fillCenterViewportReady:containViewport.ready,onVisualMetrics:handleVisualMetrics,onContentPresence:handleContentPresence},mode):/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",minHeight:160,display:\"grid\",placeItems:\"center\",boxSizing:\"border-box\",padding:24,border:\"1px dashed rgba(128,128,128,.45)\",borderRadius:12,fontFamily:\"Inter, ui-sans-serif, system-ui, sans-serif\",fontSize:13,lineHeight:1.45,textAlign:\"center\",color:\"rgba(128,128,128,.9)\"},children:[\"Connect the \",mode===\"mobile\"?\"Mobile\":\"Desktop\",\" \",\"Layout to this component.\"]})});}AuramarkViewportScaler.defaultProps={mobileBaseWidth:390,mobileViewportHeight:844,desktopBaseWidth:1440,desktopViewportHeight:900,breakpoint:768,canvasPreview:\"auto\",scaleMode:\"fillWidth\",fillVerticalAlignment:\"top\",onExplicitNavigation:\"topCompensate\"};addPropertyControls(AuramarkViewportScaler,{mobileLayout:{type:ControlType.ComponentInstance,title:\"Mobile Layout\"},desktopLayout:{type:ControlType.ComponentInstance,title:\"Desktop Layout\"},mobileBaseWidth:{type:ControlType.Number,title:\"Mobile Base\",defaultValue:390,min:320,max:1080,step:1,unit:\"px\",displayStepper:true},mobileViewportHeight:{type:ControlType.Number,title:\"Mobile View H\",defaultValue:844,min:10,max:2e3,step:1,unit:\"px\",displayStepper:true,description:\"Reference VISIBLE Mobile viewport height used only when Mobile temporarily falls back into Desktop. This is not the full page height.\"},desktopBaseWidth:{type:ControlType.Number,title:\"Desktop Base\",defaultValue:1440,min:900,max:2560,step:1,unit:\"px\",displayStepper:true},desktopViewportHeight:{type:ControlType.Number,title:\"Desktop View H\",defaultValue:900,min:500,max:2400,step:1,unit:\"px\",displayStepper:true,description:\"Reference VISIBLE Desktop viewport height used by Contain. This is not the full page height.\"},breakpoint:{type:ControlType.Number,title:\"Breakpoint\",defaultValue:768,min:480,max:1400,step:1,unit:\"px\",displayStepper:true},scaleMode:{type:ControlType.Enum,title:\"Scale Mode\",options:[\"fillWidth\",\"contain\"],optionTitles:[\"Fill Width\",\"Contain\"],defaultValue:\"fillWidth\",description:\"Fill Width preserves the existing proportional width-first behavior. Contain maximizes the authored viewport rectangle inside the visible browser area without crop. Long-page height does not reduce the scale and remains available by scroll.\"},fillVerticalAlignment:{type:ControlType.Enum,title:\"Fill V Align\",options:[\"top\",\"center\"],optionTitles:[\"Top (Legacy)\",\"Center\"],defaultValue:\"top\",hidden:props=>props.scaleMode===\"contain\",description:\"Fill Width only. Center crops the authored View H fold symmetrically against the settled visible mobile viewport. Set Mobile/Desktop View H to the designed fold height (e.g. 960 for a 540\\xd7960 scene). Canvas remains top-anchored.\"},onExplicitNavigation:{type:ControlType.Enum,title:\"On Nav Handoff\",options:[\"topCompensate\",\"top\",\"preserve\"],optionTitles:[\"Top + Crop Scroll\",\"Top\",\"Keep Center\"],defaultValue:\"topCompensate\",hidden:props=>props.scaleMode===\"contain\"||props.fillVerticalAlignment!==\"center\",description:\"Only an explicit Scaler navigation protocol settle with Scroll Top can change framing. Top + Crop Scroll restores Top geometry and scrolls by the previously hidden top crop; ordinary expandable content never triggers it. Restore rolls back on navigation failure.\"},canvasPreview:{type:ControlType.Enum,title:\"Canvas Preview\",options:[\"auto\",\"mobile\",\"desktop\"],optionTitles:[\"Auto\",\"Mobile\",\"Desktop\"],defaultValue:\"auto\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"AuramarkViewportScaler\":{\"type\":\"reactComponent\",\"name\":\"AuramarkViewportScaler\",\"slots\":[\"mobileLayout\",\"desktopLayout\"],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"390\",\"framerIntrinsicHeight\":\"844\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AuramarkViewportScaler.map"],"mappings":"A,mPAQG,SAASsB,EAAuB,EAAK,CAAC,GAAGC,GAAM,MAAMA,IAAO,GAAM,MAAO,GAAM,GAAG,MAAM,QAAQA,CAAI,EAAG,OAAOA,EAAK,KAAK,GAAOD,EAAuBE,CAAK,CAAC,EAAG,GAAG,OAAOD,GAAO,SAAS,OAAOA,EAAK,KAAK,CAAC,CAAC,OAAO,EAAE,GAAG,OAAOA,GAAO,SAAS,MAAO,GAAK,GAAgB,gBAAqBA,CAAI,EAAuF,OAAjFA,EAAK,OAAOvB,GAAuBsB,EAAuBC,EAAK,OAAO,QAAQ,EAAgB,GAAG,CAAC,OAAAb,EAAsB,MAAMa,CAAI,EAAE,CAAE,MAAM,CAAC,MAAO,EAAM,CAAC,CAAC,SAASE,EAAwB,EAAQ,EAAS,CAAC,GAAG,CAACC,EAAQ,OAAOC,EAE/gB,IAAMC,EAAOF,EAAQ,YAAY,GAAG,OAAO,SAASE,CAAM,GAAGA,EAAO,EAAE,OAAOA,EAAO,IAAMC,EAAOH,EAAQ,YAA+D,OAAhD,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