{"version":3,"file":"AvoidLayoutJumping_Prod.D2X1PUsv.mjs","names":["fonts","css","className","fonts","css","className","useState","useRef"],"sources":["https:/framerusercontent.com/modules/dpGbtdj1r9Mc3ATvp2DF/SZtDSAP1xU9bot6sBtri/et4INEFqK.js","https:/framerusercontent.com/modules/yI3GemMwdBjbLdmtsd7g/k35bc0gtgPeUEOO3M0kg/jbsOSsZpz.js","https:/framerusercontent.com/modules/w5tJv6t1BmcebpRlOHkT/fqi8XDp8irWwLXXaLFR8/PRbE5oqPp.js","https:/framerusercontent.com/modules/ncBs5KPMI9I5GEta13fn/zGXDjuZapa1SGy6D8P5e/IsBrowser.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (ebccc92)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-XZ7at .framer-styles-preset-9c5wnd:not(.rich-text-wrapper), .framer-XZ7at .framer-styles-preset-9c5wnd.rich-text-wrapper a { --framer-link-current-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #151515); --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #151515); --framer-link-hover-text-decoration: underline; --framer-link-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #242422); --framer-link-text-decoration: underline; }\"];export const className=\"framer-XZ7at\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9045c1a)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-iBRem .framer-styles-preset-161xcm:not(.rich-text-wrapper), .framer-iBRem .framer-styles-preset-161xcm.rich-text-wrapper a { --framer-link-current-text-color: var(--token-5d3602f5-d470-4b4b-916d-5b57bbf588f8, rgba(255, 255, 255, 0.8)); --framer-link-current-text-decoration: none; --framer-link-hover-text-color: var(--token-fa4dcb27-7179-41c9-bbdc-0fe7fe502e97, #ffffff); --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-5d3602f5-d470-4b4b-916d-5b57bbf588f8, rgba(255, 255, 255, 0.8)); --framer-link-text-decoration: none; transition: color 0.4s cubic-bezier(0.44, 0, 0.56, 1) 0s; }\"];export const className=\"framer-iBRem\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (016cdd2)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Host Grotesk-regular\",\"GF;Host Grotesk-700\",\"GF;Host Grotesk-700italic\",\"GF;Host Grotesk-italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Host Grotesk\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/hostgrotesk/v4/co3UmWBnlCJ3U42vbbfdwMjzqHAXOdFzqU5PuefOzhOp-j94InI.woff2\",weight:\"400\"},{family:\"Host Grotesk\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/hostgrotesk/v4/co3UmWBnlCJ3U42vbbfdwMjzqHAXOdFzqU5PuQDJzhOp-j94InI.woff2\",weight:\"700\"},{family:\"Host Grotesk\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/hostgrotesk/v4/co3SmWBnlCJ3U42vbbfdwMjZoULo4bgYM-BIrC-NwVKj-x19MnL2jg.woff2\",weight:\"700\"},{family:\"Host Grotesk\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/hostgrotesk/v4/co3SmWBnlCJ3U42vbbfdwMjZoULo4bgYM-BIrC-NJlWj-x19MnL2jg.woff2\",weight:\"400\"}]}];export const css=['.framer-oIoGQ .framer-styles-preset-15f9wtz:not(.rich-text-wrapper), .framer-oIoGQ .framer-styles-preset-15f9wtz.rich-text-wrapper h3 { --framer-font-family: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-italic: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 24px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.03em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-fa4dcb27-7179-41c9-bbdc-0fe7fe502e97, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-oIoGQ .framer-styles-preset-15f9wtz:not(.rich-text-wrapper), .framer-oIoGQ .framer-styles-preset-15f9wtz.rich-text-wrapper h3 { --framer-font-family: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-italic: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 24px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.03em; --framer-line-height: 32px; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-fa4dcb27-7179-41c9-bbdc-0fe7fe502e97, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-oIoGQ .framer-styles-preset-15f9wtz:not(.rich-text-wrapper), .framer-oIoGQ .framer-styles-preset-15f9wtz.rich-text-wrapper h3 { --framer-font-family: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-italic: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 24px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.03em; --framer-line-height: 32px; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-fa4dcb27-7179-41c9-bbdc-0fe7fe502e97, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-oIoGQ\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{useState,useEffect}from\"react\";export function useIsBrowser(){const[isBrowser,setIsBrowser]=useState(false);useEffect(()=>{setIsBrowser(true);},[]);return isBrowser;}\nexport const __FramerMetadata__ = {\"exports\":{\"useIsBrowser\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IsBrowser.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function AvoidLayoutJumping({direction,style}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=useRef(null);const rafId=useRef();const vertical=direction===\"vertical\"||direction===\"both\";const horizontal=direction===\"horizontal\"||direction===\"both\";useEffect(()=>{if(isCanvas)return;const parent=ref.current?.parentElement?.parentElement;if(!parent)return;const container=parent.parentElement;if(!container)return;const updateSize=()=>{const rect=parent.getBoundingClientRect();if(horizontal){container.style.width=`${rect.width}px`;}if(vertical){container.style.height=`${rect.height}px`;}rafId.current=requestAnimationFrame(updateSize);};// Start the RAF loop\nrafId.current=requestAnimationFrame(updateSize);return()=>{if(rafId.current){cancelAnimationFrame(rafId.current);}if(container){if(horizontal){container.style.width=\"\";}if(vertical){container.style.height=\"\";}}};},[direction]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...style}});}AvoidLayoutJumping.displayName=\"Layout Jump Preventer\";addPropertyControls(AvoidLayoutJumping,{direction:{type:ControlType.Enum,defaultValue:\"vertical\",options:[\"vertical\",\"horizontal\",\"both\"],optionTitles:[\"Vertical\",\"Horizontal\",\"Both\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",// @ts-ignore\noptionIcons:[\"direction-vertical\",\"direction-horizontal\",\"direction-all\"],description:\"More components at [Framer University](https://frameruni.link/cc).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AvoidLayoutJumping\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AvoidLayoutJumping_Prod.map"],"mappings":"wNAC8B,GAAU,UAAU,EAAE,CAAC,CAAcA,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAcC,EAAI,CAAC,qiBAAqiB,CAAcC,EAAU,qCCA1pB,GAAU,UAAU,EAAE,CAAC,CAAcC,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAcC,EAAI,CAAC,knBAAknB,CAAcC,EAAU,qCCAvuB,GAAU,UAAU,CAAC,0BAA0B,sBAAsB,4BAA4B,yBAAyB,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,eAAe,OAAO,SAAS,MAAM,SAAS,IAAI,uGAAuG,OAAO,MAAM,CAAC,CAAC,OAAO,eAAe,OAAO,SAAS,MAAM,SAAS,IAAI,uGAAuG,OAAO,MAAM,CAAC,CAAC,OAAO,eAAe,OAAO,SAAS,MAAM,SAAS,IAAI,0GAA0G,OAAO,MAAM,CAAC,CAAC,OAAO,eAAe,OAAO,SAAS,MAAM,SAAS,IAAI,0GAA0G,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,irCAAirC,suCAAsuC,muCAAmuC,CAAc,EAAU,kBCD5gJ,SAAgB,GAAc,CAAC,GAAK,CAAC,EAAU,GAAcC,EAAS,GAAM,CAAyC,OAAxC,MAAc,CAAC,EAAa,GAAK,EAAG,EAAE,CAAC,C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