{"version":3,"file":"ESS12wodP.BMDIHbUz.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js","https:/framerusercontent.com/modules/k8wdMzoCpP6OdoxnH92e/VJTG8PqkZw7MTUPEZXnS/ESS12wodP.js"],"sourcesContent":["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","// Generated by Framer (0f5ea8b)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Be Vietnam Pro-semibold\",\"FS;Be Vietnam Pro-black\",\"FS;Be Vietnam Pro-black italic\",\"FS;Be Vietnam Pro-semibold italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Be Vietnam Pro\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Be Vietnam Pro\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/MPWDEQ5P4DNS7O465A5AXO6KVHWMIF2Z/MNW3HVOPPNJBFIMMG2JLQ6HBXUDB63AO/G6AF2CHLF7U443YAKNG42CSO2I2VD6MV.woff2\",weight:\"600\"},{cssFamilyName:\"Be Vietnam Pro\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Be Vietnam Pro\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/YB3HULSDSBNPAE3OQV2XNHIVVYTDRN6L/TWU2TXVYBJEBCLKLJH6GZBA4BXRSRRLB/E45BEFJW67QAAJX7PZAF7HO2WP6JZJR6.woff2\",weight:\"900\"},{cssFamilyName:\"Be Vietnam Pro\",source:\"fontshare\",style:\"italic\",uiFamilyName:\"Be Vietnam Pro\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/2V2CJ2NYRZNAGFPIUTGVU7IZI2AIUHCA/HKU2XZEFFWYLEJXZMW7HJOCNNUFER2QG/7HBXQZDUZJ57IZDY6V7WLRM5NHTS5BFN.woff2\",weight:\"900\"},{cssFamilyName:\"Be Vietnam Pro\",source:\"fontshare\",style:\"italic\",uiFamilyName:\"Be Vietnam Pro\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/WJKF7ZSVN7JYKGBC3HIO62QCENQR7XC4/NQ3OZHSOWM4G3XGD6JNLZKCG2YQULMAG/PNI7JG3UHYTH6JBHJYTD7OCYMALEQKUI.woff2\",weight:\"600\"}]}];export const css=['.framer-SPeYv .framer-styles-preset-1fm0vx7:not(.rich-text-wrapper), .framer-SPeYv .framer-styles-preset-1fm0vx7.rich-text-wrapper p { --framer-font-family: \"Be Vietnam Pro\", \"Be Vietnam Pro Placeholder\", sans-serif; --framer-font-family-bold: \"Be Vietnam Pro\", sans-serif; --framer-font-family-bold-italic: \"Be Vietnam Pro\", sans-serif; --framer-font-family-italic: \"Be Vietnam Pro\", \"Be Vietnam Pro Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: 18px; --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: 600; --framer-font-weight-bold: 900; --framer-font-weight-bold-italic: 900; --framer-font-weight-italic: 600; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-0450188b-3ecc-4a39-9edd-7102407eda8f, #1c1b18); --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-SPeYv .framer-styles-preset-1fm0vx7:not(.rich-text-wrapper), .framer-SPeYv .framer-styles-preset-1fm0vx7.rich-text-wrapper p { --framer-font-family: \"Be Vietnam Pro\", \"Be Vietnam Pro Placeholder\", sans-serif; --framer-font-family-bold: \"Be Vietnam Pro\", sans-serif; --framer-font-family-bold-italic: \"Be Vietnam Pro\", sans-serif; --framer-font-family-italic: \"Be Vietnam Pro\", \"Be Vietnam Pro Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: 16px; --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: 600; --framer-font-weight-bold: 900; --framer-font-weight-bold-italic: 900; --framer-font-weight-italic: 600; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-0450188b-3ecc-4a39-9edd-7102407eda8f, #1c1b18); --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-SPeYv .framer-styles-preset-1fm0vx7:not(.rich-text-wrapper), .framer-SPeYv .framer-styles-preset-1fm0vx7.rich-text-wrapper p { --framer-font-family: \"Be Vietnam Pro\", \"Be Vietnam Pro Placeholder\", sans-serif; --framer-font-family-bold: \"Be Vietnam Pro\", sans-serif; --framer-font-family-bold-italic: \"Be Vietnam Pro\", sans-serif; --framer-font-family-italic: \"Be Vietnam Pro\", \"Be Vietnam Pro Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: 16px; --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: 600; --framer-font-weight-bold: 900; --framer-font-weight-bold-italic: 900; --framer-font-weight-italic: 600; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-0450188b-3ecc-4a39-9edd-7102407eda8f, #1c1b18); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-SPeYv\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+LAKG,SAAwB,EAAmB,CAAC,YAAU,SAAO,CAAC,IAAM,EAAS,EAAa,QAAQ,IAAI,EAAa,OAAa,EAAIA,EAAO,IAAI,EAAQ,EAAMA,EAAO,EAAQ,EAAS,IAAY,YAAY,IAAY,OAAa,EAAW,IAAY,cAAc,IAAY,OACvD,OAD8D,MAAc,CAAC,GAAG,EAAS,OAAO,IAAM,EAAO,EAAI,SAAS,eAAe,cAAc,GAAG,CAAC,EAAO,OAAO,IAAM,EAAU,EAAO,cAAc,GAAG,CAAC,EAAU,OAAO,IAAM,MAAe,CAAC,IAAM,EAAK,EAAO,sBAAsB,EAAK,IAAY,EAAU,MAAM,MAAM,GAAG,EAAK,MAAM,KAAQ,IAAU,EAAU,MAAM,OAAO,GAAG,EAAK,OAAO,KAAK,EAAM,QAAQ,sBAAsB,CAAU,CAAE,EACtnB,MAAhD,GAAM,QAAQ,sBAAsB,CAAU,MAAY,CAAI,EAAM,SAAS,qBAAqB,EAAM,OAAO,EAAM,IAAc,IAAY,EAAU,MAAM,MAAM,IAAO,IAAU,EAAU,MAAM,OAAO,IAAK,CAAE,EAAE,CAAC,CAAS,CAAC,EAAsB,EAAK,MAAM,CAAK,MAAI,MAAM,CAAC,GAAG,CAAK,CAAC,CAAC,CAAE,iBANpP,IAAiE,IAAoC,EAMgJ,EAAmB,YAAY,wBAAwB,EAAoB,EAAmB,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,aAAa,WAAW,QAAQ,CAAC,WAAW,aAAa,MAAM,EAAE,aAAa,CAAC,WAAW,aAAa,MAAM,EAAE,wBAAwB,GAAK,0BAA0B,WACrkB,YAAY,CAAC,qBAAqB,uBAAuB,eAAe,EAAE,YAAY,oEAAoE,CAAC,CAAC,uBCN/H,EAAC,EAAU,UAAU,CAAC,6BAA6B,0BAA0B,iCAAiC,mCAAmC,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,iBAAiB,OAAO,YAAY,MAAM,SAAS,aAAa,iBAAiB,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,cAAc,iBAAiB,OAAO,YAAY,MAAM,SAAS,aAAa,iBAAiB,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,cAAc,iBAAiB,OAAO,YAAY,MAAM,SAAS,aAAa,iBAAiB,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,cAAc,iBAAiB,OAAO,YAAY,MAAM,SAAS,aAAa,iBAAiB,IAAI,yKAAyK,OAAO,KAAK,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,+qCAAyrC,quCAA+uC,iuCAA2uC,EAAe,EAAU"}