PageSourceSearch

https://www.nivabupa.com/_next/static/chunks/0ps9lxboh_jp~.js

js nivabupa.com collected 2026-10-01 14:38:09 UTC 102,585 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,958798,77549,e=>{"use strict";let i=1/60*1e3,n="u">typeof performance?()=>performance.now():()=>Date.now(),r="u">typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(n()),i);e.s(["defaultTimestep",0,i,"onNextFrame",0,r],958798),e.s(["createRenderStep",0,function(e){let i=[],n=[],r=0,s=!1,o=!1,a=new WeakSet,l={schedule:(e,o=!1,l=!1)=>{let u=l&&s,h=u?i:n;return o&&a.add(e),-1===h.indexOf(e)&&(h.push(e),u&&s&&(r=i.length)),e},cancel:e=>{let i=n.indexOf(e);-1!==i&&n.splice(i,1),a.delete(e)},process:u=>{if(s){o=!0;return}if(s=!0,[i,n]=[n,i],n.length=0,r=i.length)for(let n=0;n<r;n++){let r=i[n];r(u),a.has(r)&&(l.schedule(r),e())}s=!1,o&&(o=!1,l.process(u))}};return l}],77549)},86708,e=>{"use strict";e.s(["frameData",0,{delta:0,timestamp:0}])},560051,e=>{"use strict";var i=e.i(958798),n=e.i(77549),r=e.i(86708);let s=!0,o=!1,a=!1,l=["read","update","preRender","render","postRender"],u=l.reduce((e,i)=>(e[i]=(0,n.createRenderStep)(()=>o=!0),e),{}),h=l.reduce((e,i)=>{let n=u[i];return e[i]=(e,i=!1,r=!1)=>(o||f(),n.schedule(e,i,r)),e},{}),c=l.reduce((e,i)=>(e[i]=u[i].cancel,e),{}),p=l.reduce((e,i)=>(e[i]=()=>u[i].process(r.frameData),e),{}),d=e=>u[e].process(r.frameData),m=e=>{o=!1,r.frameData.delta=s?i.defaultTimestep:Math.max(Math.min(e-r.frameData.timestamp,40),1),r.frameData.timestamp=e,a=!0,l.forEach(d),a=!1,o&&(s=!1,(0,i.onNextFrame)(m))},f=()=>{o=!0,s=!0,a||(0,i.onNextFrame)(m)};e.s(["cancelSync",0,c,"flushSync",0,p,"sync",0,h])},522647,850999,e=>{"use strict";var i=e.i(820363);let n="u">typeof document;e.s(["isBrowser",0,n],850999);let r=n?i.useLayoutEffect:i.useEffect;e.s(["useIsomorphicLayoutEffect",0,r],522647)},270186,e=>{"use strict";let i=(0,e.i(820363).createContext)(null);e.s(["PresenceContext",0,i])},720626,e=>{"use strict";var i=e.i(820363);e.s(["useConstant",0,function(e){let n=(0,i.useRef)(null);return null===n.current&&(n.current=e()),n.current}])},473680,e=>{"use strict";let i=(0,e.i(820363).createContext)({});e.s(["LayoutGroupContext",0,i])},466618,e=>{"use strict";var i=e.i(820363);e.s(["useUnmountEffect",0,function(e){return(0,i.useEffect)(()=>()=>e(),[])}])},645220,768413,e=>{"use strict";var i=e.i(820363);let n=(0,i.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,n],645220);let r=(0,i.createContext)({});e.s(["MotionContext",0,r,"useVisualElementContext",0,function(){return(0,i.useContext)(r).visualElement}],768413)},774090,495943,79588,398710,245404,531197,748387,520740,652720,754735,e=>{"use strict";var i=e.i(820363),n=e.i(270186),r=e.i(768413),s=e.i(522647);let o=(0,i.createContext)({strict:!1});e.s(["LazyContext",0,o],495943);var a=e.i(645220);function l(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function u(e){return"string"==typeof e||Array.isArray(e)}function h(e){return"object"==typeof e&&"function"==typeof e.start}e.s(["useVisualElement",0,function(e,l,u,h){let c=(0,r.useVisualElementContext)(),p=(0,i.useContext)(o),d=(0,i.useContext)(n.PresenceContext),m=(0,i.useContext)(a.MotionConfigContext).reducedMotion,f=(0,i.useRef)();h=h||p.renderer,!f.current&&h&&(f.current=h(e,{visualState:l,parent:c,props:u,presenceId:d?d.id:void 0,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m}));let g=f.current;return(0,s.useIsomorphicLayoutEffect)(()=>{g&&g.render()}),(window.HandoffAppearAnimations?s.useIsomorphicLayoutEffect:i.useEffect)(()=>{g&&g.animationState&&g.animationState.animateChanges()}),g}],774090),e.s(["isRefObject",0,l],79588),e.s(["useMotionRef",0,function(e,n,r){return(0,i.useCallback)(i=>{i&&e.mount&&e.mount(i),n&&(i?n.mount(i):n.unmount()),r&&("function"==typeof r?r(i):l(r)&&(r.current=i))},[n])}],398710),e.s(["isVariantLabel",0,u],245404),e.s(["isAnimationControls",0,h],531197);let c=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function p(e){return h(e.animate)||c.some(i=>u(e[i]))}function d(e){return Array.isArray(e)?e.join(" "):e}e.s(["isControllingVariants",0,p,"isVariantNode",0,function(e){return!!(p(e)||e.variants)}],748387),e.s(["useCreateMotionContext",0,function(e){let{initial:n,animate:s}=function(e,i){if(p(e)){let{initial:i,animate:n}=e;return{initial:!1===i||u(i)?i:void 0,animate:u(n)?n:void 0}}return!1!==e.inherit?i:{}}(e,(0,i.useContext)(r.MotionContext));return(0,i.useMemo)(()=>({initial:n,animate:s}),[d(n),d(s)])}],520740);let m=e=>({isEnabled:i=>e.some(e=>!!i[e])}),f={measureLayout:m(["layout","layoutId","drag"]),animation:m(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:m(["exit"]),drag:m(["drag","dragControls"]),focus:m(["whileFocus"]),hover:m(["whileHover","onHoverStart","onHoverEnd"]),tap:m(["whileTap","onTap","onTapStart","onTapCancel"]),pan:m(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:m(["whileInView","onViewportEnter","onViewportLeave"])};e.s(["featureDefinitions",0,f],652720),e.s(["loadFeatures",0,function(e){for(let i in e)"projectionNodeConstructor"===i?f.projectionNodeConstructor=e[i]:f[i].Component=e[i]}],754735)},398031,631800,e=>{"use strict";var i=e.i(720626);let n={hasAnimatedSinceResize:!0,hasEverUpdated:!1};e.s(["globalProjectionState",0,n],631800);let r=1;e.s(["useProjectionId",0,function(){return(0,i.useConstant)(()=>
1{if(n.hasEverUpdated)return r++})}],398031)},529013,e=>{"use strict";var i,n,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(i=function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n={},function(e){return void 0===n[e]&&(n[e]=i(e)),n[e]});e.s(["default",0,s],529013)},101549,60395,171835,84069,500478,939219,606594,753862,985540,785990,910501,596929,864209,117134,739466,747349,888015,130091,43373,809952,366514,958019,337066,463906,218e3,19613,268249,989575,880760,442628,391600,949356,923682,477925,714271,832602,e=>{"use strict";var i,n,r,s=e.i(820363),o=e.i(645220),a=e.i(768413),l=e.i(774090),u=e.i(398710),h=e.i(520740),c=e.i(652720),p=e.i(754735),d=e.i(850999),m=e.i(398031),f=e.i(473680),g=s;class v extends g.default.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:i}=this.props;return e&&e.setProps(i),null}componentDidUpdate(){}render(){return this.props.children}}var y=e.i(495943);let x=(0,s.createContext)({});e.s(["SwitchLayoutGroupContext",0,x],60395);let b=Symbol.for("motionComponentSymbol");function T({preloadedFeatures:e,createVisualElement:i,projectionNodeConstructor:n,useRender:r,useVisualState:g,Component:P}){e&&(0,p.loadFeatures)(e);let V=(0,s.forwardRef)(function(p,b){let T={...(0,s.useContext)(o.MotionConfigContext),...p,layoutId:function({layoutId:e}){let i=(0,s.useContext)(f.LayoutGroupContext).id;return i&&void 0!==e?i+"-"+e:e}(p)},{isStatic:V}=T,A=null,C=(0,h.useCreateMotionContext)(p),S=V?void 0:(0,m.useProjectionId)(),w=g(p,V);if(!V&&d.isBrowser){C.visualElement=(0,l.useVisualElement)(P,w,T,i);let r=(0,s.useContext)(y.LazyContext).strict,o=(0,s.useContext)(x);C.visualElement&&(A=C.visualElement.loadFeatures(T,r,e,S,n||c.featureDefinitions.projectionNodeConstructor,o))}return s.createElement(v,{visualElement:C.visualElement,props:T},A,s.createElement(a.MotionContext.Provider,{value:C},r(P,p,S,(0,u.useMotionRef)(w,C.visualElement,b),w,V,C.visualElement)))});return V[b]=P,V}e.s(["createMotionComponent",0,T],101549),e.s(["createMotionProxy",0,function(e){function i(n,r={}){return T(e(n,r))}if("u"<typeof Proxy)return i;let n=new Map;return new Proxy(i,{get:(e,r)=>(n.has(r)||n.set(r,i(r)),n.get(r))})}],171835);let P=["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 V(e){if("string"!=typeof e||e.includes("-"));else if(P.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}e.s(["isSVGComponent",0,V],84069);let A={};e.s(["addScaleCorrector",0,function(e){Object.assign(A,e)},"scaleCorrectors",0,A],500478);let C=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],S=new Set(C);function w(e,{layout:i,layoutId:n}){return S.has(e)||e.startsWith("origin")||(i||void 0!==n)&&(!!A[e]||"opacity"===e)}e.s(["transformPropOrder",0,C,"transformProps",0,S],939219);let E=e=>!!(null==e?void 0:e.getVelocity);e.s(["isMotionValue",0,E],606594);let M={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},k=(e,i)=>C.indexOf(e)-C.indexOf(i);function R(e){return e.startsWith("--")}e.s(["isCSSVariable",0,R],753862);let D=(e,i)=>i&&"number"==typeof e?i.transform(e):e,L=(e,i,n)=>Math.min(Math.max(n,e),i);e.s(["clamp",0,L],985540);let F={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},B={...F,transform:e=>L(0,1,e)},j={...F,default:1};function O(e){return"string"==typeof e}e.s(["alpha",0,B,"number",0,F,"scale",0,j],785990),e.s(["colorRegex",0,/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,"floatRegex",0,/(-)?([\d]*\.?[\d
1])+/g,"isString",0,O,"sanitize",0,e=>Math.round(1e5*e)/1e5,"singleColorRegex",0,/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i],910501);let I=e=>({test:i=>O(i)&&i.endsWith(e)&&1===i.split(" ").length,parse:parseFloat,transform:i=>`${i}${e}`}),U=I("deg"),N=I("%"),$=I("px"),z=I("vh"),H=I("vw"),W={...N,parse:e=>N.parse(e)/100,transform:e=>N.transform(100*e)};e.s(["degrees",0,U,"percent",0,N,"progressPercentage",0,W,"px",0,$,"vh",0,z,"vw",0,H],596929);let G={...F,transform:Math.round},X={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,size:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,rotate:U,rotateX:U,rotateY:U,rotateZ:U,scale:j,scaleX:j,scaleY:j,scaleZ:j,skew:U,skewX:U,skewY:U,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:B,originX:W,originY:W,originZ:$,zIndex:G,fillOpacity:B,strokeOpacity:B,numOctaves:G};function Y(e,i,n,r){let{style:s,vars:o,transform:a,transformKeys:l,transformOrigin:u}=e;l.length=0;let h=!1,c=!1,p=!0;for(let e in i){let n=i[e];if(R(e)){o[e]=n;continue}let r=X[e],d=D(n,r);if(S.has(e)){if(h=!0,a[e]=d,l.push(e),!p)continue;n!==(r.default||0)&&(p=!1)}else e.startsWith("origin")?(c=!0,u[e]=d):s[e]=d}if(!i.transform&&(h||r?s.transform=function({transform:e,transformKeys:i},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},s,o){let a="";for(let n of(i.sort(k),i))a+=`${M[n]||n}(${e[n]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,s?"":a):r&&s&&(a="none"),a}(e,n,p,r):s.transform&&(s.transform="none")),c){let{originX:e="50%",originY:i="50%",originZ:n=0}=u;s.transformOrigin=`${e} ${i} ${n}`}}e.s(["numberValueTypes",0,X],864209),e.s(["buildHTMLStyles",0,Y],117134);let q=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function Z(e,i,n){for(let r in i)E(i[r])||w(r,n)||(e[r]=i[r])}let K=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","viewport"]);function _(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||K.has(e)}let J=e=>!_(e);try{(i=e.r(529013).default)&&(J=e=>e.startsWith("on")?!_(e):i(e))}catch(e){}function Q(e,i,n){return"string"==typeof e?e:$.transform(i+n*e)}let tt={offset:"stroke-dashoffset",array:"stroke-dasharray"},te={offset:"strokeDashoffset",array:"strokeDasharray"};function ti(e,{attrX:i,attrY:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c,p){let d,m;if(Y(e,u,h,p),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:g,dimensions:v}=e;f.transform&&(v&&(g.transform=f.transform),delete f.transform),v&&(void 0!==r||void 0!==s||g.transform)&&(d=Q(void 0!==r?r:.5,v.x,v.width),m=Q(void 0!==s?s:.5,v.y,v.height),g.transformOrigin=`${d} ${m}`),void 0!==i&&(f.x=i),void 0!==n&&(f.y=n),void 0!==o&&function(e,i,n=1,r=0,s=!0){e.pathLength=1;let o=s?tt:te;e[o.offset]=$.transform(-r);let a=$.transform(i),l=$.transform(n);e[o.array]=`${a} ${l}`}(f,o,a,l,!1)}e.s(["buildSVGAttrs",0,ti],739466);let tn=()=>({...q(),attrs:{}}),tr=e=>"string"==typeof e&&"svg"===e.toLowerCase();e.s(["isSVGTag",0,tr],747349);let ts=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function to(e,{style:i,vars:n},r,s){for(let o in Object.assign(e.style,i,s&&s.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}e.s(["camelToDash",0,ts],888015),e.s(["renderHTML",0,to],130091);let ta=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"]);function tl(e,i,n,r){for(let n in to(e,i,void 0,r),i.attrs)e.setAttribute(ta.has(n)?n:ts(n),i.attrs[n])}function tu(e,i){let{style:n}=e,r={};for(let s in n)(E(n[s])||i.style&&E(i.style[s])||w(s,e))&&(r[s]=n[s]);return r}function th(e,i){let n=tu(e,i);for(let r in e)(E(e[r])||E(i[r]))&&(n["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return n}e.s(["camelCaseAttributes",0,ta],43373),e.s(["renderSVG",0,tl],809952),e.s(["scrapeMotionValuesFromProps",0,tu],366514),e.s(["scrapeMotionValuesFromProps",0,th],958019);var tc=e.i(531197),tp=e.i(270186);function td(e,i,n,r={},s={}){return"function"==typeof i&&(i=i(void 0!==n?n:e.custom,r,s)),"string"==typeof i&&(i=e.variants&&e.variants[i]),"function"==typeof i&&(i=i(void 0!==n?n:e.custom,r,s)),i}e.s(["resolveVariantFromProps",0,td],337066);var tm=e.i(720626);let tf=e=>Array.isArray(e);e.s(["isKeyframesTarget",0,tf],463906);let tg=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue);function tv(e){let i=E(e)?e.get():e;return tg(i)?i.toValue():i}e.s(["isCustomValue",0,tg,"resolveFinalValueInKeyframes",0,e=>tf(e)?e[e.length-1]||0:e],218e3),e.s(["resolveMotionValue",0,tv],19613);var ty=e.i(748387);
1let tx=e=>(i,n)=>{let r=(0,s.useContext)(a.MotionContext),o=(0,s.useContext)(tp.PresenceContext),l=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:i,onMount:n},r,s,o){let a={latestValues:function(e,i,n,r){let s={},o=r(e,{});for(let e in o)s[e]=tv(o[e]);let{initial:a,animate:l}=e,u=(0,ty.isControllingVariants)(e),h=(0,ty.isVariantNode)(e);i&&h&&!u&&!1!==e.inherit&&(void 0===a&&(a=i.initial),void 0===l&&(l=i.animate));let c=!!n&&!1===n.initial,p=(c=c||!1===a)?l:a;return p&&"boolean"!=typeof p&&!(0,tc.isAnimationControls)(p)&&(Array.isArray(p)?p:[p]).forEach(i=>{let n=td(e,i);if(!n)return;let{transitionEnd:r,transition:o,...a}=n;for(let e in a){let i=a[e];if(Array.isArray(i)){let e=c?i.length-1:0;i=i[e]}null!==i&&(s[e]=i)}for(let e in r)s[e]=r[e]}),s}(r,s,o,e),renderState:i()};return n&&(a.mount=e=>n(r,e,a)),a})(e,i,r,o);return n?l():(0,tm.useConstant)(l)},tb={useVisualState:tx({scrapeMotionValuesFromProps:th,createRenderState:tn,onMount:(e,i,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof i.getBBox?i.getBBox():i.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}ti(n,r,{enableHardwareAcceleration:!1},tr(i.tagName),e.transformTemplate),tl(i,n)}})},tT={useVisualState:tx({scrapeMotionValuesFromProps:tu,createRenderState:q})};function tP(e,i,n,r={passive:!0}){return e.addEventListener(i,n,r),()=>e.removeEventListener(i,n)}function tV(e,i,n,r){(0,s.useEffect)(()=>{let s=e.current;if(n&&s)return tP(s,i,n,r)},[e,i,n,r])}e.s(["createDomMotionConfig",0,function(e,{forwardMotionProps:i=!1},n,r,o){return{...V(e)?tb:tT,preloadedFeatures:n,useRender:function(e=!1){return(i,n,r,o,{latestValues:a},l)=>{let u=(V(i)?function(e,i,n,r){let o=(0,s.useMemo)(()=>{let n=tn();return ti(n,i,{enableHardwareAcceleration:!1},tr(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[i]);if(e.style){let i={};Z(i,e.style,e),o.style={...i,...o.style}}return o}:function(e,i,n){let r,o,a={},l=(r=e.style||{},Z(o={},r,e),Object.assign(o,function({transformTemplate:e},i,n){return(0,s.useMemo)(()=>{let r=q();return Y(r,i,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[i])}(e,i,n)),e.transformValues?e.transformValues(o):o);return e.drag&&!1!==e.dragListener&&(a.draggable=!1,l.userSelect=l.WebkitUserSelect=l.WebkitTouchCallout="none",l.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),a.style=l,a})(n,a,l,i),h={...function(e,i,n){let r={};for(let s in e)("values"!==s||"object"!=typeof e.values)&&(J(s)||!0===n&&_(s)||!i&&!_(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}(n,"string"==typeof i,e),...u,ref:o},{children:c}=n,p=(0,s.useMemo)(()=>E(c)?c.get():c,[c]);return r&&(h["data-projection-id"]=r),(0,s.createElement)(i,{...h,children:p})}}(i),createVisualElement:r,projectionNodeConstructor:o,Component:e}}],268249),(n=r||(r={})).Animate="animate",n.Hover="whileHover",n.Tap="whileTap",n.Drag="whileDrag",n.Focus="whileFocus",n.InView="whileInView",n.Exit="exit",e.s(["AnimationType",0,r],989575),e.s(["addDomEvent",0,tP,"useDomEvent",0,tV],880760),e.s(["useFocusGesture",0,function({whileFocus:e,visualElement:i}){let{animationState:n}=i,o=(0,s.useCallback)(()=>{n&&n.setActive(r.Focus,!0)},[n]),a=(0,s.useCallback)(()=>{n&&n.setActive(r.Focus,!1)},[n]);tV(i,"focus",e?o:void 0),tV(i,"blur",e?a:void 0)}],442628);let tA=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function tC(e,i="page"){return{point:{x:e[i+"X"],y:e[i+"Y"]}}}e.s(["isPrimaryPointer",0,tA],391600);let tS=e=>i=>tA(i)&&e(i,tC(i));function tw(e,i,n,r){return tV(e,i,n&&tS(n),r)}function tE(e){let i=null;return()=>null===i&&(i=e,()=>{i=null})}e.s(["addPointerInfo",0,tS,"extractEventInfo",0,tC],949356),e.s(["addPointerEvent",0,function(e,i,n,r){return tP(e,i,tS(n),r)},"usePointerEvent",0,tw],923682);let tM=tE("dragHorizontal"),tk=tE("dragVertical");function tR(e){let i=!1;if("y"===e)i=tk();else if("x"===e)i=tM();else{let e=tM(),n=tk();e&&n?i=()=>{e(),n()}:(e&&e(),n&&n())}return i}function tD(){let e=tR(!0);return!e||(e(),!1)}function tL(e,i,n,s){return(o,a)=>{!("touch"===o.type||tD())&&(n&&e.animationState&&e.animationState.setActive(r.Hover,i),s&&s(o,a))}}e.s(["getGlobalLock",0,tR,"isDragActive",0,tD],477925),e.s(["useHoverGesture",0,function({onHoverStart:e,onHoverEnd:i,whileHover:n,visualElement:r}){tw(r,"pointerenter",(0,s.useMemo)(()=>e||n?tL(r,!0,!!n,e):void 0,[e,!!n,r]),{passive:!e}),tw(r,"pointerleave",(0,s.useMemo)(()=>i||n?tL(r,!1,!!n,i):void 0,[e,!!n,r]),{passive:!i})}],714271);let tF=(e,i)=>!!i&&(e===i||tF(e,i.parentElement));e.s(["isNodeOrChild",0,tF],832602)},945934,499361,918300,248006,480470,810838,315431,e=>{"use strict";var i=e.i(442628),n=e.i(714271),r=e.i(820363),s=e.i(832602),o=e.i(923682),a=e.i(466618),l=e.i(989575),u=e.i(477925);let h=(e,i)=>n=>i(e(n)),c=(...e)=>e.reduce(h);e.s(["pipe",0,c],499361),e.i(45020);let p=new WeakMap,d=new WeakMap,m=e=>{let i=p.get(e.target);i&&i(e)},f=e=>{e.forEach(m)},g={some:0,all:1},v=e=>i=>(e(i),null);
1e.s(["makeRenderlessComponent",0,v],918300);let y={inView:v(function({visualElement:e,whileInView:i,onViewportEnter:n,onViewportLeave:s,viewport:o={}}){let a=(0,r.useRef)({hasEnteredView:!1,isInView:!1}),u=!!(i||n||s);o.once&&a.current.hasEnteredView&&(u=!1),("u"<typeof IntersectionObserver?function(e,i,n,{fallback:s=!0}){(0,r.useEffect)(()=>{e&&s&&requestAnimationFrame(()=>{i.hasEnteredView=!0;let{onViewportEnter:e}=n.getProps();e&&e(null),n.animationState&&n.animationState.setActive(l.AnimationType.InView,!0)})},[e])}:function(e,i,n,{root:s,margin:o,amount:a="some",once:u}){(0,r.useEffect)(()=>{var r,h;let c;if(!e||!n.current)return;let m={root:null==s?void 0:s.current,rootMargin:o,threshold:"number"==typeof a?a:g[a]};return r=n.current,h=e=>{let{isIntersecting:r}=e;if(i.isInView===r||(i.isInView=r,u&&!r&&i.hasEnteredView))return;r&&(i.hasEnteredView=!0),n.animationState&&n.animationState.setActive(l.AnimationType.InView,r);let s=n.getProps(),o=r?s.onViewportEnter:s.onViewportLeave;o&&o(e)},c=function({root:e,...i}){let n=e||document;d.has(n)||d.set(n,{});let r=d.get(n),s=JSON.stringify(i);return r[s]||(r[s]=new IntersectionObserver(f,{root:e,...i})),r[s]}(m),p.set(r,h),c.observe(r),()=>{p.delete(r),c.unobserve(r)}},[e,s,o,a])})(u,a.current,e,o)}),tap:v(function({onTap:e,onTapStart:i,onTapCancel:n,whileTap:h,visualElement:p,...d}){let m=e||i||n||h,f=(0,r.useRef)(!1),g=(0,r.useRef)(null),v={passive:!(i||e||n||d.onPointerDown)};function y(){g.current&&g.current(),g.current=null}function x(){return y(),f.current=!1,p.getProps().whileTap&&p.animationState&&p.animationState.setActive(l.AnimationType.Tap,!1),!(0,u.isDragActive)()}function b(e,i){var n,r,o,a;x()&&((0,s.isNodeOrChild)(p.current,e.target)?null==(a=(o=p.getProps()).onTap)||a.call(o,e,i):null==(r=(n=p.getProps()).onTapCancel)||r.call(n,e,i))}function T(e,i){var n,r;x()&&(null==(r=(n=p.getProps()).onTapCancel)||r.call(n,e,i))}let P=(0,r.useCallback)((e,i)=>{var n;if(y(),f.current)return;f.current=!0,g.current=c((0,o.addPointerEvent)(window,"pointerup",b,v),(0,o.addPointerEvent)(window,"pointercancel",T,v));let r=p.getProps();r.whileTap&&p.animationState&&p.animationState.setActive(l.AnimationType.Tap,!0),null==(n=r.onTapStart)||n.call(r,e,i)},[!!i,p]);(0,o.usePointerEvent)(p,"pointerdown",m?P:void 0,v),(0,a.useUnmountEffect)(y)}),focus:v(i.useFocusGesture),hover:v(n.useHoverGesture)};e.s(["gestureAnimations",0,y],945934);var x=e.i(270186);e.s(["usePresence",0,function(){let e=(0,r.useContext)(x.PresenceContext);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=e,o=(0,r.useId)();return(0,r.useEffect)(()=>s(o),[]),!i&&n?[!1,()=>n&&n(o)]:[!0]}],248006),e.s(["shallowCompare",0,function(e,i){if(!Array.isArray(i))return!1;let n=i.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(i[r]!==e[r])return!1;return!0}],480470),e.s(["isNumericalString",0,e=>/^\-?\d*\.?\d+$/.test(e)],810838),e.s(["isZeroValueString",0,e=>/^0[^.\s]+$/.test(e)],315431)},124146,e=>{"use strict";e.i(101549);var i,n,r=e.i(171835),s=e.i(268249),o=e.i(945934),a=e.i(820363),l=e.i(531197),u=e.i(248006),h=e.i(270186),c=e.i(463906),p=e.i(480470),d=e.i(810838),m=e.i(315431),f=e.i(218e3),g=e.i(86708),v=e.i(560051);function y(e,i){-1===e.indexOf(i)&&e.push(i)}function x(e,i){let n=e.indexOf(i);n>-1&&e.splice(n,1)}class b{constructor(){this.subscriptions=[]}add(e){return y(this.subscriptions,e),()=>x(this.subscriptions,e)}notify(e,i,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,i,n);else for(let s=0;s<r;s++){let r=this.subscriptions[s];r&&r(e,i,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function T(e,i){return i?1e3/i*e:0}class P{constructor(e,i={}){this.version="8.5.5",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,i=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:r}=g.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,v.sync.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>v.sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(e=>!isNaN(parseFloat(e)))(this.current),this.owner=i.owner}onChange(e){return this.on("change",e)}on(e,i){this.events[e]||(this.events[e]=new b);let n=this.events[e].add(i);return"change"===e?()=>{n(),v.sync.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,i){this.passiveEffect=e,this.stopPassiveEffect=i}set(e,i=!0){i&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,i)}setWithVelocity(e,i,n){this.set(i),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?T(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=e(i)||null,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(){this.animation=null}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function V(e,i){return new P(e,i)}var A=e.i(910501),C=e.i(985540),S=e.i(785990);let w=(e,i)=>n=>!!((0,A.isString)(n)&&A.singleColorRegex.test(n)&&n.startsWith(e)||i&&Object.prototype.hasOwnProperty.call(n,i)),E=(e,i,n)=>r=>{if(!(0,A.isString)(r))return r;let[s,o,a,l]=r.match(A.floatRegex);return{[e]:parseFloat(s),[i]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},M={...S.number,transform:e=>Math.round((0,C.clamp)(0,255,e))},k={test:w("rgb","red"),parse:E("red","green","blue"),transform:({red:e,green:i,blue:n,alpha:r=1})=>"rgba("+M.transform(e)+", "+M.transform(i)+", "+M.transform(n)+", "+(0,A.sanitize)(S.alpha.transform(r))+")"},R={test:w("#"),parse:function(e){let i="",n="",r="",s="";return e.length>5?(i=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(i=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),i+=i,n+=n,r+=r,s+=s),{red:parseInt(i,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:s?parseInt(s,16)/255:1}},transform:k.transform};var D=e.i(596929);let L={test:w("hsl","hue"),parse:E("hue","saturation","lightness"),transform:({hue:e,saturation:i,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+D.percent.transform((0,A.sanitize)(i))+", "+D.percent.transform((0,A.sanitize)(n))+", "+(0,A.sanitize)(S.alpha.transform(r))+")"},F={test:e=>k.test(e)||R.test(e)||L.test(e),parse:e=>k.test(e)?k.parse(e):L.test(e)?L.parse(e):R.parse(e),transform:e=>(0,A.isString)(e)?e:e.hasOwnProperty("red")?k.transform(e):L.transform(e)},B="${c}",j="${n}";function O(e){"number"==typeof e&&(e=`${e}`);let i=[],n=0,r=0,s=e.match(A.colorRegex);s&&(n=s.length,e=e.replace(A.colorRegex,B),i.push(...s.map(F.parse)));let o=e.match(A.floatRegex);return o&&(r=o.length,e=e.replace(A.floatRegex,j),i.push(...o.map(S.number.parse))),{values:i,numColors:n,numNumbers:r,tokenised:e}}function I(e){return O(e).values}function U(e){let{values:i,numColors:n,tokenised:r}=O(e),s=i.length;return e=>{let i=r;for(let r=0;r<s;r++)i=i.replace(r<n?B:j,r<n?F.transform(e[r]):(0,A.sanitize)(e[r]));return i}}let N=e=>"number"==typeof e?0:e,$={test:function(e){var i,n;return isNaN(e)&&(0,A.isString)(e)&&((null==(i=e.match(A.floatRegex))?void 0:i.length)||0)+((null==(n=e.match(A.colorRegex))?void 0:n.length)||0)>0},parse:I,createTransformer:U,getAnimatableNone:function(e){let i=I(e);return U(e)(i.map(N))}},z=new Set(["brightness","contrast","saturate","opacity"]);function H(e){let[i,n]=e.slice(0,-1).split("(");if("drop-shadow"===i)return e;let[r]=n.match(A.floatRegex)||[];if(!r)return e;let s=n.replace(r,""),o=+!!z.has(i);return r!==n&&(o*=100),i+"("+o+s+")"}let W=/([a-z-]*)\(.*?\)/g,G={...$,getAnimatableNone:e=>{let i=e.match(W);return i?i.map(H).join(" "):e}},X={...e.i(864209).numberValueTypes,color:F,backgroundColor:F,outlineColor:F,fill:F,stroke:F,borderColor:F,borderTopColor:F,borderRightColor:F,borderBottomColor:F,borderLeftColor:F,filter:G,WebkitFilter:G},Y=e=>X[e];function q(e,i){var n;let r=Y(e);return r!==G&&(r=$),null==(n=r.getAnimatableNone)?void 0:n.call(r,i)}let Z=e=>i=>i.test(e),K=[S.number,D.px,D.percent,D.degrees,D.vw,D.vh,{test:e=>"auto"===e,parse:e=>e}],_=e=>K.find(Z(e)),J=[...K,F,$],Q=e=>J.find(Z(e));var tt=e.i(337066);function te(e,i,n){let r,s,o=e.getProps();return(0,tt.resolveVariantFromProps)(o,i,void 0!==n?n:o.custom,(r={},e.values.forEach((e,i)=>r[i]=e.get()),r),(s={},e.values.forEach((e,i)=>s[i]=e.getVelocity()),s))}var ti=e.i(939219),tn=e.i(606594);function tr(e){return!!((0,tn.isMotionValue)(e)&&e.add)}var ts=e.i(888015);let to="data-"+(0,ts.camelToDash)("framerAppearId");e.i(45020);var ta=function(){},tl=function(){};let tu=e=>1e3*e,th=e=>i=>i<=.5?e(2*i)/2:(2-e(2*(1-i)))/2,tc=e=>i=>1-e(1-i),tp=e=>e*e,td=tc(tp),tm=th(tp),tf=(e,i,n)=>-n*e+n*i+e;function tg(e,i,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(i-e)*6*n:n<.5?i:n<2/3?e+(i-e)*(2/3-n)*6:e}let tv=(e,i,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(i*i-r)+r))},ty=[R,k,L];function tx(e){let i=ty.find(i=>i.test(e));tl(!!i,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=i.parse(e);return i===L&&(n=function({hue:e,saturation:i,lightness:n,alpha:r}){e/=360,n/=100;let s=0,o=0,a=0;if(i/=100){let r=n<.5?n*(1+i):n+i-n*i,l=2*n-r;s=tg(l,r,e+1/3),o=tg(l,r,e),a=tg(l,r,e-1/3)}else s=o=a=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let tb=(e,i)=>{let n=tx(e),r=tx(i),s={...n};return e=>(s.red=tv(n.red,r.red,e),s.green=tv(n.green,r.green,e),s.blue=tv(n.blue,r.blue,e),s.alpha=tf(n.alpha,r.alpha,e),k.transform(s))};var tT=e.i(499361);function tP(e,i){return"number"==typeof e?n=>tf(e,i,n):F.test(e)?tb(e,i):tC(e,i)}let tV=(e,i)=>{let n=[...e],r=n.length,s=e.map((e,n)=>tP(e,i[n]));return e=>{for(let i=0;i<r;i++)n[i]=s[i](e);return n}},tA=(e,i)=>{let n={...e,...i},r={};for(let s in n)void 0!==e[s]&&void 0!==i[s]&&(r[s]=tP(e[s],i[s]));return e=>{for(let i in r)n[i]=r[i](e);return n}},tC=(e,i)=>{let n=$.createTransformer(i),r=O(e),s=O(i);return r.numColors===s.numColors&&r.numNumbers>=s.numNumbers?(0,tT.pipe)(tV(r.values,s.values),n):(ta(!0,`Complex values '${e}' and '${i}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?i:e}`)},tS=(e,i,n)=>{let r=i-e;return 0===r?1:(n-e)/r},tw=(e,i)=>n=>tf(e,i,n);function tE(e,i,{clamp:n=!0,ease:r,mixer:s}={}){let o=e.length;tl(o===i.length,"Both input and output ranges must be the same length"),tl(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[...e].reverse(),i=[...i].reverse());let a=function(e,i,n){let r=[],s=n||function(e){if("number"==typeof e);else if("string"==typeof e)if(F.test(e))return tb;else return tC;else if(Array.isArray(e))return tV;else if("object"==typeof e)return tA;return tw}(e[0]),o=e.length-1;for(let n=0;n<o;n++){let o=s(e[n],e[n+1]);if(i){let e=Array.isArray(i)?i[n]:i;o=(0,tT.pipe)(e,o)}r.push(o)}return r}(i,r,s),l=a.length,u=i=>{let n=0;if(l>1)for(;n<e.length-2&&!(i<e[n+1]);n++);let r=tS(e[n],e[n+1],i);return a[n](r)};return n?i=>u((0,C.clamp)(e[0],e[o-1],i)):u}let tM=e=>e,tk=(e,i,n)=>(((1-3*n+3*i)*e+(3*n-6*i))*e+3*i)*e;function tR(e,i,n,r){return e===i&&n===r?tM:s=>0===s||1===s?s:tk(function(e,i,n,r,s){let o,a,l=0;do(o=tk(a=i+(n-i)/2,r,s)-e)>0?n=a:i=a;while(Math.abs(o)>1e-7&&++l<12)return a}(s,0,1,e,n),i,r)}let tD=e=>1-Math.sin(Math.acos(e)),tL=tc(tD),tF=th(tL),tB=tR(.33,1.53,.69,.99),tj=tc(tB),tO=th(tj),tI={linear:tM,easeIn:tp,easeInOut:tm,easeOut:td,circIn:tD,circInOut:tF,circOut:tL,backIn:tj,backInOut:tO,backOut:tB,anticipate:e=>(e*=2)<1?.5*tj(e):.5*(2-Math.pow(2,-10*(e-1)))},tU=e=>{if(Array.isArray(e)){tl(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[i,n,r,s]=e;return tR(i,n,r,s)}return"string"==typeof e?(tl(void 0!==tI[e],`Invalid easing type '${e}'`),tI[e]):e};function tN({keyframes:e,ease:i=tm,times:n,duration:r=300}){var s,o;let a;e=[...e];let l=Array.isArray(i)&&"number"!=typeof i[0]?i.map(tU):tU(i),u={done:!1,value:e[0]},h=(o=n&&n.length===e.length?n:(a=(s=e).length,s.map((e,i)=>0!==i?i/(a-1):0)),o.map(e=>e*r));function c(){var i;return tE(h,e,{ease:Array.isArray(l)?l:(i=e).map(()=>l||tm).splice(0,i.length-1)})}let p=c();return{next:e=>(u.value=p(e),u.done=e>=r,u),flipTarget:()=>{e.reverse(),p=c()}}}function t$(e,i){return e*Math.sqrt(1-i*i)}let tz=["duration","bounce"],tH=["stiffness","damping","mass"];function tW(e,i){return i.some(i=>void 0!==e[i])}function tG({keyframes:e,restDelta:i,restSpeed:n,...r}){let s=e[0],o=e[e.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:h,velocity:c,duration:p,isResolvedFromDuration:d}=function(e){let i={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tW(e,tH)&&tW(e,tz)){let n=function({duration:e=800,bounce:i=.25,velocity:n=0,mass:r=1}){let s,o;ta(e<=1e4,"Spring duration must be 10 seconds or less");let a=1-i;a=(0,C.clamp)(.05,1,a),e=(0,C.clamp)(.01,10,e/1e3),a<1?(s=i=>{let r=i*a,s=r*e;return .001-(r-n)/t$(i,a)*Math.exp(-s)},o=i=>{let r=i*a*e,o=Math.pow(a,2)*Math.pow(i,2)*e,l=Math.exp(-r),u=t$(Math.pow(i,2),a);return(r*n+n-o)*l*(-s(i)+.001>0?-1:1)/u}):(s=i=>-.001+Math.exp(-i*e)*((i-n)*e+1),o=i=>e*e*(n-i)*Math.exp(-i*e));let l=function(e,i,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/i(r);return r}(s,o,5/e);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{let i=Math.pow(l,2)*r;return{stiffness:i,damping:2*a*Math.sqrt(r*i),duration:e}}}(e);(i={...i,...n,velocity:0,mass:1}).isResolvedFromDuration=!0}return i}(r),m=tX,f=c?-(c/1e3):0,g=u/(2*Math.sqrt(l*h));function v(){let e=o-s,r=Math.sqrt(l/h)/1e3,a=5>Math.abs(e);if(n||(n=a?.01:2),i||(i=a?.005:.5),g<1){let i=t$(r,g);m=n=>o-Math.exp(-g*r*n)*((f+g*r*e)/i*Math.sin(i*n)+e*Math.cos(i*n))}else if(1===g)m=i=>o-Math.exp(-r*i)*(e+(f+r*e)*i);else{let i=r*Math.sqrt(g*g-1);m=n=>{let s=Math.exp(-g*r*n),a=Math.min(i*n,300);return o-s*((f+g*r*e)*Math.sinh(a)+i*e*Math.cosh(a))/i}}}return v(),{next:e=>{let r=m(e);if(d)a.done=e>=p;else{let s=f;if(0!==e)if(g<1){let i=Math.max(0,e-5);s=T(r-m(i),e-i)}else s=0;let l=Math.abs(o-r)<=i;a.done=Math.abs(s)<=n&&l}return a.value=a.done?o:r,a},flipTarget:()=>{f=-f,[s,o]=[o,s],v()}}}tG.needsInterpolation=(e,i)=>"string"==typeof e||"string"==typeof i;let tX=e=>0,tY={decay:function({keyframes:e=[0],velocity:i=0,power:n=.8,timeConstant:r=350,restDelta:s=.5,modifyTarget:o}){let a=e[0],l={done:!1,value:a},u=n*i,h=a+u,c=void 0===o?h:o(h);return c!==h&&(u=c-a),{next:e=>{let i=-u*Math.exp(-e/r);return l.done=!(i>s||i<-s),l.value=l.done?c:c+i,l},flipTarget:()=>{}}},keyframes:tN,tween:tN,spring:tG};function tq(e,i,n=0){return e-i-n}let tZ=e=>{let i=({delta:i})=>e(i);return{start:()=>v.sync.update(i,!0),stop:()=>v.cancelSync.update(i)}};function tK({duration:e,driver:i=tZ,elapsed:n=0,repeat:r=0,repeatType:s="loop",repeatDelay:o=0,keyframes:a,autoplay:l
1=!0,onPlay:u,onStop:h,onComplete:c,onRepeat:p,onUpdate:d,type:m="keyframes",...f}){var g;let v,y,x=n,b=0,T=e,P=!1,V=!0,A=tY[a.length>2?"keyframes":m]||tN,C=a[0],S=a[a.length-1],w={done:!1,value:C};(null==(g=A.needsInterpolation)?void 0:g.call(A,C,S))&&(y=tE([0,100],[C,S],{clamp:!1}),a=[0,100]);let E=A({...f,duration:e,keyframes:a});function M(e){if(V||(e=-e),n+=e,P||(w=E.next(Math.max(0,n)),y&&(w.value=y(w.value)),P=V?w.done:n<=0),d&&d(w.value),P)if(0===b&&(T=void 0!==T?T:n),b<r){var i,a;i=n,a=T,(V?i>=a+o:i<=-o)&&(b++,"reverse"===s?n=function(e,i=0,n=0,r=!0){return r?tq(i+-e,i,n):i-(e-i)+n}(n,T,o,V=b%2==0):(n=tq(n,T,o),"mirror"===s&&E.flipTarget()),P=!1,p&&p())}else v&&v.stop(),c&&c()}return l&&(u&&u(),(v=i(M)).start()),{stop:()=>{h&&h(),v&&v.stop()},set currentTime(t){n=x,M(t)},sample:i=>{n=x;let r=e&&"number"==typeof e?Math.max(.5*e,50):50,s=0;for(M(0);s<=i;)M(Math.min(i-s,r)),s+=r;return w}}}let t_=([e,i,n,r])=>`cubic-bezier(${e}, ${i}, ${n}, ${r})`,tJ={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t_([0,.65,.55,1]),circOut:t_([.55,0,1,.45]),backIn:t_([.31,.01,.66,-.59]),backOut:t_([.33,1.53,.69,.99])},tQ={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},t0={},t1={};for(let e in tQ)t1[e]=()=>(void 0===t0[e]&&(t0[e]=tQ[e]()),t0[e]);let t5=new Set(["opacity"]);function t3(e,i){let n=performance.now(),r=({timestamp:s})=>{let o=s-n;o>=i&&(v.cancelSync.read(r),e(o-i))};return v.sync.read(r,!0),()=>v.cancelSync.read(r)}let t9=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),t2=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),t6=()=>({type:"keyframes",ease:"linear",duration:.3}),t8={type:"keyframes",duration:.8},t4={x:t9,y:t9,z:t9,rotate:t9,rotateX:t9,rotateY:t9,rotateZ:t9,scaleX:t2,scaleY:t2,scale:t2,opacity:t6,backgroundColor:t6,color:t6,default:t2},t7=(e,i)=>"zIndex"!==e&&!!("number"==typeof i||Array.isArray(i)||"string"==typeof i&&$.test(i)&&!i.startsWith("url("));function et(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function ee(e){return"number"==typeof e?0:q("",e)}function ei(e,i){return e[i]||e.default||e}let en=(e,i,n,r={})=>s=>{var o;let a,l,u=ei(r,e)||{},h=u.delay||r.delay||0,{elapsed:c=0}=r;c-=tu(h);let p=(a=t7(e,o=n),("none"===(l=void 0!==u.from?u.from:i.get())&&a&&"string"==typeof o?l=q(e,o):et(l)&&"string"==typeof o?l=ee(o):!Array.isArray(o)&&et(o)&&"string"==typeof l&&(o=ee(l)),Array.isArray(o))?(null===o[0]&&(o[0]=l),o):[l,o]),d=p[0],m=p[p.length-1],f=t7(e,d),y=t7(e,m);ta(f===y,`You are trying to animate ${e} from "${d}" to "${m}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${m} via the \`style\` property.`);let x={keyframes:p,velocity:i.getVelocity(),...u,elapsed:c,onUpdate:e=>{i.set(e),u.onUpdate&&u.onUpdate(e)},onComplete:()=>{s(),u.onComplete&&u.onComplete()}};if(!f||!y||!1===u.type)return function({keyframes:e,elapsed:i,onUpdate:n,onComplete:r}){let s=()=>{n&&n(e[e.length-1]),r&&r()};return i?{stop:t3(s,-i)}:s()}(x);if("inertia"===u.type)return function({keyframes:e,velocity:i=0,min:n,max:r,power:s=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:u=1,modifyTarget:h,driver:c,onUpdate:p,onComplete:d,onStop:m}){let f,v=e[0];function y(e){return void 0!==n&&e<n||void 0!==r&&e>r}function x(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function b(e){null==f||f.stop(),f=tK({keyframes:[0,1],velocity:0,...e,driver:c,onUpdate:i=>{var n;null==p||p(i),null==(n=e.onUpdate)||n.call(e,i)},onComplete:d,onStop:m})}function P(e){b({type:"spring",stiffness:a,damping:l,restDelta:u,...e})}if(y(v))P({velocity:i,keyframes:[v,x(v)]});else{let e,r,a=s*i+v;void 0!==h&&(a=h(a));let l=x(a),c=l===n?-1:1;b({type:"decay",keyframes:[v,0],velocity:i,timeConstant:o,power:s,restDelta:u,modifyTarget:h,onUpdate:y(a)?n=>{e=r,r=n,i=T(n-e,g.frameData.delta),(1===c&&n>l||-1===c&&n<l)&&P({keyframes:[n,l],velocity:i})}:void 0})}return{stop:()=>null==f?void 0:f.stop()}}(x);!function({when:e,delay:i,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:a,repeatDelay:l,from:u,elapsed:
1h,...c}){return!!Object.keys(c).length}(u)&&(x={...x,...((e,{keyframes:i})=>i.length>2?t8:(t4[e]||t4.default)(i[1]))(e,x)}),x.duration&&(x.duration=tu(x.duration)),x.repeatDelay&&(x.repeatDelay=tu(x.repeatDelay));let b=i.owner,P=b&&b.current;if(b&&P instanceof HTMLElement&&!(null==b?void 0:b.getProps().onUpdate)){let n=function(e,i,{onUpdate:n,onComplete:r,...s}){var o;if(!(t1.waapi()&&t5.has(i)&&!s.repeatDelay&&"mirror"!==s.repeatType&&0!==s.damping))return!1;let{keyframes:a,duration:l=300,elapsed:u=0,ease:h}=s;if("spring"===s.type||!(!(o=s.ease)||Array.isArray(o)||"string"==typeof o&&tJ[o])){if(s.repeat===1/0)return;let e=tK({...s,elapsed:0}),i={done:!1,value:a[0]},n=[],r=0;for(;!i.done&&r<2e4;)i=e.sample(r),n.push(i.value),r+=10;a=n,l=r-10,h="linear"}let c=function(e,i,n,{delay:r=0,duration:s,repeat:o=0,repeatType:a="loop",ease:l,times:u}={}){return e.animate({[i]:n,offset:u},{delay:r,duration:s,easing:function(e){if(e)return Array.isArray(e)?t_(e):tJ[e]}(l),fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,i,a,{...s,delay:-u,duration:l,ease:h});return c.onfinish=()=>{e.set(function(e,{repeat:i,repeatType:n="loop"}){let r=i&&"loop"!==n&&i%2==1?0:e.length-1;return e[r]}(a,s)),v.sync.update(()=>c.cancel()),r&&r()},{get currentTime(){return c.currentTime||0},set currentTime(t){c.currentTime=t},stop:()=>{let{currentTime:i}=c;if(i){let n=tK({...s,autoplay:!1});e.setWithVelocity(n.sample(i-10).value,n.sample(i).value,10)}v.sync.update(()=>c.cancel())}}}(i,e,x);if(n)return n}return tK(x)};function er(e,i,n={}){var r;let s=te(e,i,n.custom),{transition:o=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);let a=s?()=>es(e,s,n):()=>Promise.resolve(),l=(null==(r=e.variantChildren)?void 0:r.size)?(r=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:l}=o;return function(e,i,n=0,r=0,s=1,o){let a=[],l=(e.variantChildren.size-1)*r,u=1===s?(e=0)=>e*r:(e=0)=>l-e*r;return Array.from(e.variantChildren).sort(eo).forEach((e,r)=>{e.notify("AnimationStart",i),a.push(er(e,i,{...o,delay:n+u(r)}).then(()=>e.notify("AnimationComplete",i)))}),Promise.all(a)}(e,i,s+r,a,l,n)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([a(),l(n.delay)]);{let[e,i]="beforeChildren"===u?[a,l]:[l,a];return e().then(i)}}function es(e,i,{delay:n=0,transitionOverride:r,type:s}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(i),h=e.getValue("willChange");r&&(a=r);let c=[],p=s&&(null==(o=e.animationState)?void 0:o.getState()[s]);for(let i in u){let r=e.getValue(i),s=u[i];if(!r||void 0===s||p&&function({protectedKeys:e,needsAnimating:i},n){let r=e.hasOwnProperty(n)&&!0!==i[n];return i[n]=!1,r}(p,i))continue;let o={delay:n,elapsed:0,...a};if(window.HandoffAppearAnimations&&!r.hasAnimated){let n=e.getProps()[to];n&&(o.elapsed=window.HandoffAppearAnimations(n,i,r,v.sync))}let l=r.start(en(i,r,s,e.shouldReduceMotion&&ti.transformProps.has(i)?{type:!1}:o));tr(h)&&(h.add(i),l=l.then(()=>h.remove(i))),c.push(l)}return Promise.all(c).then(()=>{l&&function(e,i){let n=te(e,i),{transitionEnd:r={},transition:s={},...o}=n?e.makeTargetAnimatable(n,!1):{};for(let i in o={...o,...r}){let n=(0,f.resolveFinalValueInKeyframes)(o[i]);e.hasValue(i)?e.getValue(i).set(n):e.addValue(i,V(n))}}(e,l)})}function eo(e,i){return e.sortNodePosition(i)}var ea=e.i(245404),el=e.i(989575);let eu=[el.AnimationType.Animate,el.AnimationType.InView,el.AnimationType.Focus,el.AnimationType.Hover,el.AnimationType.Tap,el.AnimationType.Drag,el.AnimationType.Exit],eh=[...eu].reverse(),ec=eu.length;function ep(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ed=e.i(918300);let em={animation:(0,ed.makeRenderlessComponent)(({visualElement:e,animate:i})=>{e.animationState||(e.animationState=function(e){let i=i=>Promise.all(i.map(({animation:i,options:n})=>(function(e,i,n={}){let r;if(e.notify("AnimationStart",i),Array.isArray(i))r=Promise.all(i.map(i=>er(e,i,n)));else if("string"==typeof i)r=er(e,i,n);else{let s="function"==typeof i?te(e,i,n.custom):i;r=es(e,s,n)}return r.then(()=>e.notify("AnimationComplete",i))})(e,i,n))),n={[el.AnimationType.Animate]:ep(!0),[el.AnimationType.InView]:ep(),[el.AnimationType.Hover]:ep(),[el.AnimationType.Tap]:ep(),[el.AnimationType.Drag]:ep(),[el.AnimationType.Focus]:ep(),[el.AnimationType.Exit]:ep()},r=!0,s=(i,n)=>{let r=te(e,n);if(r){let{transition:e,transitionEnd:n,...s}=r;i={...i,...s,...n}}return i};function o(o,a){let u=e.getProps(),h=e.getVariantContext(!0)||{},d=[],m=new Set,f={},g=1/0;for(let i=0;i<ec;i++){var v,y;let x=eh[i],b=n[x],T=void 0!==u[x]?u[x]:h[x],P=(0,ea.isVariantLabel)(T),V=x===a?b.isActive:null;!1===V&&(g=i);let A=T===h[x]&&T!==u[x]&&P;if(A&&r&&e.manuallyAnimateOnMount&&(A=!1),b.protectedKeys={...f},!b.isActive&&null===V||!T&&!b.prevProp||(0,l.isAnimationControls)(T)||"boolean"==typeof T)continue;let C=(v=b.prevProp,"string"==typeof(y=T)?y!==v:!!Array.isArray(y)&&!(0,p.shallowCompare)(y,v)),S=C||x===a&&b.isActive&&!A&&P||i>g&&P,w=Array.isArray(T)?T:[T],E=w.reduce(s,{});!1===V&&(E={});let{prevResolvedValues:M={}}=b,k={...M,...E},R=e=>{S=!0,m.delete(e),b.needsAnimating[e]=!0};for(let e in k){let i=E[e],n=M[e];f.hasOwnProperty(e)||(i!==n?(0,c.isKeyframesTarget)(i)&&(0,c.isKeyframesTarget)(n)?!(0,p.shallowCompare)(i,n)||C?R(e):b.protectedKeys[e]=!0:void 0!==i?R(e):m.add(e):void 0!==i&&m.has(e)?R(e):b.protectedKeys[e]=!0)}b.prevProp=T,b.prevResolvedValues=E,b.isActive&&(f={...f,...E}),r&&e.blockInitialAnimation&&(S=!1),S&&!A&&d.push(...w.map(e=>({animation:e,options:{type:x,...o}})))}if(m.size){let i={};m.forEach(n=>{let r=e.getBaseTarget(n);void 0!==r&&(i[n]=r)}),d.push({animation:i})}let x=!!d.length;return r&&!1===u.initial&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?i(d):Promise.resolve()}
1return{animateChanges:o,setActive:function(i,r,s){var a;if(n[i].isActive===r)return Promise.resolve();null==(a=e.variantChildren)||a.forEach(e=>{var n;return null==(n=e.animationState)?void 0:n.setActive(i,r)}),n[i].isActive=r;let l=o(s,i);for(let e in n)n[e].protectedKeys={};return l},setAnimateFunction:function(n){i=n(e)},getState:()=>n}}(e)),(0,l.isAnimationControls)(i)&&(0,a.useEffect)(()=>i.subscribe(e),[i])}),exit:(0,ed.makeRenderlessComponent)(e=>{let{custom:i,visualElement:n}=e,[r,s]=(0,u.usePresence)(),o=(0,a.useContext)(h.PresenceContext);(0,a.useEffect)(()=>{n.isPresent=r;let e=n.animationState&&n.animationState.setActive(el.AnimationType.Exit,!r,{custom:o&&o.custom||i});e&&!r&&e.then(s)},[r])})};var ef=e.i(949356),eg=e.i(923682);let ev=(e,i)=>Math.abs(e-i);var ey=e.i(391600);class ex{constructor(e,i,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{var e,i;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=eP(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(e=n.offset,i={x:0,y:0},Math.sqrt(ev(e.x,i.x)**2+ev(e.y,i.y)**2)>=3);if(!r&&!s)return;let{point:o}=n,{timestamp:a}=g.frameData;this.history.push({...o,timestamp:a});let{onStart:l,onMove:u}=this.handlers;r||(l&&l(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,n)},this.handlePointerMove=(e,i)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=eb(i,this.transformPagePoint),v.sync.update(this.updatePoint,!0)},this.handlePointerUp=(e,i)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:n,onSessionEnd:r}=this.handlers,s=eP("pointercancel"===e.type?this.lastMoveEventInfo:eb(i,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,s),r&&r(e,s)},!(0,ey.isPrimaryPointer)(e))return;this.handlers=i,this.transformPagePoint=n;const r=eb((0,ef.extractEventInfo)(e),this.transformPagePoint),{point:s}=r,{timestamp:o}=g.frameData;this.history=[{...s,timestamp:o}];const{onSessionStart:a}=i;a&&a(e,eP(r,this.history)),this.removeListeners=(0,tT.pipe)((0,eg.addPointerEvent)(window,"pointermove",this.handlePointerMove),(0,eg.addPointerEvent)(window,"pointerup",this.handlePointerUp),(0,eg.addPointerEvent)(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),v.cancelSync.update(this.updatePoint)}}function eb(e,i){return i?{point:i(e.point)}:e}function eT(e,i){return{x:e.x-i.x,y:e.y-i.y}}function eP({point:e},i){return{point:e,delta:eT(e,eV(i)),offset:eT(e,i[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=eV(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>tu(.1)));)i--;if(!n)return{x:0,y:0};let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(i)}}function eV(e){return e[e.length-1]}var eA=e.i(477925),eC=e.i(79588);function eS(e){return e.max-e.min}function ew(e,i=0,n=.01){return Math.abs(e-i)<=n}function eE(e,i,n,r=.5){e.origin=r,e.originPoint=tf(i.min,i.max,e.origin),e.scale=eS(n)/eS(i),(ew(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=tf(n.min,n.max,e.origin)-e.originPoint,(ew(e.translate)||isNaN(e.translate))&&(e.translate=0)}function eM(e,i,n,r){eE(e.x,i.x,n.x,null==r?void 0:r.originX),eE(e.y,i.y,n.y,null==r?void 0:r.originY)}function ek(e,i,n){e.min=n.min+i.min,e.max=e.min+eS(i)}function eR(e,i,n){e.min=i.min-n.min,e.max=e.min+eS(i)}function eD(e,i,n){eR(e.x,i.x,n.x),eR(e.y,i.y,n.y)}function eL(e,i,n){return{min:void 0!==i?e.min+i:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function eF(e,i){let n=i.min-e.min,r=i.max-e.max;return i.max-i.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function eB(e,i,n){return{min:ej(e,i),max:ej(e,n)}}function ej(e,i){return"number"==typeof e?e:e[i]||0}let eO=()=>({translate:0,scale:1,origin:0,originPoint:0}),eI=()=>({x:eO(),y:eO()}),eU=()=>({min:0,max:0}),eN=()=>({x:eU(),y:eU()});function e$(e){return[e("x"),e("y")]}function ez({top:e,left:i,right:n,bottom:r}){return{x:{min:i,max:n},y:{min:e,max:r}}}function eH(e){return void 0===e||1===e}function eW({scale:e,scaleX:i,scaleY:n}){return!eH(e)||!eH(i)||!eH(n)}function eG(e){return eW(e)||eX(e)||e.z||e.rotate||e.rotateX||e.rotateY}function eX(e){var i,n;return(i=e.x)&&"0%"!==i||(n=e.y)&&"0%"!==n}function eY(e,i,n,r,s){return void 0!==s&&(e=r+s*(e-r)),r+n*(e-r)+i}function eq(e,i=0,n=1,r,s){e.min=eY(e.min,i,n,r,s),e.max=eY(e.max,i,n,r,s)}function eZ(e,{x:i,y:n}){eq(e.x,i.translate,i.scale,i.originPoint),eq(e.y,n.translate,n.scale,n.originPoint)}function eK(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function e_(e,i){e.min=e.min+i,e.max=e.max+i}function eJ(e,i,[n,r,s]){let o=void 0!==i[s]?i[s]:.5,a=tf(e.min,e.max,o);eq(e,i[n],i[r],a,i.scale)}
1let eQ=["x","scaleX","originX"],e0=["y","scaleY","originY"];function e1(e,i){eJ(e.x,i,eQ),eJ(e.y,i,e0)}function e5(e,i){return ez(function(e,i){if(!i)return e;let n=i({x:e.left,y:e.top}),r=i({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),i))}var e3=e.i(880760);let e9=new WeakMap;class e2{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=eN(),this.visualElement=e}start(e,{snapToCursor:i=!1}={}){if(!1===this.visualElement.isPresent)return;let n=e=>{this.stopAnimation(),i&&this.snapToCursor((0,ef.extractEventInfo)(e,"page").point)},r=(e,i)=>{var n;let{drag:r,dragPropagation:s,onDragStart:o}=this.getProps();(!r||s||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,eA.getGlobalLock)(r),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),e$(e=>{var i,n;let r=this.getAxisMotionValue(e).get()||0;if(D.percent.test(r)){let s=null==(n=null==(i=this.visualElement.projection)?void 0:i.layout)?void 0:n.layoutBox[e];s&&(r=eS(s)*(parseFloat(r)/100))}this.originPoint[e]=r}),null==o||o(e,i),null==(n=this.visualElement.animationState)||n.setActive(el.AnimationType.Drag,!0))},s=(e,i)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=i;if(r&&null===this.currentDirection){this.currentDirection=function(e,i=10){let n=null;return Math.abs(e.y)>i?n="y":Math.abs(e.x)>i&&(n="x"),n}(a),null!==this.currentDirection&&(null==s||s(this.currentDirection));return}this.updateAxis("x",i.point,a),this.updateAxis("y",i.point,a),this.visualElement.render(),null==o||o(e,i)},o=(e,i)=>this.stop(e,i);this.panSession=new ex(e,{onSessionStart:n,onStart:r,onMove:s,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,i){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=i;this.startAnimation(r);let{onDragEnd:s}=this.getProps();null==s||s(e,i)}cancel(){var e,i;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null==(e=this.panSession)||e.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null==(i=this.visualElement.animationState)||i.setActive(el.AnimationType.Drag,!1)}updateAxis(e,i,n){let{drag:r}=this.getProps();if(!n||!e6(e,r,this.currentDirection))return;let s=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:i,max:n},r){return void 0!==i&&e<i?e=r?tf(i,e,r.min):Math.max(e,i):void 0!==n&&e>n&&(e=r?tf(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),s.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:i}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&(0,eC.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:i,left:n,bottom:r,right:s}){return{x:eL(e.x,n,s),y:eL(e.y,i,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:eB(e,"left","right"),y:eB(e,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&e$(e=>{var i,r;let s;this.getAxisMotionValue(e)&&(this.constraints[e]=(i=n.layoutBox[e],r=this.constraints[e],s={},void 0!==r.min&&(s.min=r.min-i.min),void 0!==r.max&&(s.max=r.max-i.min),s))})}resolveRefConstraints(){var e;let{dragConstraints:i,onMeasureDragConstraints:n}=this.getProps();if(!i||!(0,eC.isRefObject)(i))return!1;let r=i.current;tl(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let o=function(e,i,n){let r=e5(e,n),{scroll:s}=i;return s&&(e_(r.x,s.offset.x),e_(r.y,s.offset.y)),r}(r,s.root,this.visualElement.getTransformPagePoint()),a=(e=s.layout.layoutBox,{x:eF(e.x,o.x),y:eF(e.y,o.y)});if(n){let e=n(function({x:e,y:i}){return{top:i.min,right:e.max,bottom:i.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=ez(e))}return a}startAnimation(e){let{drag:i,dragMomentum:n,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{};return Promise.all(e$(a=>{if(!e6(a,i,this.currentDirection))return;let u=(null==l?void 0:l[a])||{};o&&(u={min:0,max:0});let h={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...u};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(e,i){let n=this.getAxisMotionValue(e);
1return n.start(en(e,n,0,i))}stopAnimation(){e$(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var i;let n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,(null==(i=this.visualElement.getProps().initial)?void 0:i[e])||0)}snapToCursor(e){e$(i=>{let{drag:n}=this.getProps();if(!e6(i,n,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(i);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[i];s.set(e[i]-tf(n,o,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;let{drag:i,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!(0,eC.isRefObject)(n)||!r||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};e$(e=>{let i=this.getAxisMotionValue(e);if(i){var n,r;let o,a,l,u=i.get();s[e]=(n={min:u,max:u},r=this.constraints[e],o=.5,a=eS(n),(l=eS(r))>a?o=tS(r.min,r.max-a,n.min):a>l&&(o=tS(n.min,n.max-l,r.min)),(0,C.clamp)(0,1,o))}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null==(e=r.root)||e.updateScroll(),r.updateLayout(),this.resolveConstraints(),e$(e=>{if(!e6(e,i,null))return;let n=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];n.set(tf(r,o,s[e]))})}addListeners(){var e;if(!this.visualElement.current)return;e9.set(this.visualElement,this);let i=this.visualElement.current,n=(0,eg.addPointerEvent)(i,"pointerdown",e=>{let{drag:i,dragListener:n=!0}=this.getProps();i&&n&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();(0,eC.isRefObject)(e)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",r);s&&!s.layout&&(null==(e=s.root)||e.updateScroll(),s.updateLayout()),r();let a=(0,e3.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:e,hasLayoutChanged:i})=>{this.isDragging&&i&&(e$(i=>{let n=this.getAxisMotionValue(i);n&&(this.originPoint[i]+=e[i].translate,n.set(n.get()+e[i].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),null==l||l()}}getProps(){let e=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:i,dragDirectionLock:n,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function e6(e,i,n){return(!0===i||i===e)&&(null===n||n===e)}var e8=e.i(720626),e4=e.i(645220),e7=e.i(466618);let it={pan:(0,ed.makeRenderlessComponent)(function({onPan:e,onPanStart:i,onPanEnd:n,onPanSessionStart:r,visualElement:s}){let o=(0,a.useRef)(null),{transformPagePoint:l}=(0,a.useContext)(e4.MotionConfigContext),u={onSessionStart:r,onStart:i,onMove:e,onEnd:(e,i)=>{o.current=null,n&&n(e,i)}};(0,a.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(u)}),(0,eg.usePointerEvent)(s,"pointerdown",(e||i||n||r)&&function(e){o.current=new ex(e,u,{transformPagePoint:l})}),(0,e7.useUnmountEffect)(()=>o.current&&o.current.end())}),drag:(0,ed.makeRenderlessComponent)(function(e){let{dragControls:i,visualElement:n}=e,r=(0,e8.useConstant)(()=>new e2(n));(0,a.useEffect)(()=>i&&i.subscribe(r),[r,i]),(0,a.useEffect)(()=>r.addListeners(),[r])})};var ie=e.i(117134),ii=e.i(753862),ir=e.i(366514),is=e.i(130091);function io(e){return"string"==typeof e&&e.startsWith("var(--")}let ia=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function il(e,i,n=1){tl(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(e){let i=ia.exec(e);if(!i)return[,];let[,n,r]=i;return[n,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);return o?o.trim():io(s)?il(s,i,n+1):s}var iu=e.i(850999);let ih=new Set(["width","height","top","left","right","bottom","x","y"]),ic=e=>ih.has(e),ip=e=>e===S.number||e===D.px;(i=n||(n={})).width="width",i.height="height",i.left="left",i.right="right",i.top="top",i.bottom="bottom";let id=(e,i)=>parseFloat(e.split(", ")[i]),im=(e,i)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let s=r.match(/^matrix3d\((.+)\)$/);if(s)return id(s[1],i);{let i=r.match(/^matrix\((.+)\)$/);return i?id(i[1],e):0}},ig=new Set(["x","y","z"]),iv=ti.transformPropOrder.filter(e=>!ig.has(e)),iy={width:({x:e},{paddingLeft:i="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(i)-parseFloat(n),height:({y:e},{paddingTop:i="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(i)-parseFloat(n),top:(e,{top:i})=>parseFloat(i),left:(e,{left:i})=>parseFloat(i),bottom:({y:e},{top:i})=>parseFloat(i)+(e.max-e.min),right:({x:e},{left:i})=>parseFloat(i)+(e.max-e.min),x:im(4,13),y:im(5,14)};var ix=e.i(652720);let ib={current:null},iT={current:!1};var iP=e.i(748387);let iV=Object.keys(ix.featureDefinitions),iA=iV.length,iC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class iS{constructor({parent:e,props:i,reducedMotionConfig:n,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>v.sync.render(this.render,!1,!0);const{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=i.initial?{...o}:{},this.renderState=a,this.parent=e,this.props=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=(0,iP.isControllingVariants)(i),this.isVariantNode=(0,iP.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(i,{});for(const e in u){const i=u[e];void 0!==o[e]&&(0,tn.isMotionValue)(i)&&(i.set(o[e],!1),tr(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,i){return{}}mount(e){var i;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null==(i=this.parent)?void 0:i.addVariantChild(this)),this.values.forEac
1h((e,i)=>this.bindToMotionValue(i,e)),iT.current||function(){if(iT.current=!0,iu.isBrowser)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),i=()=>ib.current=e.matches;e.addListener(i),i()}else ib.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ib.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,i,n;for(let r in null==(e=this.projection)||e.unmount(),v.cancelSync.update(this.notifyUpdate),v.cancelSync.render(this.render),this.valueSubscriptions.forEach(e=>e()),null==(i=this.removeFromVariantTree)||i.call(this),null==(n=this.parent)||n.children.delete(this),this.events)this.events[r].clear();this.current=null}bindToMotionValue(e,i){let n=ti.transformProps.has(e),r=i.on("change",i=>{this.latestValues[e]=i,this.props.onUpdate&&v.sync.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=i.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),s()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...i},n,r,s,o,l){let u=[];for(let e=0;e<iA;e++){let n=iV[e],{isEnabled:r,Component:s}=ix.featureDefinitions[n];r(i)&&s&&u.push((0,a.createElement)(s,{key:n,...i,visualElement:this}))}if(!this.projection&&o){this.projection=new o(s,this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:u,layoutRoot:h}=i;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:!!r||a&&(0,eC.isRefObject)(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:l,layoutScroll:u,layoutRoot:h})}return u}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eN()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,i){this.latestValues[e]=i}makeTargetAnimatable(e,i=!0){return this.makeTargetAnimatableFromInstance(e,this.props,i)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender();let i=this.props;this.props=e;for(let i=0;i<iC.length;i++){let n=iC[i];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,i,n){let{willChange:r}=i;for(let s in i){let o=i[s],a=n[s];if((0,tn.isMotionValue)(o))e.addValue(s,o),tr(r)&&r.add(s);else if((0,tn.isMotionValue)(a))e.addValue(s,V(o,{owner:e})),tr(r)&&r.remove(s);else if(a!==o)if(e.hasValue(s)){let i=e.getValue(s);i.hasAnimated||i.set(o)}else{let i=e.getStaticValue(s);e.addValue(s,V(void 0!==i?i:o,{owner:e}))}}for(let r in n)void 0===i[r]&&e.removeValue(r);return i}(this,this.scrapeMotionValuesFromProps(e,i),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){var i;return null==(i=this.props.variants)?void 0:i[e]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var e;return this.isVariantNode?this:null==(e=this.parent)?void 0:e.getClosestVariantNode()}getVariantContext(e=!1){var i,n;if(e)return null==(i=this.parent)?void 0:i.getVariantContext();if(!this.isControllingVariants){let e=(null==(n=this.parent)?void 0:n.getVariantContext())||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let r={};for(let e=0;e<iE;e++){let i=iw[e],n=this.props[i];((0,ea.isVariantLabel)(n)||!1===n)&&(r[i]=n)}return r}addVariantChild(e){var i;let n=this.getClosestVariantNode();if(n)return null==(i=n.variantChildren)||i.add(e),()=>n.variantChildren.delete(e)}addValue(e,i){i!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,i)),this.values.set(e,i),this.latestValues[e]=i.get()}removeValue(e){var i;this.values.delete(e),null==(i=this.valueSubscriptions.get(e))||i(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,i){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==i&&(n=V(i,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,i){this.baseTarget[e]=i}getBaseTarget(e){var i;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null==(i=(0,tt.resolveVariantFromProps)(this.props,n))?void 0:i[e]:void 0;if(n&&void 0!==r)return r;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||(0,tn.isMotionValue)(s)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:s}on(e,i){return this.events[e]||(this.events[e]=new b),this.events[e].add(i)}notify(e,...i){var n;null==(n=this.events[e])||n.notify(...i)}}let iw=["initial",...eu],iE=iw.length;class iM extends iS{sortInstanceNodePosition(e,i){return 2&e.compareDocumentPosition(i)?1:-1}getBaseTargetFromProps(e,i){var n;return null==(n=e.style)?void 0:n[i]}removeValueFromRenderState(e,{vars:i,style:n}){delete i[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:i,...n},{transformValues:r},s){let o=function(e,i,n){var r;let s={};for(let o in e){let e=function(e,i){if(i)return(i[e]||i.default||i).from}(o,i);s[o]=void 0!==e?e:null==(r=n.getValue(o))?void 0:r.get()}return s}(n,e||{},this);if(r&&(i&&(i=r(i)),n&&(n=r(n)),o&&(o=r(o))),s){var a,l,u,h,p;let e;!function(e,i,n){var r,s;let o=Object.keys(i).filter(i=>!e.hasValue(i)),a=o.length;if(a)for(let l=0;l<a;l++){let a=o[l],u=i[a],h=null;
1Array.isArray(u)&&(h=u[0]),null===h&&(h=null!=(s=null!=(r=n[a])?r:e.readValue(a))?s:i[a]),null!=h&&("string"==typeof h&&((0,d.isNumericalString)(h)||(0,m.isZeroValueString)(h))?h=parseFloat(h):!Q(h)&&$.test(u)&&(h=q(a,u)),e.addValue(a,V(h,{owner:e})),void 0===n[a]&&(n[a]=h),null!==h&&e.setBaseTarget(a,h))}}(this,n,o);let r=(a=n,l=o,a=(e=function(e,{...i},n){let r=e.current;if(!(r instanceof Element))return{target:i,transitionEnd:n};for(let s in n&&(n={...n}),e.values.forEach(e=>{let i=e.get();if(!io(i))return;let n=il(i,r);n&&e.set(n)}),i){let e=i[s];if(!io(e))continue;let o=il(e,r);o&&(i[s]=o,n&&void 0===n[s]&&(n[s]=e))}return{target:i,transitionEnd:n}}(this,a,u=i)).target,u=e.transitionEnd,h=a,p=u,Object.keys(h).some(ic)?((e,i,n={},r={})=>{i={...i},r={...r};let s=Object.keys(i).filter(ic),o=[],a=!1,l=[];if(s.forEach(s=>{let u,h=e.getValue(s);if(!e.hasValue(s))return;let p=n[s],d=_(p),m=i[s];if((0,c.isKeyframesTarget)(m)){let e=m.length,i=+(null===m[0]);d=_(p=m[i]);for(let n=i;n<e;n++)u?tl(_(m[n])===u,"All keyframes must be of the same type"):tl((u=_(m[n]))===d||ip(d)&&ip(u),"Keyframes must be of the same dimension as the current value")}else u=_(m);if(d!==u)if(ip(d)&&ip(u)){let e=h.get();"string"==typeof e&&h.set(parseFloat(e)),"string"==typeof m?i[s]=parseFloat(m):Array.isArray(m)&&u===D.px&&(i[s]=m.map(parseFloat))}else if((null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===p||0===m))0===p?h.set(u.transform(p)):i[s]=d.transform(m);else{if(!a){let i;i=[],iv.forEach(n=>{let r=e.getValue(n);void 0!==r&&(i.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),i.length&&e.render(),o=i,a=!0}l.push(s),r[s]=void 0!==r[s]?r[s]:i[s],h.jump(m)}}),!l.length)return{target:i,transitionEnd:r};{let n=l.indexOf("height")>=0?window.pageYOffset:null,s=((e,i,n)=>{let r=i.measureViewportBox(),s=getComputedStyle(i.current),{display:o}=s,a={};"none"===o&&i.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=iy[e](r,s)}),i.render();let l=i.measureViewportBox();return n.forEach(n=>{let r=i.getValue(n);r&&r.jump(a[n]),e[n]=iy[n](l,s)}),e})(i,e,l);return o.length&&o.forEach(([i,n])=>{e.getValue(i).set(n)}),e.render(),iu.isBrowser&&null!==n&&window.scrollTo({top:n}),{target:s,transitionEnd:r}}})(this,h,l,p):{target:h,transitionEnd:p});i=r.transitionEnd,n=r.target}return{transition:e,transitionEnd:i,...n}}}class ik extends iM{readValueFromInstance(e,i){if(ti.transformProps.has(i)){let e=Y(i);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,ii.isCSSVariable)(i)?n.getPropertyValue(i):n[i])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:i}){return e5(e,i)}build(e,i,n,r){(0,ie.buildHTMLStyles)(e,i,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,i){return(0,ir.scrapeMotionValuesFromProps)(e,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,tn.isMotionValue)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,i,n,r){(0,is.renderHTML)(e,i,n,r)}}var iR=e.i(958019),iD=e.i(739466),iL=e.i(43373),iF=e.i(809952),iB=e.i(747349);class ij extends iM{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,i){return e[i]}readValueFromInstance(e,i){var n;return ti.transformProps.has(i)?(null==(n=Y(i))?void 0:n.default)||0:(i=iL.camelCaseAttributes.has(i)?i:(0,ts.camelToDash)(i),e.getAttribute(i))}measureInstanceViewportBox(){return eN()}scrapeMotionValuesFromProps(e,i){return(0,iR.scrapeMotionValuesFromProps)(e,i)}build(e,i,n,r){(0,iD.buildSVGAttrs)(e,i,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,i,n,r){(0,iF.renderSVG)(e,i,n,r)}mount(e){this.isSVGTag=(0,iB.isSVGTag)(e.tagName),super.mount(e)}}var iO=e.i(84069);let iI=(e,i)=>(0,iO.isSVGComponent)(e)?new ij(i,{enableHardwareAcceleration:!1}):new ik(i,{enableHardwareAcceleration:!0});var iU=a,iN=e.i(473680),i$=e.i(60395),iz=e.i(631800);function iH(e,i){return i.max===i.min?0:e/(i.max-i.min)*100}let iW={correct:(e,i)=>{if(!i.target)return e;if("string"==typeof e)if(!D.px.test(e))return e;else e=parseFloat(e);let n=iH(e,i.target.x),r=iH(e,i.target.y);return`${n}% ${r}%`}},iG="_$css",iX={correct:(e,{treeScale:i,projectionDelta:n})=>{let r=e,s=e.includes("var("),o=[];s&&(e=e.replace(ia,e=>(o.push(e),iG)));let a=$.parse(e);if(a.length>5)return r;let l=$.createTransformer(e),u=+("number"!=typeof a[0]),h=n.x.scale*i.x,c=n.y.scale*i.y;a[0+u]/=h,a[1+u]/=c;let p=tf(h,c,.5);"number"==typeof a[2+u]&&(a[2+u]/=p),"number"==typeof a[3+u]&&(a[3+u]/=p);let d=l(a);if(s){let e=0;d=d.replace(iG,()=>{let i=o[e];return e++,i})}return d}};var iY=e.i(500478);class iq extends iU.default.Component{componentDidMount(){let{visualElement:e,layoutGroup:i,switchLayoutGroup:n,layoutId:r}=this.props,{projection:s}=e;(0,iY.addScaleCorrector)(iZ),s&&(i.group&&i.group.add(s),n&&n.register&&r&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),iz.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:i,visualElement:n,drag:r,isPresent:s}=this.props,o=n.projection;return o&&(o.isPresent=s,r||e.layoutDependency!==i||void 0===i?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||v.sync.postRender(()=>{var e;(null==(e=o.getStack())?void 0:e.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:i,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),(null==i?void 0:i.group)&&i.group.remove(r),(null==n?void 0:n.deregister)&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;null==e||e()}render(){return null}}let iZ={borderRadius:{...iW,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iW,borderTopRightRadius:iW,borderBottomLeftRadius:iW,borderBottomRightRadius:iW,boxShadow:iX},iK=["TopLeft","TopRight","BottomLeft","BottomRight"],i_=iK.length,iJ=e=>"string"==typeof e?parseFloat(e):e,iQ=e=>"number"==typeof e||D.px.test(e);function i0(e,i){return void 0!==e[i]?e[i]:e.borderRadius}let i1=i3(0,.5,tL),i5=i3(.5,.95,tM);function i3(e,i,n){return r=>r<e?0:r>i?1:n(tS(e,i,r))}
1function i9(e,i){e.min=i.min,e.max=i.max}function i2(e,i){i9(e.x,i.x),i9(e.y,i.y)}function i6(e,i,n,r,s){return e-=i,e=r+1/n*(e-r),void 0!==s&&(e=r+1/s*(e-r)),e}function i8(e,i,[n,r,s],o,a){!function(e,i=0,n=1,r=.5,s,o=e,a=e){if(D.percent.test(i)&&(i=parseFloat(i),i=tf(a.min,a.max,i/100)-a.min),"number"!=typeof i)return;let l=tf(o.min,o.max,r);e===o&&(l-=i),e.min=i6(e.min,i,n,l,s),e.max=i6(e.max,i,n,l,s)}(e,i[n],i[r],i[s],i.scale,o,a)}let i4=["x","scaleX","originX"],i7=["y","scaleY","originY"];function nt(e,i,n,r){i8(e.x,i,i4,null==n?void 0:n.x,null==r?void 0:r.x),i8(e.y,i,i7,null==n?void 0:n.y,null==r?void 0:r.y)}function ne(e){return 0===e.translate&&1===e.scale}function ni(e){return ne(e.x)&&ne(e.y)}function nn(e,i){return e.x.min===i.x.min&&e.x.max===i.x.max&&e.y.min===i.y.min&&e.y.max===i.y.max}function nr(e){return eS(e.x)/eS(e.y)}class ns{constructor(){this.members=[]}add(e){y(this.members,e),e.scheduleRender()}remove(e){if(x(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let i,n=this.members.findIndex(i=>e===i);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){i=n;break}}return!!i&&(this.promote(i),!0)}promote(e,i){var n;let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,i&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),(null==(n=e.root)?void 0:n.isUpdating)&&(e.isLayoutDirty=!0);let{crossfade:s}=e.options;!1===s&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var i,n,r,s,o;null==(n=(i=e.options).onExitComplete)||n.call(i),null==(o=null==(r=e.resumingFrom)?void 0:(s=r.options).onExitComplete)||o.call(s)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function no(e,i,n){let r="",s=e.x.translate/i.x,o=e.y.translate/i.y;if((s||o)&&(r=`translate3d(${s}px, ${o}px, 0) `),(1!==i.x||1!==i.y)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),n){let{rotate:e,rotateX:i,rotateY:s}=n;e&&(r+=`rotate(${e}deg) `),i&&(r+=`rotateX(${i}deg) `),s&&(r+=`rotateY(${s}deg) `)}let a=e.x.scale*i.x,l=e.y.scale*i.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}let na=(e,i)=>e.depth-i.depth;class nl{constructor(){this.children=[],this.isDirty=!1}add(e){y(this.children,e),this.isDirty=!0}remove(e){x(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(na),this.isDirty=!1,this.children.forEach(e)}}var nu=e.i(19613);let nh=["","X","Y","Z"],nc=0;function np({attachResizeListener:e,defaultParent:i,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(e,n={},r=null==i?void 0:i()){this.id=nc++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(nf),this.nodes.forEach(nb),this.nodes.forEach(nT)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new nl)}addEventListener(e,i){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new b),this.eventHandlers.get(e).add(i)}notifyListeners(e,...i){let n=this.eventHandlers.get(e);null==n||n.notify(...i)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,i){this.potentialNodes.set(e,i)}mount(i,n=!1){var r;if(this.instance)return;
1this.isSVG=i instanceof SVGElement&&"svg"!==i.tagName,this.instance=i;let{layoutId:s,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(i),this.root.nodes.add(this),null==(r=this.parent)||r.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),n&&(o||s)&&(this.isLayoutDirty=!0),e){let n,r=()=>this.root.updateBlockedByResize=!1;e(i,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=t3(r,250),iz.globalProjectionState.hasAnimatedSinceResize&&(iz.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(nx))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&a&&(s||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:i,hasRelativeTargetChanged:n,layout:r})=>{var s,o,l,u,h;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!=(o=null!=(s=this.options.transition)?s:a.getDefaultTransition())?o:nw,{onLayoutAnimationStart:p,onLayoutAnimationComplete:d}=a.getProps(),m=!this.targetLayout||!nn(this.targetLayout,r)||n,f=!i&&n;if(this.options.layoutRoot||(null==(l=this.resumeFrom)?void 0:l.instance)||f||i&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,f);let i={...ei(c,"layout"),onPlay:p,onComplete:d};(a.shouldReduceMotion||this.options.layoutRoot)&&(i.delay=0,i.type=!1),this.startAnimation(i)}else i||0!==this.animationProgress||nx(this),this.isLead()&&(null==(h=(u=this.options).onExitComplete)||h.call(u));this.targetLayout=r})}unmount(){var e,i;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null==(e=this.getStack())||e.remove(this),null==(i=this.parent)||i.children.delete(this),this.instance=void 0,v.cancelSync.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null==(e=this.parent)?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;!this.isUpdateBlocked()&&(this.isUpdating=!0,null==(e=this.nodes)||e.forEach(nP),this.animationId++)}getTransformTemplate(){var e;return null==(e=this.options.visualElement)?void 0:e.getProps().transformTemplate}willUpdate(e=!0){var i,n,r;if(this.root.isUpdateBlocked()){null==(n=(i=this.options).onExitComplete)||n.call(i);return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let i=this.path[e];i.shouldResetTransform=!0,i.updateScroll("snapshot"),i.options.layoutRoot&&i.willUpdate(!1)}let{layoutId:s,layout:o}=this.options;(void 0!==s||o)&&(this.prevTransformTemplateValue=null==(r=this.getTransformTemplate())?void 0:r(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate"))}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nv);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(nE),this.potentialNodes.clear()),this.nodes.forEach(ny),this.nodes.forEach(nd),this.nodes.forEach(nm),this.clearAllSnapshots(),v.flushSync.update(),v.flushSync.preRender(),v.flushSync.render())}clearAllSnapshots(){this.nodes.forEach(ng),this.sharedNodes.forEach(nV)}scheduleUpdateProjection(){v.sync.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){v.sync.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var e;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=eN(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null==(e=this.options.visualElement)||e.notify("LayoutMeasure",this.layout.layoutBox,null==i?void 0:i.layoutBox)}updateScroll(e="measure"){let i=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(i=!1),i&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){var e;if(!s)return;let i=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!ni(this.projectionDelta),r=null==(e=this.getTransformTemplate())?void 0:e(this.latestValues,""),o=r!==this.prevTransformTemplateValue;i&&(n||eG(this.latestValues)||o)&&(s(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var i;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),nM((i=r).x),nM(i.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return eN();let i=e.measureViewportBox(),{scroll:n}=this.root;return n&&(e_(i.x,n.offset.x),e_(i.y,n.offset.y)),i}removeElementScroll(e){let i=eN();i2(i,e);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:s,options:o}=r;if(r!==this.root&&s&&o.layoutScroll){if(s.isRoot){i2(i,e);let{scroll:n}=this.root;n&&(e_(i.x,-n.offset.x),e_(i.y,-n.offset.y))}e_(i.x,s.offset.x),e_(i.y,s.offset.y)}}return i}applyTransform(e,i=!1){let n=eN();i2(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&e1(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),eG(r.latestValues)&&e1(n,r.latestValues)}return eG(this.latestValues)&&e1(n,this.latestValues),n}removeTransform(e){var i;let n=eN();i2(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!eG(r.latestValues))continue;eW(r.latestValues)&&r.updateSnapshot();let s=eN();i2(s,r.measurePageBox()),nt(n,r.latestValues,null==(i=r.snapshot)?void 0:i.layoutBox,s)}return eG(this.latestValues)&&nt(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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}resolveTargetDelta(){var e,i,n,r;let s=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:o,layoutId:a}=this.options;
1if(this.layout&&(o||a)){if(!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout?(this.relativeParent=e,this.relativeTarget=eN(),this.relativeTargetOrigin=eN(),eD(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),i2(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=eN(),this.targetWithTransforms=eN()),this.relativeTarget&&this.relativeTargetOrigin&&(null==(e=this.relativeParent)?void 0:e.target))?(i=this.target,n=this.relativeTarget,r=this.relativeParent.target,ek(i.x,n.x,r.x),ek(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):i2(this.target,this.layout.layoutBox),eZ(this.target,this.targetDelta)):i2(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target?(this.relativeParent=e,this.relativeTarget=eN(),this.relativeTargetOrigin=eN(),eD(this.relativeTargetOrigin,this.target,e.target),i2(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||eW(this.parent.latestValues)||eX(this.parent.latestValues)))if((this.parent.relativeTarget||this.parent.targetDelta||this.parent.options.layoutRoot)&&this.parent.layout)return this.parent;else return this.parent.getClosestProjectingParent()}calcProjection(){var e;let{isProjectionDirty:i,isTransformDirty:n}=this;this.isProjectionDirty=this.isTransformDirty=!1;let r=this.getLead(),s=!!this.resumingFrom||this!==r,o=!0;if(i&&(o=!1),s&&n&&(o=!1),o)return;let{layout:a,layoutId:l}=this.options;if(this.isTreeAnimating=!!((null==(e=this.parent)?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||l))return;i2(this.layoutCorrected,this.layout.layoutBox),function(e,i,n,r=!1){var s,o;let a,l,u=n.length;if(u){i.x=i.y=1;for(let h=0;h<u;h++)l=(a=n[h]).projectionDelta,(null==(o=null==(s=a.instance)?void 0:s.style)?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&e1(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(i.x*=l.x.scale,i.y*=l.y.scale,eZ(e,l)),r&&eG(a.latestValues)&&e1(e,a.latestValues));i.x=eK(i.x),i.y=eK(i.y)}}(this.layoutCorrected,this.treeScale,this.path,s);let{target:u}=r;if(!u)return;this.projectionDelta||(this.projectionDelta=eI(),this.projectionDeltaWithTransform=eI());let h=this.treeScale.x,c=this.treeScale.y,p=this.projectionTransform;eM(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=no(this.projectionDelta,this.treeScale),(this.projectionTransform!==p||this.treeScale.x!==h||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var i,n,r;null==(n=(i=this.options).scheduleRender)||n.call(i),e&&(null==(r=this.getStack())||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,i=!1){var n,r;let s=this.snapshot,o=(null==s?void 0:s.latestValues)||{},a={...this.latestValues},l=eI();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let u=eN(),h=(null==s?void 0:s.source)!==(null==(n=this.layout)?void 0:n.source),c=1>=((null==(r=this.getStack())?void 0:r.members.length)||0),p=!!(h&&!c&&!0===this.options.crossfade&&!this.path.some(nS));this.animationProgress=0,this.mixTargetDelta=i=>{var n,r,s,d,m;let f=i/1e3;nA(l.x,e.x,f),nA(l.y,e.y,f),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null==(n=this.relativeParent)?void 0:n.layout)&&(eD(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r=this.relativeTarget,s=this.relativeTargetOrigin,d=u,m=f,nC(r.x,s.x,d.x,m),nC(r.y,s.y,d.y,m)),h&&(this.animationValues=a,function(e,i,n,r,s,o){s?(e.opacity=tf(0,void 0!==n.opacity?n.opacity:1,i1(r)),e.opacityExit=tf(void 0!==i.opacity?i.opacity:1,0,i5(r))):o&&(e.opacity=tf(void 0!==i.opacity?i.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let s=0;s<i_;s++){let o=`border${iK[s]}Radius`,a=i0(i,o),l=i0(n,o);(void 0!==a||void 0!==l)&&(a||(a=0),l||(l=0),0===a||0===l||iQ(a)===iQ(l)?(e[o]=Math.max(tf(iJ(a),iJ(l),r),0),(D.percent.test(l)||D.percent.test(a))&&(e[o]+="%")):e[o]=l)}(i.rotate||n.rotate)&&(e.rotate=tf(i.rotate||0,n.rotate||0,r))}(a,o,this.latestValues,f,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=f},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){var i,n;this.notifyListeners("animationStart"),null==(i=this.currentAnimation)||i.stop(),this.resumingFrom&&(null==(n=this.resumingFrom.currentAnimation)||n.stop()),this.pendingAnimation&&(v.cancelSync.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=v.sync.update(()=>{iz.globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=function(e={}){let i=(0,tn.isMotionValue)(0)?0:V(0);return i.start(en("",i,1e3,e)),{stop:()=>i.stop(),isAnimating:()=>i.isAnimating()}}({...e,onUpdate:i=>{var n;this.mixTargetDelta(i),null==(n=e.onUpdate)||n.call(e,i)},onComplete:()=>{var i;null==(i=e.onComplete)||i.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null==(e=this.getStack())||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null==(e=this.mixTargetDelta)||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:i,target:n,layout:r,latestValues:s}=e;if(i&&n&&r){if(this!==e&&this.layout&&r&&nk(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||eN();let i=eS(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+i;let r=eS(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}i2(i,n),e1(i,s),eM(this.projectionDeltaWithTransform,this.layoutCorrected,i,s)}}registerSharedNode(e,i){var n,r,s;this.sharedNodes.has(e)||this.sharedNodes.set(e,new ns),this.sharedNodes.get(e).add(i),i.promote({transition:null==(n=i.options.initialPromotionConfig)?void 0:n.transition,preserveFollowOpacity:null==(s=null==(r=i.options.initialPromotionConfig)?void 0:r.shouldPreserveFollowOpacity)?void 0:s.call(r,i)})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:i}=this.options;return i&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:i}=this.options;return i?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:i,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let i=!1,{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(i=!0),!i)return;let r={};for(let i=0;i<nh.length;i++){let s="rotate"+nh[i];n[s]&&(r[s]=n[s],e.setStaticValue(s,0))}for(let i in null==e||e.render(),r)e.setStaticValue(i,r[i]);e.scheduleRender()}getProjectionStyles(e={}){var i,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,nu.resolveMotionValue)(e.pointerEvents)||"",r.transform=s?s(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let i={};return this.options.layoutId&&(i.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,i.pointerEvents=(0,nu.resolveMotionValue)(e.pointerEvents)||""),this.hasProjected&&!eG(this.latestValues)&&(i.transform=s?s({},""):"none",this.hasProjected=!1),i}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=no(this.projectionDeltaWithTransform,this.treeScale,a),s&&(r.transform=s(a,r.transform));let{x:l,y:u}=this.projectionDelta;for(let e in r.transformOrigin=`${100*l.origin}% ${100*u.origin}% 0`,o.animationValues?r.opacity=o===this?null!=(n=null!=(i=a.opacity)?i:this.latestValues.opacity)?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,iY.scaleCorrectors){if
1(void 0===a[e])continue;let{correct:i,applyTo:n}=iY.scaleCorrectors[e],s="none"===r.transform?a[e]:i(a[e],o);if(n){let e=n.length;for(let i=0;i<e;i++)r[n[i]]=s}else r[e]=s}return this.options.layoutId&&(r.pointerEvents=o===this?(0,nu.resolveMotionValue)(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var i;return null==(i=e.currentAnimation)?void 0:i.stop()}),this.root.nodes.forEach(nv),this.root.sharedNodes.clear()}}}function nd(e){e.updateLayout()}function nm(e){var i,n,r;let s=(null==(i=e.resumeFrom)?void 0:i.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&s&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=e.layout,{animationType:r}=e.options,o=s.source!==e.layout.source;"size"===r?e$(e=>{let n=o?s.measuredBox[e]:s.layoutBox[e],r=eS(n);n.min=i[e].min,n.max=n.min+r}):nk(r,s.layoutBox,i)&&e$(e=>{let n=o?s.measuredBox[e]:s.layoutBox[e],r=eS(i[e]);n.max=n.min+r});let a=eI();eM(a,i,s.layoutBox);let l=eI();o?eM(l,e.applyTransform(n,!0),s.measuredBox):eM(l,i,s.layoutBox);let u=!ni(a),h=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let a=eN();eD(a,s.layoutBox,r.layoutBox);let l=eN();eD(l,i,o.layoutBox),nn(a,l)||(h=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:s,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:h})}else e.isLead()&&(null==(r=(n=e.options).onExitComplete)||r.call(n));e.options.transition=void 0}function nf(e){e.isProjectionDirty||(e.isProjectionDirty=!!(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=!!(e.parent&&e.parent.isTransformDirty))}function ng(e){e.clearSnapshot()}function nv(e){e.clearMeasurements()}function ny(e){let{visualElement:i}=e.options;(null==i?void 0:i.getProps().onBeforeLayoutMeasure)&&i.notify("BeforeLayoutMeasure"),e.resetTransform()}function nx(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function nb(e){e.resolveTargetDelta()}function nT(e){e.calcProjection()}function nP(e){e.resetRotation()}function nV(e){e.removeLeadSnapshot()}function nA(e,i,n){e.translate=tf(i.translate,0,n),e.scale=tf(i.scale,1,n),e.origin=i.origin,e.originPoint=i.originPoint}function nC(e,i,n,r){e.min=tf(i.min,n.min,r),e.max=tf(i.max,n.max,r)}function nS(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nw={duration:.45,ease:[.4,0,.1,1]};function nE(e,i){let n=e.root;for(let i=e.path.length-1;i>=0;i--)if(e.path[i].instance){n=e.path[i];break}
1let r=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${i}"]`);r&&e.mount(r,!0)}function nM(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function nk(e,i,n){return"position"===e||"preserve-aspect"===e&&!ew(nr(i),nr(n),.2)}let nR=np({attachResizeListener:(e,i)=>(0,e3.addDomEvent)(e,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nD={current:void 0},nL=np({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nD.current){let e=new nR(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),nD.current=e}return nD.current},resetTransform:(e,i)=>{e.style.transform=void 0!==i?i:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),nF={...em,...o.gestureAnimations,...it,measureLayout:function(e){let[i,n]=(0,u.usePresence)(),r=(0,iU.useContext)(iN.LayoutGroupContext);return iU.default.createElement(iq,{...e,layoutGroup:r,switchLayoutGroup:(0,iU.useContext)(i$.SwitchLayoutGroupContext),isPresent:i,safeToRemove:n})}},nB=(0,r.createMotionProxy)((e,i)=>(0,s.createDomMotionConfig)(e,i,nF,iI,nL));e.s(["motion",0,nB],124146)}]);

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.