{"version":3,"file":"StudioPrecision.D3ZVD0uo.mjs","names":["forwardRef","useRef","useEffect","_jsxs","_Fragment","_jsx","useLayoutEffect","__esmMin","init_npm_react_18_3_1","le","window","de","init_jsx_runtime","l","J","p","ce","init_ssg_sandbox_shims","useIsStaticRenderer","init_framer_BWzg2IRg","withStudioCarousel","Component","props","forwardedRef","elementRef","isStatic","useClientLayoutEffect","el","previous","lastWidth","align","width","native","outer","CONTENT_WIDTH","left","right","observer","children","previousAlign","child","key","event","behaviour","distance","focus","blur","i","name","value","withPricingSectionSpacing","init_StudioPrecision"],"sources":["https:/framerusercontent.com/modules/zxYvgPPDn7vqoEBpTqvz/Il0MtBLO3L8xo3QTv6co/StudioPrecision.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useEffect,useLayoutEffect,useRef}from\"react\";import{useIsStaticRenderer}from\"framer\";// Matches the page's 1280px outer content container, including its native gutters.\nconst CONTENT_WIDTH=1280;const useClientLayoutEffect=typeof window===\"undefined\"?useEffect:useLayoutEffect;/** Container-aligned, full-bleed native scrolling with keyboard navigation. */export function withStudioCarousel(Component){return /*#__PURE__*/forwardRef(function StudioCarousel(props,forwardedRef){const elementRef=useRef(null);const isStatic=useIsStaticRenderer();useClientLayoutEffect(()=>{const el=elementRef.current;if(!el)return;const previous={left:el.style.paddingLeft,right:el.style.paddingRight,scroll:el.style.scrollPaddingInline};let lastWidth=-1;const align=()=>{// clientWidth is independent of the Framer editor's canvas zoom.\nconst width=el.clientWidth;if(!width||width===lastWidth)return;lastWidth=width;// Read the native breakpoint gutter, before adding the outer margin.\nel.style.paddingLeft=previous.left;el.style.paddingRight=previous.right;const native=getComputedStyle(el);const outer=Math.max(0,(width-CONTENT_WIDTH)/2);const left=parseFloat(native.paddingLeft)+outer;const right=parseFloat(native.paddingRight)+outer;el.style.paddingLeft=`${left}px`;el.style.paddingRight=`${right}px`;el.style.scrollPaddingInline=`${left}px ${right}px`;};align();const observer=new ResizeObserver(align);observer.observe(el,{box:\"border-box\"});return()=>{observer.disconnect();el.style.paddingLeft=previous.left;el.style.paddingRight=previous.right;el.style.scrollPaddingInline=previous.scroll;};},[]);useEffect(()=>{const el=elementRef.current;if(!el||isStatic)return;const previous={tabIndex:el.getAttribute(\"tabindex\"),role:el.getAttribute(\"role\"),label:el.getAttribute(\"aria-label\"),snap:el.style.scrollSnapType,overflowY:el.style.overflowY};el.tabIndex=0;el.setAttribute(\"role\",\"region\");el.setAttribute(\"aria-label\",\"Design Studio features. Use the arrow keys to explore.\");el.style.scrollSnapType=\"x proximity\";// Framer uses overflow: auto for horizontal sliders. Stop the cards from moving vertically.\nel.style.overflowY=\"hidden\";el.scrollTop=0;const children=Array.from(el.children);const previousAlign=children.map(child=>child.style.scrollSnapAlign);children.forEach(child=>{child.style.scrollSnapAlign=\"start\";});const key=event=>{if(event.target!==el||![\"ArrowLeft\",\"ArrowRight\",\"Home\",\"End\"].includes(event.key))return;event.preventDefault();const reduced=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const behaviour=reduced?\"auto\":\"smooth\";const distance=(children[0]?.getBoundingClientRect().width||el.clientWidth*.8)+parseFloat(getComputedStyle(el).columnGap||\"0\");if(event.key===\"Home\"||event.key===\"End\")el.scrollTo({left:event.key===\"Home\"?0:el.scrollWidth,behavior:behaviour});else el.scrollBy({left:event.key===\"ArrowRight\"?distance:-distance,behavior:behaviour});};const focus=()=>{if(el.matches(\":focus-visible\")){el.style.outline=\"2px solid var(--token-1756daa2-c3a8-4f68-94af-4b98a6371e5c, #007aff)\";el.style.outlineOffset=\"-3px\";}};const blur=()=>{el.style.outline=\"\";el.style.outlineOffset=\"\";};el.addEventListener(\"keydown\",key);el.addEventListener(\"focus\",focus);el.addEventListener(\"blur\",blur);return()=>{el.removeEventListener(\"keydown\",key);el.removeEventListener(\"focus\",focus);el.removeEventListener(\"blur\",blur);el.style.scrollSnapType=previous.snap;el.style.overflowY=previous.overflowY;children.forEach((child,i)=>{child.style.scrollSnapAlign=previousAlign[i];});for(const[name,value]of[[\"tabindex\",previous.tabIndex],[\"role\",previous.role],[\"aria-label\",previous.label]])if(value===null)el.removeAttribute(name);else el.setAttribute(name,value);blur();};},[isStatic]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:'@media(max-width:809.98px){[data-framer-name=\"Left align - split\"] > [data-framer-name=\"Responsive header columns\"]{display:flex!important;flex-direction:column!important;gap:24px!important;align-items:stretch!important}[data-framer-name=\"Left align - split\"] > [data-framer-name=\"Responsive header columns\"] > div{width:100%!important;height:auto!important}}'}}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:'@media(max-width:809.98px){\\n#reviews [data-framer-name=\"Expanded still\"]{width:280px!important;height:248px!important;padding:16px!important;flex-shrink:0!important}\\n#reviews [data-framer-name=\"Review Quote\"] p{font-size:16px!important;line-height:24px!important;-webkit-line-clamp:7!important}\\n#reviews [data-framer-name=\"Review Footer\"],#reviews [data-framer-name=\"Reviewer Group\"]{gap:8px!important}\\n#reviews [data-framer-name=\"Reviewer Avatar\"]{width:36px!important;height:36px!important}\\n#reviews [data-framer-name=\"Reviewer Name\"] p{font-size:14px!important;line-height:21px!important}\\n#reviews [data-framer-name=\"Reviewer Role\"] p{font-size:12px!important;line-height:18px!important}\\n#reviews [data-framer-name=\"Company Logo Badge\"]{width:64px!important;height:36px!important;padding:6px!important}\\n}'}}),/*#__PURE__*/_jsx(Component,{...props,ref:el=>{elementRef.current=el;if(typeof forwardedRef===\"function\")forwardedRef(el);else if(forwardedRef)forwardedRef.current=el;}})]});});}// Keep the legacy pricing CTA aligned with the native tablet section spacing.\nexport function withPricingSectionSpacing(Component){return props=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:'@media(min-width:810px) and (max-width:1199.98px){[data-framer-name=\"Branded Products Desktop\"],[data-framer-name=\"Branded Products Mobile\"]{padding:88px 40px!important}}'}}),/*#__PURE__*/_jsx(Component,{...props})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"withPricingSectionSpacing\":{\"type\":\"reactHoc\",\"name\":\"withPricingSectionSpacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStudioCarousel\":{\"type\":\"reactHoc\",\"name\":\"withStudioCarousel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StudioPrecision.map"],"mappings":"A,sNAC0L,SAAgBoB,EAAmBC,EAAU,CAAC,MAAoBrB,gBAAW,SAAwBsB,EAAMC,EAAa,CAAC,IAAMC,EAAWvB,EAAO,IAAI,EAAQwB,EAASP,EAAoB,EAG2tC,OAHztCQ,MAA0B,CAAC,IAAMC,EAAGH,EAAW,QAAQ,GAAG,CAACG,EAAG,OAAO,IAAMC,EAAS,CAAC,KAAKD,EAAG,MAAM,YAAY,MAAMA,EAAG,MAAM,aAAa,OAAOA,EAAG,MAAM,mBAAmB,EAAME,EAAU,GAASC,MAAU,CACvkB,IAAMC,EAAMJ,EAAG,YAAY,GAAG,CAACI,GAAOA,IAAQF,EAAU,OAAOA,EAAUE,EACzEJ,EAAG,MAAM,YAAYC,EAAS,KAAKD,EAAG,MAAM,aAAaC,EAAS,MAAM,IAAMI,EAAO,iBAAiBL,CAAE,EAAQM,EAAM,KAAK,IAAI,GAAGF,EAAMG,GAAe,CAAC,EAAQC,EAAK,WAAWH,EAAO,WAAW,EAAEC,EAAYG,EAAM,WAAWJ,EAAO,YAAY,EAAEC,EAAMN,EAAG,MAAM,YAAY,GAAGQ,EAAK,IAAIR,EAAG,MAAM,aAAa,GAAGS,EAAM,IAAIT,EAAG,MAAM,oBAAoB,GAAGQ,EAAK,KAAKC,EAAM,GAAI,EAAEN,EAAM,EAAE,IAAMO,EAAS,IAAI,eAAeP,CAAK,EAA0C,OAAxCO,EAAS,QAAQV,EAAG,C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