{"version":3,"file":"StackingIcon.BcMvCsOu.mjs","names":["React.useRef","_Fragment","React.useRef","React.useRef","__esmMin","init_npm_react_18_3_1","de","l","p","c","init_jsx_runtime","ce","useReducedMotion","motion","useInView","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_BkYB2Gqq","useIsStaticRenderer","ControlType","AudienceMotionIcon","root","inView","reduced","isStatic","animate","style","color","kind","init_AudienceMotionIcon","CompassNeedle","reducedMotion","needle","angles","frame","elapsed","previous","tick","delta","now","phase","position","index","t","angle","init_CompassNeedle","StackingIcon","slabs","groups","reset","group","i","slab","lift","element","init_StackingIcon"],"sources":["https:/framerusercontent.com/modules/M1rq2Y3yI6HzDAOtTPVH/molTT1aQNYyuM6iipLwP/AudienceMotionIcon.js","https:/framerusercontent.com/modules/GUc44V5SwP8JweYMPo55/rZY4EQMmHaJG8YN7dsdg/CompassNeedle.js","https:/framerusercontent.com/modules/IpignvufqFTeEssdxecV/CrKyWeK6HL4iiM5ZEfb4/StackingIcon.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,useReducedMotion,useInView}from\"framer-motion\";// @framerSupportedLayoutWidth any\n// @framerSupportedLayoutHeight any\nexport default function AudienceMotionIcon({kind=\"Star\",color=\"#FF4B33\",style}){const root=React.useRef(null);const inView=useInView(root);const reduced=useReducedMotion();const isStatic=useIsStaticRenderer();const animate=inView&&!reduced&&!isStatic;return /*#__PURE__*/_jsx(\"div\",{ref:root,\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"100%\",...style},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 120 120\",width:\"100%\",height:\"100%\",fill:\"none\",stroke:color,strokeWidth:\"1.5\",children:kind===\"Star\"?/*#__PURE__*/_jsx(motion.g,{initial:{rotate:0},animate:{rotate:animate?360:0},transition:animate?{duration:12,ease:\"linear\",repeat:Infinity}:{duration:0},style:{transformOrigin:\"60px 60px\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M60 13V107M13 60H107M27 27L93 93M27 93L93 27\"})}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.circle,{cx:\"60\",cy:\"70\",r:\"11\",initial:{x:0,opacity:1},animate:animate?{x:[-48,0,0,48,48],opacity:[0,1,1,0,0]}:{x:0,opacity:1},transition:animate?{duration:3.6,times:[0,1/3,11/18,17/18,1],ease:\"linear\",repeat:Infinity}:{duration:0}}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 87H107M26 87V34H94V87M38 87V46H82V87\"})]})})});}addPropertyControls(AudienceMotionIcon,{kind:{type:ControlType.Enum,options:[\"Star\",\"Business\"],defaultValue:\"Star\",title:\"Icon\"},color:{type:ControlType.Color,defaultValue:\"#FF4B33\",title:\"Color\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AudienceMotionIcon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"\",\"framerSupportedLayoutHeight\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AudienceMotionIcon.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useIsStaticRenderer}from\"framer\";import{useReducedMotion}from\"framer-motion\";// @framerSupportedLayoutWidth any\n// @framerSupportedLayoutHeight any\nexport default function CompassNeedle({style}){const isStatic=useIsStaticRenderer();const reducedMotion=useReducedMotion();const animate=!isStatic&&!reducedMotion;const needle=React.useRef(null);React.useEffect(()=>{needle.current?.setAttribute(\"transform\",\"rotate(-45 50 50)\");if(!animate)return;const angles=[-45,-58,-33,42,56,34,-45];let frame=0;let elapsed=0;let previous=performance.now();const tick=now=>{const delta=Math.min((now-previous)/1e3,.05);previous=now;if(!document.hidden)elapsed+=delta;const phase=elapsed%3.85;const position=Math.min(phase/.6,6);const index=Math.min(Math.floor(position),5);const t=(1-Math.cos(Math.PI*(position-index)))/2;const angle=angles[index]+(angles[index+1]-angles[index])*t;needle.current?.setAttribute(\"transform\",\"rotate(\"+angle+\" 50 50)\");frame=requestAnimationFrame(tick);};frame=requestAnimationFrame(tick);return()=>{cancelAnimationFrame(frame);needle.current?.setAttribute(\"transform\",\"rotate(-45 50 50)\");};},[animate]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"100%\",display:\"grid\",placeItems:\"center\",overflow:\"visible\",...style},children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"-10 -10 120 120\",width:\"100%\",height:\"100%\",fill:\"none\",style:{display:\"block\",overflow:\"visible\"},children:[/*#__PURE__*/_jsxs(\"g\",{stroke:\"#FF4B33\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"50\",cy:\"50\",r:\"35\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M50 4v9M50 87v9M4 50h9M87 50h9\"})]}),/*#__PURE__*/_jsxs(\"g\",{ref:needle,transform:\"rotate(-45 50 50)\",stroke:\"#FF4B33\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M50 25 57 50 50 46 43 50Z\",fill:\"#FAF7F2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M50 75 43 50 50 54 57 50Z\",fill:\"#FAF7F2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"50\",cy:\"50\",r:\"3\",fill:\"#FAF7F2\"})]})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CompassNeedle\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"\",\"framerSupportedLayoutWidth\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CompassNeedle.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useIsStaticRenderer}from\"framer\";import{useReducedMotion}from\"framer-motion\";// @framerSupportedLayoutWidth any\n// @framerSupportedLayoutHeight any\nexport default function StackingIcon({style}){const isStatic=useIsStaticRenderer();const reducedMotion=useReducedMotion();const animate=!isStatic&&!reducedMotion;const slabs=[{base:12,lift:-5,delay:0},{base:30,lift:-3,delay:.12},{base:48,lift:-1,delay:.24}];const groups=React.useRef([]);React.useEffect(()=>{const reset=()=>groups.current.forEach((group,i)=>group?.setAttribute(\"transform\",\"translate(0 \"+slabs[i].base+\")\"));reset();if(!animate)return;let frame=0;let elapsed=0;let previous=performance.now();const tick=now=>{const delta=Math.min((now-previous)/1e3,.05);previous=now;if(!document.hidden)elapsed+=delta;slabs.forEach((slab,i)=>{const phase=Math.max(0,elapsed-slab.delay)%1.8;const lift=phase<1.45?(1-Math.cos(2*Math.PI*phase/1.45))/2:0;groups.current[i]?.setAttribute(\"transform\",\"translate(0 \"+(slab.base+slab.lift*lift)+\")\");});frame=requestAnimationFrame(tick);};frame=requestAnimationFrame(tick);return()=>{cancelAnimationFrame(frame);reset();};},[animate]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"100%\",display:\"grid\",placeItems:\"center\",overflow:\"visible\",...style},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"-10 -10 120 120\",width:\"100%\",height:\"100%\",fill:\"none\",style:{overflow:\"visible\",display:\"block\"},children:slabs.map((slab,index)=>/*#__PURE__*/_jsxs(\"g\",{ref:element=>{groups.current[index]=element;},transform:\"translate(0 \"+slab.base+\")\",stroke:\"#FF4B33\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M50 0 82 16 50 32 18 16Z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M18 16v9l32 16V32\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M82 16v9L50 41\"})]},index))})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StackingIcon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"\",\"framerSupportedLayoutWidth\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StackingIcon.map"],"mappings":"A,sQAEA,SAAwBoB,EAAmB,CAAC,OAAK,OAAO,QAAM,UAAU,SAAO,CAAC,IAAMC,EAAKrB,EAAa,IAAI,EAAQsB,EAAOR,EAAUO,CAAI,EAAQE,EAAQX,EAAiB,EAAQY,EAASN,EAAoB,EAAQO,EAAQH,GAAQ,CAACC,GAAS,CAACC,EAAS,MAAoB,gBAAK,MAAM,CAAC,IAAIH,EAAK,cAAc,OAAO,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,GAAGK,CAAK,EAAE,SAAsB,gBAAK,MAAM,CAAC,QAAQ,cAAc,MAAM,OAAO,OAAO,OAAO,KAAK,OAAO,OAAOC,EAAM,YAAY,MAAM,SAASC,IAAO,OAAoB,gBAAKf,EAAO,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAOY,EAAQ,IAAI,CAAC,EAAE,WAAWA,EAAQ,CAAC,SAAS,GAAG,KAAK,SAAS,OAAO,GAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,gBAAgB,WAAW,EAAE,SAAsB,gBAAK,OAAO,CAAC,EAAE,8CAA8C,CAAC,CAAC,CAAC,EAAe,gBAAMxB,EAAU,CAAC,SAAS,CAAc,gBAAKY,EAAO,OAAO,CAAC,GAAG,KAAK,GAAG,KAAK,EAAE,KAAK,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,QAAQY,EAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,EAA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