{"version":3,"file":"AvoidLayoutJumping_Prod.Hr_2fRLL.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/mAz4kXKTtv87G1AWWCyv/Oi7R8ZuYDcubiP30KpTW/oNghdukIp.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (7f7ffdc)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"BI;BDO Grotesk/variable/v0\",\"BI;BDO Grotesk/variable/v0VF=IndnaHQiIDQwMA==\",\"BI;BDO Grotesk/variable/v0VF=IndnaHQiIDQwMA==\",\"BI;BDO Grotesk/variable/v0VF=IndnaHQiIDQwMA==\"]);const variationAxes=[{defaultValue:400,maxValue:900,minValue:300,name:\"Weight\",tag:\"wght\"}];export const fonts=[{explicitInter:true,fonts:[{family:\"BDO Grotesk\",source:\"builtIn\",style:\"normal\",url:\"https://framerusercontent.com/assets/FcybOZJ2ipUdK2dQmwN3gFVAvuk.woff2\",variationAxes,weight:\"1000\"}]}];export const css=['.framer-i1QNb .framer-styles-preset-dn1a15:not(.rich-text-wrapper), .framer-i1QNb .framer-styles-preset-dn1a15.rich-text-wrapper p { --framer-font-family: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-open-type-features: \\'zero\\' on, \\'dlig\\' on; --framer-font-size: 11.7647px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 400; --framer-font-variation-axes-bold: \"wght\" 400; --framer-font-variation-axes-bold-italic: \"wght\" 400; --framer-font-variation-axes-italic: \"wght\" 400; --framer-font-weight: 1000; --framer-font-weight-bold: 1000; --framer-font-weight-bold-italic: 1000; --framer-font-weight-italic: 1000; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-281f6968-318b-4063-aea0-81603f9b9f1b, #2f2c25); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1137px) and (min-width: 810px) { .framer-i1QNb .framer-styles-preset-dn1a15:not(.rich-text-wrapper), .framer-i1QNb .framer-styles-preset-dn1a15.rich-text-wrapper p { --framer-font-family: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-open-type-features: \\'zero\\' on, \\'dlig\\' on; --framer-font-size: 11.7647px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 400; --framer-font-variation-axes-bold: \"wght\" 400; --framer-font-variation-axes-bold-italic: \"wght\" 400; --framer-font-variation-axes-italic: \"wght\" 400; --framer-font-weight: 1000; --framer-font-weight-bold: 1000; --framer-font-weight-bold-italic: 1000; --framer-font-weight-italic: 1000; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-281f6968-318b-4063-aea0-81603f9b9f1b, #2f2c25); --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-i1QNb .framer-styles-preset-dn1a15:not(.rich-text-wrapper), .framer-i1QNb .framer-styles-preset-dn1a15.rich-text-wrapper p { --framer-font-family: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-open-type-features: \\'zero\\' on, \\'dlig\\' on; --framer-font-size: 11.7647px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 400; --framer-font-variation-axes-bold: \"wght\" 400; --framer-font-variation-axes-bold-italic: \"wght\" 400; --framer-font-variation-axes-italic: \"wght\" 400; --framer-font-weight: 1000; --framer-font-weight-bold: 1000; --framer-font-weight-bold-italic: 1000; --framer-font-weight-italic: 1000; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-281f6968-318b-4063-aea0-81603f9b9f1b, #2f2c25); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-i1QNb\";\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{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":"uNAC6B,EAAC,EAAU,UAAU,CAAC,6BAA6B,gDAAgD,gDAAgD,+CAA+C,CAAC,EAAQ,EAAc,CAAC,CAAC,aAAa,IAAI,SAAS,IAAI,SAAS,IAAI,KAAK,SAAS,IAAI,MAAM,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,cAAc,OAAO,UAAU,MAAM,SAAS,IAAI,yEAAyE,gBAAc,OAAO,MAAM,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,2wCAA+wC,i0CAAq0C,6zCAAi0C,EAAe,EAAU,kBCI78I,SAAwB,EAAmB,CAAC,YAAU,SAAO,CAAC,IAAM,EAAS,EAAa,QAAQ,IAAI,EAAa,OAAa,EAAIA,EAA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