PageSourceSearch

https://www.ory.com/_next/static/chunks/8087-9298bbfee45e8061.js?dpl=dpl_86yhG7GdwNuMqZUWxjDd7TQUh5xC

js ory.com collected 2026-09-24 22:12:51 UTC 171,769 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8087],{151:(t,e,i)=>{var n=i(97612),r=i(27874);t.exports=function(t){return n(t,r(t))}},1004:(t,e,i)=>{"use strict";function n(t,e){return t?.[e]??t?.default??t}i.d(e,{r:()=>n})},1750:(t,e,i)=>{"use strict";i.d(e,{l:()=>o});var n=i(90409),r=i(68256),s=i(75487);function o(){var t;let e=(0,n.M)(()=>({current:null,animations:[]})),i=(0,n.M)(()=>(0,s.W)(e));return t=()=>{e.animations.forEach(t=>t.stop()),e.animations.length=0},(0,r.useEffect)(()=>()=>t(),[]),[e,i]}},2394:(t,e,i)=>{"use strict";i.d(e,{I:()=>o});var n=i(22338);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(9829);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),r=!1,o&&(o=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:p,update:f,preRender:m,render:v,postRender:y}=u,g=()=>{let r=n.W.useManualTiming?a.timestamp:performance.now();i=!1,n.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),p.process(a),f.process(a),m.process(a),v.process(a),y.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(g))};return{schedule:r.reduce((e,n)=>{let r=u[n];return e[n]=(e,n=!1,s=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(g)),r.schedule(e,n,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}},4278:(t,e,i)=>{"use strict";i.d(e,{J:()=>o});var n=i(26618),r=i(91786),s=i(87925);function o(t,e){let i=(0,s.D)(t);return i!==r.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},4398:(t,e,i)=>{var n=i(33151),r=i(12295);t.exports=function(t,e,i){(void 0===i||r(t[e],i))&&(void 0!==i||e in t)||n(t,e,i)}},6056:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var n=(0,i(63210).A)("outline","arrow-left","IconArrowLeft",[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M5 12l6 6",key:"svg-1"}],["path",{d:"M5 12l6 -6",key:"svg-2"}]])},6121:(t,e,i)=>{"use strict";i.d(e,{Ib:()=>d,ry:()=>c,zs:()=>h});let n=t=>180*t/Math.PI,r=t=>o(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(n(Math.atan2(t[6],t[5]))),rotateY:t=>o(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function c(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let o=i[e],a=n[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let d=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return c(i,e)};function p(t){return parseFloat(t.trim())}},7162:(t,e,i)=>{"use strict";i.d(e,{P:()=>r});var n=i(88864);function r(t){return t.props[n.n]}},7671:(t,e,i)=>{"use strict";i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},8757:(t,e,i)=>{"use strict";i.d(e,{OQ:()=>u});var n=i(24909),r=i(7522),s=i(13938),o=i(52324);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=s.k.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}}
1,9281:(t,e,i)=>{"use strict";i.d(e,{$:()=>s,H:()=>r});var n=i(13909);let r={};function s(t){for(let e in t)r[e]=t[e],(0,n.j)(e)&&(r[e].isCSSVariable=!0)}},9339:(t,e,i)=>{var n=i(4398),r=i(61537),s=i(1502),o=i(65920),a=i(96770),l=i(35931),u=i(46286),h=i(14022),c=i(41115),d=i(94241),p=i(46190),f=i(47012),m=i(63168),v=i(73269),y=i(151);t.exports=function(t,e,i,g,x,w,b){var S=v(t,i),T=v(e,i),k=b.get(T);if(k)return void n(t,i,k);var A=w?w(S,T,i+"",t,e,b):void 0,P=void 0===A;if(P){var M=u(T),E=!M&&c(T),C=!M&&!E&&m(T);A=T,M||E||C?u(S)?A=S:h(S)?A=o(S):E?(P=!1,A=r(T,!0)):C?(P=!1,A=s(T,!0)):A=[]:f(T)||l(T)?(A=S,l(S)?A=y(S):(!p(S)||d(S))&&(A=a(T))):P=!1}P&&(b.set(T,A),x(A,T,g,w,b),b.delete(T)),n(t,i,A)}},9793:(t,e,i)=>{"use strict";i.d(e,{B:()=>l});var n=i(47431),r=i(94544),s=i(93512),o=i(96802);let a={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},9829:(t,e,i)=>{"use strict";i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},9999:(t,e,i)=>{"use strict";i.d(e,{d:()=>a});var n=i(8757),r=i(68256),s=i(23200),o=i(90409);function a(t){let e=(0,o.M)(()=>(0,n.OQ)(t)),{isStatic:i}=(0,r.useContext)(s.Q);if(i){let[,i]=(0,r.useState)(t);(0,r.useEffect)(()=>e.on("change",i),[])}return e}},10015:(t,e,i)=>{"use strict";i.d(e,{B:()=>A});var n=i(46729),r=i(13938),s=i(52324),o=i(27956),a=i(25553),l=i(8757),u=i(40375),h=i(26618),c=i(81768),d=i(7671);let p=[...c.T,u.y,h.f];var f=i(4278),m=i(18942),v=i(12742),y=i(14814),g=i(14432);let x={current:null},w={current:!1};var b=i(91627),S=i(17785),T=i(58011);let k=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class A{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:l,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=n.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=r.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,s.Gt.render(this.render,!1,!0))};let{latestValues:c,renderState:d}=u;this.latestValues=c,this.baseTarget={...c},this.initialValues=e.initial?{...c}:{},this.renderState=d,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=h,this.blockInitialAnimation=!!l,this.isControllingVariants=(0,S.e)(e),this.isVariantNode=(0,S.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...f}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in f){let e=f[t];void 0!==c[t]&&(0,o.S)(e)&&e.set(c[t],!1)}}mount(t){this.current=t,b.C.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),w.current||function(){if(w.current=!0,g.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>x.current=t.matches;t.addEventListener("change",e),e()}else x.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||x.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,s.WG)(this.notifyUpdate),(0,s.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=a.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),o(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in v.B){let e=v.B[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,y.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<k.length;e++){let i=k[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,o.S)(r))t.addValue(n,r);else if((0,o.S)(s))t.addValue(n,(0,l.OQ)(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,l.OQ)(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,l.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!p.find((0,d.w)(n))&&h.f.test(e)&&(i=(0,f.J)(t,e))}this.setBaseTarget(t,(0,o.S)(i)?i.get():i)}return(0,o.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,T.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,o.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new m.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},10189:(t,e,i)=>{"use strict";i.d(e,{X:()=>s});var n=i(93794),r=i(72111);function s(t,e=100,i){let o=i({...t,keyframes:[0,e]}),a=Math.min((0,r.t)(o),r.Y);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,n.X)(a)}}},10988:(t,e,i)=>{"use strict";i.d(e,{L:()=>r});var n=i(68256);function r(t,e,i){(0,n.useInsertionEffect)(()=>t.on(e,i),[t,e,i])}},12363:(t,e,i)=>{"use strict";i.d(e,{z:()=>s});var n=i(25553),r=i(9281);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},12742:(t,e,i)=>{"use strict";i.d(e,{B:()=>r});let n={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"]},r={};for(let t in n)r[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},13069:(t,e,i)=>{"use strict";i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},13909:(t,e,i)=>{"use strict";i.d(e,{j:()=>r,p:()=>o});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},13938:(t,e,i)=>{"use strict";let n;i.d(e,{k:()=>a});var r=i(22338),s=i(52324);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set
1:t=>{n=t,queueMicrotask(o)}}},14098:(t,e,i)=>{"use strict";i.d(e,{E:()=>r});var n=i(68256);let r=i(14432).B?n.useLayoutEffect:n.useEffect},14432:(t,e,i)=>{"use strict";i.d(e,{B:()=>n});let n="undefined"!=typeof window},14456:(t,e,i)=>{"use strict";i.r(e),i.d(e,{Content:()=>Y,List:()=>q,Root:()=>H,Tabs:()=>I,TabsContent:()=>N,TabsList:()=>$,TabsTrigger:()=>W,Trigger:()=>K,createTabsScope:()=>R});var n=i(68256),r=i(7101),s=i(38979),o=i(33774),a=i(48185),l=i(31606),u=i(36),h=i(15942),c=i(26146),d=i(18230),p=i(14540),f="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[y,g,x]=(0,o.N)(v),[w,b]=(0,s.A)(v,[x]),[S,T]=w(v),k=n.forwardRef((t,e)=>(0,p.jsx)(y.Provider,{scope:t.__scopeRovingFocusGroup,children:(0,p.jsx)(y.Slot,{scope:t.__scopeRovingFocusGroup,children:(0,p.jsx)(A,{...t,ref:e})})}));k.displayName=v;var A=n.forwardRef((t,e)=>{let{__scopeRovingFocusGroup:i,orientation:s,loop:o=!1,dir:l,currentTabStopId:y,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:w,onEntryFocus:b,preventScrollOnEntryFocus:T=!1,...k}=t,A=n.useRef(null),P=(0,a.s)(e,A),M=(0,d.jH)(l),[E,D]=(0,c.i)({prop:y,defaultProp:null!=x?x:null,onChange:w,caller:v}
1),[V,j]=n.useState(!1),R=(0,h.c)(b),F=g(i),L=n.useRef(!1),[_,I]=n.useState(0);return n.useEffect(()=>{let t=A.current;if(t)return t.addEventListener(f,R),()=>t.removeEventListener(f,R)},[R]),(0,p.jsx)(S,{scope:i,orientation:s,dir:M,loop:o,currentTabStopId:E,onItemFocus:n.useCallback(t=>D(t),[D]),onItemShiftTab:n.useCallback(()=>j(!0),[]),onFocusableItemAdd:n.useCallback(()=>I(t=>t+1),[]),onFocusableItemRemove:n.useCallback(()=>I(t=>t-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:V||0===_?-1:0,"data-orientation":s,...k,ref:P,style:{outline:"none",...t.style},onMouseDown:(0,r.m)(t.onMouseDown,()=>{L.current=!0}),onFocus:(0,r.m)(t.onFocus,t=>{let e=!L.current;if(t.target===t.currentTarget&&e&&!V){let e=new CustomEvent(f,m);if(t.currentTarget.dispatchEvent(e),!e.defaultPrevented){let t=F().filter(t=>t.focusable);C([t.find(t=>t.active),t.find(t=>t.id===E),...t].filter(Boolean).map(t=>t.ref.current),T)}}L.current=!1}),onBlur:(0,r.m)(t.onBlur,()=>j(!1))})})}),P="RovingFocusGroupItem",M=n.forwardRef((t,e)=>{let{__scopeRovingFocusGroup:i,focusable:s=!0,active:o=!1,tabStopId:a,children:h,...c}=t,d=(0,l.B)(),f=a||d,m=T(P,i),v=m.currentTabStopId===f,x=g(i),{onFocusableItemAdd:w,onFocusableItemRemove:b,currentTabStopId:S}=m;return n.useEffect(()=>{if(s)return w(),()=>b()},[s,w,b]),(0,p.jsx)(y.ItemSlot,{scope:i,id:f,focusable:s,active:o,children:(0,p.jsx)(u.sG.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...c,ref:e,onMouseDown:(0,r.m)(t.onMouseDown,t=>{s?m.onItemFocus(f):t.preventDefault()}),onFocus:(0,r.m)(t.onFocus,()=>m.onItemFocus(f)),onKeyDown:(0,r.m)(t.onKeyDown,t=>{if("Tab"===t.key&&t.shiftKey)return void m.onItemShiftTab();if(t.target!==t.currentTarget)return;let e=function(t,e,i){var n;let r=(n=t.key,"rtl"!==i?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===e&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===e&&["ArrowUp","ArrowDown"].includes(r)))return E[r]}(t,m.orientation,m.dir);if(void 0!==e){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let i=x().filter(t=>t.focusable).map(t=>t.ref.current);if("last"===e)i.reverse();else if("prev"===e||"next"===e){"prev"===e&&i.reverse();let n=i.indexOf(t.currentTarget);i=m.loop?function(t,e){return t.map((i,n)=>t[(e+n)%t.length])}(i,n+1):i.slice(n+1)}setTimeout(()=>C(i))}}),children:"function"==typeof h?h({isCurrentTabStop:v,hasTabStop:null!=S}):h})})});M.displayName=P;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function C(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.activeElement;for(let n of t)if(n===i||(n.focus({preventScroll:e}),document.activeElement!==i))return}var D=i(30565),V="Tabs",[j,R]=(0,s.A)(V,[b]),F=b(),[L,_]=j(V),I=n.forwardRef((t,e)=>{let{__scopeTabs:i,value:n,onValueChange:r,defaultValue:s,orientation:o="horizontal",dir:a,activationMode:h="automatic",...f}=t,m=(0,d.jH)(a),[v,y]=(0,c.i)({prop:n,onChange:r,defaultProp:null!=s?s:"",caller:V});return(0,p.jsx)(L,{scope:i,baseId:(0,l.B)(),value:v,onValueChange:y,orientation:o,dir:m,activationMode:h,children:(0,p.jsx)(u.sG.div,{dir:m,"data-orientation":o,...f,ref:e})})});I.displayName=V;var O="TabsList",$=n.forwardRef((t,e)=>{let{__scopeTabs:i,loop:n=!0,...r}=t,s=_(O,i),o=F(i);return(0,p.jsx)(k,{asChild:!0,...o,orientation:s.orientation,dir:s.dir,loop:n,children:(0,p.jsx)(u.sG.div,{role:"tablist","aria-orientation":s.orientation,...r,ref:e})})});$.displayName=O;var B="TabsTrigger",W=n.forwardRef((t,e)=>{let{__scopeTabs:i,value:n,disabled:s=!1,...o}=t,a=_(B,i),l=F(i),h=z(a.baseId,n),c=G(a.baseId,n),d=n===a.value;return(0,p.jsx)(M,{asChild:!0,...l,focusable:!s,active:d,children:(0,p.jsx)(u.sG.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":c,"data-state":d?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:h,...o,ref:e,onMouseDown:(0,r.m)(t.onMouseDown,t=>{s||0!==t.button||!1!==t.ctrlKey?t.preventDefault():a.onValueChange(n)}),onKeyDown:(0,r.m)(t.onKeyDown,t=>{[" ","Enter"].includes(t.key)&&a.onValueChange(n)}
1),onFocus:(0,r.m)(t.onFocus,()=>{let t="manual"!==a.activationMode;d||s||!t||a.onValueChange(n)})})})});W.displayName=B;var U="TabsContent",N=n.forwardRef((t,e)=>{let{__scopeTabs:i,value:r,forceMount:s,children:o,...a}=t,l=_(U,i),h=z(l.baseId,r),c=G(l.baseId,r),d=r===l.value,f=n.useRef(d);return n.useEffect(()=>{let t=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(t)},[]),(0,p.jsx)(D.C,{present:s||d,children:i=>{let{present:n}=i;return(0,p.jsx)(u.sG.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":h,hidden:!n,id:c,tabIndex:0,...a,ref:e,style:{...t.style,animationDuration:f.current?"0s":void 0},children:n&&o})}})});function z(t,e){return"".concat(t,"-trigger-").concat(e)}function G(t,e){return"".concat(t,"-content-").concat(e)}N.displayName=U;var H=I,q=$,K=W,Y=N},14793:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",i="minute",n="hour",r="week",s="month",o="quarter",a="year",l="date",u="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},p="en",f={};f[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};var m="$isDayjsObject",v=function(t){return t instanceof w||!(!t||!t[m])},y=function t(e,i,n){var r;if(!e)return p;if("string"==typeof e){var s=e.toLowerCase();f[s]&&(r=s),i&&(f[s]=i,r=s);var o=e.split("-");if(!r&&o.length>1)return t(o[0])}else{var a=e.name;f[a]=e,r=a}return!n&&r&&(p=r),r||!n&&p},g=function(t,e){if(v(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new w(i)},x={s:d,z:function(t){var e=-t.utcOffset(),i=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(i/60),2,"0")+":"+d(i%60,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var n=12*(i.year()-e.year())+(i.month()-e.month()),r=e.clone().add(n,s),o=i-r<0,a=e.clone().add(n+(o?-1:1),s);return+(-(n+(i-r)/(o?r-a:a-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(u){return({M:s,y:a,w:r,d:"day",D:l,h:n,m:i,s:e,ms:t,Q:o})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};x.l=y,x.i=v,x.w=function(t,e){return g(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function d(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[m]=!0}var p=d.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(h);if(n){var r=n[2]-1||0,s=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return x},p.isValid=function(){return this.$d.toString()!==u},p.isSame=function(t,e){var i=g(t);return this.startOf(e)<=i&&i<=this.endOf(e)},p.isAfter=function(t,e){return g(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<g(t)},p.$g=function(t,e,i){return x.u(t)?this[e]:this.set(i,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,o){var u=this,h=!!x.u(o)||o,c=x.p(t),d=function(t,e){var i=x.w(u.$u?Date.UTC(u.$y,e,t):new Date(u.$y,e,t),u);return h?i:i.endOf("day")},p=function(t,e){return x.w(u.toDate()[t].apply(u.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(e)),u)},f=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case a:return h?d(1,0):d(31,11);case s:return h?d(1,m):d(0,m+1);case r:var g=this.$locale().weekStart||0,w=(f<g?f+7:f)-g;return d(h?v-w:v+(6-w),m);case"day":case l:return p(y+"Hours",0);case n:return p(y+"Minutes",1);case i:return p(y+"Seconds",2);case e:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(r,o){var u,h=x.p(r),c="set"+(this.$u?"UTC":""),d=((u={}).day=c+"Date",u[l]=c+"Date",u[s]=c+"Month",u[a]=c+"FullYear",u[n]=c+"Hours",u[i]=c+"Minutes",u[e]=c+"Seconds",u[t]=c+"Milliseconds",u)[h],p="day"===h?this.$D+(o-this.$W):o;if(h===s||h===a){var f=this.clone().set(l,1);f.$d[d](p),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[x.p(t)]()},p.add=function(t,o){var l,u=this;t=Number(t);var h=x.p(o),c=function(e){var i=g(u);return x.w(i.date(i.date()+Math.round(e*t)),u)};if(h===s)return this.set(s,this.$M+t);if(h===a)return this.set(a,this.$y+t);if("day"===h)return c(1);if(h===r)return c(7);var d=((l={})[i]=6e4,l[n]=36e5,l[e]=1e3,l)[h]||1,p=this.$d.getTime()+t*d;return x.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||u;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=x.z(this),s=this.$H,o=this.$m,a=this.$M,l=i.weekdays,h=i.months,d=i.meridiem,p=function(t,i,r,s){return t&&(t[i]||t(e,n))||r[i].slice(0,s)},f=function(t){return x.s(s%12||12,t,"0")}
1,m=d||function(t,e,i){var n=t<12?"AM":"PM";return i?n.toLowerCase():n};return n.replace(c,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return x.s(e.$y,4,"0");case"M":return a+1;case"MM":return x.s(a+1,2,"0");case"MMM":return p(i.monthsShort,a,h,3);case"MMMM":return p(h,a);case"D":return e.$D;case"DD":return x.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(i.weekdaysMin,e.$W,l,2);case"ddd":return p(i.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(s);case"HH":return x.s(s,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(s,o,!0);case"A":return m(s,o,!1);case"m":return String(o);case"mm":return x.s(o,2,"0");case"s":return String(e.$s);case"ss":return x.s(e.$s,2,"0");case"SSS":return x.s(e.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,l,u){var h,c=this,d=x.p(l),p=g(t),f=(p.utcOffset()-this.utcOffset())*6e4,m=this-p,v=function(){return x.m(c,p)};switch(d){case a:h=v()/12;break;case s:h=v();break;case o:h=v()/3;break;case r:h=(m-f)/6048e5;break;case"day":h=(m-f)/864e5;break;case n:h=m/36e5;break;case i:h=m/6e4;break;case e:h=m/1e3;break;default:h=m}return u?h:x.a(h)},p.daysInMonth=function(){return this.endOf(s).$D},p.$locale=function(){return f[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),n=y(t,e,!0);return n&&(i.$L=n),i},p.clone=function(){return x.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),b=w.prototype;return g.prototype=b,[["$ms",t],["$s",e],["$m",i],["$H",n],["$W","day"],["$M",s],["$y",a],["$D",l]].forEach(function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),g.extend=function(t,e){return t.$i||(t(e,w,g),t.$i=!0),g},g.locale=y,g.isDayjs=v,g.unix=function(t){return g(1e3*t)},g.en=f[p],g.Ls=f,g.p={},g}()},14814:(t,e,i)=>{"use strict";i.d(e,{ge:()=>o,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},15007:(t,e,i)=>{"use strict";i.d(e,{j:()=>k});var n=i(63504),r=i(29377),s=i(13909),o=i(40375),a=i(26618),l=i(31772),u=i(93205);function h(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var c=i(9793);function d(t,e){return i=>i>0?e:t}var p=i(35983);let f=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},m=[l.u,c.B,u.V];function v(t){let e=m.find(e=>e.test(t));if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===u.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=h(a,n,t+1/3),s=h(a,n,t),o=h(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let y=(t,e)=>{let i=v(t),n=v(e);if(!i||!n)return d(t,e);let r={...i};return t=>(r.red=f(i.red,n.red,t),r.green=f(i.green,n.green,t),r.blue=f(i.blue,n.blue,t),r.alpha=(0,p.k)(i.alpha,n.alpha,t),c.B.transform(r))},g=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.p)(t)?d:o.y.test(t)?y:T:Array.isArray(t)?b:"object"==typeof t?o.y.test(t)?y:S:d}function b(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function S(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let T=(t,e)=>{let i=a.f.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?g.has(t)&&!o.values.length||g.has(e)&&!s.values.length?function(t,e){return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,n.F)(b(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(s,o),o.values),i):((0,r.$)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),d(t,e))};function k(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},17785:(t,e,i)=>{"use strict";i.d(e,{O:()=>a,e:()=>o});var n=i(33664),r=i(80957),s=i(55452);function o(t){return(0,n.N)(t.animate)||s._.some(e=>(0,r.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},18942:(t,e,i)=>{"use strict";i.d(e,{v:()=>r});var n=i(36784);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},20667:(t,e,i)=>{"use strict";function n(t){return"function"==typeof t&&"applyToOptions"in t}i.d(e,{W:()=>n})},20882:()=>{},21236:(t,e,i)=>{"use strict";i.d(e,{W:()=>o});var n=i(68256),r=i(69087);let s={some:0,all:1};function o(t,{root:e,margin:i,amount:a,once:l=!1,initial:u=!1}={}){let[h,c]=(0,n.useState)(u);return(0,n.useEffect)(()=>{if(!t.current||l&&h)return;let n={root:e&&e.current||void 0,margin:i,amount:a};return function(t,e,{root:i,margin:n,amount:o="some"}={}){let a=(0,r.K)(t),l=new WeakMap,u=new IntersectionObserver(t=>{t.forEach(t=>{let i=l.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?l.set(t.target,i):u.unobserve(t.target)}else"function"==typeof i&&(i(t),l.delete(t.target))})},{root:i,rootMargin:n,threshold:"number"==typeof o?o:s[o]});return a.forEach(t=>u.observe(t)),()=>u.disconnect()}(t.current,()=>(c(!0),l?void 0:()=>c(!1)),n)},[e,t,i,l,a]),h}},23014:(t,e,i)=>{"use strict";i.d(e,{Wx:()=>u});var n=i(68256),r=Object.defineProperty,s=new Map,o=new WeakMap,a=0,l=void 0;function u(){var t;let{threshold:e,delay:i,trackVisibility:r,rootMargin:u,root:h,triggerOnce:c,skip:d,initialInView:p,fallbackInView:f,onChange:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[v,y]=n.useState(null),g=n.useRef(m),[x,w]=n.useState({inView:!!p,entry:void 0});g.current=m,n.useEffect(()=>{let t;if(!d&&v)return t=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if(void 0===window.IntersectionObserver&&void 0!==n){let r=t.getBoundingClientRect();return e(n,{isIntersecting:n,target:t,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:r,observer:u,elements:h}=function(t){let e=Object.keys(t).sort().filter(e=>void 0!==t[e]).map(e=>{var i;return"".concat(e,"_").concat("root"===e?(i=t.root)?(o.has(i)||(a+=1,o.set(i,a.toString())),o.get(i)):"0":t[e])}).toString(),i=s.get(e);if(!i){let n,r=new Map,o=new IntersectionObserver(e=>{e.forEach(e=>{var i;let s=e.isIntersecting&&n.some(t=>e.intersectionRatio>=t);t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=s),null==(i=r.get(e.target))||i.forEach(t=>{t(s,e)})})},t);n=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),i={id:e,observer:o,elements:r},s.set(e,i)}return i}(i),c=h.get(t)||[];return h.has(t)||h.set(t,c),c.push(e),u.observe(t),function(){c.splice(c.indexOf(e),1),0===c.length&&(h.delete(t),u.unobserve(t)),0===h.size&&(u.disconnect(),s.delete(r))}}(v,(e,i)=>{w({inView:e,entry:i}),g.current&&g.current(e,i),i.isIntersecting&&c&&t&&(t(),t=void 0)},{root:h,rootMargin:u,threshold:e,trackVisibility:r,delay:i},f),()=>{t&&t()}},[Array.isArray(e)?e.toString():e,v,h,u,c,d,r,f,i]);let b=null==(t=x.entry)?void 0:t.target,S=n.useRef(void 0);v||!b||c||d||S.current===b||(S.current=b,w({inView:!!p,entry:void 0}));let T=[y,x.inView,x.entry];return T.ref=T[0],T.inView=T[1],T.entry=T[2],T}n.Component},23079:(t,e,i)=>{"use strict";i.d(e,{W:()=>n});let n={}},23200:(t,e,i)=>{"use strict";i.d(e,{Q:()=>n});let n=(0,i(68256).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},24637:(t,e,i)=>{var n=i(71614),r=i(4398),s=i(23702),o=i(9339),a=i(46190),l=i(27874),u=i(73269);t.exports=function t(e,i,h,c,d){e!==i&&s(i,function(s,l){if(d||(d=new n),a(s))o(e,i,l,h,t,c,d);else{var p=c?c(u(e,l),s,l+"",e,i,d):void 0;void 0===p&&(p=s),r(e,l,p)}},l)}},25262:(t,e,i)=>{"use strict";i.d(e,{f:()=>tl});var n=i(1004),r=i(52324),s=i(63504),o=i(47431),a=i(93794),l=i(13938),u=i(50571),h=i(15007);let c=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>r.Gt.update(e,t),stop:()=>(0,r.WG)(e),now:()=>r.uv.isProcessing?r.uv.timestamp:l.k.now()}};var d=i(65705),p=i(27054);function f({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,f,m=t[0],v={done:!1,value:m},y=i*e,g=m+y,x=void 0===o?g:o(g);x!==g&&(y=x-m);let w=t=>-y*Math.exp(-t/n),b=t=>x+w(t),S=t=>{let e=w(t),i=b(t);v.done=Math.abs(e)<=u,v.value=v.done?x:i},T=t=>{let e;if(e=v.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,f=(0,d.o)({keyframes:[v.value,(i=v.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:(0,p.Y)(b,t,v.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==c||(e=!0,S(t),T(t)),void 0!==c&&t>=c)?f.next(t-c):(e||S(t),v)}}}var m=i(3070),v=i(15734),y=i(97594),g=i(71848),x=i(71452);function w({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=(0,v.h)(n)?n.map(y.K):(0,y.K)(n),o={done:!1,value:e[0]}
1,a=(r=i&&i.length===e.length?i:(0,x.Z)(e),r.map(e=>e*t)),l=(0,g.G)(a,e,{ease:Array.isArray(s)?s:e.map(()=>s||m.am).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}var b=i(72111);let S=t=>null!==t;function T(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(S),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}let k={decay:f,inertia:f,tween:w,keyframes:w,spring:d.o};function A(t){"string"==typeof t.type&&(t.type=k[t.type])}class P{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let M=t=>t/100;class E extends P{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==l.k.now()&&this.tick(l.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},u.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;A(t);let{type:e=w,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:o=0}=t,{keyframes:a}=t,l=e||w;l!==w&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,s.F)(M,(0,h.j)(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=(0,b.t)(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:m,onUpdate:v,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let w=this.currentTime,b=i;if(c){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/a)):"mirror"===d&&(b=s)),w=(0,o.q)(0,1,i)*a}let S=x?{done:!1,value:h[0]}:b.next(w);r&&(S.value=r(S.value));let{done:k}=S;x||null===l||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return A&&m!==f&&(S.value=T(h,this.options,y,this.speed)),v&&v(S.value),A&&this.finish(),S}then(t,e){return this.finished.then(t,e)}get duration(){return(0,a.X)(this.calculatedDuration)}get time(){return(0,a.X)(this.currentTime)}set time(t){t=(0,a.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(l.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,a.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=c,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(l.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,u.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}
1var C=i(22338),D=i(51660),V=i(46729),j=i(29377),R=i(66969),F=i(9829),L=i(20876),_=i(2170);let I={},O=function(t,e){let i=(0,_.p)(t);return()=>I[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var $=i(41584);let B=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,W={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:B([0,.65,.55,1]),circOut:B([.55,0,1,.45]),backIn:B([.31,.01,.66,-.59]),backOut:B([.33,1.53,.69,.99])};var U=i(20667);class N extends P{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,j.V)("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:t,...e}){return(0,U.W)(t)&&O()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let c={[e]:i};l&&(c.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?O()?(0,$.K)(e,i):"ease-out":(0,L.D)(e)?B(e):Array.isArray(e)?e.map(e=>t(e,i)||W.easeOut):W[e]}(a,r);Array.isArray(d)&&(c.easing=d),F.Q.value&&u.q.waapi++;let p={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};h&&(p.pseudoElement=h);let f=t.animate(c,p);return F.Q.value&&f.finished.finally(()=>{u.q.waapi--}),f}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=T(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,a.X)(Number(t))}get time(){return(0,a.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,a.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,R.J)())?(this.animation.timeline=t,D.l):e(this)}}var z=i(33336),G=i(74229),H=i(17049);let q={anticipate:z.b,backInOut:G.ZZ,circInOut:H.tn};class K extends N{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in q&&(t.ease=q[t.ease])}(t),A(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new E({...s,autoplay:!1}),l=(0,a.f)(this.finishedTime??this.time);e.setWithVelocity(o.sample(l-10).value,o.sample(l).value,10),o.stop()}}var Y=i(26618);let X=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(Y.f.test(t)||"0"===t)&&!t.startsWith("url("));var Q=i(77356);let Z=new Set(["opacity","clipPath","filter","transform"]),J=(0,_.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tt extends P{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:u,element:h,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=l.k.now();let d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:u,element:h,...c},p=h?.KeyframeResolver||V.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:o,delay:a,isHandoff:u,onUpdate:h}=i;
1this.resolvedAt=l.k.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=X(r,e),a=X(s,e);return(0,j.$)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,U.W)(i))&&n)}(t,r,s,o)&&((C.W.instantAnimations||!a)&&h?.(T(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(0,Q.s)(e?.owner?.current))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return J()&&i&&Z.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(c)?new K({...c,element:c.motionValue.owner.current}):new E(c);d.finished.then(()=>this.notifyFinished()).catch(D.l),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,V.q)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var te=i(79603),ti=i(23079);let tn=t=>null!==t;var tr=i(25553);let ts={type:"spring",stiffness:500,damping:25,restSpeed:10},to={type:"keyframes",duration:.8},ta={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tl=(t,e,i,s={},o,a)=>l=>{let u=(0,n.r)(s,t)||{},h=u.delay||s.delay||0,{elapsed:c=0}=s;c-=(0,te.f)(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-c,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:a?void 0:o};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(u)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?to:tr.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:ts:ta)(t,d)),d.duration&&(d.duration=(0,te.f)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,te.f)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0===d.delay&&(p=!0)),(ti.W.instantAnimations||ti.W.skipAnimations)&&(p=!0,d.duration=0,d.delay=0),d.allowFlatten=!u.type&&!u.ease,p&&!a&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(tn),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(d.keyframes,u);if(void 0!==t)return void r.Gt.update(()=>{d.onUpdate(t),d.onComplete()})}return u.isSync?new E(d):new tt(d)}},25330:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},25553:(t,e,i)=>{"use strict";i.d(e,{U:()=>n,f:()=>r});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},26618:(t,e,i)=>{"use strict";i.d(e,{V:()=>h,f:()=>f});var n=i(40375);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(13069),o=i(93512);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]}
1,s=[],o=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(o),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=n.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t,f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},26933:(t,e,i)=>{"use strict";i.d(e,{RK:()=>S});var n=i(14540);function r(t){return"span"===t._type&&"text"in t&&"string"==typeof t.text&&(typeof t.marks>"u"||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function s(t){return"string"==typeof t._type&&"@"!==t._type[0]&&(!("markDefs"in t)||!t.markDefs||Array.isArray(t.markDefs)&&t.markDefs.every(t=>"string"==typeof t._key))&&"children"in t&&Array.isArray(t.children)&&t.children.every(t=>"object"==typeof t&&"_type"in t)}function o(t){return s(t)&&"listItem"in t&&"string"==typeof t.listItem&&(typeof t.level>"u"||"number"==typeof t.level)}function a(t){return"@list"===t._type}function l(t){return"@span"===t._type}function u(t){return"@text"===t._type}let h=["strong","em","code","underline","strike-through"];function c(t,e,i){if(!r(t)||!t.marks||!t.marks.length)return[];let n=t.marks.slice(),s={};return n.forEach(t=>{s[t]=1;for(let n=e+1;n<i.length;n++){let e=i[n];if(e&&r(e)&&Array.isArray(e.marks)&&-1!==e.marks.indexOf(t))s[t]++;else break}}),n.sort((t,e)=>(function(t,e,i){let n=t[e],r=t[i];if(n!==r)return r-n;let s=h.indexOf(e),o=h.indexOf(i);return s!==o?s-o:e.localeCompare(i)})(s,t,e))}function d(t,e,i){return{_type:"@list",_key:`${t._key||`${e}`}-parent`,mode:i,level:t.level||1,listItem:t.listItem,children:[t]}}function p(t,e){let i=e.level||1,n=e.listItem||"normal",s="string"==typeof e.listItem;if(a(t)&&(t.level||1)===i&&s&&(t.listItem||"normal")===n)return t;if(!("children"in t))return;let o=t.children[t.children.length-1];return o&&!r(o)?p(o,e):void 0}var f=i(68256);let m={textDecoration:"underline"},v=(t,e)=>`[@portabletext/react] Unknown ${t}, specify a component for it in the \`components.${e}\` prop`,y=t=>v(`block type "${t}"`,"types");function g(t){console.warn(t)}let x={display:"none"},w={types:{},block:{normal:({children:t})=>(0,n.jsx)("p",{children:t}),blockquote:({children:t})=>(0,n.jsx)("blockquote",{children:t}),h1:({children:t})=>(0,n.jsx)("h1",{children:t}),h2:({children:t})=>(0,n.jsx)("h2",{children:t}),h3:({children:t})=>(0,n.jsx)("h3",{children:t}),h4:({children:t})=>(0,n.jsx)("h4",{children:t}),h5:({children:t})=>(0,n.jsx)("h5",{children:t}),h6:({children:t})=>(0,n.jsx)("h6",{children:t})},marks:{em:({children:t})=>(0,n.jsx)("em",{children:t}),strong:({children:t})=>(0,n.jsx)("strong",{children:t}),code:({children:t})=>(0,n.jsx)("code",{children:t}),underline:({children:t})=>(0,n.jsx)("span",{style:m,children:t}),"strike-through":({children:t})=>(0,n.jsx)("del",{children:t}),link:({children:t,value:e})=>(0,n.jsx)("a",{href:null==e?void 0:e.href,children:t})},list:{number:({children:t})=>(0,n.jsx)("ol",{children:t}),bullet:({children:t})=>(0,n.jsx)("ul",{children:t})},listItem:({children:t})=>(0,n.jsx)("li",{children:t}),hardBreak:()=>(0,n.jsx)("br",{}),unknownType:({value:t,isInline:e})=>{let i=y(t._type);return e?(0,n.jsx)("span",{style:x,children:i}):(0,n.jsx)("div",{style:x,children:i})},unknownMark:({markType:t,children:e})=>(0,n.jsx)("span",{className:`unknown__pt__mark__${t}`,children:e}),unknownList:({children:t})=>(0,n.jsx)("ul",{children:t}),unknownListItem:({children:t})=>(0,n.jsx)("li",{children:t}),unknownBlockStyle:({children:t})=>(0,n.jsx)("p",{children:t})};function b(t,e,i){let n=e[i],r=t[i];return"function"==typeof n||n&&"function"==typeof r?n:n?{...r,...n}:r}function S({value:t,components:e,listNestingMode:i,onMissingComponent:r=g}){let s=r||A,a=function(t,e){let i,n=[];for(let a=0;a<t.length;a++){let l=t[a];if(l){var r,s;if(!o(l)){n.push(l),i=void 0;continue}if(!i){i=d(l,a,e),n.push(i);continue}if(r=l,s=i,(r.level||1)===s.level&&r.listItem===s.listItem){i.children.push(l);continue}if((l.level||1)>i.level){let t=d(l,a,e);if("html"===e){let e=i.children[i.children.length-1],n={...e,children:[...e.children,t]};i.children[i.children.length-1]=n}else i.children.push(t);i=t;continue}if((l.level||1)<i.level){let t=n[n.length-1],r=t&&p(t,l);if(r){(i=r).children.push(l);continue}i=d(l,a,e),n.push(i);continue}if(l.listItem!==i.listItem){let t=n[n.length-1],r=t&&p(t,{level:l.level||1});if(r&&r.listItem===l.listItem){(i=r).children.push(l);continue}i=d(l,a,e),n.push(i);continue}console.warn("Unknown state encountered for block",l),n.push(l)}}return n}(Array.isArray(t)?t:[t],i||"html"),l=(0,f.useMemo)(()=>e?function(t,e){let{block:i,list:n,listItem:r,marks:s,types:o,...a}=e;return{...t,block:b(t,e,"block"),list:b(t,e,"list"),listItem:b(t,e,"listItem"),marks:b(t,e,"marks"),types:b(t,e,"types"),...a}}(w,e):w,[e]),u=(0,f.useMemo)(()=>T(l,s),[l,s]),h=a.map((t,e)=>u({node:t,index:e,isInline:!1,renderNode:u}));return(0,n.jsx)(n.Fragment,{children:h})}let T=(t,e)=>function i(r){let{node:h,index:c,isInline:d}=r,p=h._key||`node-${c}`;return a(h)?function(r,s,o){let a=r.children.map((t,e)=>i({node:t._key?t:{...t,_key:`li-${s}-${e}`},index:e,isInline:!1})),l=t.list,u=("function"==typeof l?l:l[r.listItem])||t.unknownList;if(u===t.unknownList){let t=r.listItem||"bullet";e(v(`list style "${t}"`,"list"),{nodeType:"listStyle",type:t})}return(0,n.jsx)(u,{value:r,index:s,isInline:!1,renderNode:i,children:a},o)}(h,c,p):o(h)?function(r,s,o){let a=k({node:r,index:s,isInline:!1,renderNode:i}),l=t.listItem,u=("function"==typeof l?l:l[r.listItem])||t.unknownListItem;if(u===t.unknownListItem){let t=r.listItem||"bullet";e(v(`list item style "${t}"`,"listItem"),{type:t,nodeType:"listItemStyle"})}let h=a.children;if(r.style&&"normal"!==r.style){let{listItem:t,...e}=r;h=i({node:e,index:s,isInline:!1})}return(0,n.jsx)(u,{value:r,index:s,isInline:!1,renderNode:i,children:h},o)}(h,c,p):l(h)?function(r,s,o){let{markDef:a,markType:h,markKey:c}=r,d=t.marks[h]||t.unknownMark,p=r.children.map((t,e)=>i({node:t,index:e,isInline:!0}));return d===t.unknownMark&&e(v(`mark type "${h}"`,"marks"),{nodeType:"mark",type:h}),(0,n.jsx)(d,{text:function t(e){let i="";
1return e.children.forEach(e=>{u(e)?i+=e.text:l(e)&&(i+=t(e))}),i}(r),value:a,markType:h,markKey:c,renderNode:i,children:p},o)}(h,0,p):h._type in t.types?function(e,r,s,o){let a=t.types[e._type];return a?(0,n.jsx)(a,{value:e,isInline:o,index:r,renderNode:i},s):null}(h,c,p,d):s(h)?function(r,s,o,a){let{_key:l,...u}=k({node:r,index:s,isInline:a,renderNode:i}),h=u.node.style||"normal",c=("function"==typeof t.block?t.block:t.block[h])||t.unknownBlockStyle;return c===t.unknownBlockStyle&&e(v(`block style "${h}"`,"block"),{nodeType:"blockStyle",type:h}),(0,n.jsx)(c,{...u,value:u.node,renderNode:i},o)}(h,c,p,d):u(h)?function(e,i){if(e.text===`
2`){let e=t.hardBreak;return e?(0,n.jsx)(e,{},i):`
3`}return e.text}(h,p):function(r,s,o,a){e(y(r._type),{nodeType:"block",type:r._type});let l=t.unknownType;return(0,n.jsx)(l,{value:r,isInline:a,index:s,renderNode:i},o)}(h,c,p,d)};function k(t){let{node:e,index:i,isInline:n,renderNode:s}=t,o=(function(t){var e;let{children:i}=t,n=t.markDefs??[];if(!i||!i.length)return[];let s=i.map(c),o={_type:"@span",children:[],markType:"<unknown>"},a=[o];for(let t=0;t<i.length;t++){let o=i[t];if(!o)continue;let l=s[t]||[],u=1;if(a.length>1)for(;u<a.length;u++){let t=(null==(e=a[u])?void 0:e.markKey)||"",i=l.indexOf(t);if(-1===i)break;l.splice(i,1)}let h=(a=a.slice(0,u))[a.length-1];if(h){for(let t of l){let e=null==n?void 0:n.find(e=>e._key===t),i=e?e._type:t,r={_type:"@span",_key:o._key,children:[],markDef:e,markType:i,markKey:t};h.children.push(r),a.push(r),h=r}if(r(o)){let t=o.text.split(`
4`);for(let e=t.length;e-- >1;)t.splice(e,0,`
5`);h.children=h.children.concat(t.map(t=>({_type:"@text",text:t})))}else h.children=h.children.concat(o)}}return o.children})(e).map((t,e)=>s({node:t,isInline:!0,index:e,renderNode:s}));return{_key:e._key||`block-${i}`,children:o,index:i,isInline:n,node:e}}function A(){}},27054:(t,e,i)=>{"use strict";i.d(e,{Y:()=>r});var n=i(7522);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},27956:(t,e,i)=>{"use strict";i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},28929:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var n=(0,i(63210).A)("outline","arrows-diagonal","IconArrowsDiagonal",[["path",{d:"M16 4l4 0l0 4",key:"svg-0"}],["path",{d:"M14 10l6 -6",key:"svg-1"}],["path",{d:"M8 20l-4 0l0 -4",key:"svg-2"}],["path",{d:"M4 20l6 -6",key:"svg-3"}]])},31727:(t,e,i)=>{"use strict";i.d(e,{K:()=>r});var n=i(58011);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},31772:(t,e,i)=>{"use strict";i.d(e,{u:()=>r});var n=i(9793);let r={test:(0,i(96802).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},32803:(t,e,i)=>{"use strict";i.d(e,{l:()=>p});var n=i(25553),r=i(87925),s=i(14814),o=i(88944),a=i(98846),l=i(95859);let u=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var h=i(73411),c=i(98100),d=i(45851);class p extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,d.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,c.e)(t,e,void 0,n),e.attrs)t.setAttribute(u.has(i)?i:(0,a.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},33306:(t,e,i)=>{"use strict";function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>o,vk:()=>r})},33664:(t,e,i)=>{"use strict";function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{N:()=>n})}
5,34275:(t,e,i)=>{"use strict";i.d(e,{x:()=>r});var n=i(63134);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},35117:(t,e,i)=>{"use strict";i.d(e,{g:()=>s});var n=i(23079),r=i(27956);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},35983:(t,e,i)=>{"use strict";i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},36784:(t,e,i)=>{"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>n})},40375:(t,e,i)=>{"use strict";i.d(e,{y:()=>o});var n=i(31772),r=i(93205),s=i(9793);let o={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},41504:(t,e,i)=>{"use strict";i.d(e,{W:()=>a});var n=i(94544);let r={...n.ai,transform:Math.round};var s=i(91001);let o={rotate:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:n.X4,originX:s.gQ,originY:s.gQ,originZ:s.px},a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o,zIndex:r,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:r}},41584:(t,e,i)=>{"use strict";i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},43886:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},45851:(t,e,i)=>{"use strict";i.d(e,{x:()=>o});var n=i(27956),r=i(25553),s=i(72218);function o(t,e,i){let o=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(o[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},46729:(t,e,i)=>{"use strict";i.d(e,{h:()=>d,q:()=>c});var n=i(47923),r=i(52324);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function c(){l=!0,h(),u(),l=!1}class d{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,r.Gt.read(h),r.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},47923:(t,e,i)=>{"use strict";i.d(e,{E4:()=>a,Hr:()=>c,W9:()=>h});
5var n=i(6121),r=i(25553),s=i(94544),o=i(91001);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),u=r.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let c={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};c.translateX=c.x,c.translateY=c.y},50571:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},52324:(t,e,i)=>{"use strict";i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(51660);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(2394).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},54662:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var n=(0,i(63210).A)("outline","info-circle","IconInfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},55452:(t,e,i)=>{"use strict";i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},57215:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var n=(0,i(63210).A)("filled","player-play-filled","IconPlayerPlayFilled",[["path",{d:"M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z",key:"svg-0"}]])},58011:(t,e,i)=>{"use strict";function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{a:()=>r})},58691:(t,e,i)=>{"use strict";let n,r;i.d(e,{L:()=>G});var s=i(8757),o=i(75114),a=i(68256),l=i(78599),u=i(52324);function h(t,e){let i,n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return u.Gt.preUpdate(n,!0),()=>(0,u.WG)(n)}var c=i(66969),d=i(34275),p=i(69087);let f=new WeakMap,m=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:(0,d.x)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],v=m("inline","width","offsetWidth"),y=m("block","height","offsetHeight");function g({target:t,borderBoxSize:e}){f.get(t)?.forEach(i=>{i(t,{get width(){return v(t,e)},get height(){return y(t,e)}})})}function x(t){t.forEach(g)}let w=new Set;var b=i(43886);let S=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),T={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function k(t,e,i,n){var r;let s=i[e],{length:o,position:a}=T[e],l=s.current,u=i.time;s.current=t[`scroll${a}`],s.scrollLength=t[`scroll${o}`]-t[`client${o}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=(0,b.q)(0,s.scrollLength,s.current);let h=n-u;s.velocity=h>50?0:(r=s.current-l,h?1e3/h*r:0)}var A=i(71848),P=i(71452),M=i(25330),E=i(77356);let C={start:0,center:.5,end:1};function D(t,e,i=0){let n=0;if(t in C&&(t=C[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(n=e*t),i+n}let V=[0,0],j={All:[[0,0],[1,1]]},R={x:0,y:0},F=new WeakMap,L=new WeakMap,_=new WeakMap,I=t=>t===document.scrollingElement?window:t;function O(t,{container:e=document.scrollingElement,...i}={}){if(!e)return l.l;let s=_.get(e);s||(s=new Set,_.set(e,s));let o=function(t,e,i,n={}){return{measure:e=>{!function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let n=e;for(;n&&n!==t;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}
5(t,n.target,i),k(t,"x",i,e),k(t,"y",i,e),i.time=e,(n.offset||n.target)&&function(t,e,i){let{offset:n=j.All}=i,{target:r=t,axis:s="y"}=i,o="y"===s?"height":"width",a=r!==t?function(t,e){let i={x:0,y:0},n=t;for(;n&&n!==e;)if((0,E.s)(n))i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let t=n.getBoundingClientRect(),e=(n=n.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(n instanceof SVGGraphicsElement){let{x:t,y:e}=n.getBBox();i.x+=t,i.y+=e;let r=null,s=n.parentNode;for(;!r;)"svg"===s.tagName&&(r=s),s=n.parentNode;n=r}else break;return i}(r,t):R,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let h=!e[s].interpolate,c=n.length;for(let t=0;t<c;t++){let i=function(t,e,i,n){let r=Array.isArray(t)?t:V,s=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,C[t]?t:"0"]),(s=D(r[0],i,n))-D(r[1],e)}(n[t],u[o],l[o],a[s]);h||i===e[s].interpolatorOffsets[t]||(h=!0),e[s].offset[t]=i}h&&(e[s].interpolate=(0,A.G)(e[s].offset,(0,P.Z)(n),{clamp:!1}),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=(0,M.q)(0,1,e[s].interpolate(e[s].current))}(t,i,n)},notify:()=>e(i)}}(e,t,{time:0,x:S(),y:S()},i);if(s.add(o),!F.has(e)){let t=()=>{for(let t of s)t.measure(u.uv.timestamp);u.Gt.preUpdate(i)},i=()=>{for(let t of s)t.notify()},o=()=>u.Gt.read(t);F.set(e,o);let a=I(e);window.addEventListener("resize",o,{passive:!0}),e!==document.documentElement&&L.set(e,"function"==typeof e?(w.add(e),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};w.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{w.delete(e),w.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):function(t,e){n||"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(x));let i=(0,p.K)(t);return i.forEach(t=>{let i=f.get(t);i||(i=new Set,f.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=f.get(t);i?.delete(e),i?.size||n?.unobserve(t)})}}(e,o)),a.addEventListener("scroll",o,{passive:!0}),o()}let a=F.get(e);return u.Gt.read(a,!1,!0),()=>{(0,u.WG)(a);let t=_.get(e);if(!t||(t.delete(o),t.size))return;let i=F.get(e);F.delete(e),i&&(I(e).removeEventListener("scroll",i),L.get(e)?.(),window.removeEventListener("resize",i))}}let $=new Map;function B({source:t,container:e,...i}){let{axis:n}=i;t&&(e=t);let r=$.get(e)??new Map;$.set(e,r);let s=i.target??"self",o=r.get(s)??{},a=n+(i.offset??[]).join(",");return o[a]||(o[a]=!i.target&&(0,c.J)()?new ScrollTimeline({source:e,axis:n}):function(t){let e={value:0},i=O(i=>{e.value=100*i[t.axis].progress},t);return{currentTime:e,cancel:i}}({container:e,...i})),o[a]}var W=i(90409),U=i(14098);function N(t,e){(0,o.$)(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let z=()=>({scrollX:(0,s.OQ)(0),scrollY:(0,s.OQ)(0),scrollXProgress:(0,s.OQ)(0),scrollYProgress:(0,s.OQ)(0)});function G({container:t,target:e,layoutEffect:i=!0,...n}={}){let r=(0,W.M)(z);return(i?U.E:a.useEffect)(()=>(N("target",e),N("container",t),function(t,{axis:e="y",container:i=document.scrollingElement,...n}={}){var r,s;if(!i)return l.l;let o={axis:e,container:i,...n};return"function"==typeof t?(r=t,s=o,2===r.length?O(t=>{r(t[s.axis].progress,t)},s):h(r,B(s))):function(t,e){let i=B(e);return t.attachTimeline({timeline:e.target?void 0:i,observe:t=>(t.pause(),h(e=>{t.time=t.duration*e},i))})}(t,o)}((t,{x:e,y:i})=>{r.scrollX.set(e.current),r.scrollXProgress.set(e.progress),r.scrollY.set(i.current),r.scrollYProgress.set(i.progress)},{...n,container:t?.current||void 0,target:e?.current||void 0})),[t,e,JSON.stringify(n.offset)]),r}},61143:(t,e,i)=>{"use strict";i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>d,hq:()=>s,o4:()=>l});var n=i(35983),r=i(33306);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function a(t,e=0,i=1,n,r){t.min=o(t.min,e,i,n,r),t.max=o(t.max,e,i,n,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,o,a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=i[u]).projectionDelta;let{visualElement:a}=s.options;
5(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&d(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,r.HD)(s.latestValues)&&d(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function c(t,e,i,r,s=.5){let o=(0,n.k)(t.min,t.max,s);a(t,e,i,o,r)}function d(t,e){c(t.x,e.x,e.scaleX,e.scale,e.originX),c(t.y,e.y,e.scaleY,e.scale,e.originY)}},62346:(t,e,i)=>{"use strict";i.d(e,{P:()=>iM});var n,r,s=i(33664),o=i(31727),a=i(77307);function l(t,e,i={}){let n=(0,o.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all((0,a.$)(t,n,i)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[],h=t.variantChildren.size,c=(h-1)*r,d="function"==typeof n,p=d?t=>n(t,h):1===s?(t=0)=>t*r:(t=0)=>c-t*r;return Array.from(t.variantChildren).sort(u).forEach((t,r)=>{t.notify("AnimationStart",e),a.push(l(t,e,{...o,delay:i+(d?0:n)+p(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:c}=r;if(!c)return Promise.all([s(),h(i.delay)]);{let[t,e]="beforeChildren"===c?[s,h]:[h,s];return t().then(()=>e())}}function u(t,e){return t.sortNodePosition(e)}var h=i(63074);function c(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var d=i(80957),p=i(55452);let f=p._.length,m=[...p.U].reverse(),v=p.U.length;function y(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function g(){return{animate:y(!0),whileInView:y(),whileHover:y(),whileTap:y(),whileDrag:y(),whileFocus:y(),exit:y()}}class x{constructor(t){this.isMounted=!1,this.node=t}update(){}}class w extends x{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>l(t,e,i)));else if("string"==typeof e)n=l(t,e,i);else{let r="function"==typeof e?(0,o.K)(t,e,i.custom):e;n=Promise.all((0,a.$)(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=g(),n=!0,r=e=>(i,n)=>{let r=(0,o.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function u(a){let{props:l}=t,u=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<f;t++){let n=p._[t],r=e.props[n];((0,d.w)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},y=[],g=new Set,x={},w=1/0;for(let e=0;e<v;e++){var b,S;let o=m[e],p=i[o],f=void 0!==l[o]?l[o]:u[o],v=(0,d.w)(f),T=o===a?p.isActive:null;!1===T&&(w=e);let k=f===u[o]&&f!==l[o]&&v;if(k&&n&&t.manuallyAnimateOnMount&&(k=!1),p.protectedKeys={...x},!p.isActive&&null===T||!f&&!p.prevProp||(0,s.N)(f)||"boolean"==typeof f)continue;let A=(b=p.prevProp,"string"==typeof(S=f)?S!==b:!!Array.isArray(S)&&!c(S,b)),P=A||o===a&&p.isActive&&!k&&v||e>w&&v,M=!1,E=Array.isArray(f)?f:[f],C=E.reduce(r(o),{});!1===T&&(C={});let{prevResolvedValues:D={}}=p,V={...D,...C},j=e=>{P=!0,g.has(e)&&(M=!0,g.delete(e)),p.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in V){let e=C[t],i=D[t];if(!x.hasOwnProperty(t))((0,h.p)(e)&&(0,h.p)(i)?c(e,i):e===i)?void 0!==e&&g.has(t)?j(t):p.protectedKeys[t]=!0:null!=e?j(t):g.add(t)}p.prevProp=f,p.prevResolvedValues=C,p.isActive&&(x={...x,...C}),n&&t.blockInitialAnimation&&(P=!1);let R=!(k&&A)||M;P&&R&&y.push(...E.map(t=>({animation:t,options:{type:o}})))}if(g.size){let e={};if("boolean"!=typeof l.initial){let i=(0,o.K)(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}g.forEach(i=>
5{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),y.push({animation:e})}let T=!!y.length;return n&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(T=!1),n=!1,T?e(y):Promise.resolve()}return{animateChanges:u,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=u(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=g(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,s.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let b=0;class S extends x{constructor(){super(...arguments),this.id=b++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
5e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var T=i(78599);let k={x:!1,y:!1};var A=i(91001),P=i(52324),M=i(35983),E=i(75114),C=i(25262);function D(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let V=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function j(t){return{point:{x:t.pageX,y:t.pageY}}}function R(t,e,i,n){return D(t,e,t=>V(t)&&i(t,j(t)),n)}var F=i(97432);function L(t){return t.max-t.min}function _(t,e,i,n=.5){t.origin=n,t.originPoint=(0,M.k)(e.min,e.max,t.origin),t.scale=L(i)/L(e),t.translate=(0,M.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function I(t,e,i,n){_(t.x,e.x,i.x,n?n.originX:void 0),_(t.y,e.y,i.y,n?n.originY:void 0)}function O(t,e,i){t.min=i.min+e.min,t.max=t.min+L(e)}function $(t,e,i){t.min=e.min-i.min,t.max=t.min+L(e)}function B(t,e,i){$(t.x,e.x,i.x),$(t.y,e.y,i.y)}var W=i(14814);function U(t){return[t("x"),t("y")]}var N=i(63153);let z=({current:t})=>t?t.ownerDocument.defaultView:null;function G(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}
5var H=i(35117);let q=(t,e)=>i=>e(t(i)),K=(...t)=>t.reduce(q);var Y=i(79603);let X=(t,e)=>Math.abs(t-e);class Q{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=tt(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(X(t.x,e.x)**2+X(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=P.uv;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Z(e,this.transformPagePoint),P.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tt("pointercancel"===t.type?this.lastMoveEventInfo:Z(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!V(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let o=Z(j(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=P.uv;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,tt(o,this.history)),this.removeListeners=K(R(this.contextWindow,"pointermove",this.handlePointerMove),R(this.contextWindow,"pointerup",this.handlePointerUp),R(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,P.WG)(this.updatePoint)}}function Z(t,e){return e?{point:e(t.point)}:t}function J(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tt({point:t},e){return{point:t,delta:J(t,te(e)),offset:J(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=te(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,Y.f)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,Y.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function te(t){return t[t.length-1]}var ti=i(43886),tn=i(25330);function tr(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function ts(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function to(t,e,i){return{min:ta(t,e),max:ta(t,i)}}function ta(t,e){return"number"==typeof t?t:t[e]||0}let tl=new WeakMap;class tu{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,W.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(j(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(k[t])return null;else return k[t]=!0,()=>{k[t]=!1};return k.x||k.y?null:(k.x=k.y=!0,()=>{k.x=k.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),U(t=>{let e=this.getAxisMotionValue(t).get()||0;if(A.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=L(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&P.Gt.postRender(()=>r(t,e)),(0,H.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>U(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Q(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:z(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&P.Gt.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!th(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,M.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,M.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&G(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:tr(t.x,i,r),y:tr(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:to(t,"left","right"),y:to(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&U(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!G(e))return!1;let n=e.current;(0,E.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,N.L)(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:ts(t.x,s.x),y:ts(t.y,s.y)});if(i){let t=i((0,F.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,F.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(U(o=>
5{if(!th(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,H.g)(this.visualElement,t),i.start((0,C.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){U(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){U(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){U(e=>{let{drag:i}=this.getProps();if(!th(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,M.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!G(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};U(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=L(t),r=L(e);return r>n?i=(0,ti.q)(e.min,e.max-n,t.min):n>r&&(i=(0,ti.q)(t.min,t.max-r,e.min)),(0,tn.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),U(e=>{if(!th(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,M.k)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;tl.set(this.visualElement,this);let t=R(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();G(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),P.Gt.read(e);let r=D(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(U(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function th(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tc extends x{constructor(t){super(t),this.removeGroupControls=T.l,this.removeListeners=T.l,this.controls=new tu(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||T.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let td=t=>(e,i)=>{t&&P.Gt.postRender(()=>t(e,i))};class tp extends x{constructor(){super(...arguments),this.removePointerDownListener=T.l}onPointerDown(t){this.session=new Q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:z(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:td(t),onStart:td(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&P.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=R(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tf=i(14540);let{schedule:tm}=(0,i(2394).I)(queueMicrotask,!1);var tv=i(68256),ty=i(63486),tg=i(65337);let tx=(0,tv.createContext)({}),tw={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tb(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tS={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!A.px.test(t))return t;else t=parseFloat(t);let i=tb(t,e.target.x),n=tb(t,e.target.y);return`${i}% ${n}%`}};var tT=i(26618),tk=i(9281);let tA=!1;class tP extends tv.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;(0,tk.$)(tE),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),tA&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tw.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,tA=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||P.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tM(t){let[e,i]=(0,ty.xQ)(),n=(0,tv.useContext)(tg.L);return(0,tf.jsx)(tP,{...t,layoutGroup:n,switchLayoutGroup:(0,tv.useContext)(tx),isPresent:e,safeToRemove:i})}let tE={borderRadius:{...tS,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tS,borderTopRightRadius:tS,borderBottomLeftRadius:tS,borderBottomRightRadius:tS,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tT.f.parse(t);if(n.length>5)return t;let r=tT.f.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,M.k)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var tC=i(9829),tD=i(34275),tV=i(95866),tj=i(1004),tR=i(13938),tF=i(50571),tL=i(8757),t_=i(18942),tI=i(64416),tO=i(7162),t$=i(36784);let tB=(t,e)=>t.depth-e.depth;class tW{constructor(){this.children=[],this.isDirty=!1}add(t){(0,t$.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,t$.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tB),this.isDirty=!1,this.children.forEac
5h(t)}}var tU=i(27956);function tN(t){return(0,tU.S)(t)?t.get():t}let tz=t=>1-Math.sin(Math.acos(t)),tG=t=>1-tz(1-t);(t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2)(tz);let tH=["TopLeft","TopRight","BottomLeft","BottomRight"],tq=tH.length,tK=t=>"string"==typeof t?parseFloat(t):t,tY=t=>"number"==typeof t||A.px.test(t);function tX(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tQ=tJ(0,.5,tG),tZ=tJ(.5,.95,T.l);function tJ(t,e,i){return n=>n<t?0:n>e?1:i((0,ti.q)(t,e,n))}function t0(t,e){t.min=e.min,t.max=e.max}function t1(t,e){t0(t.x,e.x),t0(t.y,e.y)}function t2(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var t3=i(61143);function t5(t,e,i,n,r){return t-=e,t=(0,t3.hq)(t,1/i,n),void 0!==r&&(t=(0,t3.hq)(t,1/r,n)),t}function t4(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(A.KN.test(e)&&(e=parseFloat(e),e=(0,M.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,M.k)(s.min,s.max,n);t===s&&(a-=e),t.min=t5(t.min,e,i,a,r),t.max=t5(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let t9=["x","scaleX","originX"],t6=["y","scaleY","originY"];function t7(t,e,i,n){t4(t.x,e,t9,i?i.x:void 0,n?n.x:void 0),t4(t.y,e,t6,i?i.y:void 0,n?n.y:void 0)}function t8(t){return 0===t.translate&&1===t.scale}function et(t){return t8(t.x)&&t8(t.y)}function ee(t,e){return t.min===e.min&&t.max===e.max}function ei(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function en(t,e){return ei(t.x,e.x)&&ei(t.y,e.y)}function er(t){return L(t.x)/L(t.y)}function es(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eo{constructor(){this.members=[]}add(t){(0,t$.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,t$.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var ea=i(33306);let el={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eu=["","X","Y","Z"],eh=0;function ec(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function ed({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eh++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tC.Q.value&&(el.nodes=el.calculatedTargetDeltas=el.calculatedProjections=0),this.nodes.forEach(em),this.nodes.forEach(eS),this.nodes.forEach(eT),this.nodes.forEach(ev),tC.Q.addProjectionMetrics&&tC.Q.addProjectionMetrics(el)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tW)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t_.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,tD.x)(e)&&!(0,tV.h)(e),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;P.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tR.k.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,P.WG)(n),t(r-250))};return P.Gt.setup(n,!0),()=>(0,P.WG)(n)}(r,250),tw.hasAnimatedSinceResize&&(tw.hasAnimatedSinceResize=!1,this.nodes.forEac
5h(eb)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||eC,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!en(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,tj.r)(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||eb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,P.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ek),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,tO.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",P.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eg);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ex);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ew),this.nodes.forEach(ep),this.nodes.forEach(ef)):this.nodes.forEach(ex),this.clearAllSnapshots();let t=tR.k.now();P.uv.delta=(0,tn.q)(0,1e3/60,t-P.uv.timestamp),P.uv.timestamp=t,P.uv.isProcessing=!0,P.PP.update.process(P.uv),P.PP.preRender.process(P.uv),P.PP.render.process(P.uv),P.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ey),this.sharedNodes.forEach(eA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,P.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){P.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||L(this.snapshot.measuredBox.x)||L(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,W.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!et(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ea.HD)(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),ej((e=n).x),ej(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,W.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eF))){let{scroll:t}=this.root;t&&((0,t3.Ql)(e.x,t.offset.x),(0,t3.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,W.ge)();if(t1(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&t1(e,t),(0,t3.Ql)(e.x,r.offset.x),(0,t3.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=(0,W.ge)();t1(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,t3.Ww)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,ea.HD)(n.latestValues)&&(0,t3.Ww)(i,n.latestValues)}return(0,ea.HD)(this.latestValues)&&(0,t3.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,W.ge)();t1(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,ea.HD)(i.latestValues))continue;(0,ea.vk)(i.latestValues)&&i.updateSnapshot();let n=(0,W.ge)();t1(n,i.measurePageBox()),t7(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,ea.HD)(this.latestValues)&&t7(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==P.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(this.layout&&(n||r)){if(this.resolvedRelativeTargetAt=P.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,W.ge)(),this.relativeTargetOrigin=(0,W.ge)(),B(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),t1(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,W.ge)(),this.targetWithTransforms=(0,W.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,O(s.x,o.x,a.x),O(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):t1(this.target,this.layout.layoutBox),(0,t3.o4)(this.target,this.targetDelta)):t1(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,W.ge)(),this.relativeTargetOrigin=(0,W.ge)(),B(this.relativeTargetOrigin,this.target,t.target),t1(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tC.Q.value&&el.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,ea.vk)(this.parent.latestValues)||(0,ea.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
5if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===P.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;t1(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,t3.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,W.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(t2(this.prevProjectionDelta.x,this.projectionDelta.x),t2(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),I(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&es(this.projectionDelta.x,this.prevProjectionDelta.x)&&es(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tC.Q.value&&el.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,W.xU)(),this.projectionDelta=(0,W.xU)(),this.projectionDeltaWithTransform=(0,W.xU)()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=(0,W.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,W.ge)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(eE));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(eP(o.x,t.x,n),eP(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,v;B(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,v=n,eM(p.x,f.x,m.x,v),eM(p.y,f.y,m.y,v),i&&(u=this.relativeTarget,d=i,ee(u.x,d.x)&&ee(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,W.ge)()),t1(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,M.k)(0,i.opacity??1,tQ(n)),t.opacityExit=(0,M.k)(e.opacity??1,0,tZ(n))):s&&(t.opacity=(0,M.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<tq;r++){let s=`border${tH[r]}Radius`,o=tX(e,s),a=tX(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||tY(o)===tY(a)?(t[s]=Math.max((0,M.k)(tK(o),tK(a),n),0),(A.KN.test(a)||A.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,M.k)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,P.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=P.Gt.update(()=>{tw.hasAnimatedSinceResize=!0,tF.q.layout++,this.motionValue||(this.motionValue=(0,tL.OQ)(0)),this.currentAnimation=(0,tI.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tF.q.layout--},onComplete:()=>{tF.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&eR(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,W.ge)();let e=L(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=L(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}t1(e,i),(0,t3.Ww)(e,r),I(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eo),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
5return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&ec("z",t,n,this.animationValues);for(let e=0;e<eu.length;e++)ec(`rotate${eu[e]}`,t,n,this.animationValues),ec(`skew${eu[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=tN(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=tN(e?.pointerEvents)||""),this.hasProjected&&!(0,ea.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tk.H){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tk.H[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?tN(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eg),this.root.sharedNodes.clear()}}}function ep(t){t.updateLayout()}function ef(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?U(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=L(n);n.min=i[t].min,n.max=n.min+r}):eR(r,e.layoutBox,i)&&U(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=L(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,W.xU)();I(o,i,e.layoutBox);let a=(0,W.xU)();s?I(a,t.applyTransform(n,!0),e.measuredBox):I(a,i,e.layoutBox);let l=!et(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=(0,W.ge)();B(o,e.layoutBox,r.layoutBox);let a=(0,W.ge)();B(a,i,s.layoutBox),en(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function em(t){tC.Q.value&&el.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
5isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ev(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ey(t){t.clearSnapshot()}function eg(t){t.clearMeasurements()}function ex(t){t.isLayoutDirty=!1}function ew(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eS(t){t.resolveTargetDelta()}function eT(t){t.calcProjection()}function ek(t){t.resetSkewAndRotation()}function eA(t){t.removeLeadSnapshot()}function eP(t,e,i){t.translate=(0,M.k)(e.translate,0,i),t.scale=(0,M.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eM(t,e,i,n){t.min=(0,M.k)(e.min,i.min,n),t.max=(0,M.k)(e.max,i.max,n)}function eE(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eC={duration:.45,ease:[.4,0,.1,1]},eD=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eV=eD("applewebkit/")&&!eD("chrome/")?Math.round:T.l;function ej(t){t.min=eV(t.min),t.max=eV(t.max)}function eR(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(er(e)-er(i)))}function eF(t){return t!==t.root&&t.scroll?.wasRoot}let eL=ed({attachResizeListener:(t,e)=>D(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e_={current:void 0},eI=ed({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e_.current){let t=new eL({});t.mount(window),t.setOptions({layoutScroll:!0}),e_.current=t}return e_.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eO=i(69087);function e$(t,e){let i=(0,eO.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function eB(t){return!("touch"===t.pointerType||k.x||k.y)}function eW(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&P.Gt.postRender(()=>r(e,j(e)))}class eU extends x{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=e$(t,i),o=t=>{if(!eB(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{eB(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,(t,e)=>(eW(this.node,e,"Start"),t=>eW(this.node,t,"End"))))}unmount(){}}class eN extends x{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=K(D(this.node.current,"focus",()=>this.onFocus()),D(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var ez=i(77356);let eG=(t,e)=>!!e&&(t===e||eG(t,e.parentElement)),eH=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),eq=new WeakSet;function eK(t){return e=>{"Enter"===e.key&&t(e)}}function eY(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function eX(t){return V(t)&&!(k.x||k.y)}function eQ(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&P.Gt.postRender(()=>r(e,j(e)))}class eZ extends x{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=e$(t,i),o=t=>{let n=t.currentTarget;if(!eX(t))return;eq.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),eq.has(n)&&eq.delete(n),eX(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||eG(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};
5return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,ez.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=eK(()=>{if(eq.has(i))return;eY(i,"down");let t=eK(()=>{eY(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>eY(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),eH.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(eQ(this.node,e,"Start"),(t,{success:e})=>eQ(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let eJ=new WeakMap,e0=new WeakMap,e1=t=>{let e=eJ.get(t.target);e&&e(t)},e2=t=>{t.forEach(e1)},e3={some:0,all:1};class e5 extends x{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:e3[n]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;e0.has(i)||e0.set(i,{});let n=e0.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(e2,{root:t,...e})),n[r]}(s);return eJ.set(a,o),l.observe(a),()=>{eJ.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let e4=(0,tv.createContext)({strict:!1});var e9=i(23200);let e6=(0,tv.createContext)({});var e7=i(17785);function e8(t){return Array.isArray(t)?t.join(" "):t}var it=i(14432),ie=i(12742);let ii=Symbol.for("motionComponentSymbol");var ir=i(88864),is=i(86401),io=i(14098),ia=i(12363),il=i(79423);let iu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ih(t,e,i){for(let n in e)(0,tU.S)(e[n])||(0,ia.z)(n,i)||(t[n]=e[n])}var ic=i(95859);let id=()=>({...iu(),attrs:{}});var ip=i(73411);let im=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","ignoreStrict","viewport"]);function iv(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||im.has(t)}let iy=t=>!iv(t);try{!function(t){"function"==typeof t&&(iy=e=>e.startsWith("on")?!iv(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}let ig=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ix(t){if("string"!=typeof t||t.includes("-"));else if(ig.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var iw=i(58011),ib=i(90409);let iS=t=>(e,i)=>{let n=(0,tv.useContext)(e6),r=(0,tv.useContext)(is.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},o=n(t,{});for(let t in o)r[t]=tN(o[t]);let{initial:a,animate:l}=t,u=(0,e7.e)(t),h=(0,e7.O)(t);e&&h&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===a)?l:a;if(d&&"boolean"!=typeof d&&!(0,s.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,iw.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?o():(0,ib.M)(o)},iT={useVisualState:iS({scrapeMotionValuesFromProps:i(72218).x,createRenderState:iu})},ik={useVisualState:iS({scrapeMotionValuesFromProps:i(45851).x,createRenderState:id})};var iA=i(95081),iP=i(32803);let iM=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((n={animation:{Feature:w},exit:{Feature:S},inView:{Feature:e5},tap:{Feature:eZ},focus:{Feature:eN},hover:{Feature:eU},pan:{Feature:tp},drag:{Feature:tc,ProjectionNode:eI,MeasureLayout:tM},layout:{ProjectionNode:eI,MeasureLayout:tM}},r=(t,e)=>ix(t)?new iP.l(e):new iA.M(e,{allowProjection:t!==tv.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:n,createVisualElement:r,useRender:s,useVisualState:o,Component:a}=t;function l(t,e){var i;let n,l={...(0,tv.useContext)(e9.Q),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,tv.useContext)(tg.L).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:u}=l,h=function(t){let{initial:e,animate:i}=function(t,e){if((0,e7.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,d.w)(e)?e:void 0,animate:(0,d.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,tv.useContext)(e6));return(0,tv.useMemo)(()=>({initial:e,animate:i}),[e8(e),e8(i)])}
5(t),c=o(t,u);if(!u&&it.B){(0,tv.useContext)(e4).strict;let t=function(t){let{drag:e,layout:i}=ie.B;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(l);n=t.MeasureLayout,h.visualElement=function(t,e,i,n,r){let{visualElement:s}=(0,tv.useContext)(e6),o=(0,tv.useContext)(e4),a=(0,tv.useContext)(is.t),l=(0,tv.useContext)(e9.Q).reducedMotion,u=(0,tv.useRef)(null);n=n||o.renderer,!u.current&&n&&(u.current=n(t,{visualState:e,parent:s,props:i,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));let h=u.current,c=(0,tv.useContext)(tx);h&&!h.projection&&r&&("html"===h.type||"svg"===h.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&G(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(u.current,i,r,c);let d=(0,tv.useRef)(!1);(0,tv.useInsertionEffect)(()=>{h&&d.current&&h.update(i,a)});let p=i[ir.n],f=(0,tv.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return(0,io.E)(()=>{h&&(d.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),tm.render(h.render),f.current&&h.animationState&&h.animationState.animateChanges())}),(0,tv.useEffect)(()=>{h&&(!f.current&&h.animationState&&h.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),f.current=!1))}),h}(a,c,l,r,t.ProjectionNode)}return(0,tf.jsxs)(e6.Provider,{value:h,children:[n&&h.visualElement?(0,tf.jsx)(n,{visualElement:h.visualElement,...l}):null,s(a,t,(i=h.visualElement,(0,tv.useCallback)(t=>{t&&c.onMount&&c.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):G(e)&&(e.current=t))},[i])),c,u,h.visualElement)]})}n&&function(t){for(let e in t)ie.B[e]={...ie.B[e],...t[e]}}(n),l.displayName="motion.".concat("string"==typeof a?a:"create(".concat(null!=(i=null!=(e=a.displayName)?e:a.name)?i:"",")"));let u=(0,tv.forwardRef)(l);return u[ii]=a,u}({...ix(t)?ik:iT,preloadedFeatures:n,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>{let o=(ix(e)?function(t,e,i,n){let r=(0,tv.useMemo)(()=>{let i=id();return(0,ic.B)(i,e,(0,ip.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ih(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return ih(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,tv.useMemo)(()=>{let i=iu();return(0,il.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,s,e),a=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(iy(r)||!0===i&&iv(r)||!e&&!iv(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),l=e!==tv.Fragment?{...a,...o,ref:n}:{},{children:u}=i,h=(0,tv.useMemo)(()=>(0,tU.S)(u)?u.get():u,[u]);return(0,tv.createElement)(e,{...l,children:h})}}(e),createVisualElement:r,Component:t})}))},62840:(t,e,i)=>{var n=i(42189),r=i(89499);t.exports=function(t){return n(function(e,i){var n=-1,s=i.length,o=s>1?i[s-1]:void 0,a=s>2?i[2]:void 0;for(o=t.length>3&&"function"==typeof o?(s--,o):void 0,a&&r(i[0],i[1],a)&&(o=s<3?void 0:o,s=1),e=Object(e);++n<s;){var l=i[n];l&&t(e,l,n,o)}return e})}},63074:(t,e,i)=>{"use strict";i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},63153:(t,e,i)=>{"use strict";i.d(e,{L:()=>o,m:()=>s});var n=i(97432),r=i(61143);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.Ql)(n.x,o.offset.x),(0,r.Ql)(n.y,o.offset.y)),n}}
5,63486:(t,e,i)=>{"use strict";i.d(e,{xQ:()=>s});var n=i(68256),r=i(86401);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},64416:(t,e,i)=>{"use strict";i.d(e,{z:()=>o});var n=i(27956),r=i(8757),s=i(25262);function o(t,e,i){let o=(0,n.S)(t)?t:(0,r.OQ)(t);return o.start((0,s.f)("",o,e,i)),o.animation}},65337:(t,e,i)=>{"use strict";i.d(e,{L:()=>n});let n=(0,i(68256).createContext)({})},65705:(t,e,i)=>{"use strict";i.d(e,{o:()=>m});var n=i(47431),r=i(93794),s=i(41584),o=i(72111),a=i(10189),l=i(27054);let u={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var h=i(29377);function c(t,e){return t*Math.sqrt(1-e*e)}let d=["duration","bounce"],p=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function m(t=u.visualDuration,e=u.bounce){let i,a="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:y}=a,g=a.keyframes[0],x=a.keyframes[a.keyframes.length-1],w={done:!1,value:g},{stiffness:b,damping:S,mass:T,duration:k,velocity:A,isResolvedFromDuration:P}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!f(t,p)&&f(t,d))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:u.mass,stiffness:r,damping:s}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:s=u.mass}){let o,a;(0,h.$)(t<=(0,r.f)(u.maxDuration),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,n.q)(u.minDamping,u.maxDamping,l),t=(0,n.q)(u.minDuration,u.maxDuration,(0,r.X)(t)),l<1?(o=e=>{let n=e*l,r=n*t;return .001-(n-i)/c(e,l)*Math.exp(-r)},a=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-n),a=c(Math.pow(e,2),l);return(n*i+i-r)*s*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let d=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(o,a,5/t);if(t=(0,r.f)(t),isNaN(d))return{stiffness:u.stiffness,damping:u.damping,duration:t};{let e=Math.pow(d,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...a,velocity:-(0,r.X)(a.velocity||0)}),M=A||0,E=S/(2*Math.sqrt(b*T)),C=x-g,D=(0,r.X)(Math.sqrt(b/T)),V=5>Math.abs(C);if(v||(v=V?u.restSpeed.granular:u.restSpeed.default),y||(y=V?u.restDelta.granular:u.restDelta.default),E<1){let t=c(D,E);i=e=>x-Math.exp(-E*D*e)*((M+E*D*C)/t*Math.sin(t*e)+C*Math.cos(t*e))}else if(1===E)i=t=>x-Math.exp(-D*t)*(C+(M+D*C)*t);else{let t=D*Math.sqrt(E*E-1);i=e=>{let i=Math.exp(-E*D*e),n=Math.min(t*e,300);return x-i*((M+E*D*C)*Math.sinh(n)+t*C*Math.cosh(n))/t}}let j={calculatedDuration:P&&k||null,next:t=>{let e=i(t);if(P)w.done=t>=k;else{let n=0===t?M:0;E<1&&(n=0===t?(0,r.f)(M):(0,l.Y)(i,t,e));let s=Math.abs(x-e)<=y;w.done=Math.abs(n)<=v&&s}return w.value=w.done?x:e,w},toString:()=>{let t=Math.min((0,o.t)(j),o.Y),e=(0,s.K)(e=>j.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return j}m.applyToOptions=t=>{let e=(0,a.X)(t,100,m);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},66969:(t,e,i)=>{"use strict";i.d(e,{J:()=>n});let n=(0,i(2170).p)(()=>void 0!==window.ScrollTimeline)},69087:(t,e,i)=>{"use strict";function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}i.d(e,{K:()=>n})},71452:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(76408);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},71848:(t,e,i)=>{"use strict";i.d(e,{G:()=>h});var n=i(22338),r=i(51660),s=i(63504),o=i(29377),a=i(34369),l=i(47431),u=i(15007);function h(t,e,{clamp:i=!0,ease:c,mixer:d}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let f=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());
5let m=function(t,e,i){let o=[],a=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}o.push(n)}return o}(e,c,d),v=m.length,y=i=>{if(f&&i<t[0])return e[0];let n=0;if(v>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.q)(t[n],t[n+1],i);return m[n](r)};return i?e=>y((0,l.q)(t[0],t[p-1],e)):y}},72111:(t,e,i)=>{"use strict";i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},72218:(t,e,i)=>{"use strict";i.d(e,{x:()=>s});var n=i(27956),r=i(12363);function s(t,e,i){let{style:s}=t,o={};for(let a in s)((0,n.S)(s[a])||e.style&&(0,n.S)(e.style[a])||(0,r.z)(a,t)||i?.getValue(a)?.liveStyle!==void 0)&&(o[a]=s[a]);return o}},73235:(t,e,i)=>{"use strict";t.exports=i(73354).style},73269:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},73354:(t,e,i)=>{"use strict";var n=i(55036);i(20882);var r=i(68256),s=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(r),o=void 0!==n&&n.env&&!0,a=function(t){return"[object String]"===Object.prototype.toString.call(t)},l=function(){function t(t){var e=void 0===t?{}:t,i=e.name,n=void 0===i?"stylesheet":i,r=e.optimizeForSpeed,s=void 0===r?o:r;u(a(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var e,i=t.prototype;return i.setOptimizeForSpeed=function(t){u("boolean"==typeof t,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=t,this.inject()},i.isOptimizeForSpeed=function(){return this._optimizeForSpeed},i.inject=function(){var t=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(e,i){return"number"==typeof i?t._serverSheet.cssRules[i]={cssText:e}:t._serverSheet.cssRules.push({cssText:e}),i},deleteRule:function(e){t._serverSheet.cssRules[e]=null}}},i.getSheetForTag=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]},i.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},i.insertRule=function(t,e){if(u(a(t),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof e&&(e=this._serverSheet.cssRules.length),this._serverSheet.insertRule(t,e),this._rulesCount++;if(this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof e&&(e=i.cssRules.length);try{i.insertRule(t,e)}catch(e){return o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[e];this._tags.push(this.makeStyleTag(this._name,t,n))}return this._rulesCount++},i.replaceRule=function(t,e){if(this._optimizeForSpeed||"undefined"==typeof window){var i="undefined"!=typeof window?this.getSheet():this._serverSheet;if(e.trim()||(e=this._deletedRulePlaceholder),!i.cssRules[t])return t;i.deleteRule(t);try{i.insertRule(e,t)}catch(n){o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),i.insertRule(this._deletedRulePlaceholder,t)}}else{var n=this._tags[t];u(n,"old rule at index `"+t+"` not found"),n.textContent=e}return t},i.deleteRule=function(t){if("undefined"==typeof window)return void this._serverSheet.deleteRule(t);if(this._optimizeForSpeed)this.replaceRule(t,"");else{var e=this._tags[t];u(e,"rule at index `"+t+"` not found"),e.parentNode.removeChild(e),this._tags[t]=null}},i.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
5h(function(t){return t&&t.parentNode.removeChild(t)}),this._tags=[]):this._serverSheet.cssRules=[]},i.cssRules=function(){var t=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(e,i){return i?e=e.concat(Array.prototype.map.call(t.getSheetForTag(i).cssRules,function(e){return e.cssText===t._deletedRulePlaceholder?null:e})):e.push(null),e},[])},i.makeStyleTag=function(t,e,i){e&&u(a(e),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+t,""),e&&n.appendChild(document.createTextNode(e));var r=document.head||document.getElementsByTagName("head")[0];return i?r.insertBefore(n,i):r.appendChild(n),n},e=[{key:"length",get:function(){return this._rulesCount}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(t.prototype,e),t}();function u(t,e){if(!t)throw Error("StyleSheet: "+e+".")}var h=function(t){for(var e=5381,i=t.length;i;)e=33*e^t.charCodeAt(--i);return e>>>0},c={};function d(t,e){if(!e)return"jsx-"+t;var i=String(e),n=t+i;return c[n]||(c[n]="jsx-"+h(t+"-"+i)),c[n]}function p(t,e){"undefined"==typeof window&&(e=e.replace(/\/style/gi,"\\/style"));var i=t+e;return c[i]||(c[i]=e.replace(/__jsx-style-dynamic-selector/g,t)),c[i]}var f=function(){function t(t){var e=void 0===t?{}:t,i=e.styleSheet,n=void 0===i?null:i,r=e.optimizeForSpeed,s=void 0!==r&&r;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),n&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var e=t.prototype;return e.add=function(t){var e=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(t.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(t,e){return t[e]=0,t},{}));var i=this.getIdAndRules(t),n=i.styleId,r=i.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var s=r.map(function(t){return e._sheet.insertRule(t)}).filter(function(t){return -1!==t});this._indices[n]=s,this._instancesCounts[n]=1},e.remove=function(t){var e=this,i=this.getIdAndRules(t).styleId;if(function(t,e){if(!t)throw Error("StyleSheetRegistry: "+e+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var n=this._fromServer&&this._fromServer[i];n?(n.parentNode.removeChild(n),delete this._fromServer[i]):(this._indices[i].forEac
5h(function(t){return e._sheet.deleteRule(t)}),delete this._indices[i]),delete this._instancesCounts[i]}},e.update=function(t,e){this.add(e),this.remove(t)},e.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},e.cssRules=function(){var t=this,e=this._fromServer?Object.keys(this._fromServer).map(function(e){return[e,t._fromServer[e]]}):[],i=this._sheet.cssRules();return e.concat(Object.keys(this._indices).map(function(e){return[e,t._indices[e].map(function(t){return i[t].cssText}).join(t._optimizeForSpeed?"":"\n")]}).filter(function(t){return!!t[1]}))},e.styles=function(t){var e,i;return e=this.cssRules(),void 0===(i=t)&&(i={}),e.map(function(t){var e=t[0],n=t[1];return s.default.createElement("style",{id:"__"+e,key:"__"+e,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},e.getIdAndRules=function(t){var e=t.children,i=t.dynamic,n=t.id;if(i){var r=d(n,i);return{styleId:r,rules:Array.isArray(e)?e.map(function(t){return p(r,t)}):[p(r,e)]}}return{styleId:d(n),rules:Array.isArray(e)?e:[e]}},e.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(t,e){return t[e.id.slice(2)]=e,t},{})},t}(),m=r.createContext(null);m.displayName="StyleSheetContext";var v=s.default.useInsertionEffect||s.default.useLayoutEffect,y="undefined"!=typeof window?new f:void 0;function g(t){var e=y||r.useContext(m);return e&&("undefined"==typeof window?e.add(t):v(function(){return e.add(t),function(){e.remove(t)}},[t.id,String(t.dynamic)])),null}g.dynamic=function(t){return t.map(function(t){return d(t[0],t[1])}).join(" ")},e.style=g},73411:(t,e,i)=>{"use strict";i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},73712:(t,e,i)=>{"use strict";i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(25553).U])},75114:(t,e,i)=>{"use strict";i.d(e,{$:()=>n,V:()=>r});let n=()=>{},r=()=>{}},75487:(t,e,i)=>{"use strict";i.d(e,{i:()=>B,W:()=>$});class n{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class r extends n{then(t,e){return this.finished.finally(t).then(()=>{})}}var s=i(36784),o=i(65705),a=i(71452),l=i(20667),u=i(10189),h=i(76408),c=i(27956),d=i(79603),p=i(75114);function f(t,e){return Array.isArray(t)&&"number"!=typeof t[0]?t[((t,e,i)=>{let n=e-t;return((i-t)%n+n)%n+t})(0,t.length,e)]:t}var m=i(43886),v=i(69087);function y(t){return"object"==typeof t&&!Array.isArray(t)}function g(t,e,i,n){return"string"==typeof t&&y(e)?(0,v.K)(t,i,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function x(t,e,i,n){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?i:e.startsWith("<")?Math.max(0,i+parseFloat(e.slice(1))):n.get(e)??t}var w=i(35983);function b(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function S(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function T(t,e){return e[t]||(e[t]=[]),e[t]}let k=t=>"number"==typeof t,A=t=>t.every(k);var P=i(91627),M=i(77307),E=i(34275),C=i(95866),D=i(95081),V=i(14814),j=i(10015);class R extends j.B{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,V.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}var F=i(32803);function L(t){let e={presenceContext:null,props:{}
5,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=(0,E.x)(t)&&!(0,C.h)(t)?new F.l(e):new D.M(e);i.mount(t),P.C.set(t,i)}function _(t){let e=new R({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),P.C.set(t,e)}var I=i(64416);function O(t,e,i,n){let r=[];if((0,c.S)(t)||"number"==typeof t||"string"==typeof t&&!y(e))r.push((0,I.z)(t,y(e)&&e.default||e,i&&i.default||i));else{let s=g(t,e,n),o=s.length;(0,p.V)(!!o,"No valid elements provided.","no-valid-elements");for(let t=0;t<o;t++){let n=s[t],a=n instanceof Element?L:_;P.C.has(n)||a(n);let l=P.C.get(n),u={...i};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,o)),r.push(...(0,M.$)(l,{...e,transition:u},{}))}}return r}function $(t){return function(e,i,n){let v=[],y=new r(v=Array.isArray(e)&&e.some(Array.isArray)?function(t,e,i){let n=[];return(function(t,{defaultTransition:e={},...i}={},n,r){let o=e.duration||.3,v=new Map,y=new Map,k={},P=new Map,M=0,E=0,C=0;for(let i=0;i<t.length;i++){let m=t[i];if("string"==typeof m){P.set(m,E);continue}if(!Array.isArray(m)){P.set(m.name,x(E,m.at,M,P));continue}let[v,b,j={}]=m;void 0!==j.at&&(E=x(E,j.at,M,P));let R=0,F=(t,i,n,c=0,m=0)=>{var v;let y=Array.isArray(v=t)?v:[v],{delay:g=0,times:x=(0,a.Z)(y),type:b="keyframes",repeat:S,repeatType:T,repeatDelay:k=0,...P}=i,{ease:M=e.ease||"easeOut",duration:D}=i,V="function"==typeof g?g(c,m):g,j=y.length,F=(0,l.W)(b)?b:r?.[b||"keyframes"];if(j<=2&&F){let t=100;2===j&&A(y)&&(t=Math.abs(y[1]-y[0]));let e={...P};void 0!==D&&(e.duration=(0,d.f)(D));let i=(0,u.X)(e,t,F);M=i.ease,D=i.duration}D??(D=o);let L=E+V;1===x.length&&0===x[0]&&(x[1]=1);let _=x.length-y.length;if(_>0&&(0,h.f)(x,_),1===y.length&&y.unshift(null),S){(0,p.V)(S<20,"Repeat count too high, must be less than 20","repeat-count-high");D*=S+1;let t=[...y],e=[...x],i=[...M=Array.isArray(M)?[...M]:[M]];for(let n=0;n<S;n++){y.push(...t);for(let r=0;r<t.length;r++)x.push(e[r]+(n+1)),M.push(0===r?"linear":f(i,r-1))}for(let t=0;t<x.length;t++)x[t]=x[t]/(S+1)}let I=L+D;!function(t,e,i,n,r,o){for(let e=0;e<t.length;e++){let i=t[e];i.at>r&&i.at<o&&((0,s.Ai)(t,i),e--)}for(let s=0;s<e.length;s++)t.push({value:e[s],at:(0,w.k)(r,o,n[s]),easing:f(i,s)})}(n,y,M,x,L,I),R=Math.max(V+D,R),C=Math.max(I,C)};if((0,c.S)(v))F(b,j,T("default",S(v,y)));else{let t=g(v,b,n,k),e=t.length;for(let i=0;i<e;i++){let n=S(t[i],y);for(let t in b){var D,V;F(b[t],(D=j,V=t,D&&D[V]?{...D,...D[V]}:{...D}),T(t,n),i,e)}}}M=E,E+=R}return y.forEach((t,n)=>{for(let r in t){let s=t[r];s.sort(b);let o=[],a=[],l=[];for(let t=0;t<s.length;t++){let{at:e,value:i,easing:n}=s[t];o.push(i),a.push((0,m.q)(0,C,e)),l.push(n||"easeOut")}0!==a[0]&&(a.unshift(0),o.unshift(o[0]),l.unshift("easeInOut")),1!==a[a.length-1]&&(a.push(1),o.push(null)),v.has(n)||v.set(n,{keyframes:{},transition:{}});let u=v.get(n);u.keyframes[r]=o,u.transition[r]={...e,duration:C,ease:l,times:a,...i}}}),v})(t,e,i,{spring:o.o}).forEach(({keyframes:t,transition:e},i)=>{n.push(...O(i,t,e))}),n}(e,i,t):O(e,i,n,t));return t&&(t.animations.push(y),y.finished.then(()=>{(0,s.Ai)(t.animations,y)})),y}}let B=$()},76408:(t,e,i)=>{"use strict";i.d(e,{f:()=>s});var n=i(34369),r=i(35983);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,o))}}},77307:(t,e,i)=>{"use strict";i.d(e,{$:()=>d});var n=i(1004),r=i(52324),s=i(73712),o=i(8757),a=i(63074),l=i(31727),u=i(35117),h=i(7162),c=i(25262);function d(t,e,{delay:i=0,transitionOverride:p,type:f}={}){let{transition:m=t.getDefaultTransition(),transitionEnd:v,...y}=e;p&&(m=p);let g=[],x=f&&t.animationState&&t.animationState.getState()[f];for(let e in y){let o=t.getValue(e,t.latestValues[e]??null),a=y[e];if(void 0===a||x&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(x,e))continue;let l={delay:i,...(0,n.r)(m||{},e)},d=o.get();if(void 0!==d&&!o.isAnimating&&!Array.isArray(a)&&a===d&&!l.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,r.Gt);null!==t&&(l.startTime=t,p=!0)}}(0,u.g)(t,e),o.start((0,c.f)(e,o,a,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:l,t,p));let f=o.animation;f&&g.push(f)}return v&&Promise.all(g).then(()=>{r.Gt.update(()=>{v&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=(0,l.K)(t,e)||{};for(let e in r={...r,...i}){var s;let i=(s=r[e],(0,a.p)(s)?s[s.length-1]||0:s);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,o.OQ)(i))}}(t,v)})}),g}},77356:(t,e,i)=>{"use strict";i.d(e,{s:()=>r});var n=i(63134);function r(t){return(0,n.G)(t)&&"offsetHeight"in t}},78599:(t,e,i)=>{"use strict";i.d(e,{l:()=>n});let n=t=>t},79423:(t,e,i)=>{"use strict";i.d(e,{O:()=>u});var n=i(25553),r=i(13909);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=i(41504);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n.U.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:c}=t,d=!1,p=!1;for(let t in e){let i=e[t];if(n.f.has(t)){d=!0;continue}if((0,r.j)(t)){h[t]=i;continue}{let e=s(i,o.W[t]);t.startsWith("origin")?(p=!0,c[t]=e):u[t]=e}}
5if(!e.transform&&(d||i?u.transform=function(t,e,i){let r="",u=!0;for(let h=0;h<l;h++){let l=n.U[h],c=t[l];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===+!!l.startsWith("scale"):0===parseFloat(c))||i){let t=s(c,o.W[l]);if(!d){u=!1;let e=a[l]||l;r+=`${e}(${t}) `}i&&(e[l]=t)}}return r=r.trim(),i?r=i(e,u?"":r):u&&(r="none"),r}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}},79603:(t,e,i)=>{"use strict";i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},80957:(t,e,i)=>{"use strict";function n(t){return"string"==typeof t||Array.isArray(t)}i.d(e,{w:()=>n})},81768:(t,e,i)=>{"use strict";i.d(e,{T:()=>o,n:()=>a});var n=i(94544),r=i(91001),s=i(7671);let o=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.w)(t))},84436:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var n=(0,i(63210).A)("outline","photo","IconPhoto",[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z",key:"svg-1"}],["path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5",key:"svg-2"}],["path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3",key:"svg-3"}]])},86401:(t,e,i)=>{"use strict";i.d(e,{t:()=>n});let n=(0,i(68256).createContext)(null)},87925:(t,e,i)=>{"use strict";i.d(e,{D:()=>o});var n=i(40375),r=i(91786);let s={...i(41504).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:r.p,WebkitFilter:r.p},o=t=>s[t]},88864:(t,e,i)=>{"use strict";i.d(e,{n:()=>n});let n="data-"+(0,i(98846).I)("framerAppearId")},88944:(t,e,i)=>{"use strict";i.d(e,{b:()=>g});var n=i(73712),r=i(81768),s=i(29377),o=i(79855),a=i(13909);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=i(46729),h=i(99307),c=i(26618),d=i(4278);let p=new Set(["auto","none","0"]);var f=i(47923);class m extends u.h{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,a.p)(n))){let r=function t(e,i,n=1){(0,s.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,u]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let h=window.getComputedStyle(i).getPropertyValue(r);if(h){let t=h.trim();return(0,o.i)(t)?parseFloat(t):t}return(0,a.p)(u)?t(u,i,n+1):u}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!n.$.has(i)||2!==t.length)return;let[u,h]=t,c=(0,r.n)(u),d=(0,r.n)(h);if(c!==d)if((0,f.E4)(c)&&(0,f.E4)(d))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else f.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,h.$)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!p.has(e)&&(0,c.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=(0,d.J)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=f.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
5h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var v=i(27956),y=i(10015);class g extends y.B{constructor(){super(...arguments),this.KeyframeResolver=m}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,v.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},90409:(t,e,i)=>{"use strict";i.d(e,{M:()=>r});var n=i(68256);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},91001:(t,e,i)=>{"use strict";i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},91274:(t,e,i)=>{"use strict";i.d(e,{bL:()=>S,zi:()=>T});var n=i(68256),r=i(7101),s=i(48185),o=i(38979),a=i(26146),l=i(27858),u=i(91650),h=i(36),c=i(14540),d="Switch",[p,f]=(0,o.A)(d),[m,v]=p(d),y=n.forwardRef((t,e)=>{let{__scopeSwitch:i,name:o,checked:l,defaultChecked:u,required:p,disabled:f,value:v="on",onCheckedChange:y,form:g,...x}=t,[S,T]=n.useState(null),k=(0,s.s)(e,t=>T(t)),A=n.useRef(!1),P=!S||g||!!S.closest("form"),[M,E]=(0,a.i)({prop:l,defaultProp:null!=u&&u,onChange:y,caller:d});return(0,c.jsxs)(m,{scope:i,checked:M,disabled:f,children:[(0,c.jsx)(h.sG.button,{type:"button",role:"switch","aria-checked":M,"aria-required":p,"data-state":b(M),"data-disabled":f?"":void 0,disabled:f,value:v,...x,ref:k,onClick:(0,r.m)(t.onClick,t=>{E(t=>!t),P&&(A.current=t.isPropagationStopped(),A.current||t.stopPropagation())})}),P&&(0,c.jsx)(w,{control:S,bubbles:!A.current,name:o,value:v,checked:M,required:p,disabled:f,form:g,style:{transform:"translateX(-100%)"}})]})});y.displayName=d;var g="SwitchThumb",x=n.forwardRef((t,e)=>{let{__scopeSwitch:i,...n}=t,r=v(g,i);return(0,c.jsx)(h.sG.span,{"data-state":b(r.checked),"data-disabled":r.disabled?"":void 0,...n,ref:e})});x.displayName=g;var w=n.forwardRef((t,e)=>{let{__scopeSwitch:i,control:r,checked:o,bubbles:a=!0,...h}=t,d=n.useRef(null),p=(0,s.s)(d,e),f=(0,l.Z)(o),m=(0,u.X)(r);return n.useEffect(()=>{let t=d.current;if(!t)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==o&&e){let i=new Event("click",{bubbles:a});e.call(t,o),t.dispatchEvent(i)}},[f,o,a]),(0,c.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:o,...h,tabIndex:-1,ref:p,style:{...h.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function b(t){return t?"checked":"unchecked"}w.displayName="SwitchBubbleInput";var S=y,T=x},91627:(t,e,i)=>{"use strict";i.d(e,{C:()=>n});let n=new WeakMap},91786:(t,e,i)=>{"use strict";i.d(e,{p:()=>l});var n=i(26618),r=i(13069);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let o=i.replace(n,""),a=+!!s.has(e);return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},93205:(t,e,i)=>{"use strict";i.d(e,{V:()=>a});var n=i(94544),r=i(91001),s=i(93512),o=i(96802);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(o))+")"}},93512:(t,e,i)=>{"use strict";i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},94544:(t,e,i)=>{"use strict";i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(47431);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},95081:(t,e,i)=>{"use strict";i.d(e,{M:()=>c});var n=i(25553),r=i(6121),s=i(13909),o=i(63153),a=i(88944),l=i(79423),u=i(98100),h=i(72218);class c extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(n.f.has(e))return this.projection?.isProjecting?(0,r.zs)(e):(0,r.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,s.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}
5scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},95859:(t,e,i)=>{"use strict";i.d(e,{B:()=>a});var n=i(79423),r=i(91001);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,{attrX:e,attrY:i,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...c},d,p,f){if((0,n.O)(t,c,p),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:v}=t;m.transform&&(v.transform=m.transform,delete m.transform),(v.transform||m.transformOrigin)&&(v.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),v.transform&&(v.transformBox=f?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==a&&(m.scale=a),void 0!==l&&function(t,e,i=1,n=0,a=!0){t.pathLength=1;let l=a?s:o;t[l.offset]=r.px.transform(-n);let u=r.px.transform(e),h=r.px.transform(i);t[l.array]=`${u} ${h}`}(m,l,u,h,!1)}},95866:(t,e,i)=>{"use strict";i.d(e,{h:()=>r});var n=i(34275);function r(t){return(0,n.x)(t)&&"svg"===t.tagName}},96802:(t,e,i)=>{"use strict";i.d(e,{$:()=>s,q:()=>o});var n=i(13069);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},96981:(t,e,i)=>{"use strict";i.d(e,{N:()=>g});var n=i(14540),r=i(68256),s=i(65337),o=i(90409),a=i(14098),l=i(86401),u=i(77356),h=i(23200);class c extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,n=this.props.sizeRef.current;n.height=e.offsetHeight||0,n.width=e.offsetWidth||0,n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d(t){let{children:e,isPresent:i,anchorX:s,root:o}=t,a=(0,r.useId)(),l=(0,r.useRef)(null),u=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,r.useContext)(h.Q);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:r,right:h}=u.current;if(i||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let c=document.createElement("style");d&&(c.nonce=d);let p=null!=o?o:document.head;return p.appendChild(c),c.sheet&&c.sheet.insertRule('\n          [data-motion-pop-id="'.concat(a,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            ").concat("left"===s?"left: ".concat(r):"right: ".concat(h),"px !important;\n            top: ").concat(n,"px !important;\n          }\n        ")),()=>{p.removeChild(c),p.contains(c)&&p.removeChild(c)}},[i]),(0,n.jsx)(c,{isPresent:i,childRef:l,sizeRef:u,children:r.cloneElement(e,{ref:l})})}let p=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:a,custom:u,presenceAffectsLayout:h,mode:c,anchorX:p,root:m}=t,v=(0,o.M)(f),y=(0,r.useId)(),g=!0,x=(0,r.useMemo)(()=>(g=!1,{id:y,initial:i,isPresent:s,custom:u,onExitComplete:t=>
5{for(let e of(v.set(t,!0),v.values()))if(!e)return;a&&a()},register:t=>(v.set(t,!1),()=>v.delete(t))}),[s,v,a]);return h&&g&&(x={...x}),(0,r.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[s]),r.useEffect(()=>{s||v.size||!a||a()},[s]),"popLayout"===c&&(e=(0,n.jsx)(d,{isPresent:s,anchorX:p,root:m,children:e})),(0,n.jsx)(l.t.Provider,{value:x,children:e})};function f(){return new Map}var m=i(63486);let v=t=>t.key||"";function y(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let g=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:c="sync",propagate:d=!1,anchorX:f="left",root:g}=t,[x,w]=(0,m.xQ)(d),b=(0,r.useMemo)(()=>y(e),[e]),S=d&&!x?[]:b.map(v),T=(0,r.useRef)(!0),k=(0,r.useRef)(b),A=(0,o.M)(()=>new Map),[P,M]=(0,r.useState)(b),[E,C]=(0,r.useState)(b);(0,a.E)(()=>{T.current=!1,k.current=b;for(let t=0;t<E.length;t++){let e=v(E[t]);S.includes(e)?A.delete(e):!0!==A.get(e)&&A.set(e,!1)}},[E,S.length,S.join("-")]);let D=[];if(b!==P){let t=[...b];for(let e=0;e<E.length;e++){let i=E[e],n=v(i);S.includes(n)||(t.splice(e,0,i),D.push(i))}return"wait"===c&&D.length&&(t=D),C(y(t)),M(b),null}let{forceRender:V}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:E.map(t=>{let e=v(t),r=(!d||!!x)&&(b===E||S.includes(e));return(0,n.jsx)(p,{isPresent:r,initial:(!T.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:c,root:g,onExitComplete:r?void 0:()=>{if(!A.has(e))return;A.set(e,!0);let t=!0;A.forEach(e=>{e||(t=!1)}),t&&(null==V||V(),C(k.current),d&&(null==w||w()),u&&u())},anchorX:f,children:t},e)})})}},97432:(t,e,i)=>{"use strict";function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>s,pA:()=>r})},98100:(t,e,i)=>{"use strict";function n(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}i.d(e,{e:()=>n})},98846:(t,e,i)=>{"use strict";i.d(e,{I:()=>n});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},98991:(t,e,i)=>{var n=i(24637);t.exports=i(62840)(function(t,e,i){n(t,e,i)})}}]);

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.