PageSourceSearch

https://nfthive.io/_next/static/chunks/9775bc02-a1529b5d256cbd31.js

js nfthive.io collected 2026-10-03 21:20:38 UTC 65,710 bytes, 10 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5733],{68243:function(e,t,r){let n;r.d(t,{Af:function(){return e2},H7:function(){return nP},M_:function(){return e1},X:function(){return e5},m:function(){return eZ}});var i,s,a,o,l=r(12373),u=r(67294);function c(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var h=(0,l.vd)({"../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/memoize/dist/memoize.esm.js"(){s=c}}),d={};(0,l.r2)(d,{default:()=>o});var p=(0,l.vd)({"../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/is-prop-valid/dist/is-prop-valid.esm.js"(){h(),a=/^((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)-.*))$/,o=s(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})}}),f=(0,u.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),m=(0,u.createContext)({}),g=(0,u.createContext)(null),v="undefined"!=typeof document,y=v?u.useLayoutEffect:u.useEffect,b=(0,u.createContext)({strict:!1}),w=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),x="data-"+w("framerAppearId");function A(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function k(e){return"string"==typeof e||Array.isArray(e)}function C(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}var P=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],V=["initial",...P];function S(e){return C(e.animate)||V.some(t=>k(e[t]))}function M(e){return!!(S(e)||e.variants)}function E(e){return Array.isArray(e)?e.join(" "):e}var T={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},F={};for(let e in T)F[e]={isEnabled:t=>T[e].some(e=>!!t[e])};function R(e){for(let t in e)F[t]={...F[t],...e[t]}}var O=(0,u.createContext)({}),L=(0,u.createContext)({}),I=Symbol.for("motionComponentSymbol"),B=["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 D(e){if("string"!=typeof e||e.includes("-"));else if(B.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}var $={},j=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],N=new Set(j);function z(e,{layout:t,layoutId:r}){return N.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!$[e]||"opacity"===e)}var H=e=>!!(e&&e.getVelocity),W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},U=j.length,X=e=>t=>"string"==typeof t&&t.startsWith(e),q=X("--"),Y=X("var(--"),Z=(e,t)=>t&&"number"==typeof e?t.transform(e):e,_=(e,t,r)=>
1Math.min(Math.max(r,e),t),K={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},G={...K,transform:e=>_(0,1,e)},J={...K,default:1},Q=e=>Math.round(1e5*e)/1e5,ee=/(-)?([\d]*\.?[\d])+/g,et=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,er=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function en(e){return"string"==typeof e}var ei=e=>({test:t=>en(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),es=ei("deg"),ea=ei("%"),eo=ei("px"),el=ei("vh"),eu=ei("vw"),ec={...ea,parse:e=>ea.parse(e)/100,transform:e=>ea.transform(100*e)},eh={...K,transform:Math.round},ed={borderWidth:eo,borderTopWidth:eo,borderRightWidth:eo,borderBottomWidth:eo,borderLeftWidth:eo,borderRadius:eo,radius:eo,borderTopLeftRadius:eo,borderTopRightRadius:eo,borderBottomRightRadius:eo,borderBottomLeftRadius:eo,width:eo,maxWidth:eo,height:eo,maxHeight:eo,size:eo,top:eo,right:eo,bottom:eo,left:eo,padding:eo,paddingTop:eo,paddingRight:eo,paddingBottom:eo,paddingLeft:eo,margin:eo,marginTop:eo,marginRight:eo,marginBottom:eo,marginLeft:eo,rotate:es,rotateX:es,rotateY:es,rotateZ:es,scale:J,scaleX:J,scaleY:J,scaleZ:J,skew:es,skewX:es,skewY:es,distance:eo,translateX:eo,translateY:eo,translateZ:eo,x:eo,y:eo,z:eo,perspective:eo,transformPerspective:eo,opacity:G,originX:ec,originY:ec,originZ:eo,zIndex:eh,fillOpacity:G,strokeOpacity:G,numOctaves:eh};function ep(e,t,r,n){let{style:i,vars:s,transform:a,transformOrigin:o}=e,l=!1,u=!1,c=!0;for(let e in t){let r=t[e];if(q(e)){s[e]=r;continue}let n=ed[e],h=Z(r,n);if(N.has(e)){if(l=!0,a[e]=h,!c)continue;r!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,o[e]=h):i[e]=h}if(!t.transform&&(l||n?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let s="";for(let t=0;t<U;t++){let r=j[t];if(void 0!==e[r]){let t=W[r]||r;s+=`${t}(${e[r]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),i?s=i(e,n?"":s):r&&n&&(s="none"),s}(e.transform,r,c,n):i.transform&&(i.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;i.transformOrigin=`${e} ${t} ${r}`}}var ef=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function em(e,t,r){for(let n in t)H(t[n])||z(n,r)||(e[n]=t[n])}function eg(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return em(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,u.useMemo)(()=>{let n=ef();return ep(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(i):i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}var ev=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ey(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ev.has(e)}var eb=e=>!ey(e);function ew(e){e&&(eb=t=>t.startsWith("on")?!ey(t):e(t))}try{ew((p(),(0,l.lS)(d)).default)}catch(e){}function ex(e,t,r){return"string"==typeof e?e:eo.transform(t+r*e)}var eA={offset:"stroke-dashoffset",array:"stroke-dasharray"},ek={offset:"strokeDashoffset",array:"strokeDasharray"};function eC(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:s,pathLength:a,pathSpacing:o=1,pathOffset:l=0,...u},c,h,d){if(ep(e,u,c,d),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:f,dimensions:m}=e;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==s||f.transform)&&(f.transformOrigin=function(e,t,r){let n=ex(t,e.x,e.width),i=ex(r,e.y,e.height);return`${n} ${i}`}(m,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==a&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let s=i?eA:ek;e[s.offset]=eo.transform(-n);let a=eo.transform(t),o=eo.transform(r);e[s.array]=`${a} ${o}`}(p,a,o,l,!1)}var eP=()=>({...ef(),attrs:{}}),eV=e=>"string"==typeof e&&"svg"===e.toLowerCase();function eS(e,t,r,n){let i=(0,u.useMemo)(()=>{let r=eP();return eC(r,t,{enableHardwareAcceleration:!1},eV(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};em(t,e.style,e),i.style={...t,...i.style}}return i}function eM(e,{style:t,vars:r},n,i){for(let s in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(s,r[s])}var eE=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 eT(e,t,r,n){for(let r in eM(e,t,void 0,n),t.attrs)e.setAttribute(eE.has(r)?r:w(r),t.attrs[r])}function eF(e,t){let{style:r}=e,n={};for(let i in r)(H(r[i])||t.style&&H(t.style[i])||z(i,e))&&(n[i]=r[i]);return n}function eR(e,t){let r=eF(e,t);for(let n in e)if(H(e[n])||H(t[n])){let t=-1!==j.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[t]=e[n]}return r}function eO(e,t,r,n={},i={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),t}function eL(e){let t=(0,u.useRef)(null);return null===t.current&&(t.current=e()),t.current}var eI=e=>Array.isArray(e),eB=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),eD=e=>eI(e)?e[e.length-1]||0:e,e$=e=>(t,r)=>{let n=(0,u.useContext)(m),i=(0,u.useContext)(g),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,s){let a={latestValues:function(e,t,r,n){let i={},s=n(e,{});for(let e in s)i[e]=function(e){let t=H(e)?e.get():e;return eB(t)?t.toValue():t}(s[e]);let{initial:a,animate:o}=e,l=S(e),u=M(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===o&&(o=t.animate));let c=!!r&&!1===r.initial;c=c||!1===a;let h=c?o:a;if(h&&"boolean"!=typeof h&&!C(h)){let t=Array.isArray(h)?h:[h];t.forEach(t=>{let r=eO(e,t);if(!r)return;let{transitionEnd:n,transition:s,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in n)i[e]=n[e]})}return i}(n,i,s,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,i);return r?s():eL(s)},ej=e=>e,eN=class{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}},ez=["prepare","read","update","preRender","render","postRender"],{schedule:eH,cancel:eW,state:eU,steps:eX}=function(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},s=ez.reduce((e,t)=>
1(e[t]=function(e){let t=new eN,r=new eN,n=0,i=!1,s=!1,a=new WeakSet,o={schedule:(e,s=!1,o=!1)=>{let l=o&&i,u=l?t:r;return s&&a.add(e),u.add(e)&&l&&i&&(n=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:l=>{if(i){s=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length)for(let r=0;r<n;r++){let n=t.order[r];n(l),a.has(n)&&(o.schedule(n),e())}i=!1,s&&(s=!1,o.process(l))}};return o}(()=>r=!0),e),{}),a=e=>s[e].process(i),o=()=>{let s=performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(s-i.timestamp,40),1),i.timestamp=s,i.isProcessing=!0,ez.forEach(a),i.isProcessing=!1,r&&t&&(n=!1,e(o))},l=()=>{r=!0,n=!0,i.isProcessing||e(o)},u=ez.reduce((e,t)=>{let n=s[t];return e[t]=(e,t=!1,i=!1)=>(r||l(),n.schedule(e,t,i)),e},{});return{schedule:u,cancel:e=>ez.forEach(t=>s[t].cancel(e)),state:i,steps:s}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ej,!0),eq={useVisualState:e$({scrapeMotionValuesFromProps:eR,createRenderState:eP,onMount:(e,t,{renderState:r,latestValues:n})=>{eH.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),eH.render(()=>{eC(r,n,{enableHardwareAcceleration:!1},eV(t.tagName),e.transformTemplate),eT(t,r)})}})},eY={useVisualState:e$({scrapeMotionValuesFromProps:eF,createRenderState:ef})},eZ=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&R(e);let s=(0,u.forwardRef)(function(s,a){var o;let l;let c={...(0,u.useContext)(f),...s,layoutId:function({layoutId:e}){let t=(0,u.useContext)(O).id;return t&&void 0!==e?t+"-"+e:e}(s)},{isStatic:h}=c,d=function(e){let{initial:t,animate:r}=function(e,t){if(S(e)){let{initial:t,animate:r}=e;return{initial:!1===t||k(t)?t:void 0,animate:k(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,u.useContext)(m));return(0,u.useMemo)(()=>({initial:t,animate:r}),[E(t),E(r)])}(s),p=n(s,h);if(!h&&v){d.visualElement=function(e,t,r,n){let{visualElement:i}=(0,u.useContext)(m),s=(0,u.useContext)(b),a=(0,u.useContext)(g),o=(0,u.useContext)(f).reducedMotion,l=(0,u.useRef)();n=n||s.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:o}));let c=l.current;(0,u.useInsertionEffect)(()=>{c&&c.update(r,a)});let h=(0,u.useRef)(!!(r[x]&&!window.HandoffComplete));return y(()=>{c&&(c.render(),h.current&&c.animationState&&c.animationState.animateChanges())}),(0,u.useEffect)(()=>{c&&(c.updateFeatures(),!h.current&&c.animationState&&c.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),c}(i,p,c,t);let r=(0,u.useContext)(L),n=(0,u.useContext)(b).strict;d.visualElement&&(l=d.visualElement.loadFeatures(c,n,e,r))}return u.createElement(m.Provider,{value:d},l&&d.visualElement?u.createElement(l,{visualElement:d.visualElement,...c}):null,r(i,s,(o=d.visualElement,(0,u.useCallback)(e=>{e&&p.mount&&p.mount(e),o&&(e?o.mount(e):o.unmount()),a&&("function"==typeof a?a(e):A(a)&&(a.current=e))},[o])),p,h,d.visualElement))});return s[I]=i,s}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}(function(e,{forwardMotionProps:t=!1},r,n){let i=D(e)?eq:eY;return{...i,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,{latestValues:i},s)=>{let a=D(t)?eS:eg,o=a(r,i,s,t),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(eb(i)||!0===r&&ey(i)||!t&&!ey(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),c={...l,...o,ref:n},{children:h}=r,d=(0,u.useMemo)(()=>H(h)?h.get():h,[h]);return(0,u.createElement)(t,{...c,children:d})}}(t),createVisualElement:n,Component:e}});function e_(){let e=(0,u.useRef)(!1);return y(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var eK=class extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function eG({children:e,isPresent:t}){let r=(0,u.useId)(),n=(0,u.useRef)(null),i=(0,u.useRef)({width:0,height:0,top:0,left:0});return(0,u.useInsertionEffect)(()=>{let{width:e,height:s,top:a,left:o}
1=i.current;if(t||!n.current||!e||!s)return;n.current.dataset.motionPopId=r;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${s}px !important;
6            top: ${a}px !important;
7            left: ${o}px !important;
8          }
9        `),()=>{document.head.removeChild(l)}},[t]),u.createElement(eK,{isPresent:t,childRef:n,sizeRef:i},u.cloneElement(e,{ref:n}))}var eJ=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:s,mode:a})=>{let o=eL(eQ),l=(0,u.useId)(),c=(0,u.useMemo)(()=>({id:l,initial:t,isPresent:r,custom:i,onExitComplete:e=>{for(let t of(o.set(e,!0),o.values()))if(!t)return;n&&n()},register:e=>(o.set(e,!1),()=>o.delete(e))}),s?void 0:[r]);return(0,u.useMemo)(()=>{o.forEach((e,t)=>o.set(t,!1))},[r]),u.useEffect(()=>{r||o.size||!n||n()},[r]),"popLayout"===a&&(e=u.createElement(eG,{isPresent:r},e)),u.createElement(g.Provider,{value:c},e)};function eQ(){return new Map}var e0=e=>e.key||"",e1=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{var o;ej(!i,"Replace exitBeforeEnter with mode='wait'");let l=(0,u.useContext)(O).forceRender||function(){let e=e_(),[t,r]=(0,u.useState)(0),n=(0,u.useCallback)(()=>{e.current&&r(t+1)},[t]),i=(0,u.useCallback)(()=>eH.postRender(n),[n]);return[i,t]}()[0],c=e_(),h=function(e){let t=[];return u.Children.forEach(e,e=>{(0,u.isValidElement)(e)&&t.push(e)}),t}(e),d=h,p=(0,u.useRef)(new Map).current,f=(0,u.useRef)(d),m=(0,u.useRef)(new Map).current,g=(0,u.useRef)(!0);if(y(()=>{g.current=!1,function(e,t){e.forEach(e=>{let r=e0(e);t.set(r,e)})}(h,m),f.current=d}),o=()=>{g.current=!0,m.clear(),p.clear()},(0,u.useEffect)(()=>()=>o(),[]),g.current)return u.createElement(u.Fragment,null,d.map(e=>u.createElement(eJ,{key:e0(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));d=[...d];let v=f.current.map(e0),b=h.map(e0),w=v.length;for(let e=0;e<w;e++){let t=v[e];-1!==b.indexOf(t)||p.has(t)||p.set(t,void 0)}return"wait"===a&&p.size&&(d=[]),p.forEach((e,r)=>{if(-1!==b.indexOf(r))return;let i=m.get(r);if(!i)return;let o=v.indexOf(r),g=e;g||(g=u.createElement(eJ,{key:e0(i),isPresent:!1,onExitComplete:()=>{p.delete(r);let e=Array.from(m.keys()).filter(e=>!b.includes(e));if(e.forEach(e=>m.delete(e)),f.current=h.filter(t=>{let n=e0(t);return n===r||e.includes(n)}),!p.size){if(!1===c.current)return;l(),n&&n()}},custom:t,presenceAffectsLayout:s,mode:a},i),p.set(r,g)),d.splice(o,0,g)}),d=d.map(e=>{let t=e.key;return p.has(t)?e:u.createElement(eJ,{key:e0(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),u.createElement(u.Fragment,null,p.size?d:d.map(e=>(0,u.cloneElement)(e)))};function e2({children:e,isValidProp:t,...r}){t&&ew(t),(r={...(0,u.useContext)(f),...r}).isStatic=eL(()=>r.isStatic);let n=(0,u.useMemo)(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return u.createElement(f.Provider,{value:n},e)}function e5({children:e,features:t,strict:r=!1}){let[,n]=(0,u.useState)(!e3(t)),i=(0,u.useRef)(void 0);if(!e3(t)){let{renderer:e,...r}=t;i.current=e,R(r)}return(0,u.useEffect)(()=>{e3(t)&&t().then(({renderer:e,...t})=>{R(t),i.current=e,n(!0)})},[]),u.createElement(b.Provider,{value:{renderer:i.current,strict:r}},e)}function e3(e){return"function"==typeof e}function e4(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function e6(e,t,r){let n=e.getProps();return eO(n,t,void 0!==r?r:n.custom,function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}var e9=e=>1e3*e,e8=e=>e/1e3,e7={current:!1},te=e=>Array.isArray(e)&&"number"==typeof e[0],tt=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,tr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tt([0,.65,.55,1]),circOut:tt([.55,0,1,.45]),backIn:tt([.31,.01,.66,-.59]),backOut:tt([.33,1.53,.69,.99])},tn=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function ti(e,t,r,n){if(e===t&&r===n)return ej;let i=t=>(function(e,t,r,n,i){let s,a;let o=0;do(s=tn(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(s)>1e-7&&++o<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:tn(i(e),t,n)}var ts=ti(.42,0,1,1),ta=ti(0,0,.58,1),to=ti(.42,0,.58,1),tl=e=>Array.isArray(e)&&"number"!=typeof e[0],tu=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tc=e=>t=>1-e(1-t),th=e=>1-Math.sin(Math.acos(e)),td=tc(th),tp=tu(th),tf=ti(.33,1.53,.69,.99),tm=tc(tf),tg={linear:ej,easeIn:ts,easeInOut:to,easeOut:ta,circIn:th,circInOut:tp,circOut:td,backIn:tm,backInOut:tu(tm),backOut:tf,anticipate:e=>(e*=2)<1?.5*tm(e):.5*(2-Math.pow(2,-10*(e-1)))},tv=e=>{if(Array.isArray(e)){ej(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return ti(t,r,n,i)}return"string"==typeof e?(ej(void 0!==tg[e],`Invalid easing type '${e}'`),tg[e]):e},ty=(e,t)=>r=>!!(en(r)&&er.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),tb=(e,t,r)=>n=>{if(!en(n))return n;let[i,s,a,o]=n.match(ee);return{[e]:parseFloat(i),[t]:parseFloat(s),[r]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tw=e=>_(0,255,e),tx={...K,transform:e=>Math.round(tw(e))},tA={test:ty("rgb","red"),parse:tb("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+tx.transform(e)+", "+tx.transform(t)+", "+tx.transform(r)+", "+Q(G.transform(n))+")"},tk={test:ty("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alph
9a:i?parseInt(i,16)/255:1}},transform:tA.transform},tC={test:ty("hsl","hue"),parse:tb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+ea.transform(Q(t))+", "+ea.transform(Q(r))+", "+Q(G.transform(n))+")"},tP={test:e=>tA.test(e)||tk.test(e)||tC.test(e),parse:e=>tA.test(e)?tA.parse(e):tC.test(e)?tC.parse(e):tk.parse(e),transform:e=>en(e)?e:e.hasOwnProperty("red")?tA.transform(e):tC.transform(e)},tV=(e,t,r)=>-r*e+r*t+e;function tS(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var tM=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},tE=[tk,tA,tC],tT=e=>tE.find(t=>t.test(e));function tF(e){let t=tT(e);ej(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===tC&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,s=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,o=2*r-n;i=tS(o,n,e+1/3),s=tS(o,n,e),a=tS(o,n,e-1/3)}else i=s=a=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(r)),r}var tR=(e,t)=>{let r=tF(e),n=tF(t),i={...r};return e=>(i.red=tM(r.red,n.red,e),i.green=tM(r.green,n.green,e),i.blue=tM(r.blue,n.blue,e),i.alpha=tV(r.alpha,n.alpha,e),tA.transform(i))},tO=(e,t)=>r=>t(e(r)),tL=(...e)=>
9e.reduce(tO),tI={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:ej},tB={regex:et,countKey:"Colors",token:"${c}",parse:tP.parse},tD={regex:ee,countKey:"Numbers",token:"${n}",parse:K.parse};function t$(e,{regex:t,countKey:r,token:n,parse:i}){let s=e.tokenised.match(t);s&&(e["num"+r]=s.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...s.map(i)))}function tj(e){let t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&t$(r,tI),t$(r,tB),t$(r,tD),r}function tN(e){return tj(e).values}function tz(e){let{values:t,numColors:r,numVars:n,tokenised:i}=tj(e),s=t.length;return e=>{let t=i;for(let i=0;i<s;i++)t=i<n?t.replace(tI.token,e[i]):i<n+r?t.replace(tB.token,tP.transform(e[i])):t.replace(tD.token,Q(e[i]));return t}}var tH=e=>"number"==typeof e?0:e,tW={test:function(e){var t,r;return isNaN(e)&&en(e)&&((null===(t=e.match(ee))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(et))||void 0===r?void 0:r.length)||0)>0},parse:tN,createTransformer:tz,getAnimatableNone:function(e){let t=tN(e),r=tz(e);return r(t.map(tH))}},tU=(e,t)=>r=>`${r>0?t:e}`;function tX(e,t){return"number"==typeof e?r=>tV(e,t,r):tP.test(e)?tR(e,t):e.startsWith("var(")?tU(e,t):tZ(e,t)}var tq=(e,t)=>{let r=[...e],n=r.length,i=e.map((e,r)=>tX(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}},tY=(e,t)=>{let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=tX(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}},tZ=(e,t)=>{let r=tW.createTransformer(t),n=tj(e),i=tj(t),s=n.numVars===i.numVars&&n.numColors===i.numColors&&n.numNumbers>=i.numNumbers;return s?tL(tq(n.values,i.values),r):(ej(!0,`Complex values '${e}' and '${t}' 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.`),tU(e,t))},t_=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},tK=(e,t)=>r=>tV(e,t,r);function tG(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let s=e.length;if(ej(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||function(e){if("number"==typeof e);else if("string"==typeof e)return tP.test(e)?tR:tZ;else if(Array.isArray(e))return tq;else if("object"==typeof e)return tY;return tK}(e[0]),s=e.length-1;for(let r=0;r<s;r++){let s=i(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||ej:t;s=tL(e,s)}n.push(s)}return n}(t,n,i),o=a.length,l=t=>{let r=0;if(o>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=t_(e[r],e[r+1],t);return a[r](n)};return r?t=>l(_(e[0],e[s-1],t)):l}function tJ({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=tl(n)?n.map(tv):tv(n),s={done:!1,value:t[0]},a=(r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=t_(0,t,n);e.push(tV(r,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),o=tG(a,t,{ease:Array.isArray(i)?i:t.map(()=>i||to).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}function tQ(e,t,r){var n,i;let s=Math.max(t-5,0);return n=r-e(s),(i=t-s)?n*(1e3/i):0}function t0(e,t){return e*Math.sqrt(1-t*t)}var t1=["duration","bounce"],t2=["stiffness","damping","mass"];function t5(e,t){return t.some(t=>void 0!==e[t])}function t3({keyframes:e,restDelta:t,restSpeed:r,...n}){let i;let s=e[0],a=e[e.length-1],o={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!t5(e,t2)&&t5(e,t1)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,s;ej(e<=e9(10),"Spring duration must be 10 seconds or less");let a=1-t;a=_(.05,1,a),e=_(.01,10,e8(e)),a<1?(i=t=>{let n=t*a,i=n*e,s=t0(t,a);return .001-(n-r)/s*Math.exp(-i)},s=t=>{let n=t*a,s=n*e,o=Math.pow(a,2)*Math.pow(t,2)*e,l=t0(Math.pow(t,2),a),u=-i(t)+.001>0?-1:1;return u*((s*r+r-o)*Math.exp(-s))/l}):(i=t=>{let n=Math.exp(-t*e),i=(t-r)*e+1;return -.001+n*i},s=t=>{let n=Math.exp(-t*e),i=(r-t)*(e*e);return n*i});let o=5/e,l=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,s,o);if(e=e9(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*n;
9return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-e8(n.velocity||0)}),f=d||0,m=u/(2*Math.sqrt(l*c)),g=a-s,v=e8(Math.sqrt(l/c)),y=5>Math.abs(g);if(r||(r=y?.01:2),t||(t=y?.005:.5),m<1){let e=t0(v,m);i=t=>{let r=Math.exp(-m*v*t);return a-r*((f+m*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===m)i=e=>a-Math.exp(-v*e)*(g+(f+v*g)*e);else{let e=v*Math.sqrt(m*m-1);i=t=>{let r=Math.exp(-m*v*t),n=Math.min(e*t,300);return a-r*((f+m*v*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}return{calculatedDuration:p&&h||null,next:e=>{let n=i(e);if(p)o.done=e>=h;else{let s=f;0!==e&&(s=m<1?tQ(i,e,n):0);let l=Math.abs(s)<=r,u=Math.abs(a-n)<=t;o.done=l&&u}return o.value=o.done?a:n,o}}}function t4({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let p=e[0],f={done:!1,value:p},m=e=>void 0!==o&&e<o||void 0!==l&&e>l,g=e=>void 0===o?l:void 0===l?o:Math.abs(o-e)<Math.abs(l-e)?o:l,v=r*t,y=p+v,b=void 0===a?y:a(y);b!==y&&(v=b-p);let w=e=>-v*Math.exp(-e/n),x=e=>b+w(e),A=e=>{let t=w(e),r=x(e);f.done=Math.abs(t)<=u,f.value=f.done?b:r},k=e=>{m(f.value)&&(h=e,d=t3({keyframes:[f.value,g(f.value)],velocity:tQ(x,e,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,A(e),k(e)),void 0!==h&&e>h)?d.next(e-h):(t||A(e),f)}}}var t6=e=>{let t=({timestamp:t})=>e(t);return{start:()=>eH.update(t,!0),stop:()=>eW(t),now:()=>eU.isProcessing?eU.timestamp:performance.now()}};function t9(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}var t8={decay:t4,inertia:t4,tween:tJ,keyframes:tJ,spring:t3};function t7({autoplay:e=!0,delay:t=0,driver:r=t6,keyframes:n,type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:o="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:h,...d}){let p,f,m,g,v,y=1,b=!1,w=()=>{f=new Promise(e=>{p=e})};w();let x=t8[i]||tJ;x!==tJ&&"number"!=typeof n[0]&&(g=tG([0,100],n,{clamp:!1}),n=[0,100]);let A=x({...d,keyframes:n});"mirror"===o&&(v=x({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let k="idle",C=null,P=null,V=null;null===A.calculatedDuration&&s&&(A.calculatedDuration=t9(A));let{calculatedDuration:S}=A,M=1/0,E=1/0;null!==S&&(E=(M=S+a)*(s+1)-a);let T=0,F=e=>{if(null===P)return;y>0&&(P=Math.min(P,e)),y<0&&(P=Math.min(e-E/y,P)),T=null!==C?C:Math.round(e-P)*y;let r=T-t*(y>=0?1:-1),i=y>=0?r<0:r>E;T=Math.max(r,0),"finished"===k&&null===C&&(T=E);let l=T,u=A;if(s){let e=Math.min(T,E)/M,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,s+1);let n=!!(t%2);n&&("reverse"===o?(r=1-r,a&&(r-=a/M)):"mirror"===o&&(u=v)),l=_(0,1,r)*M}let c=i?{done:!1,value:n[0]}:u.next(l);g&&(c.value=g(c.value));let{done:d}=c;i||null===S||(d=y>=0?T>=E:T<=0);let p=null===C&&("finished"===k||"running"===k&&d);return h&&h(c.value),p&&L(),c},R=()=>{m&&m.stop(),m=void 0},O=()=>{k="idle",R(),p(),w(),P=V=null},L=()=>{k="finished",c&&c(),R(),p()},I=()=>{if(b)return;m||(m=r(F));let e=m.now();l&&l(),null!==C?P=e-C:P&&"finished"!==k||(P=e),"finished"===k&&w(),V=P,C=null,k="running",m.start()};e&&I();let B={then:(e,t)=>f.then(e,t),get time(){return e8(T)},set time(newTime){T=newTime=e9(newTime),null===C&&m&&0!==y?P=m.now()-newTime/y:C=newTime},get duration(){let e=null===A.calculatedDuration?t9(A):A.calculatedDuration;return e8(e)},get speed(){return y},set speed(newSpeed){if(newSpeed===y||!m)return;y=newSpeed,B.time=e8(T)},get state(){return k},play:I,pause:()=>{k="paused",C=T},stop:()=>{b=!0,"idle"!==k&&(k="idle",u&&u(),O())},cancel:()=>{null!==V&&F(V),O()},complete:()=>{k="finished"},sample:e=>(P=0,F(e))};return B}var re=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=i()),n)),rt=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),rr=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&tr[t]||te(t)||Array.isArray(t)&&t.every(e))}(t.ease),rn={type:"spring",stiffness:500,damping:25,restSpeed:10},ri=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),rs={type:"keyframes",duration:.8},ra={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ro=(e,{keyframes:t})=>t.length>2?rs:N.has(e)?e.startsWith("scale")?ri(t[1]):rn:ra,rl=(e,t)=>
9"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tW.test(t)||"0"===t)&&!t.startsWith("url(")),ru=new Set(["brightness","contrast","saturate","opacity"]);function rc(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(ee)||[];if(!n)return e;let i=r.replace(n,""),s=ru.has(t)?1:0;return n!==r&&(s*=100),t+"("+s+i+")"}var rh=/([a-z-]*)\(.*?\)/g,rd={...tW,getAnimatableNone:e=>{let t=e.match(rh);return t?t.map(rc).join(" "):e}},rp={...ed,color:tP,backgroundColor:tP,outlineColor:tP,fill:tP,stroke:tP,borderColor:tP,borderTopColor:tP,borderRightColor:tP,borderBottomColor:tP,borderLeftColor:tP,filter:rd,WebkitFilter:rd},rf=e=>rp[e];function rm(e,t){let r=rf(e);return r!==rd&&(r=tW),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var rg=e=>/^0[^.\s]+$/.test(e);function rv(e,t){return e[t]||e.default||e}var ry={skipAnimations:!1},rb=(e,t,r,n={})=>i=>{let s=rv(n,e)||{},a=s.delay||n.delay||0,{elapsed:o=0}=n;o-=e9(a);let l=function(e,t,r,n){let i,s;let a=rl(t,r);i=Array.isArray(r)?[...r]:[null,r];let o=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e<i.length;e++){var u;null===i[e]&&(i[e]=0===e?o:i[e-1]),("number"==typeof(u=i[e])?0===u:null!==u?"none"===u||"0"===u||rg(u):void 0)&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(s=i[e])}if(a&&l.length&&s)for(let e=0;e<l.length;e++){let r=l[e];i[r]=rm(t,s)}return i}(t,e,r,s),u=l[0],c=l[l.length-1],h=rl(e,u),d=rl(e,c);ej(h===d,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-o,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{i(),s.onComplete&&s.onComplete()}};if(!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(p={...p,...ro(e,p)}),p.duration&&(p.duration=e9(p.duration)),p.repeatDelay&&(p.repeatDelay=e9(p.repeatDelay)),!h||!d||e7.current||!1===s.type||ry.skipAnimations)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){let i=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:ej,pause:ej,stop:ej,then:e=>(e(),Promise.resolve()),cancel:ej,complete:ej});return t?t7({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(e7.current?{...p,delay:0}:p);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let r=function(e,t,{onUpdate:r,onComplete:n,...i}){let s,a;let o=re()&&rt.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type;if(!o)return!1;let l=!1,u=!1,c=()=>{a=new Promise(e=>{s=e})};c();let{keyframes:h,duration:d=300,ease:p,times:f}=i;if(rr(t,i)){let e=t7({...i,repeat:0,delay:0}),t={done:!1,value:h[0]},r=[],n=0;for(;!t.done&&n<2e4;)r.push((t=e.sample(n)).value),n+=10;f=void 0,h=r,d=n-10,p="linear"}let m=function(e,t,r,{delay:n=0,duration:i,repeat:s=0,repeatType:a="loop",ease:o,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t){if(t)return te(t)?tt(t):Array.isArray(t)?t.map(e):tr[t]}(o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,h,{...i,duration:d,ease:p,times:f}),g=()=>{u=!1,m.cancel()},v=()=>{u=!0,eH.update(g),s(),c()};return m.onfinish=()=>{u||(e.set(function(e,{repeat:t,repeatType:r="loop"}){let n=t&&"loop"!==r&&t%2==1?0:e.length-1;return e[n]}(h,i)),n&&n(),v())},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(m.timeline=e,m.onfinish=null,ej),get time(){return e8(m.currentTime||0)},set time(newTime){m.currentTime=e9(newTime)},get speed(){return m.playbackRate},set speed(newSpeed){m.playbackRate=newSpeed},get duration(){return e8(d)},play:()=>{l||(m.play(),eW(g))},pause:()=>m.pause(),stop:()=>{if(l=!0,"idle"===m.playState)return;let{currentTime:t}=m;if(t){let r=t7({...i,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}v()},complete:()=>{u||m.finish()},cancel:v}}(t,e,p);if(r)return r}return t7(p)};function rw(e){return!!(H(e)&&e.add)}var rx=e=>/^\-?\d*\.?\d+$/.test(e),rA=class{constructor(){this.subscriptions=[]}add(e){var t;return -1===(t=this.subscriptions).indexOf(e)&&t.push(e),()=>(function(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)})(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},rk=e=>!isNaN(parseFloat(e)),rC={current:void 0},rP=class{constructor(e,t={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:r,timestamp:n}=eU;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,eH.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()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>eH.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=rk(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new rA);let r=this.events[e].add(t);return"change"===e?()=>{r(),eH.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return rC.current&&rC.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?e*(1e3/t):0):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function rV(e,t){return new rP(e,t)}var rS=e=>t=>t.test(e),rM=[K,eo,ea,es,eu,el,{test:e=>"auto"===e,parse:e=>e}],rE=e=>rM.find(rS(e)),rT=[...rM,tP,tW],rF=e=>rT.find(rS(e));function rR(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:a,...o}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(s=n);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in o){let n=e.getValue(t),i=o[t];if(!n||void 0===i||c&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(c,t))continue;let a={delay:r,elapsed:0,...rv(s||{},t)};if(window.HandoffAppearAnimations){let r=e.getProps()[x];if(r){let e=window.HandoffAppearAnimations(r,t,n,eH);null!==e&&(a.elapsed=e,a.isHandoff=!0)}}let h=!a.isHandoff&&!function(e,t){let r=e.get();if(!Array.isArray(t))return r!==t;for(let e=0;e<t.length;e++)if(t[e]!==r)return!0}(n,i);if("spring"===a.type&&(n.getVelocity()||a.velocity)&&(h=!1),n.animation&&(h=!1),h)continue;n.start(rb(t,n,i,e.shouldReduceMotion&&N.has(t)?{type:!1}:a));let d=n.animation;rw(l)&&(l.add(t),d.then(()=>l.remove(t))),u.push(d)}return a&&Promise.all(u).then(()=>{a&&function(e,t){let r=e6(e,t),{transitionEnd:n={},transition:i={},...s}=r?e.makeTargetAnimatable(r,!1):{};for(let t in s={...s,...n}){let r=eD(s[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,rV(r))}}(e,a)}),u}function rO(e,t,r={}){let n=e6(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let s=n?()=>Promise.all(rR(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=i;return function(e,t,r=0,n=0,i=1,s){let a=[],o=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>o-e*n;
9return Array.from(e.variantChildren).sort(rL).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(rO(e,t,{...s,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,s+n,a,o,r)}:()=>Promise.resolve(),{when:o}=i;if(!o)return Promise.all([s(),a(r.delay)]);{let[e,t]="beforeChildren"===o?[s,a]:[a,s];return e().then(()=>t())}}function rL(e,t){return e.sortNodePosition(t)}var rI=[...P].reverse(),rB=P.length;function rD(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var r$=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},rj=class extends r${constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){let i=t.map(t=>rO(e,t,r));n=Promise.all(i)}else if("string"==typeof t)n=rO(e,t,r);else{let i="function"==typeof t?e6(e,t,r.custom):t;n=Promise.all(rR(e,i,r))}return n.then(()=>e.notify("AnimationComplete",t))})(e,t,r))),r={animate:rD(!0),whileInView:rD(),whileHover:rD(),whileTap:rD(),whileDrag:rD(),whileFocus:rD(),exit:rD()},n=!0,i=(t,r)=>{let n=e6(e,r);if(n){let{transition:e,transitionEnd:r,...i}=n;t={...t,...i,...r}}return t};function s(s,a){let o=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let t=0;t<rB;t++){var p;let f=rI[t],m=r[f],g=void 0!==o[f]?o[f]:l[f],v=k(g),y=f===a?m.isActive:null;!1===y&&(d=t);let b=g===l[f]&&g!==o[f]&&v;if(b&&n&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&null===y||!g&&!m.prevProp||C(g)||"boolean"==typeof g)continue;let w=(p=m.prevProp,"string"==typeof g?g!==p:!!Array.isArray(g)&&!e4(g,p)),x=w||f===a&&m.isActive&&!b&&v||t>d&&v,A=!1,P=Array.isArray(g)?g:[g],V=P.reduce(i,{});!1===y&&(V={});let{prevResolvedValues:S={}}=m,M={...S,...V},E=e=>{x=!0,c.has(e)&&(A=!0,c.delete(e)),m.needsAnimating[e]=!0};for(let e in M){let t=V[e],r=S[e];if(!h.hasOwnProperty(e))(eI(t)&&eI(r)?e4(t,r):t===r)?void 0!==t&&c.has(e)?E(e):m.protectedKeys[e]=!0:void 0!==t?E(e):c.add(e)}m.prevProp=g,m.prevResolvedValues=V,m.isActive&&(h={...h,...V}),n&&e.blockInitialAnimation&&(x=!1),x&&(!b||A)&&u.push(...P.map(e=>({animation:e,options:{type:f,...s}})))}if(c.size){let t={};
9c.forEach(r=>{let n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)}),u.push({animation:t})}let f=!!u.length;return n&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),n=!1,f?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,n,i){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let o=s(i,t);for(let e in r)r[e].protectedKeys={};return o},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),C(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}},rN=0,rz=class extends r${constructor(){super(...arguments),this.id=rN++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}};function rH(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var rW=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function rU(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var rX=e=>t=>rW(t)&&e(t,rU(t));function rq(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}var rY=rq("dragHorizontal"),rZ=rq("dragVertical");function r_(){let e=function(e){let t=!1;if("y"===e)t=rZ();else if("x"===e)t=rY();else{let e=rY(),r=rZ();e&&r?t=()=>{e(),r()}
9:(e&&e(),r&&r())}return t}(!0);return!e||(e(),!1)}function rK(e,t){var r,n;let i="pointer"+(t?"enter":"leave"),s="onHover"+(t?"Start":"End");return r=e.current,n={passive:!e.getProps()[s]},rH(r,i,rX((r,n)=>{if("touch"===r.pointerType||r_())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[s]&&eH.update(()=>i[s](r,n))}),n)}var rG=class extends r${mount(){this.unmount=tL(rK(this.node,!0),rK(this.node,!1))}unmount(){}},rJ=class extends r${constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tL(rH(this.node.current,"focus",()=>this.onFocus()),rH(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},rQ=(e,t)=>!!t&&(e===t||rQ(e,t.parentElement));function r0(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,rU(r))}var r1=class extends r${constructor(){super(...arguments),this.removeStartListeners=ej,this.removeEndListeners=ej,this.removeAccessibleListeners=ej,this.startPointerPress=(e,t)=>{var r,n,i,s;if(this.isPressing)return;this.removeEndListeners();let a=this.node.getProps(),o=(r=window,n={passive:!(a.onTap||a.onPointerUp)},rH(r,"pointerup",rX((e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps();eH.update(()=>{i||rQ(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)})}),n)),l=(i=window,s={passive:!(a.onTapCancel||a.onPointerCancel)},rH(i,"pointercancel",rX((e,t)=>this.cancelPress(e,t)),s));this.removeEndListeners=tL(o,l),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=rH(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=rH(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&r0("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&eH.update(()=>r(e,t))})}),r0("down",(e,t)=>{this.startPress(e,t)}))}),t=rH(this.node.current,"blur",()=>{this.isPressing&&r0("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=tL(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&eH.update(()=>r(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let e=this.node.getProps();return e.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!r_()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&eH.update(()=>r(e,t))}mount(){var e,t,r;let n=this.node.getProps(),i=(e=n.globalTapTarget?window:this.node.current,t=this.startPointerPress,r={passive:!(n.onTapStart||n.onPointerStart)},rH(e,"pointerdown",rX(t),r)),s=rH(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tL(i,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},r2=new WeakMap,r5=new WeakMap,r3=e=>{let t=r2.get(e.target);t&&t(e)},r4=e=>{e.forEach(r3)},r6={some:0,all:1},r9=class extends r${constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,s={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:r6[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;r5.has(r)||r5.set(r,{});let n=r5.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(r4,{root:e,...t})),n[i]}(t);return r2.set(e,r),n.observe(e),()=>{r2.delete(e),n.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),s=t?r:n;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node,r=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t));r&&this.startObserver()}unmount(){}},r8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function r7(e,t,r=1){ej(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,i]=function(e){let t=r8.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}(e);if(!n)return;let s=window.getComputedStyle(t).getPropertyValue(n);if(s){let e=s.trim();return rx(e)?parseFloat(e):e}return Y(i)?r7(i,t,r+1):i}var ne=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),nt=e=>ne.has(e),nr=e=>Object.keys(e).some(nt),nn=e=>e===K||e===eo,ni=(e,t)=>parseFloat(e.split(", ")[t]),ns=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return ni(i[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?ni(t[1],e):0}},na=new Set(["x","y","z"]),no=j.filter(e=>!na.has(e)),nl={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ns(4,13),y:ns(5,14)};nl.translateX=nl.x,nl.translateY=nl.y;var nu=(e,t,r)=>{let n=t.measureViewportBox(),i=t.current,s=getComputedStyle(i),{display:a}=s,o={};"none"===a&&t.setStaticValue("display",e.display||"block"),r.forEach(e
9=>{o[e]=nl[e](n,s)}),t.render();let l=t.measureViewportBox();return r.forEach(r=>{let n=t.getValue(r);n&&n.jump(o[r]),e[r]=nl[r](l,s)}),e},nc=(e,t,r={},n={})=>{t={...t},n={...n};let i=Object.keys(t).filter(nt),s=[],a=!1,o=[];if(i.forEach(i=>{let l;let u=e.getValue(i);if(!e.hasValue(i))return;let c=r[i],h=rE(c),d=t[i];if(eI(d)){let e=d.length,t=null===d[0]?1:0;h=rE(c=d[t]);for(let r=t;r<e&&null!==d[r];r++)l?ej(rE(d[r])===l,"All keyframes must be of the same type"):ej((l=rE(d[r]))===h||nn(h)&&nn(l),"Keyframes must be of the same dimension as the current value")}else l=rE(d);if(h!==l){if(nn(h)&&nn(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&l===eo&&(t[i]=d.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?u.set(l.transform(c)):t[i]=h.transform(d):(a||(s=function(e){let t=[];return no.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),o.push(i),n[i]=void 0!==n[i]?n[i]:t[i],u.jump(d))}}),!o.length)return{target:t,transitionEnd:n};{let r=o.indexOf("height")>=0?window.pageYOffset:null,i=nu(t,e,o);return s.length&&s.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),v&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},nh=(e,t,r,n)=>{var i,s;let a=function(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};for(let i in r&&(r={...r}),e.values.forEach(e=>{let t=e.get();if(!Y(t))return;let r=r7(t,n);r&&e.set(r)}),t){let e=t[i];if(!Y(e))continue;let s=r7(e,n);s&&(t[i]=s,r||(r={}),void 0===r[i]&&(r[i]=e))}return{target:t,transitionEnd:r}}(e,t,n);return t=a.target,n=a.transitionEnd,i=t,s=n,nr(i)?nc(e,i,r,s):{target:i,transitionEnd:s}},nd=()=>({min:0,max:0}),np=()=>({x:nd(),y:nd()}),nf={current:null},nm={current:!1},ng=new WeakMap,nv=Object.keys(F),ny=nv.length,nb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nw=V.length,nx=class{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eH.render(this.render,!1,!0);let{latestValues:a,renderState:o}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=o,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=S(t),this.isVariantNode=M(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==a[e]&&H(t)&&(t.set(a[e],!1),rw(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,ng.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),nm.current||function(){if(nm.current=!0,v){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nf.current=e.matches;e.addListener(t),t()}else nf.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nf.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in ng.delete(this.current),this.projection&&this.projection.unmount(),eW(this.notifyUpdate),eW(this.render),this.valueSubscriptions.forEach(e
9=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=N.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eH.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,i){let s,a;for(let e=0;e<ny;e++){let r=nv[e],{isEnabled:n,Feature:i,ProjectionNode:o,MeasureLayout:l}=F[r];o&&(s=o),n(t)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:o,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!n||a&&A(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:o,layoutRoot:l})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):np()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<nb.length;t++){let r=nb[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let i in t){let s=t[i],a=r[i];if(H(s))e.addValue(i,s),rw(n)&&n.add(i);else if(H(a))e.addValue(i,rV(s,{owner:e})),rw(n)&&n.remove(i);else if(a!==s){if(e.hasValue(i)){let t=e.getValue(i);t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(i);e.addValue(i,rV(void 0!==t?t:s,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<nw;e++){let r=V[e],n=this.props[r];(k(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=rV(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=eO(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||H(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new rA),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}},nA=class extends nx{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},i){let s=function(e,t,r){let n={};for(let i in e){let e=function(e,t){if(!t)return;let r=t[e]||t.default||t;return r.from}(i,t);if(void 0!==e)n[i]=e;else{let e=r.getValue(i);e&&(n[i]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),s&&(s=n(s))),i){!function(e,t,r){var n,i;let s=Object.keys(t).filter(t=>!e.hasValue(t)),a=s.length;if(a)for(let o=0;o<a;o++){let a=s[o],l=t[a],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(n=r[a])&&void 0!==n?n:e.readValue(a))&&void 0!==i?i:t[a]),null!=u&&("string"==typeof u&&(rx(u)||rg(u))?u=parseFloat(u):!rF(u)&&tW.test(l)&&(u=rm(a,l)),e.addValue(a,rV(u,{owner:e})),void 0===r[a]&&(r[a]=u),null!==u&&e.setBaseTarget(a,u))}}(this,r,s);let e=nh(this,r,s,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}},nk=class extends nA{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(N.has(t)){let e=rf(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(q(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}build(e,t,r,n){ep(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return eF(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;H(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){eM(e,t,r,n)}},nC=class extends nA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(N.has(t)){let e=rf(t);return e&&e.default||0}return t=eE.has(t)?t:w(t),e.getAttribute(t)}measureInstanceViewportBox(){return np()}scrapeMotionValuesFromProps(e,t){return eR(e,t)}
9build(e,t,r,n){eC(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){eT(e,t,r,n)}mount(e){this.isSVGTag=eV(e.tagName),super.mount(e)}},nP={renderer:(e,t)=>D(e)?new nC(t,{enableHardwareAcceleration:!1}):new nk(t,{enableHardwareAcceleration:!0}),animation:{Feature:rj},exit:{Feature:rz},inView:{Feature:r9},tap:{Feature:r1},focus:{Feature:rJ},hover:{Feature:rG}}}}]);
10//# sourceMappingURL=9775bc02-a1529b5d256cbd31.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.