{"version":3,"file":"AvoidLayoutJumping_Prod.B6-A7BsW.mjs","names":[],"sources":["https:/framerusercontent.com/modules/vgSXdRqbH012F2sss1ek/TbYFc8X8qMusyCBGQlkQ/HPCNkCHCb.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (c07a8c1)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Sentient-regular\",\"FS;Sentient-bold\",\"FS;Sentient-bold italic\",\"FS;Sentient-italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Sentient\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/RVTZPYAA57KV4AMXRX7ZIPJXSTYCRP7A/36OUS5CBIXRKI2QU7G7OUHOK7HHA53Y2/SIH66VPT4WS2HIF5PEJNDU4INNUF54LG.woff2\",weight:\"400\"},{family:\"Sentient\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/XC4UYXMVQINJJ47RSKB74CCAWSP5BUGZ/TGOWV4725NO3KHVKMWHG47SRPLMNHMOO/433XP6QWDVL6KQ5K7ZCOP524TX4LE4RJ.woff2\",weight:\"700\"},{family:\"Sentient\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/GOPBCF2CVB3R2KOAHFQ3YLPDYDAGPEVG/T6QP5YJXYAFJAFV56GISLK6UUP6RINIE/RGTHFDFRZAEEHKG7B6QQN5PELODA53C6.woff2\",weight:\"700\"},{family:\"Sentient\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/4TG2NXNCK3NYD52NRNOLGWJCNXGCHXS7/AEJBCSB5ILRV44ECPQW4TDSOEVQONWSQ/VLFJG7GKGM3UAH53OH7GOU7MPNJDZTJR.woff2\",weight:\"400\"}]}];export const css=['.framer-1xVUj .framer-styles-preset-1x09rnd:not(.rich-text-wrapper), .framer-1xVUj .framer-styles-preset-1x09rnd.rich-text-wrapper h4 { --framer-font-family: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-bold: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-bold-italic: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-italic: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 28px; --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.5px; --framer-line-height: 140%; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #dac5a7); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1279px) and (min-width: 810px) { .framer-1xVUj .framer-styles-preset-1x09rnd:not(.rich-text-wrapper), .framer-1xVUj .framer-styles-preset-1x09rnd.rich-text-wrapper h4 { --framer-font-family: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-bold: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-bold-italic: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-italic: \"Sentient\", \"Sentient Placeholder\", 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.5px; --framer-line-height: 140%; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #dac5a7); --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-1xVUj .framer-styles-preset-1x09rnd:not(.rich-text-wrapper), .framer-1xVUj .framer-styles-preset-1x09rnd.rich-text-wrapper h4 { --framer-font-family: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-bold: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-bold-italic: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-family-italic: \"Sentient\", \"Sentient Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 22px; --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.5px; --framer-line-height: 140%; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #dac5a7); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-1xVUj\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"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":"8TACynJ,AAAznJ,GAA8B,GAAU,UAAU,CAAC,sBAAsB,mBAAmB,0BAA0B,oBAAqB,EAAC,CAAc,EAAM,CAAC,CAAC,eAAc,EAAK,MAAM,CAAC,CAAC,OAAO,WAAW,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,KAAM,EAAC,CAAC,OAAO,WAAW,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OA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