1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`efa9a730ee70ad77463f3a3b6482f7c31c692b98`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`83abab11-7921-450d-a270-ffae34cb41b1`,e._sentryDebugIdIdentifier=`sentry-dbid-83abab11-7921-450d-a270-ffae34cb41b1`)}catch{}})();import{r as e}from"./rolldown-runtime-CCE7Ya1v.js";import{o as t,t as n}from"./vendor-react-B1yvAuBh.js";import{E as r,Gt as i,N as a,O as o,P as s,Wt as c,_ as l,a as u,b as d,c as f,d as p,f as m,g as h,i as g,j as _,n as v,o as y,r as b,s as x,t as S,x as ee}from"./is-ref-object-CEWGHBm6.js";var C=n(),w=e(t(),1);function T(e){let t=(0,w.useRef)(null);return t.current===null&&(t.current=e()),t.current}var E=typeof window<`u`?w.useLayoutEffect:w.useEffect,D=(0,w.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`}),O=(0,w.createContext)({strict:!1}),k={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},A=!1;function te(){if(A)return;let e={};for(let t in k)e[t]={isEnabled:e=>k[t].some(t=>!!e[t])};m(e),A=!0}function j(){return te(),p()}function M(e){let t=j();for(let n in e)t[n]={...t[n],...e[n]};m(t)}var N=(0,w.createContext)({});function P(e,t){if(h(e)){let{initial:t,animate:n}=e;return{initial:t===!1||d(t)?t:void 0,animate:d(n)?n:void 0}}return e.inherit===!1?{}:t}function ne(e){let{initial:t,animate:n}=P(e,(0,w.useContext)(N));return(0,w.useMemo)(()=>({initial:t,animate:n}),[F(t),F(n)])}function F(e){return Array.isArray(e)?e.join(` `):e}var I=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function L(e,t,n){for(let r in t)!a(t[r])&&!f(r,n)&&(e[r]=t[r])}function R({transformTemplate:e},t){return(0,w.useMemo)(()=>{let n=I();return o(n,t,e),Object.assign({},n.vars,n.style)},[t])}function z(e,t){let n=e.style||{},r={};return L(r,n,e),Object.assign(r,R(e,t)),r}function B(e,t){let n={},r=z(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var V=()=>({...I(),attrs:{}});function H(e,t,n,i){let a=(0,w.useMemo)(()=>{let n=V();return r(n,t,y(i),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};L(t,e.style,e),a.style={...t,...a.style}}return a}var U=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function W(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||U.has(e)}function G(e,t){return e.startsWith(`on`)?!W(e):t?.(e)??!W(e)}function K(e,t,n,r){let i={};for(let o in e)(o!==`values`||typeof e.values!=`object`)&&(a(e[o])||(G(o,r)||n===!0&&W(o)||!t&&!W(o)||e.draggable&&o.startsWith(`onDrag`))&&(i[o]=e[o]));return i}function q(e,t,n,{latestValues:r},i,o=!1,s,c){let l=(s??b(e)?H:B)(t,r,i,e),u=K(t,typeof e==`string`,o,c),d=e===w.Fragment?{}:{...u,...l,ref:n},{children:f}=t,p=(0,w.useMemo)(()=>a(f)?f.get():f,[f]);return(0,w.createElement)(e,{...d,children:p})}function J({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Y(n,r,i,e),renderState:t()}}function Y(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=g(a[e]);let{initial:o,animate:c}=e,u=h(e),d=l(e);t&&d&&!u&&e.inherit!==!1&&(o===void 0&&(o=t.initial),c===void 0&&(c=t.animate));let f=n?n.initial===!1:!1;f||=o===!1;let p=f?c:o;if(p&&typeof p!=`boolean`&&!ee(p)){let t=Array.isArray(p)?p:[p];for(let n=0;n<t.length;n++){let r=s(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=f?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var X=e=>(t,n)=>{let r=(0,w.useContext)(N),i=(0,w.useContext)(c),a=()=>
1J(e,t,r,i);return n?a():T(a)},re=X({scrapeMotionValuesFromProps:x,createRenderState:I}),ie=X({scrapeMotionValuesFromProps:u,createRenderState:V}),ae=Symbol.for(`motionComponentSymbol`);function oe(e,t,n){let r=(0,w.useRef)(n);(0,w.useInsertionEffect)(()=>{r.current=n});let i=(0,w.useRef)(null);return(0,w.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}function se(e,t,n,r,i,a){let{visualElement:o}=(0,w.useContext)(N),s=(0,w.useContext)(O),l=(0,w.useContext)(c),u=(0,w.useContext)(D),d=u.reducedMotion,f=u.skipAnimations,p=(0,w.useRef)(null),m=(0,w.useRef)(!1);r||=s.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:a}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let h=p.current,g=(0,w.useContext)(v);h&&!h.projection&&i&&(h.type===`html`||h.type===`svg`)&&ce(p.current,n,i,g);let y=(0,w.useRef)(!1);(0,w.useInsertionEffect)(()=>{h&&y.current&&h.update(n,l)});let b=n[_],x=(0,w.useRef)(!!b&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(b)&&window.MotionHasOptimisedAnimation?.(b));return E(()=>{m.current=!0,h&&(y.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),x.current&&h.animationState&&h.animationState.animateChanges())}),(0,w.useEffect)(()=>{h&&(!x.current&&h.animationState&&h.animationState.animateChanges(),x.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(b)}),!1),h.enteringChildren=void 0)}),h}function ce(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:Z(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&S(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Z(e){if(e)return e.options.allowProjection===!1?Z(e.parent):e.projection}function Q(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&M(r);let a=n?n===`svg`:b(e),o=a?ie:re;function s(n,s){let c,l={...(0,w.useContext)(D),...n,layoutId:le(n)},{isStatic:u,isValidProp:d}=l,f=ne(n),p=o(n,u);if(!u&&typeof window<`u`){$(l,r);let t=ue(l);c=t.MeasureLayout,f.visualElement=se(e,p,l,i,t.ProjectionNode,a)}return(0,C.jsxs)(N.Provider,{value:f,children:[c&&f.visualElement?(0,C.jsx)(c,{visualElement:f.visualElement,...l}):null,q(e,n,oe(p,f.visualElement,s),p,u,t,a,d)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,w.forwardRef)(s);return c[ae]=e,c}function le({layoutId:e}){let t=(0,w.useContext)(i).id;return t&&e!==void 0?t+`-`+e:e}function $(e,t){(0,w.useContext)(O).strict}function ue(e){let{drag:t,layout:n}=j();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function de(e,t){if(typeof Proxy>`u`)return Q;let n=new Map,r=(n,r)=>Q(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Q(a,void 0,e,t)),n.get(a))})}var fe=de();export{E as a,D as i,M as n,T as o,O as r,fe as t}; 2//# sourceMappingURL=react-Coi-aOwj.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.