PageSourceSearch

https://www.ophelias.ai/_next/static/chunks/0jfp7q_by-s8~.js?dpl=dpl_BMRj2U5uQJ1PBwxVktx5boKXAwpy

js ophelias.ai collected 2026-10-05 15:43:09 UTC 195,967 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31178,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["LayoutGroupContext",0,e])},47414,t=>{"use strict";var e=t.i(71645);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},74008,t=>{"use strict";var e=t.i(71645);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i],74008)},21476,t=>{"use strict";let e=(0,t.i(71645).createContext)(null);t.s(["PresenceContext",0,e])},42824,t=>{"use strict";t.s(["isObject",0,function(t){return"object"==typeof t&&null!==t}])},72846,t=>{"use strict";var e=t.i(42824);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},37806,t=>{"use strict";let e=(0,t.i(71645).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},64978,t=>{"use strict";var e=t.i(71645),i=t.i(21476);t.s(["useIsPresent",0,function(){var t;return null===(t=(0,e.useContext)(i.PresenceContext))||t.isPresent},"usePresence",0,function(t=!0){let s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:n,onExitComplete:r,register:o}=s,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!n&&r?[!1,l]:[!0]}])},88653,t=>{"use strict";t.i(47167);var e=t.i(43476),i=t.i(71645),s=t.i(31178),n=t.i(47414),r=t.i(74008),o=t.i(21476),a=t.i(72846),l=i,u=t.i(37806);function h(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends l.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,a.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,a.isHTMLElement)(t)&&t.offsetWidth||0,s=(0,a.isHTMLElement)(t)&&t.offsetHeight||0,n=getComputedStyle(e),r=this.props.sizeRef.current;r.height=parseFloat(n.height),r.width=parseFloat(n.width),r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left,r.bottom=s-r.height-r.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:s,anchorX:n,anchorY:r,root:o,pop:a}){let p=(0,l.useId)(),m=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:v}=(0,l.useContext)(u.MotionConfigContext),g=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,s=t.map(t=>{let s=h(t,e);return i||"function"!=typeof s||(i=!0),s});if(i)return()=>{for(let e=0;e<s.length;e++){let i=s[e];"function"==typeof i?i():h(t[e],null)}}}}(...t),t)}(m,t.props?.ref??t?.ref);return(0,l.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:l,right:u,bottom:h}=f.current;if(s||!1===a||!m.current||!t||!e)return;let c="left"===n?`left: ${l}`:`right: ${u}`,d="bottom"===r?`bottom: ${h}`:`top: ${i}`;m.current.dataset.motionPopId=p;let g=document.createElement("style");v&&(g.nonce=v);let y=o??document.head;return y.appendChild(g),g.sheet&&g.sheet.insertRule(`
2          [data-motion-pop-id="${p}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${e}px !important;
6            ${c}px !important;
7            ${d}px !important;
8          }
9        `),()=>{m.current?.removeAttribute("data-motion-pop-id"),y.contains(g)&&y.removeChild(g)}},[s]),(0,e.jsx)(c,{isPresent:s,childRef:m,sizeRef:f,pop:a,children:!1===a?t:l.cloneElement(t,{ref:g})})}let p=({children:t,initial:s,isPresent:r,onExitComplete:a,custom:l,presenceAffectsLayout:u,mode:h,anchorX:c,anchorY:p,root:f})=>{let v=(0,n.useConstant)(m),g=(0,i.useId)(),y=!0,x=(0,i.useMemo)(()=>(y=!1,{id:g,initial:s,isPresent:r,custom:l,onExitComplete:t=>
9{for(let e of(v.set(t,!0),v.values()))if(!e)return;a&&a()},register:t=>(v.set(t,!1),()=>v.delete(t))}),[r,v,a]);return u&&y&&(x={...x}),(0,i.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[r]),i.useEffect(()=>{r||v.size||!a||a()},[r]),t=(0,e.jsx)(d,{pop:"popLayout"===h,isPresent:r,anchorX:c,anchorY:p,root:f,children:t}),(0,e.jsx)(o.PresenceContext.Provider,{value:x,children:t})};function m(){return new Map}var f=t.i(64978);let v=t=>t.key||"";function g(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}t.s(["AnimatePresence",0,({children:t,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:d="left",anchorY:m="top",root:y})=>{let[x,w]=(0,f.usePresence)(c),S=(0,i.useMemo)(()=>g(t),[t]),b=c&&!x?[]:S.map(v),T=(0,i.useRef)(!0),M=(0,i.useRef)(S),P=(0,n.useConstant)(()=>new Map),E=(0,i.useRef)(new Set),[V,C]=(0,i.useState)(S),[A,L]=(0,i.useState)(S);(0,r.useIsomorphicLayoutEffect)(()=>{T.current=!1,M.current=S;for(let t=0;t<A.length;t++){let e=v(A[t]);b.includes(e)?(P.delete(e),E.current.delete(e)):!0!==P.get(e)&&P.set(e,!1)}},[A,b.length,b.join("-")]);let R=[];if(S!==V){let t=[...S];for(let e=0;e<A.length;e++){let i=A[e],s=v(i);b.includes(s)||(t.splice(e,0,i),R.push(i))}return"wait"===h&&R.length&&(t=R),L(g(t)),C(S),null}let{forceRender:k}=(0,i.useContext)(s.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:A.map(t=>{let i=v(t),s=(!c||!!x)&&(S===A||b.includes(i));return(0,e.jsx)(p,{isPresent:s,initial:(!T.current||!!a)&&void 0,custom:o,presenceAffectsLayout:u,mode:h,root:y,onExitComplete:s?void 0:()=>{if(E.current.has(i)||!P.has(i))return;E.current.add(i),P.set(i,!0);let t=!0;P.forEach(e=>{e||(t=!1)}),t&&(k?.(),L(M.current),c&&w?.(),l&&l())},anchorX:d,anchorY:m,children:t},i)})})}],88653)},57788,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",0,e,"transformProps",0,i])},76959,t=>{"use strict";t.s(["clamp",0,(t,e,i)=>i>e?e:i<t?t:i])},79444,76307,30677,66820,63011,65091,22660,69577,t=>{"use strict";var e=t.i(76959);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...i,transform:t=>(0,e.clamp)(0,1,t)},n={...i,default:1};t.s(["alpha",0,s,"number",0,i,"scale",0,n],76307);let r=t=>Math.round(1e5*t)/1e5,o=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["floatRegex",0,o],30677);let a=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,l=(t,e)=>i=>!!("string"==typeof i&&a.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),u=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[n,r,a,l]=s.match(o);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},h={...i,transform:t=>Math.round((0,e.clamp)(0,255,t))},c={test:l("rgb","red"),parse:u("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+h.transform(t)+", "+h.transform(e)+", "+h.transform(i)+", "+r(s.transform(n))+")"};t.s(["rgba",0,c],66820);let d={test:l("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:c.transform};t.s(["hex",0,d],63011);let p=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),m=p("deg"),f=p("%"),v=p("px"),g=p("vh"),y=p("vw"),x={...f,parse:t=>f.parse(t)/100,transform:t=>f.transform(100*t)};t.s(["degrees",0,m,"percent",0,f,"progressPercentage",0,x,"px",0,v,"vh",0,g,"vw",0,y],65091);let w={test:l("hsl","hue"),parse:u("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+f.transform(r(e))+", "+f.transform(r(i))+", "+r(s.transform(n))+")"};t.s(["hsla",0,w],22660);let S={test:t=>c.test(t)||d.test(t)||w.test(t),parse:t=>c.test(t)?c.parse(t):w.test(t)?w.parse(t):d.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?c.transform(t):w.transform(t),getAnimatableNone:t=>{let e=S.parse(t);return e.alpha=0,S.transform(e)}};t.s(["color",0,S],79444);let b=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,T="number",M="color",P=/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 E(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,o=e.replace(P,t=>(S.test(t)?(s.color.push(r),n.push(M),i.push(S.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(T),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:s,types:n}}function V({split:t,types:e}){let i=t.length;return s=>{let n="";for(let o=0;o<i;o++)if(n+=t[o],void 0!==s[o]){let t=e[o];t===T?n+=r(s[o]):t===M?n+=S.transform(s[o]):n+=s[o]}return n}}
9t.s(["analyseComplexValue",0,E,"complex",0,{test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(o)?.length||0)+(t.match(b)?.length||0)>0},parse:function(t){return E(t).values},createTransformer:function(t){return V(E(t))},getAnimatableNone:function(t){let e=E(t);return V(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:S.test(t)?S.getAnimatableNone(t):t)(t,e.split[i])))}}],69577)},3973,8792,19991,34929,30162,t=>{"use strict";var e=t.i(79444),i=t.i(69577),s=t.i(30677);let n=new Set(["brightness","contrast","saturate","opacity"]);function r(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(s.floatRegex)||[];if(!r)return t;let o=i.replace(r,""),a=+!!n.has(e);return r!==i&&(a*=100),e+"("+a+o+")"}let o=/\b([a-z-]*)\(.*?\)/gu,a={...i.complex,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(r).join(" "):t}};t.s(["filter",0,a],8792);let l={...i.complex,getAnimatableNone:t=>{let e=i.complex.parse(t);return i.complex.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};t.s(["mask",0,l],19991);var u=t.i(76307);let h={...u.number,transform:Math.round};var c=t.i(65091);let d={rotate:c.degrees,rotateX:c.degrees,rotateY:c.degrees,rotateZ:c.degrees,scale:u.scale,scaleX:u.scale,scaleY:u.scale,scaleZ:u.scale,skew:c.degrees,skewX:c.degrees,skewY:c.degrees,distance:c.px,translateX:c.px,translateY:c.px,translateZ:c.px,x:c.px,y:c.px,z:c.px,perspective:c.px,transformPerspective:c.px,opacity:u.alpha,originX:c.progressPercentage,originY:c.progressPercentage,originZ:c.px},p={borderWidth:c.px,borderTopWidth:c.px,borderRightWidth:c.px,borderBottomWidth:c.px,borderLeftWidth:c.px,borderRadius:c.px,borderTopLeftRadius:c.px,borderTopRightRadius:c.px,borderBottomRightRadius:c.px,borderBottomLeftRadius:c.px,width:c.px,maxWidth:c.px,height:c.px,maxHeight:c.px,top:c.px,right:c.px,bottom:c.px,left:c.px,inset:c.px,insetBlock:c.px,insetBlockStart:c.px,insetBlockEnd:c.px,insetInline:c.px,insetInlineStart:c.px,insetInlineEnd:c.px,padding:c.px,paddingTop:c.px,paddingRight:c.px,paddingBottom:c.px,paddingLeft:c.px,paddingBlock:c.px,paddingBlockStart:c.px,paddingBlockEnd:c.px,paddingInline:c.px,paddingInlineStart:c.px,paddingInlineEnd:c.px,margin:c.px,marginTop:c.px,marginRight:c.px,marginBottom:c.px,marginLeft:c.px,marginBlock:c.px,marginBlockStart:c.px,marginBlockEnd:c.px,marginInline:c.px,marginInlineStart:c.px,marginInlineEnd:c.px,fontSize:c.px,backgroundPositionX:c.px,backgroundPositionY:c.px,...d,zIndex:h,fillOpacity:u.alpha,strokeOpacity:u.alpha,numOctaves:h};t.s(["numberValueTypes",0,p],34929);let m={...p,color:e.color,backgroundColor:e.color,outlineColor:e.color,fill:e.color,stroke:e.color,borderColor:e.color,borderTopColor:e.color,borderRightColor:e.color,borderBottomColor:e.color,borderLeftColor:e.color,filter:a,WebkitFilter:a,mask:l,WebkitMask:l};t.s(["getDefaultValueType",0,t=>m[t]],3973);let f=()=>({translate:0,scale:1,origin:0,originPoint:0}),v=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:v(),y:v()}),"createDelta",0,()=>({x:f(),y:f()})],30162)},83411,t=>{"use strict";t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)])},64440,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(57788).transformPropOrder]);t.s(["positionalKeys",0,e])},77942,84061,t=>{"use strict";var e=t.i(76307),i=t.i(65091);let s=t=>e=>e.test(t);t.s(["testValueType",0,s],84061);let n=[e.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}];t.s(["dimensionValueTypes",0,n,"findDimensionValueType",0,t=>n.find(s(t))],77942)},65566,t=>{"use strict";t.i(47167).default,t.s(["invariant",0,()=>{},"warning",0,()=>{}],65566)},72590,t=>{"use strict";t.s(["isNumericalString",0,t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)])},19928,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),s=e("var(--"),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["containsCSSVariable",0,function(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")},"isCSSVariableName",0,i,"isCSSVariableToken",0,t=>!!s(t)&&n.test(t.split("/*")[0].trim())])},84015,t=>{"use strict";var e=t.i(65566),i=t.i(72590),s=t.i(19928);let n=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;t.s(["getVariableValue",0,function t(r,o,a=1){(0,e.invariant)(a<=4,`Max CSS variable fallback depth detected in property "${r}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[l,u]=function(t){let e=n.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${i??s}`,r]}(r);if(!l)return;let h=window.getComputedStyle(o).getPropertyValue(l);if(h){let t=h.trim();return(0,i.isNumericalString)(t)?parseFloat(t):t}return(0,s.isCSSVariableToken)(u)?t(u,o,a+1):u}])},11485,81296,t=>{"use strict";t.s(["fillWildcards",0,function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}],11485);let e=t=>180*t/Math.PI,i=t=>
9n(e(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:i,rotateZ:i,skewX:t=>e(Math.atan(t[1])),skewY:t=>e(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},n=t=>((t%=360)<0&&(t+=360),t),r=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),o=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),a={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:r,scaleY:o,scale:t=>(r(t)+o(t))/2,rotateX:t=>n(e(Math.atan2(t[6],t[5]))),rotateY:t=>n(e(Math.atan2(-t[2],t[0]))),rotateZ:i,rotate:i,skewX:t=>e(Math.atan(t[4])),skewY:t=>e(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function l(t){return+!!t.includes("scale")}function u(t,e){let i,n;if(!t||"none"===t)return l(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=a,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return l(e);let o=i[e],u=n[1].split(",").map(h);return"function"==typeof o?o(u):u[o]}function h(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",0,l,"parseValueFromTransform",0,u,"readTransformValue",0,(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return u(i,e)}],81296)},44493,t=>{"use strict";var e=t.i(81296),i=t.i(57788),s=t.i(76307),n=t.i(65091);let r=new Set(["x","y","z"]),o=i.transformPropOrder.filter(t=>!r.has(t)),a={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:s})=>{let n=t.max-t.min;return"border-box"===s?n:n-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:s})=>{let n=t.max-t.min;return"border-box"===s?n:n-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:i})=>(0,e.parseValueFromTransform)(i,"x"),y:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"y")};a.translateX=a.x,a.translateY=a.y,t.s(["isNumOrPxType",0,t=>t===s.number||t===n.px,"positionalValues",0,a,"removeNonTranslationalTransform",0,function(t){let e=[];return o.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}])},60830,t=>{"use strict";t.s(["noop",0,t=>t])},46791,t=>{"use strict";t.s(["MotionGlobalConfig",0,{}])},87022,80248,51571,t=>{"use strict";var e=t.i(60830),i=t.i(46791);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],n={value:null,addProjectionMetrics:null};function r(t,e){let r=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=s.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=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,n=!1)=>{let o=n&&r?i:s;return e&&a.add(t),o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0;let a=i;i=s,s=a,i.forEach(h),e&&n.value&&n.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:m,preRender:f,render:v,postRender:g}=u,y=()=>{let s=i.MotionGlobalConfig.useManualTiming,n=s?a.timestamp:performance.now();r=!1,s||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),p.process(a),m.process(a),f.process(a),v.process(a),g.process(a),a.isProcessing=!1,r&&e&&(o=!1,t(y))};return{schedule:s.reduce((e,i)=>{let s=u[i];return e[i]=(e,i=!1,n=!1)=>(!r&&(r=!0,o=!0,a.isProcessing||t(y)),s.schedule(e,i,n)),e},{}),cancel:t=>{for(let e=0;e<s.length;e++)u[s[e]].cancel(t)},state:a,steps:u}}t.s(["statsBuffer",0,n],80248),t.s(["createRenderBatcher",0,r],51571);let{schedule:o,cancel:a,state:l,steps:u}=r("u">typeof requestAnimationFrame?requestAnimationFrame:e.noop,!0);t.s(["cancelFrame",0,a,"frame",0,o,"frameData",0,l,"frameSteps",0,u],87022)},21012,t=>{"use strict";var e=t.i(11485),i=t.i(44493),s=t.i(87022);let n=new Set,r=!1,o=!1,a=!1;function l(){if(o){let t=Array.from(n).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),s=new Map;e.forEach(t=>{let e=(0,i.removeNonTranslationalTransform)(t);e.length&&(s.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=s.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)})}
9o=!1,r=!1,n.forEach(t=>t.complete(a)),n.clear()}function u(){n.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}t.s(["KeyframeResolver",0,class{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(n.add(this),r||(r=!0,s.frame.read(u),s.frame.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:i,element:s,motionValue:n}=this;if(null===t[0]){let e=n?.get(),r=t[t.length-1];if(void 0!==e)t[0]=e;else if(s&&i){let e=s.readValue(i,r);null!=e&&(t[0]=e)}void 0===t[0]&&(t[0]=r),n&&void 0===e&&n.set(t[0])}(0,e.fillWildcards)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),n.delete(this)}cancel(){"scheduled"===this.state&&(n.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},"flushKeyframeResolvers",0,function(){a=!0,u(),l(),a=!1}])},46436,47507,75554,t=>{"use strict";var e=t.i(64440),i=t.i(77942),s=t.i(84015),n=t.i(19928),r=t.i(21012);let o=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,o],47507);var a=t.i(69577),l=t.i(8792),u=t.i(19991),h=t.i(3973);let c=new Set([l.filter,u.mask]);function d(t,e){let i=(0,h.getDefaultValueType)(t);return c.has(i)||(i=a.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getAnimatableNone",0,d],75554);let p=new Set(["auto","none","0"]);var m=t.i(44493);class f extends r.KeyframeResolver{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let e=0;e<t.length;e++){let i=t[e];if("string"==typeof i&&(i=i.trim(),(0,n.isCSSVariableToken)(i))){let n=(0,s.getVariableValue)(i,r.current);void 0!==n&&(t[e]=n),e===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(o)||2!==t.length)return;let[a,l]=t,u=(0,i.findDimensionValueType)(a),h=(0,i.findDimensionValueType)(l);if((0,n.containsCSSVariable)(a)!==(0,n.containsCSSVariable)(l)&&m.positionalValues[o]){this.needsMeasurement=!0;return}if(u!==h)if((0,m.isNumOrPxType)(u)&&(0,m.isNumOrPxType)(h))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else m.positionalValues[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;(null===t[e]||("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||o(s)))&&i.push(e)}i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!p.has(e)&&(0,a.analyseComplexValue)(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=d(i,s)}(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=m.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=m.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",0,f],46436)},63074,t=>{"use strict";t.s(["millisecondsToSeconds",0,t=>t/1e3,"secondsToMilliseconds",0,t=>1e3*t])},70596,33887,t=>{"use strict";function e(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["addUniqueItem",0,e,"removeItem",0,i],33887),t.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(t){return e(this.subscriptions,t),()=>i(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}],70596)},94581,60900,86902,30551,t=>{"use strict";function e(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["setStyle",0,function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}],94581),t.s(["memo",0,e],60900);let i={};function s(t,s){let n=e(t);return()=>i[s]??n()}t.s(["memoSupports",0,s],86902);let n=s(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),r=s(()=>void 0!==window.ViewTimeline,"viewTimeline");t.s(["supportsScrollTimeline",0,n,"supportsViewTimeline",0,r],30551)},14229,t=>{"use strict";let e=t=>null!==t;t.s(["getFinalKeyframe",0,function(t,{repeat:i,repeatType:s="loop"},n,r=1){let o=t.filter(e),a=r<0||i&&"loop"!==s&&i%2==1?0:o.length-1;return a&&void 0!==n?n:o[a]}])},79294,t=>{"use strict";t.s(["WithPromise",0,class{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)}}])},4169,t=>{"use strict";t.s(["activeAnimations",0,{layout:0,mainThread:0,waapi:0}])},60855,t=>{"use strict";t.s(["isBezierDefinition",0,t=>Array.isArray(t)&&"number"==typeof t[0]])},53396,t=>{"use strict";
9let e=(0,t.i(86902).memoSupports)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");t.s(["supportsLinearEasing",0,e])},56512,t=>{"use strict";t.s(["generateLinearEasing",0,(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`}])},35474,t=>{"use strict";var e=t.i(4169),i=t.i(80248),s=t.i(60855),n=t.i(53396),r=t.i(56512);let o=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,a={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:o([0,.65,.55,1]),circOut:o([.55,0,1,.45]),backIn:o([.31,.01,.66,-.59]),backOut:o([.33,1.53,.69,.99])};t.s(["startWaapiAnimation",0,function(t,l,u,{delay:h=0,duration:c=300,repeat:d=0,repeatType:p="loop",ease:m="easeOut",times:f}={},v){let g={[l]:u};f&&(g.offset=f);let y=function t(e,i){if(e)return"function"==typeof e?(0,n.supportsLinearEasing)()?(0,r.generateLinearEasing)(e,i):"ease-out":(0,s.isBezierDefinition)(e)?o(e):Array.isArray(e)?e.map(e=>t(e,i)||a.easeOut):a[e]}(m,c);Array.isArray(y)&&(g.easing=y),i.statsBuffer.value&&e.activeAnimations.waapi++;let x={delay:h,duration:c,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:d+1,direction:"reverse"===p?"alternate":"normal"};v&&(x.pseudoElement=v);let w=t.animate(g,x);return i.statsBuffer.value&&w.finished.finally(()=>{e.activeAnimations.waapi--}),w}],35474)},97307,t=>{"use strict";t.s(["isGenerator",0,function(t){return"function"==typeof t&&"applyToOptions"in t}])},68e3,t=>{"use strict";var e=t.i(65566),i=t.i(63074),s=t.i(60830),n=t.i(94581),r=t.i(30551),o=t.i(14229),a=t.i(79294),l=t.i(35474),u=t.i(53396),h=t.i(97307);class c extends a.WithPromise{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:i,name:s,keyframes:r,pseudoElement:a,allowFlatten:c=!1,finalKeyframe:d,onComplete:p}=t;this.isPseudoElement=!!a,this.allowFlatten=c,this.options=t,(0,e.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const m=function({type:t,...e}){return(0,h.isGenerator)(t)&&(0,u.supportsLinearEasing)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=(0,l.startWaapiAnimation)(i,s,r,m,a),!1===m.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let t=(0,o.getFinalKeyframe)(r,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,n.setStyle)(i,s,t),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,i.millisecondsToSeconds)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,i.millisecondsToSeconds)(t)}get time(){return(0,i.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.secondsToMilliseconds)(t),e&&this.animation.pause()}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 this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,r.supportsScrollTimeline)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),s.noop):n(this)}}t.s(["NativeAnimation",0,c],68e3)},62118,t=>{"use strict";let e=new Set(["opacity","clipPath","filter","transform"]);t.s(["acceleratedValues",0,e])},60140,t=>{"use strict";let{schedule:e}=(0,t.i(51571).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,e])},96173,t=>{"use strict";let e;var i=t.i(46791),s=t.i(87022);function n(){e=void 0}let r={now:()=>(void 0===e&&r.set(s.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?s.frameData.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(n)}};t.s(["time",0,r])},25791,t=>{"use strict";t.s(["velocityPerSecond",0,function(t,e){return e?1e3/e*t:0}])},86427,t=>{"use strict";var e=t.i(70596),i=t.i(25791),s=t.i(96173),n=t.i(87022);let r={current:void 0};class o{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.time.now();if(this.updatedAt!==e&&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()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.time.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,i){this.events[t]||(this.events[t]=new e.SubscriptionManager);let s=this.events[t].add(i);return"change"===t?()=>{s(),n.frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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 r.current&&r.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.time.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,i.velocityPerSecond)(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()}}t.s(["collectMotionValues",0,r,"motionValue",0,function(t,e){return new o(t,e)}])},66538,t=>{"use strict";var e=t.i(79444),i=t.i(69577),s=t.i(77942),n=t.i(84061);let r=[...s.dimensionValueTypes,e.color,i.complex];t.s(["findValueType",0,t=>r.find((0,n.testValueType)(t))])},72094,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",0,e])},87576,85983,32525,6840,58163,71164,38544,t=>{"use strict";function e(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function i(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,e],85983),t.s(["isVariantLabel",0,i],32525);let s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...s];function r(t){return e(t.animate)||n.some(e=>i(t[e]))}t.s(["variantPriorityOrder",0,s,"variantProps",0,n],6840),t.s(["isControllingVariants",0,r,"isVariantNode",0,function(t){return!!(r(t)||t.variants)}],87576);var o=t.i(86427),a=t.i(83411);
9t.s(["updateMotionValuesFromProps",0,function(t,e,i){for(let s in e){let n=e[s],r=i[s];if((0,a.isMotionValue)(n))t.addValue(s,n);else if((0,a.isMotionValue)(r))t.addValue(s,(0,o.motionValue)(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,(0,o.motionValue)(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}],58163);let l={current:null},u={current:!1};t.s(["hasReducedMotionListener",0,u,"prefersReducedMotion",0,l],71164);let h="u">typeof window;t.s(["initPrefersReducedMotion",0,function(){if(u.current=!0,h)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>l.current=t.matches;t.addEventListener("change",e),e()}else l.current=!1}],38544)},86579,t=>{"use strict";function e(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}t.s(["resolveVariantFromProps",0,function(t,i,s,n){if("function"==typeof i){let[r,o]=e(n);i=i(void 0!==s?s:t.custom,r,o)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[r,o]=e(n);i=i(void 0!==s?s:t.custom,r,o)}return i}])},94978,17218,t=>{"use strict";var e=t.i(83411),i=t.i(46436);t.i(47167);var s=t.i(63074),n=t.i(72590),r=t.i(47507),o=t.i(70596),a=t.i(21012),l=t.i(68e3),u=t.i(62118),h=t.i(60140),c=t.i(96173),d=t.i(30162),p=t.i(86427),m=t.i(69577),f=t.i(75554),v=t.i(66538),g=t.i(72094),y=t.i(87576),x=t.i(57788),w=t.i(58163),S=t.i(38544),b=t.i(86579),T=t.i(71164),M=t.i(87022);let P=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],E={};class V{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:o,visualState:l},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=a.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=c.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,M.frame.render(this.render,!1,!0))};const{latestValues:h,renderState:d}=l;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=d,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=u,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,y.isControllingVariants)(i),this.isVariantNode=(0,y.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const t in m){const i=m[t];void 0!==h[t]&&(0,e.isMotionValue)(i)&&i.set(h[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,g.visualElementStore.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(T.hasReducedMotionListener.current||(0,S.initPrefersReducedMotion)(),this.shouldReduceMotion=T.prefersReducedMotion.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,M.cancelFrame)(this.notifyUpdate),(0,M.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&u.acceleratedValues.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:o,duration:a}=e.accelerate,u=new l.NativeAnimation({element:this.current,name:t,keyframes:n,times:r,ease:o,duration:(0,s.secondsToMilliseconds)(a)}),h=i(u);this.valueSubscriptions.set(t,()=>{h(),u.cancel()});return}let n=x.transformProps.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&M.frame.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),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 E){let e=E[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
9e.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,d.createBox)()}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<P.length;e++){let i=P[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=(0,w.updateMotionValuesFromProps)(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,p.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,i){let s=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=s&&("string"==typeof s&&((0,n.isNumericalString)(s)||(0,r.isZeroValueString)(s))?s=parseFloat(s):!(0,v.findValueType)(s)&&m.complex.test(i)&&(s=(0,f.getAnimatableNone)(t,i)),this.setBaseTarget(t,(0,e.isMotionValue)(s)?s.get():s)),(0,e.isMotionValue)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let i,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let e=(0,b.resolveVariantFromProps)(this.props,s,this.presenceContext?.custom);e&&(i=e[t])}if(s&&void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,e.isMotionValue)(n)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new o.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){h.microtask.render(this.render)}}t.s(["VisualElement",0,V,"getFeatureDefinitions",0,function(){return E},"setFeatureDefinitions",0,function(t){E=t}],17218),t.s(["DOMVisualElement",0,class extends V{constructor(){super(...arguments),this.KeyframeResolver=i.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[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,e.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}],94978)},93787,t=>{"use strict";t.s(["camelToDash",0,function(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}])},81261,44947,38698,99951,49095,88826,91018,t=>{"use strict";let e=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var i=t.i(34929),s=t.i(57788),n=t.i(19928);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=s.transformPropOrder.length;function a(t,a,l){let{style:u,vars:h,transformOrigin:c}=t,d=!1,p=!1;for(let t in a){let r=a[t];if(s.transformProps.has(t)){d=!0;continue}if((0,n.isCSSVariableName)(t)){h[t]=r;continue}{let s=e(r,i.numberValueTypes[t]);t.startsWith("origin")?(p=!0,c[t]=s):u[t]=s}}if(!a.transform&&(d||l?u.transform=function(t,n,a){let l="",u=!0;for(let h=0;h<o;h++){let o=s.transformPropOrder[h],c=t[o];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===+!!o.startsWith("scale");else{let t=parseFloat(c);d=o.startsWith("scale")?1===t:0===t}if(!d||a){let t=e(c,i.numberValueTypes[o]);if(!d){u=!1;let e=r[o]||o;l+=`${e}(${t}) `}a&&(n[o]=t)}}return l=l.trim(),a?l=a(n,u?"":l):u&&(l="none"),l}(a,t.transform,l):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",0,a],44947);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},u={offset:"strokeDashoffset",array:"strokeDasharray"},h=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];t.s(["buildSVGAttrs",0,function(t,{attrX:e,attrY:i,attrScale:s,pathLength:n,pathSpacing:r=1,pathOffset:o=0,...c}
9,d,p,m){if(a(t,c,p),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:v}=t;for(let t of(f.transform&&(v.transform=f.transform,delete f.transform),(v.transform||f.transformOrigin)&&(v.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),v.transform&&(v.transformBox=m?.transformBox??"fill-box",delete f.transformBox),h))void 0!==f[t]&&(v[t]=f[t],delete f[t]);void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==s&&(f.scale=s),void 0!==n&&function(t,e,i=1,s=0,n=!0){t.pathLength=1;let r=n?l:u;t[r.offset]=`${-s}`,t[r.array]=`${e} ${i}`}(f,n,r,o,!1)}],81261);let c=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"]);t.s(["camelCaseAttributes",0,c],38698),t.s(["isSVGTag",0,t=>"string"==typeof t&&"svg"===t.toLowerCase()],99951);var d=t.i(93787);function p(t,{style:e,vars:i},s,n){let r,o=t.style;for(r in e)o[r]=e[r];for(r in n?.applyProjectionStyles(o,s),i)o.setProperty(r,i[r])}t.s(["renderHTML",0,p],49095),t.s(["renderSVG",0,function(t,e,i,s){for(let i in p(t,e,void 0,s),e.attrs)t.setAttribute(c.has(i)?i:(0,d.camelToDash)(i),e.attrs[i])}],88826);var m=t.i(65091);function f(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let v={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!m.px.test(t))return t;else t=parseFloat(t);let i=f(t,e.target.x),s=f(t,e.target.y);return`${i}% ${s}%`}};t.s(["correctBorderRadius",0,v],91018)},706,t=>{"use strict";t.s(["mixNumber",0,(t,e,i)=>t+(e-t)*i])},54505,24463,30789,84049,67926,75737,27677,77777,35636,53689,86783,44966,t=>{"use strict";var e=t.i(57788),i=t.i(3973),s=t.i(30162),n=t.i(94978),r=t.i(93787),o=t.i(81261),a=t.i(38698),l=t.i(99951),u=t.i(88826),h=t.i(83411),c=t.i(19928),d=t.i(91018),p=t.i(69577),m=t.i(706);let f={borderRadius:{...d.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d.correctBorderRadius,borderTopRightRadius:d.correctBorderRadius,borderBottomLeftRadius:d.correctBorderRadius,borderBottomRightRadius:d.correctBorderRadius,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=p.complex.parse(t);if(s.length>5)return t;let n=p.complex.createTransformer(t),r=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+r]/=o,s[1+r]/=a;let l=(0,m.mixNumber)(o,a,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),n(s)}}};function v(t,{layout:i,layoutId:s}){return e.transformProps.has(t)||t.startsWith("origin")||(i||void 0!==s)&&(!!f[t]||"opacity"===t)}function g(t,e,i){let s=t.style,n=e?.style,r={};if(!s)return r;for(let e in s)((0,h.isMotionValue)(s[e])||n&&(0,h.isMotionValue)(n[e])||v(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=s[e]);return r}function y(t,i,s){let n=g(t,i,s);for(let s in t)((0,h.isMotionValue)(t[s])||(0,h.isMotionValue)(i[s]))&&(n[-1!==e.transformPropOrder.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]);return n}t.s(["scaleCorrectors",0,f],24463),t.s(["isForcedMotionValue",0,v],30789),t.s(["scrapeMotionValuesFromProps",0,g],84049),t.s(["scrapeMotionValuesFromProps",0,y],67926);class x extends n.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,s){if(e.transformProps.has(s)){let t=(0,i.getDefaultValueType)(s);return t&&t.default||0}
9return s=a.camelCaseAttributes.has(s)?s:(0,r.camelToDash)(s),t.getAttribute(s)}scrapeMotionValuesFromProps(t,e,i){return y(t,e,i)}build(t,e,i){(0,o.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){(0,u.renderSVG)(t,e,i,s)}mount(t){this.isSVGTag=(0,l.isSVGTag)(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",0,x],75737);var w=t.i(81296);function S({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function b(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function T(t){return void 0===t||1===t}function M({scale:t,scaleX:e,scaleY:i}){return!T(t)||!T(e)||!T(i)}function P(t){return M(t)||E(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function E(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["convertBoundingBoxToBox",0,S,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,b],27677);function V(t,e,i){return i+e*(t-i)}function C(t,e,i,s,n){return void 0!==n&&(t=V(t,n,s)),V(t,i,s)+e}function A(t,e=0,i=1,s,n){t.min=C(t.min,e,i,s,n),t.max=C(t.max,e,i,s,n)}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 R(t,e){t.min+=e,t.max+=e}function k(t,e,i,s,n=.5){let r=(0,m.mixNumber)(t.min,t.max,n);A(t,e,i,r,s)}function D(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function j(t,e,i){let s=i??t;k(t.x,D(e.x,s.x),e.scaleX,e.scale,e.originX),k(t.y,D(e.y,s.y),e.scaleY,e.scale,e.originY)}function B(t,e){return S(b(t.getBoundingClientRect(),e))}t.s(["has2DTranslate",0,E,"hasScale",0,M,"hasTransform",0,P],77777),t.s(["applyBoxDelta",0,L,"applyTreeDeltas",0,function(t,e,i,s=!1){let n,r,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){r=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(s&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(R(t.x,-n.scroll.offset.x),R(t.y,-n.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,L(t,r)),s&&P(n.latestValues)&&j(t,n.latestValues,n.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,V,"transformBox",0,j,"translateAxis",0,R],35636),t.s(["measurePageBox",0,function(t,e,i){let s=B(t,i),{scroll:n}=e;return n&&(R(s.x,n.offset.x),R(s.y,n.offset.y)),s},"measureViewportBox",0,B],53689);var _=n,F=t.i(44947),O=t.i(49095);class N extends _.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=O.renderHTML}readValueFromInstance(t,i){if(e.transformProps.has(i))return this.projection?.isProjecting?(0,w.defaultTransformValue)(i):(0,w.readTransformValue)(t,i);{let e=window.getComputedStyle(t),s=((0,c.isCSSVariableName)(i)?e.getPropertyValue(i):e[i])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return B(t,e)}build(t,e,i){(0,F.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return g(t,e,i)}}t.s(["HTMLVisualElement",0,N],86783);var I=t.i(71645);let G=["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 H(t){if("string"!=typeof t||t.includes("-"));else if(G.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,H],44966),t.s(["createDomVisualElement",0,(t,e)=>e.isSVG??H(t)?new x(e):new N(e,{allowProjection:t!==I.Fragment})],54505)},48070,t=>{"use strict";let e=(0,t.i(71645).createContext)({strict:!1});t.s(["LazyContext",0,e])},88291,82474,86549,11587,8576,30665,33871,t=>{"use strict";var e,i=t.i(71645);let s=(0,i.createContext)({});t.s(["MotionContext",0,s],88291);var n=t.i(87576),r=t.i(32525);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:e,animate:a}=function(t,e){if((0,n.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,r.isVariantLabel)(e)?e:void 0,animate:(0,r.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(s));return(0,i.useMemo)(()=>({initial:e,animate:a}),[o(e),o(a)])}],82474);var a=t.i(83411),l=t.i(30789),u=t.i(44947);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
9function c(t,e,i){for(let s in e)(0,a.isMotionValue)(e[s])||(0,l.isForcedMotionValue)(s,i)||(t[s]=e[s])}t.s(["createHtmlRenderState",0,h],86549);var d=t.i(81261),p=t.i(99951);let m=()=>({...h(),attrs:{}});t.s(["createSvgRenderState",0,m],11587);let f=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function v(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||f.has(t)}let g=t=>!v(t);try{e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof e&&(g=t=>t.startsWith("on")?!v(t):e(t))}catch{}var y=t.i(44966);t.s(["useRender",0,function(t,e,s,{latestValues:n},r,o=!1,l){let f=(l??(0,y.isSVGComponent)(t)?function(t,e,s,n){let r=(0,i.useMemo)(()=>{let i=m();return(0,d.buildSVGAttrs)(i,e,(0,p.isSVGTag)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};c(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let s,n,r={},o=(s=t.style||{},c(n={},s,t),Object.assign(n,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{let i=h();return(0,u.buildHTMLStyles)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r})(e,n,r,t),x=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!(0,a.isMotionValue)(t[n])&&(g(n)||!0===i&&v(n)||!e&&!v(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(e,"string"==typeof t,o),w=t!==i.Fragment?{...x,...f,ref:s}:{},{children:S}=e,b=(0,i.useMemo)(()=>(0,a.isMotionValue)(S)?S.get():S,[S]);return(0,i.createElement)(t,{...w,children:b})}],8576);var x=t.i(84049);t.s(["scrapeHTMLMotionValuesFromProps",()=>x.scrapeMotionValuesFromProps],30665),t.s(["resolveMotionValue",0,function(t){return(0,a.isMotionValue)(t)?t.get():t}],33871)},11805,1664,76948,13565,21967,83640,t=>{"use strict";var e=t.i(30665),i=t.i(33871),s=t.i(87576),n=t.i(85983),r=t.i(86579),o=t.i(71645),a=t.i(88291),l=t.i(21476),u=t.i(47414);let h=t=>(e,h)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},o,a,l){return{latestValues:function(t,e,o,a){let l={},u=a(t,{});for(let t in u)l[t]=(0,i.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,s.isControllingVariants)(t),p=(0,s.isVariantNode)(t);e&&p&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let m=!!o&&!1===o.initial,f=(m=m||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,n.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let s=(0,r.resolveVariantFromProps)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=m?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(o,a,l,t),renderState:e()}})(t,e,c,d);return h?p():(0,u.useConstant)(p)};var c=t.i(86549);let d=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],11805);var p=t.i(67926),p=p,m=t.i(11587);let f=h({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});t.s(["useSVGVisualState",0,f],1664);var v=t.i(17218);let g={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"]},y=!1;function x(){return!function(){if(y)return;let t={};for(let e in g)t[e]={isEnabled:t=>g[e].some(e=>!!t[e])};(0,v.setFeatureDefinitions)(t),y=!0}(),(0,v.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,x],76948),t.s(["loadFeatures",0,function(t){let e=x();for(let i in t)e[i]={...e[i],...t[i]};(0,v.setFeatureDefinitions)(e)}],13565);let w=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,w],21967),t.s(["useMotionRef",0,function(t,e,
9i){let s=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{s.current=i});let n=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&t.onMount?.(i);let r=s.current;if("function"==typeof r)if(i){let t=r(i);"function"==typeof t&&(n.current=t)}else n.current?(n.current(),n.current=null):r(i);else r&&(r.current=i);e&&(i?e.mount(i):e.unmount())},[e])}],83640)},35043,t=>{"use strict";let e="data-"+(0,t.i(93787).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,e])},4035,25522,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["SwitchLayoutGroupContext",0,e],4035),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],25522)},7051,42098,t=>{"use strict";t.i(47167);var e=t.i(43476),i=t.i(71645),s=t.i(31178),n=t.i(48070),r=t.i(37806),o=t.i(88291),a=t.i(82474),l=t.i(8576),u=t.i(44966),h=t.i(11805),c=t.i(1664),d=t.i(76948),p=t.i(13565),m=t.i(21967),f=t.i(83640),v=t.i(35043),g=t.i(21476),y=t.i(4035),x=t.i(25522),w=t.i(74008);function S(t,{forwardMotionProps:b=!1,type:T}={},M,P){M&&(0,p.loadFeatures)(M);let E=T?"svg"===T:(0,u.isSVGComponent)(t),V=E?c.useSVGVisualState:h.useHTMLVisualState;function C(u,h){let c,p={...(0,i.useContext)(r.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:m}=p,S=(0,a.useCreateMotionContext)(u),T=V(u,m);if(!m&&"u">typeof window){(0,i.useContext)(n.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(p);c=e.MeasureLayout,S.visualElement=function(t,e,s,a,l,u){let{visualElement:h}=(0,i.useContext)(o.MotionContext),c=(0,i.useContext)(n.LazyContext),d=(0,i.useContext)(g.PresenceContext),p=(0,i.useContext)(r.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,S=(0,i.useRef)(null),b=(0,i.useRef)(!1);a=a||c.renderer,!S.current&&a&&(S.current=a(t,{visualState:e,parent:h,props:s,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:u}),b.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));let T=S.current,M=(0,i.useContext)(y.SwitchLayoutGroupContext);T&&!T.projection&&l&&("html"===T.type||"svg"===T.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=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:n,layout:r,alwaysMeasureLayout:!!o||a&&(0,x.isRefObject)(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(S.current,s,l,M);let P=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{T&&P.current&&T.update(s,d)});let E=s[v.optimizedAppearDataAttribute],V=(0,i.useRef)(!!E&&"u">typeof window&&!window.MotionHandoffIsComplete?.(E)&&window.MotionHasOptimisedAnimation?.(E));return(0,w.useIsomorphicLayoutEffect)(()=>{b.current=!0,T&&(P.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),V.current&&T.animationState&&T.animationState.animateChanges())}),(0,i.useEffect)(()=>{T&&(!V.current&&T.animationState&&T.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(E)}),V.current=!1),T.enteringChildren=void 0)}),T}(t,T,p,P,e.ProjectionNode,E)}return(0,e.jsxs)(o.MotionContext.Provider,{value:S,children:[c&&S.visualElement?(0,e.jsx)(c,{visualElement:S.visualElement,...p}):null,(0,l.useRender)(t,u,(0,f.useMotionRef)(T,S.visualElement,h),T,m,b,E)]})}C.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let A=(0,i.forwardRef)(C);return A[m.motionComponentSymbol]=t,A}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return S;let i=new Map,s=(i,s)=>S(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(n,r)=>"create"===r?s:(i.has(r)||i.set(r,S(r,void 0,t,e)),i.get(r))})}],7051),t.s(["Feature",0,class{constructor(t){this.isMounted=!1,this.node=t}update(){}}],42098)},18812,t=>{"use strict";var e=t.i(86579);t.s(["resolveVariant",0,function(t,i,s){let n=t.getProps();return(0,e.resolveVariantFromProps)(n,i,void 0!==s?s:n.custom,t)}])},87333,53034,t=>{"use strict";function e(t,e){if(t?.inherit&&e){let{inherit:i,...s}=t;return{...e,...s}}return t}t.s(["resolveTransition",0,e],53034),t.s(["getValueTransition",0,function(t,i){let s=t?.[i]??t?.default??t;return s!==t?e(s,t):s}],87333)},47834,73615,80538,t=>{"use strict";var e=t.i(86427),i=t.i(18812);let s=t=>Array.isArray(t);t.s(["isKeyframesTarget",0,s],73615),t.s(["setTarget",0,function(t,n){let{transitionEnd:r={},transition:o={},...a}=(0,i.resolveVariant)(t,n)||{};for(let i in a={...a,...r}){var l;let n=s(l=a[i])?l[l.length-1]||0:l;t.hasValue(i)?t.getValue(i).set(n):t.addValue(i,(0,e.motionValue)(n))}}],47834);var n=t.i(46791),r=t.i(83411);t.s(["addValueToWillChange",0,function(t,e){let i=t.getValue("willChange");if((0,r.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&n.MotionGlobalConfig.WillChange){let i=new n.MotionGlobalConfig.WillChange("auto");
9t.addValue("willChange",i),i.add(e)}}],80538)},16896,t=>{"use strict";var e=t.i(35043);t.s(["getOptimisedAppearId",0,function(t){return t.props[e.optimizedAppearDataAttribute]}])},38638,t=>{"use strict";let e=(t,e)=>i=>e(t(i));t.s(["pipe",0,(...t)=>t.reduce(e)])},3163,69308,t=>{"use strict";var e=t.i(38638),i=t.i(65566),s=t.i(19928),n=t.i(79444),r=t.i(69577),o=t.i(63011),a=t.i(22660);function l(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 u=t.i(66820);function h(t,e){return i=>i>0?e:t}var c=t.i(706);let d=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},p=[o.hex,u.rgba,a.hsla];function m(t){let e=p.find(e=>e.test(t));if((0,i.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let s=e.parse(t);return e===a.hsla&&(s=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,o=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,a=2*i-s;n=l(a,s,t+1/3),r=l(a,s,t),o=l(a,s,t-1/3)}else n=r=o=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*o),alpha:s}}(s)),s}let f=(t,e)=>{let i=m(t),s=m(e);if(!i||!s)return h(t,e);let n={...i};return t=>(n.red=d(i.red,s.red,t),n.green=d(i.green,s.green,t),n.blue=d(i.blue,s.blue,t),n.alpha=(0,c.mixNumber)(i.alpha,s.alpha,t),u.rgba.transform(n))},v=new Set(["none","hidden"]);function g(t,e){return i=>(0,c.mixNumber)(t,e,i)}function y(t){return"number"==typeof t?g:"string"==typeof t?(0,s.isCSSVariableToken)(t)?h:n.color.test(t)?f:S:Array.isArray(t)?x:"object"==typeof t?n.color.test(t)?f:w:h}function x(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>y(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function w(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=y(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let S=(t,s)=>{let n=r.complex.createTransformer(s),o=(0,r.analyseComplexValue)(t),a=(0,r.analyseComplexValue)(s);if(!(o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length))return(0,i.warning)(!0,`Complex values '${t}' and '${s}' 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.`,"complex-values-different"),h(t,s);if(v.has(t)&&!a.values.length||v.has(s)&&!o.values.length)return v.has(t)?e=>e<=0?t:s:e=>e>=1?s:t;return(0,e.pipe)(x(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],o=t.indexes[r][s[r]],a=t.values[o]??0;i[n]=a,s[r]++}return i}(o,a),a.values),n)};t.s(["mix",0,function(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,c.mixNumber)(t,e,i):y(t)(t,e)}],3163);var b=t.i(96173),T=t.i(87022);t.s(["frameloopDriver",0,t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>T.frame.update(e,t),stop:()=>(0,T.cancelFrame)(e),now:()=>T.frameData.isProcessing?T.frameData.timestamp:b.time.now()}}],69308)},28409,66857,21748,t=>{"use strict";var e=t.i(63074),i=t.i(76959),s=t.i(65566),n=t.i(56512);function r(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function o(t,i=100,s){let n=s({...t,keyframes:[0,i]}),a=Math.min(r(n),2e4);return{type:"keyframes",ease:t=>n.next(a*t).value/i,duration:(0,e.millisecondsToSeconds)(a)}}t.s(["calcGeneratorDuration",0,r,"maxGeneratorDuration",0,2e4],66857),t.s(["createGeneratorEasing",0,o],21748);let a=.01,l=2,u=.005,h=.5;function c(t,e){return t*Math.sqrt(1-e*e)}let d=["duration","bounce"],p=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=.3,o=.3){let v,g,y,x,w,S,b="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:o}:t,{restSpeed:T,restDelta:M}=b,P=b.keyframes[0],E=b.keyframes[b.keyframes.length-1],V={done:!1,value:P},{stiffness:C,damping:A,mass:L,duration:R,velocity:k,isResolvedFromDuration:D}=function(t){let n={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!m(t,p)&&m(t,d))if(n.velocity=0,t.visualDuration){let e=2*Math.PI/(1.2*t.visualDuration),s=e*e,r=2*(0,i.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(s);n={...n,mass:1,stiffness:s,damping:r}}else{let r=function({duration:t=800,bounce:n=.3,velocity:r=0,mass:o=1}){let a,l;(0,s.warning)(t<=(0,e.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let u=1-n;u=(0,i.clamp)(.05,1,u),t=(0,i.clamp)(.01,10,(0,e.millisecondsToSeconds)(t)),u<1?(a=e=>{let i=e*u,s=i*t;return .001-(i-r)/c(e,u)*Math.exp(-s)},l=e=>{let i=e*u*t,s=Math.pow(u,2)*Math.pow(e,2)*t,n=Math.exp(-i),o=c(Math.pow(e,2),u);return(i*r+r-s)*n*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),l=e=>t*t*(r-e)*Math.exp(-e*t));
9let h=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(a,l,5/t);if(t=(0,e.secondsToMilliseconds)(t),isNaN(h))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(h,2)*o;return{stiffness:e,damping:2*u*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(n={...n,...r,mass:1}).isResolvedFromDuration=!0}return n}({...b,velocity:-(0,e.millisecondsToSeconds)(b.velocity||0)}),j=k||0,B=A/(2*Math.sqrt(C*L)),_=E-P,F=(0,e.millisecondsToSeconds)(Math.sqrt(C/L)),O=5>Math.abs(_);if(T||(T=O?a:l),M||(M=O?u:h),B<1)y=c(F,B),x=(j+B*F*_)/y,v=t=>E-Math.exp(-B*F*t)*(x*Math.sin(y*t)+_*Math.cos(y*t)),w=B*F*x+_*y,S=B*F*_-x*y,g=t=>Math.exp(-B*F*t)*(w*Math.sin(y*t)+S*Math.cos(y*t));else if(1===B){v=t=>E-Math.exp(-F*t)*(_+(j+F*_)*t);let t=j+F*_;g=e=>Math.exp(-F*e)*(F*t*e-j)}else{let t=F*Math.sqrt(B*B-1);v=e=>{let i=Math.exp(-B*F*e),s=Math.min(t*e,300);return E-i*((j+B*F*_)*Math.sinh(s)+t*_*Math.cosh(s))/t};let e=(j+B*F*_)/t,i=B*F*e-_*t,s=B*F*_-e*t;g=e=>{let n=Math.exp(-B*F*e),r=Math.min(t*e,300);return n*(i*Math.sinh(r)+s*Math.cosh(r))}}let N={calculatedDuration:D&&R||null,velocity:t=>(0,e.secondsToMilliseconds)(g(t)),next:t=>{if(!D&&B<1){let i=Math.exp(-B*F*t),s=Math.sin(y*t),n=Math.cos(y*t),r=E-i*(x*s+_*n);return V.done=Math.abs((0,e.secondsToMilliseconds)(i*(w*s+S*n)))<=T&&Math.abs(E-r)<=M,V.value=V.done?E:r,V}let i=v(t);return D?V.done=t>=R:V.done=Math.abs((0,e.secondsToMilliseconds)(g(t)))<=T&&Math.abs(E-i)<=M,V.value=V.done?E:i,V},toString:()=>{let t=Math.min(r(N),2e4),e=(0,n.generateLinearEasing)(e=>N.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return N}f.applyToOptions=t=>{let i=o(t,100,f);return t.ease=i.ease,t.duration=(0,e.secondsToMilliseconds)(i.duration),t.type="keyframes",t},t.s(["spring",0,f],28409)},29462,12008,40254,37025,t=>{"use strict";var e=t.i(28409),i=t.i(25791);function s(t,e,s){let n=Math.max(e-5,0);return(0,i.velocityPerSecond)(s-t(n),e-n)}t.s(["getGeneratorVelocity",0,s],12008),t.s(["inertia",0,function({keyframes:t,velocity:i=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:h,restDelta:c=.5,restSpeed:d}){let p,m,f=t[0],v={done:!1,value:f},g=n*i,y=f+g,x=void 0===l?y:l(y);x!==y&&(g=x-f);let w=t=>-g*Math.exp(-t/r),S=t=>x+w(t),b=t=>{let e=w(t),i=S(t);v.done=Math.abs(e)<=c,v.value=v.done?x:i},T=t=>{let i;if(i=v.value,void 0!==u&&i<u||void 0!==h&&i>h){var n;p=t,m=(0,e.spring)({keyframes:[v.value,(n=v.value,void 0===u?h:void 0===h||Math.abs(u-n)<Math.abs(h-n)?u:h)],velocity:s(S,t,v.value),damping:o,stiffness:a,restDelta:c,restSpeed:d})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==p||(e=!0,b(t),T(t)),void 0!==p&&t>=p)?m.next(t-p):(e||b(t),v)}}}],29462);var n=t.i(60830);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function o(t,e,i,s){return t===e&&i===s?n.noop:n=>0===n||1===n?n:r(function(t,e,i,s,n){let o,a,l=0;do(o=r(a=e+(i-e)/2,s,n)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12)return a}(n,0,1,t,i),e,s)}t.s(["cubicBezier",0,o],40254);let a=o(.42,0,1,1),l=o(0,0,.58,1),u=o(.42,0,.58,1);t.s(["easeIn",0,a,"easeInOut",0,u,"easeOut",0,l],37025)},93544,t=>{"use strict";t.s(["isEasingArray",0,t=>Array.isArray(t)&&"number"!=typeof t[0]])},78047,41980,91559,t=>{"use strict";var e=t.i(40254);let i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,s=t=>e=>1-t(1-e),n=(0,e.cubicBezier)(.33,1.53,.69,.99),r=s(n),o=i(r);t.s(["backIn",0,r,"backInOut",0,o,"backOut",0,n],41980),t.s(["anticipate",0,t=>t>=1?1:(t*=2)<1?.5*r(t):.5*(2-Math.pow(2,-10*(t-1)))],78047);let a=t=>1-Math.sin(Math.acos(t)),l=s(a),u=i(a);t.s(["circIn",0,a,"circInOut",0,u,"circOut",0,l],91559)},32943,t=>{"use strict";var e=t.i(65566),i=t.i(60830),s=t.i(78047),n=t.i(41980),r=t.i(91559),o=t.i(40254),a=t.i(37025),l=t.i(60855);let u={linear:i.noop,easeIn:a.easeIn,easeInOut:a.easeInOut,easeOut:a.easeOut,circIn:r.circIn,circInOut:r.circInOut,circOut:r.circOut,backIn:n.backIn,backInOut:n.backInOut,backOut:n.backOut,anticipate:s.anticipate};t.s(["easingDefinitionToFunction",0,t=>{if((0,l.isBezierDefinition)(t)){(0,e.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[i,s,n,r]=t;return(0,o.cubicBezier)(i,s,n,r)}return"string"==typeof t?((0,e.invariant)(void 0!==u[t],`Invalid easing type '${t}
9'`,"invalid-easing-type"),u[t]):t}])},83920,t=>{"use strict";t.s(["progress",0,(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}])},44230,t=>{"use strict";var e=t.i(65566),i=t.i(76959),s=t.i(46791),n=t.i(60830),r=t.i(38638),o=t.i(83920),a=t.i(3163);t.s(["interpolate",0,function(t,l,{clamp:u=!0,ease:h,mixer:c}={}){let d=t.length;if((0,e.invariant)(d===l.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>l[0];if(2===d&&l[0]===l[1])return()=>l[1];let p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),l=[...l].reverse());let m=function(t,e,i){let o=[],l=i||s.MotionGlobalConfig.mix||a.mix,u=t.length-1;for(let i=0;i<u;i++){let s=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.noop:e;s=(0,r.pipe)(t,s)}o.push(s)}return o}(l,h,c),f=m.length,v=e=>{if(p&&e<t[0])return l[0];let i=0;if(f>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let s=(0,o.progress)(t[i],t[i+1],e);return m[i](s)};return u?e=>v((0,i.clamp)(t[0],t[d-1],e)):v}])},15923,15932,t=>{"use strict";var e=t.i(83920),i=t.i(706);function s(t,s){let n=t[t.length-1];for(let r=1;r<=s;r++){let o=(0,e.progress)(0,s,r);t.push((0,i.mixNumber)(n,1,o))}}t.s(["fillOffset",0,s],15932),t.s(["defaultOffset",0,function(t){let e=[0];return s(e,t.length-1),e}],15923)},68514,t=>{"use strict";var e=t.i(37025),i=t.i(93544),s=t.i(32943),n=t.i(44230),r=t.i(15923);t.s(["keyframes",0,function({duration:t=300,keyframes:o,times:a,ease:l="easeInOut"}){var u;let h=(0,i.isEasingArray)(l)?l.map(s.easingDefinitionToFunction):(0,s.easingDefinitionToFunction)(l),c={done:!1,value:o[0]},d=(u=a&&a.length===o.length?a:(0,r.defaultOffset)(o),u.map(e=>e*t)),p=(0,n.interpolate)(d,o,{ease:Array.isArray(h)?h:o.map(()=>h||e.easeInOut).splice(0,o.length-1)});return{calculatedDuration:t,next:e=>(c.value=p(e),c.done=e>=t,c)}}],68514)},44573,t=>{"use strict";var e=t.i(29462),i=t.i(68514),s=t.i(28409);let n={decay:e.inertia,inertia:e.inertia,tween:i.keyframes,keyframes:i.keyframes,spring:s.spring};t.s(["replaceTransitionType",0,function(t){"string"==typeof t.type&&(t.type=n[t.type])}])},83352,t=>{"use strict";var e=t.i(38638),i=t.i(76959),s=t.i(63074),n=t.i(96173),r=t.i(4169),o=t.i(3163),a=t.i(69308),l=t.i(29462),u=t.i(68514),h=t.i(66857),c=t.i(12008),d=t.i(14229),p=t.i(44573),m=t.i(79294);let f=t=>t/100;class v extends m.WithPromise{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==n.time.now()&&this.tick(n.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},r.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,p.replaceTransitionType)(t);let{type:i=u.keyframes,repeat:s=0,repeatDelay:n=0,repeatType:r,velocity:a=0}=t,{keyframes:l}=t,c=i||u.keyframes;c!==u.keyframes&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,e.pipe)(f,(0,o.mix)(l[0],l[1])),l=[0,100]);let d=c({...t,keyframes:l});"mirror"===r&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),null===d.calculatedDuration&&(d.calculatedDuration=(0,h.calcGeneratorDuration)(d));let{calculatedDuration:m}=d;this.calculatedDuration=m,this.resolvedDuration=m+n,this.totalDuration=this.resolvedDuration*(s+1)-n,this.generator=d}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 s,{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:u,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:p,repeat:m,repeatType:f,repeatDelay:v,type:g,onUpdate:y,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let w=this.currentTime-c*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?w<0:w>r;this.currentTime=Math.max(w,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let b=this.currentTime,T=n;if(m){let t=Math.min(this.currentTime,r)/u,e=Math.floor(t),s=t%1;!s&&t>=1&&(s=1),1===s&&e--,(e=Math.min(e,m+1))%2&&("reverse"===f?(s=1-s,v&&(s-=v/u)):"mirror"===f&&(T=a)),b=(0,i.clamp)(0,1,s)*u}S?(this.delayState.value=p[0],s=this.delayState):s=T.next(b),o&&!S&&(s.value=o(s.value));let{done:M}=s;S||null===h||(M=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&M);return P&&g!==l.inertia&&(s.value=(0,d.getFinalKeyframe)(p,this.options,x,this.speed)),y&&y(s.value),P&&this.finish(),s}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.millisecondsToSeconds)(t)}get time(){return(0,s.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,s.secondsToMilliseconds)(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
9if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return(0,c.getGeneratorVelocity)(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(n.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,s.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=a.frameloopDriver,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(n.time.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,r.activeAnimations.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)}}t.s(["JSAnimation",0,v])},92464,55489,43116,t=>{"use strict";var e=t.i(76959),i=t.i(96173),s=t.i(94581),n=t.i(83352),r=t.i(68e3),o=t.i(44573),a=t.i(91559),l=t.i(41980);let u={anticipate:t.i(78047).anticipate,backInOut:l.backInOut,circInOut:a.circInOut};class h extends r.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in u&&(t.ease=u[t.ease])}(t),(0,o.replaceTransitionType)(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:o,onComplete:a,element:l,...u}=this.options;if(!r)return;if(void 0!==t)return void r.set(t);let h=new n.JSAnimation({...u,autoplay:!1}),c=Math.max(10,i.time.now()-this.startTime),d=(0,e.clamp)(0,10,c-10),p=h.sample(c).value,{name:m}=this.options;l&&m&&(0,s.setStyle)(l,m,p),r.setWithVelocity(h.sample(Math.max(0,c-d)).value,p,d),h.stop()}}t.s(["NativeAnimationExtended",0,h],92464);var c=t.i(65566),d=t.i(97307),p=t.i(69577);let m=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(p.complex.test(t)||"0"===t)&&!t.startsWith("url("));t.s(["canAnimate",0,function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=m(n,e),a=m(r,e);return(0,c.warning)(o===a,`You are trying to animate ${e} from "${n}" to "${r}". "${o?r:n}" is not an animatable value.`,"value-not-animatable"),!!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,d.isGenerator)(i))&&s)}],55489),t.s(["makeAnimationInstant",0,function(t){t.duration=0,t.type="keyframes"}],43116)},42062,t=>{"use strict";var e=t.i(46791),i=t.i(60830),s=t.i(96173),n=t.i(83352),r=t.i(14229),o=t.i(21012),a=t.i(92464),l=t.i(55489),u=t.i(43116),h=t.i(79294),c=t.i(60900),d=t.i(62118);let p=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,m=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),f=(0,c.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class v extends h.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:a="loop",keyframes:l,name:u,motionValue:h,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s.time.now();const p={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:a,name:u,motionValue:h,element:c,...d},m=c?.KeyframeResolver||o.KeyframeResolver;this.keyframeResolver=new m(l,(t,e,i)=>this.onKeyframesResolved(t,e,p,!i),u,h,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,o,h,c){let v;this.keyframeResolver=void 0;let{name:g,type:y,velocity:x,delay:w,isHandoff:S,onUpdate:b}=h;this.resolvedAt=s.time.now();let T=!0;(0,l.canAnimate)(t,g,y,x)||(T=!1,(e.MotionGlobalConfig.instantAnimations||!w)&&b?.((0,r.getFinalKeyframe)(t,h,o)),t[0]=t[t.length-1],(0,u.makeAnimationInstant)(h),h.repeat=0);let M={startTime:c?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:o,...h,keyframes:t},P=T&&!S&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;
9let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return f()&&i&&(d.acceleratedValues.has(i)||m.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&p.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!s&&"mirror"!==n&&0!==r&&"inertia"!==o}(M),E=M.motionValue?.owner?.current;if(P)try{v=new a.NativeAnimationExtended({...M,element:E})}catch{v=new n.JSAnimation(M)}else v=new n.JSAnimation(M);v.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}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,o.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}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()}}t.s(["AsyncMotionValueAnimation",0,v],42062)},39011,t=>{"use strict";var e=t.i(63074),i=t.i(46791),s=t.i(42062),n=t.i(83352),r=t.i(87333),o=t.i(43116),a=t.i(57788);let l={type:"spring",stiffness:500,damping:25,restSpeed:10},u={type:"keyframes",duration:.8},h={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var c=t.i(14229);let d=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var p=t.i(87022);t.s(["animateMotionValue",0,(t,m,f,v={},g,y)=>x=>{let w=(0,r.getValueTransition)(v,t)||{},S=w.delay||v.delay||0,{elapsed:b=0}=v;b-=(0,e.secondsToMilliseconds)(S);let T={keyframes:Array.isArray(f)?f:[null,f],ease:"easeOut",velocity:m.getVelocity(),...w,delay:-b,onUpdate:t=>{m.set(t),w.onUpdate&&w.onUpdate(t)},onComplete:()=>{x(),w.onComplete&&w.onComplete()},name:t,motionValue:m,element:y?void 0:g};!function(t){for(let e in t)if(!d.has(e))return!0;return!1}(w)&&Object.assign(T,((t,{keyframes:e})=>e.length>2?u:a.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:l:h)(t,T)),T.duration&&(T.duration=(0,e.secondsToMilliseconds)(T.duration)),T.repeatDelay&&(T.repeatDelay=(0,e.secondsToMilliseconds)(T.repeatDelay)),void 0!==T.from&&(T.keyframes[0]=T.from);let M=!1;if(!1!==T.type&&(0!==T.duration||T.repeatDelay)||((0,o.makeAnimationInstant)(T),0===T.delay&&(M=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||g?.shouldSkipAnimations)&&(M=!0,(0,o.makeAnimationInstant)(T),T.delay=0),T.allowFlatten=!w.type&&!w.ease,M&&!y&&void 0!==m.get()){let t=(0,c.getFinalKeyframe)(T.keyframes,w);if(void 0!==t)return void p.frame.update(()=>{T.onUpdate(t),T.onComplete()})}return w.isSync?new n.JSAnimation(T):new s.AsyncMotionValueAnimation(T)}],39011)},72323,t=>{"use strict";var e=t.i(87333),i=t.i(53034),s=t.i(64440),n=t.i(47834),r=t.i(80538),o=t.i(16896),a=t.i(39011),l=t.i(87022);
9t.s(["animateTarget",0,function(t,u,{delay:h=0,transitionOverride:c,type:d}={}){let{transition:p,transitionEnd:m,...f}=u,v=t.getDefaultTransition();p=p?(0,i.resolveTransition)(p,v):v;let g=p?.reduceMotion;c&&(p=c);let y=[],x=d&&t.animationState&&t.animationState.getState()[d];for(let i in f){let n=t.getValue(i,t.latestValues[i]??null),u=f[i];if(void 0===u||x&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(x,i))continue;let c={delay:h,...(0,e.getValueTransition)(p||{},i)},d=n.get();if(void 0!==d&&!n.isAnimating()&&!Array.isArray(u)&&u===d&&!c.velocity){l.frame.update(()=>n.set(u));continue}let m=!1;if(window.MotionHandoffAnimation){let e=(0,o.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,i,l.frame);null!==t&&(c.startTime=t,m=!0)}}(0,r.addValueToWillChange)(t,i);let v=g??t.shouldReduceMotion;n.start((0,a.animateMotionValue)(i,n,u,v&&s.positionalKeys.has(i)?{type:!1}:c,t,m));let w=n.animation;w&&y.push(w)}if(m){let e=()=>l.frame.update(()=>{m&&(0,n.setTarget)(t,m)});y.length?Promise.all(y).then(e):e()}return y}])},23070,55559,82774,39676,37541,52101,t=>{"use strict";var e=t.i(42098),i=t.i(18812),s=t.i(72323);function n(t,e,i,s=0,r=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*s;return"function"==typeof i?i(o,a):1===r?o*s:l-o*s}function r(t,e,o={}){let a=(0,i.resolveVariant)(t,e,"exit"===o.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(l=o.transitionOverride);let u=a?()=>Promise.all((0,s.animateTarget)(t,a,o)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:u}=l;return function(t,e,i=0,s=0,o=0,a=1,l){let u=[];for(let h of t.variantChildren)h.notify("AnimationStart",e),u.push(r(h,e,{...l,delay:i+("function"==typeof s?0:s)+n(t.variantChildren,h,s,o,a)}).then(()=>h.notify("AnimationComplete",e)));return Promise.all(u)}(t,e,i,s,a,u,o)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),h(o.delay)]);{let[t,e]="beforeChildren"===c?[u,h]:[h,u];return t().then(()=>e())}}var o=t.i(32525),a=t.i(6840);let l=a.variantProps.length;var u=t.i(85983),h=t.i(73615);function c(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}let d=[...a.variantPriorityOrder].reverse(),p=a.variantPriorityOrder.length;function m(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}class v extends e.Feature{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let o;if(t.notify("AnimationStart",e),Array.isArray(e))o=Promise.all(e.map(e=>r(t,e,n)));else if("string"==typeof e)o=r(t,e,n);else{let r="function"==typeof e?(0,i.resolveVariant)(t,e,n.custom):e;o=Promise.all((0,s.animateTarget)(t,r,n))}return o.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),m=f(),v=!0,g=!1,y=e=>(s,n)=>{let r=(0,i.resolveVariant)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...i}=r;s={...s,...i,...e}}return s};function x(s){let{props:r}=t,f=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<l;t++){let s=a.variantProps[t],n=e.props[s];((0,o.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},x=[],w=new Set,S={},b=1/0;for(let e=0;e<p;e++){var T,M;let a=d[e],l=m[a],p=void 0!==r[a]?r[a]:f[a],P=(0,o.isVariantLabel)(p),E=a===s?l.isActive:null;!1===E&&(b=e);let V=p===f[a]&&p!==r[a]&&P;if(V&&(v||g)&&t.manuallyAnimateOnMount&&(V=!1),l.protectedKeys={...S},!l.isActive&&null===E||!p&&!l.prevProp||(0,u.isAnimationControls)(p)||"boolean"==typeof p)continue;if("exit"===a&&l.isActive&&!0!==E){l.prevResolvedValues&&(S={...S,...l.prevResolvedValues});continue}let C=(T=l.prevProp,"string"==typeof(M=p)?M!==T:!!Array.isArray(M)&&!c(M,T)),A=C||a===s&&l.isActive&&!V&&P||e>b&&P,L=!1,R=Array.isArray(p)?p:[p],k=R.reduce(y(a),{});!1===E&&(k={});let{prevResolvedValues:D={}}=l,j={...D,...k},B=e=>{A=!0,w.has(e)&&(L=!0,w.delete(e)),l.needsAnimating[e]=!0;let i=t.getValue(e);
9i&&(i.liveStyle=!1)};for(let t in j){let e=k[t],i=D[t];if(!S.hasOwnProperty(t))((0,h.isKeyframesTarget)(e)&&(0,h.isKeyframesTarget)(i)?c(e,i):e===i)?void 0!==e&&w.has(t)?B(t):l.protectedKeys[t]=!0:null!=e?B(t):w.add(t)}l.prevProp=p,l.prevResolvedValues=k,l.isActive&&(S={...S,...k}),(v||g)&&t.blockInitialAnimation&&(A=!1);let _=V&&C,F=!_||L;A&&F&&x.push(...R.map(e=>{let s={type:a};if("string"==typeof e&&(v||g)&&!_&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,o=(0,i.resolveVariant)(r,e);if(r.enteringChildren&&o){let{delayChildren:e}=o.transition||{};s.delay=n(r.enteringChildren,t,e)}}return{animation:e,options:s}}))}if(w.size){let e={};if("boolean"!=typeof r.initial){let s=(0,i.resolveVariant)(t,Array.isArray(r.initial)?r.initial[0]:r.initial);s&&s.transition&&(e.transition=s.transition)}w.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),x.push({animation:e})}let P=!!x.length;return v&&(!1===r.initial||r.initial===r.animate)&&!t.manuallyAnimateOnMount&&(P=!1),v=!1,g=!1,P?e(x):Promise.resolve()}return{animateChanges:x,setActive:function(e,i){if(m[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),m[e].isActive=i;let s=x(e);for(let t in m)m[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>m,reset:()=>{m=f(),g=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,u.isAnimationControls)(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?.()}}var g=e;let y=0;class x extends g.Feature{constructor(){super(...arguments),this.id=y++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&!1===s){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let s=(0,i.resolveVariant)(this.node,t,e);if(s){let{transition:t,transitionEnd:e,...i}=s;for(let t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
9e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}t.s(["animations",0,{animation:{Feature:v},exit:{Feature:x}}],23070),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],55559),t.s(["addDomEvent",0,function(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}],82774);let w={x:!1,y:!1};t.s(["isDragActive",0,function(){return w.x||w.y},"isDragging",0,w],39676),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(w[t])return null;else return w[t]=!0,()=>{w[t]=!1};return w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})}],37541);var S=t.i(706);function b(t){return t.max-t.min}function T(t,e,i,s=.5){t.origin=s,t.originPoint=(0,S.mixNumber)(e.min,e.max,t.origin),t.scale=b(i)/b(e),t.translate=(0,S.mixNumber)(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 M(t,e,i,s=0){t.min=(s?(0,S.mixNumber)(i.min,i.max,s):i.min)+e.min,t.max=t.min+b(e)}function P(t,e,i,s=0){let n=s?(0,S.mixNumber)(i.min,i.max,s):i.min;t.min=e.min-n,t.max=t.min+b(e)}t.s(["calcBoxDelta",0,function(t,e,i,s){T(t.x,e.x,i.x,s?s.originX:void 0),T(t.y,e.y,i.y,s?s.originY:void 0)},"calcLength",0,b,"calcRelativeBox",0,function(t,e,i,s){M(t.x,e.x,i.x,s?.x),M(t.y,e.y,i.y,s?.y)},"calcRelativePosition",0,function(t,e,i,s){P(t.x,e.x,i.x,s?.x),P(t.y,e.y,i.y,s?.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],52101)},89026,t=>{"use strict";var e=t.i(42824);t.s(["isSVGElement",0,function(t){return(0,e.isObject)(t)&&"ownerSVGElement"in t}])},49652,t=>{"use strict";t.s(["resolveElements",0,function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let n=i?.[t]??s.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}])},33986,61327,19880,41327,65536,85651,7230,t=>{"use strict";let e,i;var s=t.i(42098),n=t.i(60830),r=t.i(30162),o=t.i(87022),a=t.i(55559),l=t.i(53689),u=t.i(27677),h=t.i(80538),c=t.i(39011),d=t.i(706),p=t.i(82774),m=t.i(37541),f=t.i(65091),v=t.i(52101),g=t.i(89026),y=t.i(49652);let x=new WeakMap,w=(t,e,i)=>(s,n)=>n&&n[0]?n[0][t+"Size"]:(0,g.isSVGElement)(s)&&"getBBox"in s?s.getBBox()[e]:s[i],S=w("inline","width","offsetWidth"),b=w("block","height","offsetHeight");function T({target:t,borderBoxSize:e}){x.get(t)?.forEach(i=>{i(t,{get width(){return S(t,e)},get height(){return b(t,e)}})})}function M(t){t.forEach(T)}let P=new Set;function E(t,s){let n;return"function"==typeof t?(P.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};P.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{P.delete(t),P.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(M)),(n=(0,y.resolveElements)(t)).forEach(t=>{let i=x.get(t);i||(i=new Set,x.set(t,i)),i.add(s),e?.observe(t)}),()=>{n.forEach(t=>{let i=x.get(t);i?.delete(s),i?.size||e?.unobserve(t)})})}t.s(["resize",0,E],61327);let V=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),C=new Set(["INPUT","SELECT","TEXTAREA"]);function A(t){return C.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return V.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,A],19880);var L=t.i(65566);let R=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function k(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,R],41327);let D=t=>e=>R(e)&&t(e,k(e));function j(t,e,i,s){return(0,p.addDomEvent)(t,e,D(i),s)}t.s(["addPointerInfo",0,D,"extractEventInfo",0,k],65536);let B=({current:t})=>t?t.ownerDocument.defaultView:null;var _=t.i(25522),F=t.i(38638),O=t.i(63074);let N=(t,e)=>Math.abs(t-e),I=new Set(["auto","scroll"]);class G{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=H(this.lastRawMoveEventInfo,this.transformPagePoint));let i=W(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(N(t.x,e.x)**2+N(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!n)return;let{point:r}=i,{timestamp:a}=o.frameData;this.history.push({...r,timestamp:a});let{onStart:l,onMove:u}=this.handlers;s||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=H(e,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=W("pointercancel"===t.type?this.lastMoveEventInfo:H(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!R(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const l=H(k(t),this.transformPagePoint),{point:u}=l,{timestamp:h}=o.frameData;this.history=[{...u,timestamp:h}];const{onSessionStart:c}=e;c&&c(t,W(l,this.history)),this.removeListeners=(0,F.pipe)(j(this.contextWindow,"pointermove",this.handlePointerMove),j(this.contextWindow,"pointerup",this.handlePointerUp),j(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(I.has(t.overflowX)||I.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:s.x-e.x,y:s.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,s),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function H(t,e){return e?{point:e(t.point)}:t}function z(t,e){return{x:t.x-e.x,y:t.y-e.y}}function W({point:t},e){return{point:t,delta:z(t,U(e)),offset:z(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=U(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,O.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>
92*(0,O.secondsToMilliseconds)(.1)&&(i=t[1]);let n=(0,O.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let r={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function U(t){return t[t.length-1]}var $=t.i(83920),Y=t.i(76959);function q(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 K(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function X(t,e,i){return{min:Z(t,e),max:Z(t,i)}}function Z(t,e){return"number"==typeof t?t:t[e]||0}let J=new WeakMap;class Q{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,r.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let n=t=>{e&&this.snapToCursor(k(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,m.setDragLock)(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),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(f.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=(0,v.calcLength)(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&o.frame.update(()=>n(t,e),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&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}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&o.frame.update(()=>r(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new G(t,{onSessionStart:n,onStart:r,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:B(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!te(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,d.mixNumber)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,d.mixNumber)(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}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,s=this.constraints;t&&(0,_.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:q(t.x,i,n),y:q(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:X(t,"left","right"),y:X(t,"top","bottom")}}(e),s!==this.constraints&&!(0,_.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,_.isRefObject)(e))return!1;let s=e.current;(0,L.invariant)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let r=(0,l.measurePageBox)(s,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:K(t.x,r.x),y:K(t.y,r.y)});if(i){let t=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,u.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!te(o,e,this.currentDirection))return;let a=l&&l[o]||{};(!0===r||r===o)&&(a={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,h.addValueToWillChange)(this.visualElement,t),i.start((0,c.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}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){(0,a.eachAxis)(e=>{let{drag:i}=this.getProps();if(!te(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-(0,d.mixNumber)(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,_.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let r,o,a,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],r=.5,o=(0,v.calcLength)(i),(a=(0,v.calcLength)(n))>o?r=(0,$.progress)(n.min,n.max-o,i.min):o>a&&(r=(0,$.progress)(i.min,i.max-a,n.min)),(0,Y.clamp)(0,1,r))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{if(!te(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set((0,d.mixNumber)(n,r,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;J.set(this.visualElement,this);let e=this.visualElement.current,i=j(e,"pointerdown",t=>{let{drag:i,dragListener:s=!0}
9=this.getProps(),n=t.target,r=n!==e&&A(n);i&&s&&!r&&this.start(t)}),s=()=>{var i,s,n;let r,o,{dragConstraints:a}=this.getProps();(0,_.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,s=a.current,r=E(i,tt(n=()=>this.scalePositionWithinConstraints())),o=E(s,tt(n)),t=()=>{r(),o()}))},{projection:n}=this.visualElement,r=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o.frame.read(s);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),r(),u&&u(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:o}}}function tt(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function te(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ti extends s.Feature{constructor(t){super(t),this.removeGroupControls=n.noop,this.removeListeners=n.noop,this.controls=new Q(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}t.s(["DragGesture",0,ti],33986);var ts=s;let tn=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class tr extends ts.Feature{constructor(){super(...arguments),this.removePointerDownListener=n.noop}onPointerDown(t){this.session=new G(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:B(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:tn(t),onStart:tn(e),onMove:tn(i),onEnd:(t,e)=>{delete this.session,s&&o.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=j(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,tr],85651),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],7230)},77397,t=>{"use strict";var e=t.i(43476),i=t.i(7230),s=t.i(87022),n=t.i(60140),r=t.i(71645),o=t.i(64978),a=t.i(31178),l=t.i(4035);let u=!1;class h extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:s,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),s&&s.register&&n&&s.register(r),u&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),u=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||s.frame.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),n.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;u=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}t.s(["MeasureLayout",0,function(t){let[i,s]=(0,o.usePresence)(),n=(0,r.useContext)(a.LayoutGroupContext);return(0,e.jsx)(h,{...t,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(l.SwitchLayoutGroupContext),isPresent:i,safeToRemove:s})}])},68705,t=>{"use strict";var e=t.i(39011),i=t.i(86427),s=t.i(83411);t.s(["animateSingleValue",0,function(t,n,r){let o=(0,s.isMotionValue)(t)?t:(0,i.motionValue)(t);return o.start((0,e.animateMotionValue)("",o,n,r)),o.animation}])},67807,t=>{"use strict";var e=t.i(96173);t.i(63074);var i=t.i(87022);t.s(["delay",0,function(t,s){let n=e.time.now(),r=({timestamp:e})=>{let o=e-n;o>=s&&((0,i.cancelFrame)(r),t(o-s))};return i.frame.setup(r,!0),()=>(0,i.cancelFrame)(r)}])},36331,t=>{"use strict";var e=t.i(89026);t.s(["isSVGSVGElement",0,function(t){return(0,e.isSVGElement)(t)&&"svg"===t.tagName}])}
9,46816,17871,73089,57512,99642,t=>{"use strict";var e=t.i(33986),i=t.i(85651),s=t.i(77397),n=t.i(70596),r=t.i(76959),o=t.i(60830),a=t.i(68705),l=t.i(16896),u=t.i(87333),h=t.i(60140),c=t.i(96173),d=t.i(24463),p=t.i(4169),m=t.i(80248),f=t.i(67807),v=t.i(89026),g=t.i(36331),y=t.i(706),x=t.i(86427),w=t.i(33871),S=t.i(65091),b=t.i(83920),T=t.i(91559);let M=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],P=M.length,E=t=>"string"==typeof t?parseFloat(t):t,V=t=>"number"==typeof t||S.px.test(t);function C(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let A=R(0,.5,T.circOut),L=R(.5,.95,o.noop);function R(t,e,i){return s=>s<t?0:s>e?1:i((0,b.progress)(t,e,s))}function k(t,e){t.min=e.min,t.max=e.max}function D(t,e){k(t.x,e.x),k(t.y,e.y)}function j(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var B=t.i(35636),_=t.i(52101);function F(t,e,i,s,n){return t-=e,t=(0,B.scalePoint)(t,1/i,s),void 0!==n&&(t=(0,B.scalePoint)(t,1/n,s)),t}function O(t,e,[i,s,n],r,o){!function(t,e=0,i=1,s=.5,n,r=t,o=t){if(S.percent.test(e)&&(e=parseFloat(e),e=(0,y.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,y.mixNumber)(r.min,r.max,s);t===r&&(a-=e),t.min=F(t.min,e,i,a,n),t.max=F(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,r,o)}let N=["x","scaleX","originX"],I=["y","scaleY","originY"];function G(t,e,i,s){O(t.x,e,N,i?i.x:void 0,s?s.x:void 0),O(t.y,e,I,i?i.y:void 0,s?s.y:void 0)}var H=t.i(30162);function z(t){return 0===t.translate&&1===t.scale}function W(t){return z(t.x)&&z(t.y)}function U(t,e){return t.min===e.min&&t.max===e.max}function $(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Y(t,e){return $(t.x,e.x)&&$(t.y,e.y)}function q(t){return(0,_.calcLength)(t.x)/(0,_.calcLength)(t.y)}function K(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var X=t.i(33887);class Z{constructor(){this.members=[]}add(t){(0,X.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||((0,X.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,X.removeItem)(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){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:n}=t.options;(void 0===s||s!==n)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var J=t.i(55559);let Q=(t,e)=>t.depth-e.depth;class tt{constructor(){this.children=[],this.isDirty=!1}add(t){(0,X.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,X.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Q),this.isDirty=!1,this.children.forEach(t)}}var te=t.i(77777),ti=t.i(7230),ts=t.i(87022);let tn={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tr=["","X","Y","Z"],to=0;function ta(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tl({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(t={},i=e?.()){this.id=to++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,m.statsBuffer.value&&(tn.nodes=tn.calculatedTargetDeltas=tn.calculatedProjections=0),this.nodes.forEac
9h(tc),this.nodes.forEach(tw),this.nodes.forEach(tS),this.nodes.forEach(td),m.statsBuffer.addProjectionMetrics&&m.statsBuffer.addProjectionMetrics(tn)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 tt)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new n.SubscriptionManager),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,v.isSVGElement)(e)&&!(0,g.isSVGSVGElement)(e),this.instance=e;let{layoutId:i,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,n=()=>this.root.updateBlockedByResize=!1;ts.frame.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=(0,f.delay)(n,250),ti.globalProjectionState.hasAnimatedSinceResize&&(ti.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tx)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||tV,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!Y(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,u.getValueTransition)(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||tx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}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,ts.cancelFrame)(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(tb),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 s=(0,l.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",ts.frame,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
9h(tf),this.nodes.forEach(tm);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tv);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tg),this.nodes.forEach(ty),this.nodes.forEach(tu),this.nodes.forEach(th)):this.nodes.forEach(tv),this.clearAllSnapshots();let t=c.time.now();ts.frameData.delta=(0,r.clamp)(0,1e3/60,t-ts.frameData.timestamp),ts.frameData.timestamp=t,ts.frameData.isProcessing=!0,ts.frameSteps.update.process(ts.frameData),ts.frameSteps.preRender.process(ts.frameData),ts.frameSteps.render.process(ts.frameData),ts.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tp),this.sharedNodes.forEach(tT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ts.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ts.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,_.calcLength)(this.snapshot.measuredBox.x)||(0,_.calcLength)(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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,H.createBox)()),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=s(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(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!W(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,te.hasTransform)(this.latestValues)||n)&&(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),tL((e=s).x),tL(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,H.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tk))){let{scroll:t}=this.root;t&&((0,B.translateAxis)(e.x,t.offset.x),(0,B.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,H.createBox)();if(D(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:r}=s;s!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&D(e,t),(0,B.translateAxis)(e.x,n.offset.x),(0,B.translateAxis)(e.y,n.offset.y))}return e}applyTransform(t,e=!1,i){let s=i||(0,H.createBox)();D(s,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,B.translateAxis)(s.x,-i.scroll.offset.x),(0,B.translateAxis)(s.y,-i.scroll.offset.y)),(0,te.hasTransform)(i.latestValues)&&(0,B.transformBox)(s,i.latestValues,i.layout?.layoutBox)}return(0,te.hasTransform)(this.latestValues)&&(0,B.transformBox)(s,this.latestValues,this.layout?.layoutBox),s}removeTransform(t){let e=(0,H.createBox)();D(e,t);for(let t=0;t<this.path.length;t++){let i,s=this.path[t];(0,te.hasTransform)(s.latestValues)&&(s.instance&&((0,te.hasScale)(s.latestValues)&&s.updateSnapshot(),D(i=(0,H.createBox)(),s.measurePageBox())),G(e,s.latestValues,s.snapshot?.layoutBox,i))}return(0,te.hasTransform)(this.latestValues)&&G(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!==ts.frameData.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:s,layoutId:n}=this.options;if(!this.layout||!(s||n))return;this.resolvedRelativeTargetAt=ts.frameData.timestamp;let r=this.getClosestProjectingParent();r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,H.createBox)(),this.targetWithTransforms=(0,H.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,_.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):D(this.target,this.layout.layoutBox),(0,B.applyBoxDelta)(this.target,this.targetDelta)):D(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0),m.statsBuffer.value&&tn.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,te.hasScale)(this.parent.latestValues)||(0,te.has2DTranslate)(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)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,H.createBox)(),this.relativeTargetOrigin=(0,H.createBox)(),(0,_.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),D(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
9if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ts.frameData.timestamp&&(i=!1),i)return;let{layout:s,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||n))return;D(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,o=this.treeScale.y;(0,B.applyTreeDeltas)(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,H.createBox)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(j(this.prevProjectionDelta.x,this.projectionDelta.x),j(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,_.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===r&&this.treeScale.y===o&&K(this.projectionDelta.x,this.prevProjectionDelta.x)&&K(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),m.statsBuffer.value&&tn.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,H.createDelta)(),this.projectionDelta=(0,H.createDelta)(),this.projectionDeltaWithTransform=(0,H.createDelta)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},o=(0,H.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,H.createBox)(),l=(s?s.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(tE));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tM(o.x,t.x,s),tM(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,v;(0,_.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,v=s,tP(p.x,m.x,f.x,v),tP(p.y,m.y,f.y,v),i&&(u=this.relativeTarget,d=i,U(u.x,d.x)&&U(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,H.createBox)()),D(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=(0,y.mixNumber)(0,i.opacity??1,A(s)),t.opacityExit=(0,y.mixNumber)(e.opacity??1,0,L(s))):r&&(t.opacity=(0,y.mixNumber)(e.opacity??1,i.opacity??1,s));for(let n=0;n<P;n++){let r=M[n],o=C(e,r),a=C(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||V(o)===V(a)?(t[r]=Math.max((0,y.mixNumber)(E(o),E(a),s),0),(S.percent.test(a)||S.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,y.mixNumber)(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ts.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ts.frame.update(()=>{ti.globalProjectionState.hasAnimatedSinceResize=!0,p.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,x.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,a.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{p.activeAnimations.layout--},onComplete:()=>{p.activeAnimations.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:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tR(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,H.createBox)();let e=(0,_.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,_.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}D(e,i),(0,B.transformBox)(e,n),(0,_.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Z),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;
9return 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 s=this.getStack();s&&s.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 s={};i.z&&ta("z",t,s,this.animationValues);for(let e=0;e<tr.length;e++)ta(`rotate${tr[e]}`,t,s,this.animationValues),ta(`skew${tr[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[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=(0,w.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,w.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,te.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,o=i?.z||0;if((n||r||o)&&(s=`translate3d(${n}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(r=i(n,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,d.scaleCorrectors){if
9(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=d.scaleCorrectors[e],l="none"===r?n[e]:i(n[e],s);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=s===this?(0,w.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tm),this.root.sharedNodes.clear()}}}function tu(t){t.updateLayout()}function th(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,r=e.source!==t.layout.source;if("size"===n)(0,J.eachAxis)(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=(0,_.calcLength)(s);s.min=i[t].min,s.max=s.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";k(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else tR(n,e.layoutBox,i)&&(0,J.eachAxis)(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],o=(0,_.calcLength)(i[s]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,H.createDelta)();(0,_.calcBoxDelta)(o,i,e.layoutBox);let a=(0,H.createDelta)();r?(0,_.calcBoxDelta)(a,t.applyTransform(s,!0),e.measuredBox):(0,_.calcBoxDelta)(a,i,e.layoutBox);let l=!W(o),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let o=t.options.layoutAnchor||void 0,a=(0,H.createBox)();(0,_.calcRelativePosition)(a,e.layoutBox,n.layoutBox,o);let l=(0,H.createBox)();(0,_.calcRelativePosition)(l,i,r.layoutBox,o),Y(a,l)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=s)}}}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 tc(t){m.statsBuffer.value&&tn.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function td(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tp(t){t.clearSnapshot()}function tm(t){t.clearMeasurements()}function tf(t){t.isLayoutDirty=!0,t.updateLayout()}function tv(t){t.isLayoutDirty=!1}function tg(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function ty(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tx(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tw(t){t.resolveTargetDelta()}function tS(t){t.calcProjection()}function tb(t){t.resetSkewAndRotation()}function tT(t){t.removeLeadSnapshot()}function tM(t,e,i){t.translate=(0,y.mixNumber)(e.translate,0,i),t.scale=(0,y.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tP(t,e,i,s){t.min=(0,y.mixNumber)(e.min,i.min,s),t.max=(0,y.mixNumber)(e.max,i.max,s)}function tE(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tV={duration:.45,ease:[.4,0,.1,1]},tC=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tA=tC("applewebkit/")&&!tC("chrome/")?Math.round:o.noop;function tL(t){t.min=tA(t.min),t.max=tA(t.max)}function tR(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,_.isNear)(q(e),q(i),.2)}function tk(t){return t!==t.root&&t.scroll?.wasRoot}var tD=t.i(82774);let tj=tl({attachResizeListener:(t,e)=>(0,tD.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tB={current:void 0},t_=tl({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tB.current){let t=new tj({});t.mount(window),t.setOptions({layoutScroll:!0}),tB.current=t}return tB.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,t_],17871);let tF={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:t_,MeasureLayout:s.MeasureLayout}};t.s(["drag",0,tF],46816);var tO=t.i(42098),tN=t.i(39676),tI=t.i(49652);function tG(t,e){let i=(0,tI.resolveElements)(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}t.s(["setupGesture",0,tG],73089);var tH=t.i(65536);function tz(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&ts.frame.postRender(()=>n(e,(0,tH.extractEventInfo)(e)))}class tW extends tO.Feature{mount(){let{current:t}=this.node;
9t&&(this.unmount=function(t,e,i={}){let[s,n,r]=tG(t,i);return s.forEach(t=>{let i,s=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{s=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(s){r=!0;return}o(t)}};t.addEventListener("pointerenter",s=>{if("touch"===s.pointerType||(0,tN.isDragActive)())return;r=!1;let o=e(t,s);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{s=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),r}(t,(t,e)=>(tz(this.node,e,"Start"),t=>tz(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,tW],57512);var tU=tO,t$=t.i(38638);class tY extends tU.Feature{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=(0,t$.pipe)((0,tD.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tD.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tY],99642)},77901,t=>{"use strict";var e=t.i(71645);let i="(prefers-reduced-motion: reduce)";function s(t){let e=window.matchMedia(i);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}t.s(["useMotionPreference",0,function(){return(0,e.useSyncExternalStore)(s,()=>window.matchMedia(i).matches,()=>!1)}])},49492,92599,t=>{"use strict";class e{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(){return i(this.animations,"duration")}get iterationDuration(){return i(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function i(t,e){let i=0;for(let s=0;s<t.length;s++){let n=t[s][e];null!==n&&n>i&&(i=n)}return i}class s extends e{then(t,e){return this.finished.finally(t).then(()=>{})}}var n=t.i(33887),r=t.i(86427),o=t.i(28409),a=t.i(83411),l=t.i(15923),u=t.i(97307),h=t.i(21748),c=t.i(15932),d=t.i(83920),p=t.i(63074),m=t.i(65566),f=t.i(93544);function v(t,e){var i;let s;return(0,f.isEasingArray)(t)?t[i=t.length,((e-0)%(s=i-0)+s)%s+0]:t}var g=t.i(49652);function y(t){return"object"==typeof t&&!Array.isArray(t)}function x(t,e,i,s){return null==t?[]:"string"==typeof t&&y(e)?(0,g.resolveElements)(t,i,s):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(t=>null!=t):[t]}function w(t,e,i,s){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))):s.get(e)??t}var S=t.i(706);function b(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function T(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function M(t,e){return e[t]||(e[t]=[]),e[t]}let P=t=>"number"==typeof t,E=t=>t.every(P);var V=t.i(68705),C=t.i(72094),A=t.i(72323),L=t.i(89026),R=t.i(36331),k=t.i(75737),D=t.i(86783),j=t.i(30162),B=t.i(17218);class _ extends B.VisualElement{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,j.createBox)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function F(t){let e={presenceContext:null,props:{}
9,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=(0,L.isSVGElement)(t)&&!(0,R.isSVGSVGElement)(t)?new k.SVGVisualElement(e):new D.HTMLVisualElement(e);i.mount(t),C.visualElementStore.set(t,i)}function O(t){let e=new _({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),C.visualElementStore.set(t,e)}function N(t,e,i,s){let n=[];if((0,a.isMotionValue)(t)||"number"==typeof t||"string"==typeof t&&!y(e))n.push((0,V.animateSingleValue)(t,y(e)&&e.default||e,i&&i.default||i));else{if(null==t)return n;let r=x(t,e,s),o=r.length;(0,m.invariant)(!!o,"No valid elements provided.","no-valid-elements");for(let t=0;t<o;t++){let s=r[t],a=s instanceof Element?F:O;C.visualElementStore.has(s)||a(s);let l=C.visualElementStore.get(s),u={...i};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,o)),n.push(...(0,A.animateTarget)(l,{...e,transition:u},{}))}}return n}let I=function(t={}){let{scope:e,reduceMotion:i}=t;return function(t,f,g){var y;let P,V=[];if(Array.isArray(t)&&t.some(Array.isArray)){let s,{onComplete:g,...C}=f||{};"function"==typeof g&&(P=g),y=void 0!==i?{reduceMotion:i,...C}:C,s=[],(function(t,{defaultTransition:e={},...i}={},s,r){let o=e.duration||.3,f=new Map,g=new Map,y={},P=new Map,V=0,C=0,A=0;for(let i=0;i<t.length;i++){let d=t[i];if("string"==typeof d){P.set(d,C);continue}if(!Array.isArray(d)){P.set(d.name,w(C,d.at,V,P));continue}let[f,b,k={}]=d;void 0!==k.at&&(C=w(C,k.at,V,P));let D=0,j=(t,i,s,a=0,d=0)=>{var f;let g=Array.isArray(f=t)?f:[f],{delay:y=0,times:x=(0,l.defaultOffset)(g),type:w=e.type||"keyframes",repeat:b,repeatType:T,repeatDelay:M=0,...P}=i,{ease:V=e.ease||"easeOut",duration:L}=i,R="function"==typeof y?y(a,d):y,k=g.length,j=(0,u.isGenerator)(w)?w:r?.[w||"keyframes"];if(k<=2&&j){let t=100;2===k&&E(g)&&(t=Math.abs(g[1]-g[0]));let i={...e,...P};void 0!==L&&(i.duration=(0,p.secondsToMilliseconds)(L));let s=(0,h.createGeneratorEasing)(i,t,j);V=s.ease,L=s.duration}L??(L=o);let B=C+R;1===x.length&&0===x[0]&&(x[1]=1);let _=x.length-g.length;if(_>0&&(0,c.fillOffset)(x,_),1===g.length&&g.unshift(null),b){(0,m.invariant)(b<20,"Repeat count too high, must be less than 20","repeat-count-high"),L*=b+1;let t=[...g],e=[...x],i=[...V=Array.isArray(V)?[...V]:[V]];for(let s=0;s<b;s++){g.push(...t);for(let n=0;n<t.length;n++)x.push(e[n]+(s+1)),V.push(0===n?"linear":v(i,n-1))}for(let t=0;t<x.length;t++)x[t]=x[t]/(b+1)}let F=B+L;!function(t,e,i,s,r,o){for(let e=0;e<t.length;e++){let i=t[e];i.at>r&&i.at<o&&((0,n.removeItem)(t,i),e--)}for(let n=0;n<e.length;n++)t.push({value:e[n],at:(0,S.mixNumber)(r,o,s[n]),easing:v(i,n)})}(s,g,V,x,B,F),D=Math.max(R+L,D),A=Math.max(F,A)};if((0,a.isMotionValue)(f))j(b,k,M("default",T(f,g)));else{let t=x(f,b,s,y),e=t.length;for(let i=0;i<e;i++){let s=T(t[i],g);for(let t in b){var L,R;j(b[t],(L=k,R=t,L&&L[R]?{...L,...L[R]}:{...L}),M(t,s),i,e)}}}V=C,C+=D}return g.forEach((t,s)=>{for(let n in t){let r=t[n];r.sort(b);let o=[],a=[],l=[];for(let t=0;t<r.length;t++){let{at:e,value:i,easing:s}=r[t];o.push(i),a.push((0,d.progress)(0,A,e)),l.push(s||"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)),f.has(s)||f.set(s,{keyframes:{},transition:{}});let u=f.get(s);u.keyframes[n]=o;let{type:h,...c}=e;u.transition[n]={...c,duration:A,ease:l,times:a,...i}}}),f})(t.map(t=>{if(Array.isArray(t)&&"function"==typeof t[0]){let e=t[0],i=(0,r.motionValue)(0);return(i.on("change",e),1===t.length)?[i,[0,1]]:2===t.length?[i,[0,1],t[1]]:[i,t[1],t[2]]}return t}),y,e,{spring:o.spring}).forEach(({keyframes:t,transition:e},i)=>{s.push(...N(i,t,e))}),V=s}else{let{onComplete:s,...n}=g||{};"function"==typeof s&&(P=s),V=N(t,f,void 0!==i?{reduceMotion:i,...n}:n,e)}let C=new s(V);return P&&C.finished.then(P),e&&(e.animations.push(C),C.finished.then(()=>{(0,n.removeItem)(e.animations,C)})),C}}();t.s(["animate",0,I],49492);var G="1.3.26";function H(t,e,i){return Math.max(t,Math.min(e,i))}var z=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let i=H(0,this.currentTime/this.duration,1),s=(e=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*s}else if(this.lerp){var i,s,n,r;this.value=(i=this.value,s=this.to,n=60*this.lerp,(1-(r=1-Math.exp(-n*t)))*i+r*s),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)}else this.value=this.to,e=!0;e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i,duration:s,easing:n,onStart:r,onUpdate:o}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=n,this.currentTime=0,this.isRunning=!0,r?.(),this.onUpdate=o}},W=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(t,e,{autoResize:i=!0,debounce:s=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=function(t,e){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>{i=void 0,t.apply(this,s)},e)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},U=class{events={};emit(t,...e){let i=this.events[t]||[];for(let t=0,s=i.length;t<s;t++)i[t]?.(...e)}on(t,e){return this.events[t]?this.events[t].push(e):this.events[t]=[e],()=>{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}};let $=100/6,Y={passive:!1};function q(t,e){return 1===t?$:2===t?e:1}var K=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new U;constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Y),this.element.addEventListener("touchstart",this.onTouchStart,Y),this.element.addEventListener("touchmove",this.onTouchMove,Y),this.element.addEventListener("touchend",this.onTouchEnd,Y)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Y),this.element.removeEventListener("touchstart",this.onTouchStart,Y),this.element.removeEventListener("touchmove",this.onTouchMove,Y),this.element.removeEventListener("touchend",this.onTouchEnd,Y)}onTouchStart=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.options.touchMultiplier,n=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:s,y:n},this.emitter.emit("scroll",{deltaX:s,deltaY:n,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t,n=q(s,this.window.width),r=q(s,this.window.height);e*=n,i*=r,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let X=t=>Math.min(1,1.001-2**(-10*t));var Z=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)");
9isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new z;emitter=new U;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:i=t,smoothWheel:s=!0,syncTouch:n=!1,syncTouchLerp:r=.075,touchInertiaExponent:o=1.7,duration:a,easing:l,lerp:u=.1,infinite:h=!1,orientation:c="vertical",gestureOrientation:d="horizontal"===c?"both":"vertical",touchMultiplier:p=1,wheelMultiplier:m=1,autoResize:f=!0,prevent:v,virtualScroll:g,overscroll:y=!0,autoRaf:x=!1,anchors:w=!1,autoToggle:S=!1,allowNestedScroll:b=!1,__experimental__naiveDimensions:T=!1,naiveDimensions:M=T,stopInertiaOnNavigate:P=!1,respectReducedMotion:E=!0}={}){window.lenisVersion=G,window.lenis||(window.lenis={}),window.lenis.version=G,"horizontal"===c&&(window.lenis.horizontal=!0),!0===n&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),t&&t!==document.documentElement||(t=window),"number"==typeof a&&"function"!=typeof l?l=X:"function"==typeof l&&"number"!=typeof a&&(a=1),this.options={wrapper:t,content:e,eventsTarget:i,smoothWheel:s,syncTouch:n,syncTouchLerp:r,touchInertiaExponent:o,duration:a,easing:l,lerp:u,infinite:h,gestureOrientation:d,orientation:c,touchMultiplier:p,wheelMultiplier:m,autoResize:f,prevent:v,virtualScroll:g,overscroll:y,autoRaf:x,anchors:w,autoToggle:S,allowNestedScroll:b,naiveDimensions:M,stopInertiaOnNavigate:P,respectReducedMotion:E},this.dimensions=new W(t,e,{autoResize:f}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new K(i,{touchMultiplier:p,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName?.includes("overflow")&&t.target===this.rootElement&&this.checkOverflow()};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{let e=t.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){let t=e.find(t=>i.host===t.host&&i.pathname===t.pathname&&t.hash);if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=decodeURIComponent(t.hash);this.scrollTo(i,e);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname))return void this.reset()};onPointerDown=t=>{1===t.button&&this.reset()};isTouchOnSelectionHandle(t){let e=window.getSelection();if(!e||e.isCollapsed||0===e.rangeCount)return!1;let i=t.targetTouches[0]??t.changedTouches[0];if(!i)return!1;let s=e.getRangeAt(0).getClientRects();if(0===s.length)return!1;let n=s[0],r=s[s.length-1],o=40>=Math.hypot(i.clientX-n.left,i.clientY-n.top),a=40>=Math.hypot(i.clientX-r.right,i.clientY-r.bottom);return o||a}onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;let{deltaX:e,deltaY:i,event:s}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;let n=s.type.includes("touch"),r=s.type.includes("wheel");if(n&&this.isIos&&("touchstart"===s.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(s)),this._isDraggingSelection)){"touchend"===s.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===s.type||"touchmove"===s.type;let o=0===e&&0===i;if(this.options.syncTouch&&n&&"touchstart"===s.type&&o&&!this.isStopped&&!this.isLocked)return void this.reset();let a="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===e;if(o||a)return;let l=s.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let u=this.options.prevent,h=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(l.find(t=>t instanceof HTMLElement&&("function"==typeof u&&u?.(t)||t.hasAttribute?.("data-lenis-prevent")||"vertical"===h&&t.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===h&&t.hasAttribute?.("data-lenis-prevent-horizontal")||n&&t.hasAttribute?.("data-lenis-prevent-touch")||r&&t.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(t,{deltaX:e,deltaY:i}
9))))return;if(this.isStopped||this.isLocked){s.cancelable&&s.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&r)){this.isScrolling="native",this.animate.stop(),s.lenisStopPropagation=!0;return}let c=i;"both"===this.options.gestureOrientation?c=Math.abs(i)>Math.abs(e)?i:e:"horizontal"===this.options.gestureOrientation&&(c=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(s.lenisStopPropagation=!0),s.cancelable&&s.preventDefault();let d=n&&this.options.syncTouch,p=n&&"touchend"===s.type;p&&(c=Math.sign(c)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+c,{programmatic:!1,...d?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:i=!1,lock:s=!1,programmatic:n=!0,lerp:r=n?this.options.lerp:void 0,duration:o=n?this.options.duration:void 0,easing:a=n?this.options.easing:void 0,onStart:l,onComplete:u,force:h=!1,userData:c}={}){if(this.prefersReducedMotion&&(n?i=!0:(r=1,o=void 0,a=void 0)),(this.isStopped||this.isLocked)&&!h)return;let d=t,p=e;if("string"==typeof d&&["top","left","start","#"].includes(d))d=0;else if("string"==typeof d&&["bottom","right","end"].includes(d))d=this.limit;else{let t=null;if("string"==typeof d?(t=d.startsWith("#")?document.getElementById(d.slice(1)):document.querySelector(d))||("#top"===d?d=0:console.warn("Lenis: Target not found",d)):d instanceof HTMLElement&&d?.nodeType&&(t=d),t){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();p-=this.isHorizontal?t.left:t.top}let e=t.getBoundingClientRect(),i=getComputedStyle(t),s=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),n=getComputedStyle(this.rootElement),r=this.isHorizontal?Number.parseFloat(n.scrollPaddingLeft):Number.parseFloat(n.scrollPaddingTop);d=(this.isHorizontal?e.left:e.top)+this.animatedScroll-(Number.isNaN(s)?0:s)-(Number.isNaN(r)?0:r)}}if("number"==typeof d){if(d+=p,this.options.infinite){if(n){this.targetScroll=this.animatedScroll=this.scroll;let t=d-this.animatedScroll;t>this.limit/2?d-=this.limit:t<-this.limit/2&&(d+=this.limit)}}else d=H(0,d,this.limit);if(d===this.targetScroll){l?.(this),u?.(this);return}if(this.userData=c??{},i){this.animatedScroll=this.targetScroll=d,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit
9(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}n||(this.targetScroll=d),"number"==typeof o&&"function"!=typeof a?a=X:"function"==typeof a&&"number"!=typeof o&&(o=1),this.animate.fromTo(this.animatedScroll,d,{duration:o,easing:a,lerp:r,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(t,e)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),n&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(t,{deltaX:e,deltaY:i}){let s,n,r,o,a,l,u,h,c,d,p,m,f,v,g,y,x=Date.now();t._lenis||(t._lenis={});let w=t._lenis;if(x-(w.time??0)>2e3){w.time=Date.now();let e=window.getComputedStyle(t);if(w.computedStyle=e,s=["auto","overlay","scroll"].includes(e.overflowX),n=["auto","overlay","scroll"].includes(e.overflowY),a=["auto"].includes(e.overscrollBehaviorX),l=["auto"].includes(e.overscrollBehaviorY),w.hasOverflowX=s,w.hasOverflowY=n,!(s||n))return!1;u=t.scrollWidth,h=t.scrollHeight,c=t.clientWidth,d=t.clientHeight,r=u>c,o=h>d,w.isScrollableX=r,w.isScrollableY=o,w.scrollWidth=u,w.scrollHeight=h,w.clientWidth=c,w.clientHeight=d,w.hasOverscrollBehaviorX=a,w.hasOverscrollBehaviorY=l}else r=w.isScrollableX,o=w.isScrollableY,s=w.hasOverflowX,n=w.hasOverflowY,u=w.scrollWidth,h=w.scrollHeight,c=w.clientWidth,d=w.clientHeight,a=w.hasOverscrollBehaviorX,l=w.hasOverscrollBehaviorY;if(!(s&&r||n&&o))return!1;let S=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===S)p=Math.round(t.scrollLeft),m=u-c,f=e,v=s,g=r,y=a;else{if("vertical"!==S)return!1;p=Math.round(t.scrollTop),m=h-d,f=i,v=n,g=o,y=l}return!y&&(p>=m||p<=0)||(f>0?p<m:p>0)&&v&&g}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(t=>{this.rootElement.classList.add(t)})}cleanUpClassName(){for(let t of Array.from(this.rootElement.classList))("lenis"===t||t.startsWith("lenis-"))&&this.rootElement.classList.remove(t)}};t.s(["default",0,Z],92599)},67585,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let s=t.r(32061);function n({reason:t,children:e}){if("u"<typeof window)throw Object.defineProperty(new s.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
9configurable:!0});return e}},9885,(t,e,i)=>{"use strict";function s(t){return t.split("/").map(t=>encodeURIComponent(t)).join("/")}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"encodeURIPath",{enumerable:!0,get:function(){return s}})},52157,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"PreloadChunks",{enumerable:!0,get:function(){return l}});let s=t.r(43476),n=t.r(74080),r=t.r(63599),o=t.r(9885),a=t.r(43369);function l({moduleIds:t}){if("u">typeof window)return null;let e=r.workAsyncStorage.getStore();if(void 0===e)return null;let i=[];if(e.reactLoadableManifest&&t){let s=e.reactLoadableManifest;for(let e of t){if(!s[e])continue;let t=s[e].files;i.push(...t)}}if(0===i.length)return null;let u=(0,a.getAssetTokenQuery)();return(0,s.jsx)(s.Fragment,{children:i.map(t=>{let i=`${e.assetPrefix}/_next/${(0,o.encodeURIPath)(t)}${u}`;return t.endsWith(".css")?(0,s.jsx)("link",{precedence:"dynamic",href:i,rel:"stylesheet",as:"style",nonce:e.nonce},t):((0,n.preload)(i,{as:"script",fetchPriority:"low",nonce:e.nonce}),null)})})}},69093,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return u}});let s=t.r(43476),n=t.r(71645),r=t.r(67585),o=t.r(52157);function a(t){return{default:t&&"default"in t?t.default:t}}let l={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},u=function(t){let e={...l,...t},i=(0,n.lazy)(()=>e.loader().then(a)),u=e.loading;function h(t){let a=u?(0,s.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!e.ssr||!!e.loading,h=l?n.Suspense:n.Fragment,c=e.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(o.PreloadChunks,{moduleIds:e.modules}):null,(0,s.jsx)(i,{...t})]}):(0,s.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(i,{...t})});return(0,s.jsx)(h,{...l?{fallback:a}:{},children:c})}return h.displayName="LoadableComponent",h}},70703,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n}});let s=t.r(55682)._(t.r(69093));function n(t,e){let i={};"function"==typeof t&&(i.loader=t);let n={...i,...e};return(0,s.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},31866,t=>{t.v({clear:"liquidGlass-module__RRiu_q__clear",diffusion:"liquidGlass-module__RRiu_q__diffusion",engine:"liquidGlass-module__RRiu_q__engine",library:"liquidGlass-module__RRiu_q__library",light:"liquidGlass-module__RRiu_q__light",lime:"liquidGlass-module__RRiu_q__lime",pearl:"liquidGlass-module__RRiu_q__pearl",rim:"liquidGlass-module__RRiu_q__rim",surface:"liquidGlass-module__RRiu_q__surface",tint:"liquidGlass-module__RRiu_q__tint"})},20215,t=>{t.v({action:"glassAction-module__--z4aW__action",material:"glassAction-module__--z4aW__material"})},46932,92687,39993,t=>{"use strict";var e=t.i(54505),i=t.i(7051),s=t.i(23070),n=t.i(46816),r=t.i(57512),o=t.i(99642),a=t.i(42098),l=t.i(72846),u=t.i(39676);let h=(t,e)=>!!e&&(t===e||h(t,e.parentElement));var c=t.i(41327),d=t.i(73089),p=t.i(19880);let m=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function v(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function g(t){return(0,c.isPrimaryPointer)(t)&&!(0,u.isDragActive)()}let y=new WeakSet;var x=t.i(87022),w=t.i(65536);function S(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&x.frame.postRender(()=>n(e,(0,w.extractEventInfo)(e)))}class b extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[s,n,r]=(0,d.setupGesture)(t,i),o=t=>{let s=t.currentTarget;if(!g(t)||y.has(t))return;m.add(s),i.stopPropagation&&y.add(t);let r=e(s,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),m.has(s)&&m.delete(s),g(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,s===window||s===document||i.useGlobalTarget||h(s,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};
9return s.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=f(()=>{if(m.has(i))return;v(i,"down");let t=f(()=>{v(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>v(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),(0,p.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(S(this.node,e,"Start"),(t,{success:e})=>S(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var T=a;let M=new WeakMap,P=new WeakMap,E=t=>{let e=M.get(t.target);e&&e(t)},V=t=>{t.forEach(E)},C={some:0,all:1};class A extends T.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:r="some",once:o}=i,a={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:C[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;P.has(i)||P.set(i,{});let s=P.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(V,{root:t,...e})),s[n]}(a),M.set(t,l),e.observe(t),()=>{M.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let L={inView:{Feature:A},tap:{Feature:b},focus:{Feature:o.FocusGesture},hover:{Feature:r.HoverGesture}};var R=t.i(17871),k=t.i(77397);let D={layout:{ProjectionNode:R.HTMLProjectionNode,MeasureLayout:k.MeasureLayout}},j={...s.animations,...L,...n.drag,...D},B=(0,i.createMotionProxy)(j,e.createDomVisualElement);t.s(["motion",0,B],46932);var _=t.i(43476),F=t.i(71645),O=t.i(70703),N=t.i(31866);let I=(0,O.default)(()=>t.A(44875),{loadableGenerated:{modules:[96832]},ssr:!1}),G={x:0,y:0};function H({className:t="",tone:e="clear",interactive:i=!0,lens:s=!0}){let n=(0,F.useRef)(null),[r,o]=(0,F.useState)();return(0,F.useEffect)(()=>{let t=n.current,e=t?.parentElement;if(!t||!e)return;let i=/Chrome|Chromium|Edg\//.test(navigator.userAgent),s=new ResizeObserver(()=>{let t=parseFloat(getComputedStyle(e).borderTopLeftRadius)||0;o(e=>e?.radius===t?e:{radius:t,refracts:i})});return s.observe(t),()=>s.disconnect()},[]),(0,F.useEffect)(()=>{let t=n.current,e=t?.parentElement;if(!t||!e||!i)return;let s=matchMedia("(prefers-reduced-motion: reduce)"),r=0,o=.3,a=.1,l=.3,u=.1,h=0,c=e=>{let i=Math.min(64,e-(h||e-16));h=e;let s=1-Math.exp(-i/85);o+=(l-o)*s,a+=(u-a)*s,t.style.setProperty("--glass-light-x",`${(100*o).toFixed(2)}%`),t.style.setProperty("--glass-light-y",`${(100*a).toFixed(2)}%`),r=Math.abs(l-o)+Math.abs(u-a)>.001?requestAnimationFrame(c):0},d=()=>{r||(h=0,r=requestAnimationFrame(c))},p=t=>{if("mouse"!==t.pointerType||s.matches)return;let i=e.getBoundingClientRect();l=Math.max(0,Math.min(1,(t.clientX-i.left)/i.width)),u=Math.max(0,Math.min(1,(t.clientY-i.top)/i.height)),d()},m=()=>{l=.3,u=.1,s.matches||d()};return e.addEventListener("pointermove",p,{passive:!0}),e.addEventListener("pointerleave",m),()=>{e.removeEventListener("pointermove",p),e.removeEventListener("pointerleave",m),cancelAnimationFrame(r)}},[i]),(0,_.jsxs)("span",{ref:n,"aria-hidden":"true","data-liquid-glass":e,"data-refraction":r?.refracts&&s?"enabled":"fallback",className:`${N.default.surface} ${N.default[e]} ${t}`,children:[r?.refracts&&s&&(0,_.jsx)("span",{className:N.default.library,children:(0,_.jsx)(I,{className:N.default.engine,mode:"standard",displacementScale:42*!!s,blurAmount:.35,saturation:145,aberrationIntensity:.65,elasticity:0,cornerRadius:r.radius,padding:"0",globalMousePos:G,mouseOffset:G,style:{position:"absolute",inset:0,width:"100%",height:"100%"},children:(0,_.jsx)("span",{})})}),(0,_.jsx)("span",{className:N.default.diffusion,"data-glass-diffusion":!0}),(0,_.jsx)("span",{className:N.default.tint}),(0,_.jsx)("span",{className:N.default.rim}),(0,_.jsx)("span",{className:N.default.light})]})}t.s(["LiquidGlassSurface",0,H],92687);var z=t.i(20215);let W={"--action-top":"#e9ffb9c9","--action-middle":"#c9fb6bc4","--action-bottom":"#daf8a3b5"},U={"--action-top":"#ffffff24","--action-middle":"#ffffff08","--action-bottom":"#edf7ff24"};t.s(["GlassAction",0,function({href:t,children:e,className:i="",reducedMotion:s,"aria-label":n}){return(0,_.jsxs)(B.a,{href:t,"aria-label":n,className:`${i} ${z.default.action}`,"data-glass-action":!0,initial:!1,animate:W,whileHover:U,whileFocus:U,transition:s?{duration:0}:{type:"spring",stiffness:190,damping:27,mass:.8},children:[(0,_.jsx)(H,{tone:"lime",className:z.default.material}),e]})}],39993)},56954,t=>{t.v({auth:"landingHeader-module__Lv4GMa__auth",brand:"landingHeader-module__Lv4GMa__brand",brandMark:"landingHeader-module__Lv4GMa__brandMark",desktopNav:"landingHeader-module__Lv4GMa__desktopNav",dropdown:"landingHeader-module__Lv4GMa__dropdown",header:"landingHeader-module__Lv4GMa__header",menuArrow:"landingHeader-module__Lv4GMa__menuArrow",menuContent:"landingHeader-module__Lv4GMa__menuContent",menuLink:"landingHeader-module__Lv4GMa__menuLink",menuMaterial:"landingHeader-module__Lv4GMa__menuMaterial",menuTitle:"landingHeader-module__Lv4GMa__menuTitle",menuVisual:"landingHeader-module__Lv4GMa__menuVisual",mobileGroup:"landingHeader-module__Lv4GMa__mobileGroup",mobileLogin:"landingHeader-module__Lv4GMa__mobileLogin",mobilePanel:"landingHeader-module__Lv4GMa__mobilePanel",mobilePricing:"landingHeader-module__Lv4GMa__mobilePricing",mobileTrigger:"landingHeader-module__Lv4GMa__mobileTrigger",navGroup:"landingHeader-module__Lv4GMa__navGroup",navTrigger:"landingHeader-module__Lv4GMa__navTrigger",panelIntro:"landingHeader-module__Lv4GMa__panelIntro",pricingLink:"landingHeader-module__Lv4GMa__pricingLink",resourceIcon:"landingHeader-module__Lv4GMa__resourceIcon",signIn:"landingHeader-module__Lv4GMa__signIn",signUp:"landingHeader-module__Lv4GMa__signUp",upcoming:"landingHeader-module__Lv4GMa__upcoming",visualCompanion:"landingHeader-module__Lv4GMa__visualCompanion",visualLinks:"landingHeader-module__Lv4GMa__visualLinks",visualMain:"landingHeader-module__Lv4GMa__visualMain"})},40319,21131,34908,60961,97621,t=>{"use strict";var e=t.i(43476),i=t.i(71645),s=t.i(22016),n=t.i(88653),r=t.i(46932),o=t.i(64978),a=t.i(
977901),l=t.i(49492),u=t.i(40254),h=t.i(92599);let c=(0,i.createContext)(null),d=new Set(["ArrowDown","ArrowUp","PageDown","PageUp","Home","End"," ","Escape"]);function p(){return(0,i.useContext)(c)}t.s(["SmoothScroll",0,function({children:t}){let s=(0,i.useRef)(null),n=(0,a.useMotionPreference)();return(0,i.useEffect)(()=>{if(n||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=new h.default({autoRaf:!0,lerp:.18,wheelMultiplier:1,smoothWheel:!0,syncTouch:!1,virtualScroll:e=>{let i=e.event;return"wheel"===i.type&&!i.ctrlKey&&!i.defaultPrevented&&i.cancelable&&Math.abs(e.deltaY)>Math.abs(e.deltaX)&&"smooth"===t.isScrolling&&e.deltaY*t.velocity<0&&t.scrollTo(t.animatedScroll,{immediate:!0}),!0},anchors:!1,stopInertiaOnNavigate:!0});s.current=t;let e=()=>{"smooth"===t.isScrolling&&t.scrollTo(window.scrollY,{immediate:!0})},i=t=>{d.has(t.key)&&e()},r=()=>{document.hidden&&e()},o=0,a=()=>{o||(o=requestAnimationFrame(()=>{o=0,e(),t.resize()}))};return window.addEventListener("keydown",i),window.addEventListener("pointerdown",e,{passive:!0}),window.addEventListener("resize",a,{passive:!0}),document.addEventListener("visibilitychange",r),()=>{window.removeEventListener("keydown",i),window.removeEventListener("pointerdown",e),window.removeEventListener("resize",a),cancelAnimationFrame(o),document.removeEventListener("visibilitychange",r),s.current=null,t.destroy()}},[n]),(0,e.jsx)(c.Provider,{value:s,children:t})},"useSmoothScroll",0,p],21131);let m=(0,u.cubicBezier)(.22,.68,.16,1);function f(t){let e=p(),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=()=>{s.current?.stop(),s.current=null},e=e=>{["ArrowDown","ArrowUp","PageDown","PageUp","Home","End"," ","Escape"].includes(e.key)&&t()};return window.addEventListener("wheel",t,{passive:!0}),window.addEventListener("touchstart",t,{passive:!0}),window.addEventListener("keydown",e),()=>{t(),window.removeEventListener("wheel",t),window.removeEventListener("touchstart",t),window.removeEventListener("keydown",e)}},[]),(0,i.useCallback)(i=>{let n=document.getElementById(i);if(!n)return;s.current?.stop();let r=parseFloat(getComputedStyle(n).scrollMarginTop)||0,o=Math.max(0,n.getBoundingClientRect().top+window.scrollY-r),a=()=>{s.current=null,n.focus({preventScroll:!0})};if(t){window.scrollTo(0,o),a();return}let u=Math.min(1.65,Math.max(.8,Math.abs(o-window.scrollY)/1e3));e?.current?e.current.scrollTo(o,{duration:u,easing:m,lerp:0,lock:!1,onComplete:a}):s.current=(0,l.animate)(window.scrollY,o,{duration:u,ease:m,onUpdate:t=>window.scrollTo(0,t),onComplete:a})},[t,e])}t.s(["useSectionScroll",0,f],34908);var v=t.i(92687),g=t.i(39993);let y=["M11.4218 0C11.584 0 11.7156 0.131426 11.7156 0.293547V5.7259C11.7156 5.8697 11.82 5.99142 11.9608 6.02154C12.2644 6.08653 12.5622 6.17904 12.8505 6.29834C13.0296 6.37245 13.204 6.45648 13.3729 6.54992C13.4918 6.61571 13.6409 6.5989 13.737 6.50286L17.6966 2.54678C17.8114 2.43214 17.9974 2.43214 18.1121 2.54678L18.8652 3.29922C18.98 3.41385 18.98 3.59972 18.8652 3.71435L15.0167 7.55948C14.9091 7.66694 14.9022 7.83812 14.9935 7.95968C15.2513 8.30289 15.4656 8.67782 15.6306 9.07602C15.6459 9.11284 15.6607 9.14981 15.6751 9.18694C15.7205 9.30409 15.8315 9.38435 15.9573 9.38435H21.4755C21.6377 9.38435 21.7693 9.51577 21.7693 9.67789V10.742C21.7693 10.9041 21.6377 11.0356 21.4755 11.0356H16.024C16.0227 11.0356 16.0217 11.0366 16.0217 11.0378C16.0217 11.0391 16.0207 11.0401 16.0194 11.0401H14.938C14.7757 11.0401 14.6453 10.9085 14.6327 10.7469C14.6019 10.3541 14.5094 9.96788 14.358 9.60272C14.169 9.147 13.8921 8.73291 13.543 8.38412C13.1939 8.03533 12.7795 7.75865 12.3233 7.56989C11.8672 7.38112 11.3783 7.28396 10.8846 7.28396C10.3909 7.28396 9.90207 7.38112 9.44595 7.56989C8.98982 7.75865 8.57537 8.03533 8.22627 8.38412C7.87717 8.73291 7.60025 9.147 7.41132 9.60272C7.25993 9.96788 7.16741 10.3541 7.13662 10.7469C7.12395 10.9085 6.9936 11.0401 6.83133 11.0401H5.7499C5.74863 11.0401 5.74761 11.0391 5.74761 11.0378C5.74762 11.0366 5.74659 11.0356 5.74533 11.0356H0.293807C0.131542 11.0356 0 10.9041 0 10.742V9.67789C0 9.51577 0.131542 9.38435 0.293807 9.38435H5.81203C5.93777 9.38435 6.04878 9.30409 
96.09417 9.18694C6.10855 9.14981 6.12338 9.11284 6.13864 9.07602C6.30478 8.67527 6.52073 8.2981 6.7807 7.9531C6.87231 7.83154 6.86552 7.6601 6.75783 7.5525L2.91629 3.71436C2.80155 3.59972 2.80155 3.41385 2.91629 3.29922L3.66939 2.54678C3.78413 2.43214 3.97016 2.43214 4.0849 2.54678L8.04012 6.4985C8.13612 6.59441 8.28497 6.61132 8.40386 6.54581C8.57044 6.45402 8.74233 6.37136 8.91878 6.29834C9.20978 6.17791 9.51054 6.08477 9.81716 6.01969C9.95814 5.98977 10.0629 5.86794 10.0629 5.72394V0.293547C10.0629 0.131425 10.1944 0 10.3567 0H11.4218Z","M12.1563 11.0401C12.2171 11.0401 12.2669 10.9908 12.2621 10.9302C12.236 10.6043 12.0948 10.2968 11.8617 10.0639C11.6026 9.805 11.2511 9.65955 10.8846 9.65955C10.5182 9.65955 10.1667 9.805 9.90755 10.0639C9.67448 10.2968 9.53327 10.6043 9.50722 10.9302C9.50237 10.9908 9.55216 11.0401 9.61301 11.0401H12.1563Z"];function x({className:t}){return(0,e.jsx)("svg",{className:t,viewBox:"0 0 21.7693 11.0401",width:"24",height:"12.1715",preserveAspectRatio:"xMidYMid meet",fill:"currentColor","aria-hidden":"true",focusable:"false","data-ophelia-mark":!0,children:y.map((t,i)=>(0,e.jsx)("path",{d:t},i))})}t.s(["OPHELIA_MARK_PATHS",0,y],60961),t.s(["OpheliaMark",0,x],97621);var w=t.i(56954);let S=["Features","Solutions","Pricing","Resources"],b={Features:[{title:"Your agent",description:"A little guidance, from idea to post.",section:"agent",image:"/images/dreams/product-candle.webp",visual:"agent"},{title:"The canvas",description:"Room for everything you want to make.",section:"canvas",image:"/images/demos/ophelia-canvas.png",visual:"canvas"}],Solutions:[{title:"Content for your brand",description:"Product photos, posts, and your next ad.",section:"agent",image:"/images/dreams/product-candle.webp",visual:"brand"}
9,{title:"Your next idea",description:"Bring your photos and videos together.",section:"canvas",image:"/images/dreams/moment.jpg",visual:"idea"}]};function T(){return(0,e.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,e.jsx)("path",{d:"m3 6 5 5 5-5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})}function M(){return(0,e.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,e.jsx)("path",{d:"M3.5 8.5 8.5 3.5M4.5 3.5h4v4",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function P({id:t,mobile:i=!1,reducedMotion:s,children:n}){let a=(0,o.useIsPresent)();return(0,e.jsxs)(r.motion.div,{id:t,className:i?w.default.mobilePanel:w.default.dropdown,inert:!a,"aria-hidden":!a,"data-lenis-prevent":i||void 0,initial:{y:s?0:-9,scale:s?1:.97},animate:{y:0,scale:1},exit:{y:s?0:-5,scale:s?1:.985},transition:s?{duration:0}:{type:"spring",stiffness:440,damping:36,mass:.8},children:[(0,e.jsx)(r.motion.div,{className:w.default.menuMaterial,"aria-hidden":"true",initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},transition:{duration:.16*!s}}),(0,e.jsx)(r.motion.div,{className:w.default.menuContent,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.14*!s},children:n})]})}function E({index:t}){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",width:"23",height:"23",fill:"none",stroke:"currentColor",strokeWidth:"1.35",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:0===t?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,e.jsx)("path",{d:"M3 10h18M10 10v11"})]}):1===t?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M5 3h11l3 3v15H5V3Z"}),(0,e.jsx)("path",{d:"M9 9h6M9 13h6M9 17h4"})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M6 5h12M6 12h12M6 19h12"}),(0,e.jsx)("circle",{cx:"8",cy:"5",r:"2",fill:"currentColor",stroke:"none"}),(0,e.jsx)("circle",{cx:"16",cy:"12",r:"2",fill:"currentColor",stroke:"none"}),(0,e.jsx)("circle",{cx:"10",cy:"19",r:"2",fill:"currentColor",stroke:"none"})]})})}t.s(["LandingHeader",0,function({home:t=!1}){let r=(0,i.useRef)(null),o=(0,i.useRef)(!1),l=(0,i.useRef)(null),u=(0,i.useRef)(null),[h,c]=(0,i.useState)(null),[d,p]=(0,i.useState)(!1),m=(0,a.useMotionPreference)(),y=f(m);function V(){l.current&&clearTimeout(l.current),u.current&&clearTimeout(u.current)}function C(){V(),c(null),p(!1)}function A(e,i){C(),!t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||(e.preventDefault(),y(i))}function L(t){return"Resources"===t?(0,e.jsxs)("div",{className:w.default.resources,children:[(0,e.jsx)("p",{className:w.default.panelIntro,children:"A little inspiration for your next idea."}),["Templates","Blog","Release notes"].map((t,i)=>(0,e.jsxs)("div",{className:w.default.upcoming,children:[(0,e.jsx)("span",{className:w.default.resourceIcon,children:(0,e.jsx)(E,{index:i})}),(0,e.jsx)("span",{children:t}),(0,e.jsx)("small",{children:"Coming soon"})]},t))]}):(0,e.jsx)("div",{className:w.default.visualLinks,children:b[t].map(t=>(0,e.jsxs)("a",{href:"/#"+t.section,onClick:e=>A(e,t.section),className:w.default.menuLink,children:[(0,e.jsxs)("span",{className:w.default.menuVisual,"data-visual":t.visual,"aria-hidden":"true",children:["agent"===t.visual&&(0,e.jsx)("img",{className:w.default.visualCompanion,src:"/images/dreams/product-light.webp",alt:"",width:"160",height:"180"}),(0,e.jsx)("img",{className:w.default.visualMain,src:t.image,alt:"",width:"240",height:"160"})]}),(0,e.jsxs)("span",{className:w.default.menuTitle,children:[t.title,(0,e.jsx)("span",{className:w.default.menuArrow,"aria-hidden":"true",children:(0,e.jsx)(M,{})})]}),(0,e.jsx)("small",{children:t.description})]},t.title))})}return(0,i.useEffect)(()=>{let t=0,e=t=>{o.current=!!r.current?.contains(t.target),o.current||(c(null),p(!1))},i=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{o.current=!1})},s=matchMedia("(min-width: 1051px)"),n=()=>{c(null),p(!1)};return document.addEventListener("pointerdown",e),document.addEventListener("pointerup",i),document.addEventListener("pointercancel",i),s.addEventListener("change",n),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("pointerup",i),document.removeEventListener("pointercancel",i),cancelAnimationFrame(t),s.removeEventListener("change",n),l.current&&clearTimeout(l.current),u.current&&clearTimeout(u.current)}},[]),(0,i.useEffect)(()=>{let t=t=>{if(o.current=!1,"Escape"!==t.key||!h&&!d)return;t.preventDefault();let e=r.current?.querySelector(d?"[data-mobile-trigger]":'[aria-expanded="true"]');l.current&&clearTimeout(l.current),c(null),p(!1),e?.focus()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[h,d]),(0,e.jsxs)("header",{ref:r,className:w.default.header,"data-landing-header":!0,onBlur:t=>{(t.relatedTarget||!o.current)&&(t.currentTarget.contains(t.relatedTarget)||C())},children:[(0,e.jsx)("nav",{className:w.default.desktopNav,"aria-label":"Main navigation",children:S.map(t=>"Pricing"===t?(0,e.jsx)(s.default,{className:w.default.pricingLink,href:"/pricing",onClick:C,children:"Pricing"},t):(0,e.jsxs)("div",{className:w.default.navGroup,onPointerEnter:e=>{"mouse"===e.pointerType&&(V(),h?c(t):u.current=setTimeout(()=>
9c(t),90))},onPointerLeave:t=>{"mouse"===t.pointerType&&(V(),l.current=setTimeout(()=>c(null),160))},children:[(0,e.jsxs)("button",{type:"button",className:w.default.navTrigger,"aria-expanded":h===t,"aria-controls":"desktop-"+t.toLowerCase(),onClick:e=>{V(),c((0===e.detail||"touch"===e.nativeEvent.pointerType)&&h===t?null:t)},onKeyDown:e=>{"ArrowDown"===e.key&&(e.preventDefault(),c(t),requestAnimationFrame(()=>document.getElementById("desktop-"+t.toLowerCase())?.querySelector("a")?.focus()))},children:[t,(0,e.jsx)(T,{})]}),(0,e.jsx)(n.AnimatePresence,{children:h===t&&(0,e.jsx)(P,{id:"desktop-"+t.toLowerCase(),reducedMotion:m,children:L(t)},t)})]},t))}),(0,e.jsxs)("button",{className:w.default.mobileTrigger,type:"button","aria-label":d?"Close navigation":"Open navigation","aria-expanded":d,"aria-controls":"mobile-navigation","data-mobile-trigger":!0,onClick:()=>{p(t=>!t),c(null)},children:[(0,e.jsx)(v.LiquidGlassSurface,{}),(0,e.jsx)("span",{}),(0,e.jsx)("span",{})]}),(0,e.jsxs)(s.default,{href:t?"#imagination":"/",className:w.default.brand,"aria-label":"Ophelia home",onClick:e=>{t?A(e,"imagination"):C()},children:[(0,e.jsx)(x,{className:w.default.brandMark}),(0,e.jsx)("span",{children:"Ophelia"})]}),(0,e.jsxs)("nav",{className:w.default.auth,"aria-label":"Account",children:[(0,e.jsxs)("a",{className:w.default.signIn,href:"https://app.ophelias.ai/signin",children:[(0,e.jsx)(v.LiquidGlassSurface,{}),(0,e.jsx)("span",{children:"Login"})]}),(0,e.jsxs)(g.GlassAction,{className:w.default.signUp,href:"https://app.ophelias.ai/signup",reducedMotion:m,children:[(0,e.jsx)("span",{children:"Start for free"}),(0,e.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,e.jsx)("path",{d:"m5 6.5 5.5 5.5L5 17.5m8.5-11L19 12l-5.5 5.5",stroke:"currentColor",strokeWidth:"3.2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),(0,e.jsx)(n.AnimatePresence,{children:d&&(0,e.jsx)(P,{id:"mobile-navigation",mobile:!0,reducedMotion:m,children:(0,e.jsxs)("nav",{"aria-label":"Mobile navigation",children:[S.map(t=>"Pricing"===t?(0,e.jsxs)(s.default,{className:w.default.mobilePricing,href:"/pricing",onClick:C,children:["Pricing",(0,e.jsx)(M,{})]},t):(0,e.jsxs)("div",{className:w.default.mobileGroup,children:[(0,e.jsxs)("button",{type:"button",className:w.default.navTrigger,"aria-expanded":h===t,"aria-controls":"mobile-"+t.toLowerCase(),onClick:()=>c(h===t?null:t),children:[t,(0,e.jsx)(T,{})]}),(0,e.jsx)("div",{id:"mobile-"+t.toLowerCase(),hidden:h!==t,children:L(t)})]},t)),(0,e.jsxs)("a",{className:w.default.mobileLogin,href:"https://app.ophelias.ai/signin",children:["Login to Ophelia",(0,e.jsx)(M,{})]})]})},"mobile")})]})}],40319)},72328,t=>{"use strict";var e=t.i(71164),i=t.i(38544),s=t.i(71645);t.s(["useReducedMotion",0,function(){e.hasReducedMotionListener.current||(0,i.initPrefersReducedMotion)();let[t]=(0,s.useState)(e.prefersReducedMotion.current);return t}])}]);

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.