PageSourceSearch

https://www.mamasitter.com/_next/static/chunks/adb8fc4030d7dc28.js

js mamasitter.com collected 2026-09-24 14:15:56 UTC 163,705 bytes, 11 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88143,(t,e,i)=>{"use strict";function n({widthInt:t,heightInt:e,blurWidth:i,blurHeight:n,blurDataURL:s,objectFit:r}){let a=i?40*i:t,o=n?40*n:e,l=a&&o?`viewBox='0 0 ${a} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${l}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${l?"none":"contain"===r?"xMidYMid":"cover"===r?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return r},imageConfigDefault:function(){return a}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},8927,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return h}}),t.r(33525);let n=t.r(43369),s=t.r(88143),r=t.r(87690),a=["-moz-initial","fill","none","scale-down",void 0];function o(t){return void 0!==t.default}function l(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function h({src:t,sizes:e,unoptimized:i=!1,priority:h=!1,preload:u=!1,loading:d,className:c,quality:p,width:m,height:f,fill:g=!1,style:y,overrideSrc:v,onLoad:x,onLoadingComplete:b,placeholder:w="empty",blurDataURL:k,fetchPriority:S,decoding:T="async",layout:P,objectFit:A,objectPosition:E,lazyBoundary:M,lazyRoot:C,...j},R){var D;let V,z,L,{imgConf:O,showAltText:F,blurComplete:I,defaultLoader:B}=R,N=O||r.imageConfigDefault;if("allSizes"in N)V=N;else{let t=[...N.deviceSizes,...N.imageSizes].sort((t,e)=>t-e),e=N.deviceSizes.sort((t,e)=>t-e),i=N.qualities?.sort((t,e)=>t-e);V={...N,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let _=j.loader||B;delete j.loader,delete j.srcSet;let U="__next_img_default"in _;if(U){if("custom"===V.loader)throw Object.defineProperty(Error(`Image with src "${t}" is missing "loader" prop.
2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=_;_=e=>{let{config:i,...n}=e;return t(n)}}if(P){"fill"===P&&(g=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];t&&(y={...y,...t});let i={responsive:"100vw",fill:"100vw"}[P];i&&!e&&(e=i)}let W="",$=l(m),H=l(f);if((D=t)&&"object"==typeof D&&(o(D)||void 0!==D.src)){let e=o(t)?t.default:t;if(!e.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(e)}
2`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(z=e.blurWidth,L=e.blurHeight,k=k||e.blurDataURL,W=e.src,!g)if($||H){if($&&!H){let t=$/e.width;H=Math.round(e.height*t)}else if(!$&&H){let t=H/e.height;$=Math.round(e.width*t)}}else $=e.width,H=e.height}let Y=!h&&!u&&("lazy"===d||void 0===d);(!(t="string"==typeof t?t:W)||t.startsWith("data:")||t.startsWith("blob:"))&&(i=!0,Y=!1),V.unoptimized&&(i=!0),U&&!V.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(p),q=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:A,objectPosition:E}:{},F?{}:{color:"transparent"},y),G=I||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:$,heightInt:H,blurWidth:z,blurHeight:L,blurDataURL:k||"",objectFit:q.objectFit})}")`:`url("${w}")`,K=a.includes(q.objectFit)?"fill"===q.objectFit?"100% 100%":"cover":q.objectFit,Z=G?{backgroundSize:K,backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},J=function({config:t,src:e,unoptimized:i,width:s,quality:r,sizes:a,loader:o}){if(i){let t=(0,n.getDeploymentId)();if(e.startsWith("/")&&!e.startsWith("//")&&t){let i=e.includes("?")?"&":"?";e=`${e}${i}dpl=${t}`}return{src:e,srcSet:void 0,sizes:void 0}}let{widths:l,kind:h}=function({deviceSizes:t,allSizes:e},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,s=[];for(let t;t=i.exec(n);)s.push(parseInt(t[2]));if(s.length){let i=.01*Math.min(...s);return{widths:e.filter(e=>e>=t[0]*i),kind:"w"}}return{widths:e,kind:"w"}}return"number"!=typeof i?{widths:t,kind:"w"}:{widths:[...new Set([i,2*i].map(t=>e.find(e=>e>=t)||e[e.length-1]))],kind:"x"}}(t,s,a),u=l.length-1;return{sizes:a||"w"!==h?a:"100vw",srcSet:l.map((i,n)=>`${o({config:t,src:e,quality:r,width:i})} ${"w"===h?i:n+1}${h}`).join(", "),src:o({config:t,src:e,quality:r,width:l[u]})}}({config:V,src:t,unoptimized:i,width:$,quality:X,sizes:e,loader:_}),Q=Y?"lazy":d;return{props:{...j,loading:Q,fetchPriority:S,width:$,height:H,decoding:T,className:c,style:{...q,...Z},sizes:J.sizes,srcSet:J.srcSet,src:v||J.src},meta:{unoptimized:i,preload:u||h,placeholder:w,fill:g}}}},98879,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=t.r(71645),s="u"<typeof window,r=s?()=>{}:n.useLayoutEffect,a=s?()=>{}:n.useEffect;function o(t){let{headManager:e,reduceComponentsToState:i}=t;function o(){if(e&&e.mountedInstances){let t=n.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(i(t))}}return s&&(e?.mountedInstances?.add(t.children),o()),r(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),r(()=>(e&&(e._pendingUpdate=o),()=>{e&&(e._pendingUpdate=o)})),a(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},25633,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return f},defaultHead:function(){return d}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(55682),a=t.r(90809),o=t.r(43476),l=a._(t.r(71645)),h=r._(t.r(98879)),u=t.r(42732);function d(){return[(0,o.jsx)("meta",{charSet:"utf-8"},"charset"),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function c(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}t.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function m(t){let e,i,n,s;return t.reduce(c,[]).reverse().concat(d().reverse()).filter((e=new Set,i=new Set,n=new Set,s={},t=>{let r=!0,a=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){a=!0;let i=t.key.slice(t.key.indexOf("$")+1);e.has(i)?r=!1:e.add(i)}switch(t.type){case"title":case"base":i.has(t.type)?r=!1:i.add(t.type);break;case"meta":for(let e=0,i=p.length;e<i;e++){let i=p[e];if(t.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?r=!1:n.add(i);else{let e=t.props[i],n=s[i]||new Set;("name"!==i||!a)&&n.has(e)?r=!1:(n.add(e),s[i]=n)}}}return r})).reverse().map((t,e)=>{let i=t.key||e;return l.default.cloneElement(t,{key:i})})}let f=function({children:t}){let e=(0,l.useContext)(u.HeadManagerContext);return(0,o.jsx)(h.default,{reduceComponentsToState:m,headManager:e,children:t})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},18556,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return r}});let n=t.r(55682)._(t.r(71645)),s=t.r(87690),r=n.default.createContext(s.imageConfigDefault)},65856,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=t.r(55682)._(t.r(71645)).default.createContext(null)},70965,(t,e,i)=>{"use strict";function n(t,e){let i=t||75;return e?.qualities?.length?e.qualities.reduce((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t,0):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=t.r(70965),s=t.r(43369);function r({config:t,src:e,width:i,quality:r}){if(e.startsWith("/")&&e.includes("?")&&t.localPatterns?.length===1&&"**"===t.localPatterns[0].pathname&&""===t.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${e}" is using a query string which is not configured in images.localPatterns.
3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let a=(0,n.findClosestQuality)(r,t),o=(0,s.getDeploymentId)();return`${t.path}?url=${encodeURIComponent(e)}&w=${i}&q=${a}${e.startsWith("/")&&o?`&dpl=${o}`:""}`}r.__next_img_default=!0;let a=r},85437,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return b}});let n=t.r(55682),s=t.r(90809),r=t.r(43476),a=s._(t.r(71645)),o=n._(t.r(74080)),l=n._(t.r(25633)),h=t.r(8927),u=t.r(87690),d=t.r(18556);t.r(33525);let c=t.r(65856),p=n._(t.r(1948)),m=t.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(t,e,i,n,s,r,a){let o=t?.src;t&&t["data-loaded-src"]!==o&&(t["data-loaded-src"]=o,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&s(!0),i?.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,s=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{s=!0,e.stopPropagation()}})}n?.current&&n.current(t)}}))}function y(t){return a.use?{fetchPriority:t}:{fetchpriority:t}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,a.forwardRef)(({src:t,srcSet:e,sizes:i,height:n,width:s,decoding:o,className:l,style:h,fetchPriority:u,placeholder:d,loading:c,unoptimized:p,fill:f,onLoadRef:v,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:w,sizesInput:k,onLoad:S,onError:T,...P},A)=>{let E=(0,a.useCallback)(t=>{t&&(T&&(t.src=t.src),t.complete&&g(t,d,v,x,b,p,k))},[t,d,v,x,b,T,p,k]),M=(0,m.useMergedRef)(A,E);return(0,r.jsx)("img",{...P,...y(u),loading:c,width:s,height:n,decoding:o,"data-nimg":f?"fill":"1",className:l,style:h,sizes:i,srcSet:e,src:t,ref:M,onLoad:t=>{g(t.currentTarget,d,v,x,b,p,k)},onError:t=>{w(!0),"empty"!==d&&b(!0),T&&T(t)}})});function x({isAppRouter:t,imgAttributes:e}){let i={as:"image",imageSrcSet:e.srcSet,imageSizes:e.sizes,crossOrigin:e.crossOrigin,referrerPolicy:e.referrerPolicy,...y(e.fetchPriority)};return t&&o.default.preload?(o.default.preload(e.src,i),null):(0,r.jsx)(l.default,{children:(0,r.jsx)("link",{rel:"preload",href:e.srcSet?void 0:e.src,...i},"__nimg-"+e.src+e.srcSet+e.sizes)})}let b=(0,a.forwardRef)((t,e)=>{let i=(0,a.useContext)(c.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),s=(0,a.useMemo)(()=>{let t=f||n||u.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e),s=t.qualities?.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i,qualities:s,localPatterns:"u"<typeof window?n?.localPatterns:t.localPatterns}
3},[n]),{onLoad:o,onLoadingComplete:l}=t,m=(0,a.useRef)(o);(0,a.useEffect)(()=>{m.current=o},[o]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,b]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1),{props:S,meta:T}=(0,h.getImgProps)(t,{defaultLoader:p.default,imgConf:s,blurComplete:y,showAltText:w});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{...S,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:k,sizesInput:t.sizes,ref:e}),T.preload?(0,r.jsx)(x,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},94909,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return u},getImageProps:function(){return h}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(55682),a=t.r(8927),o=t.r(85437),l=r._(t.r(1948));function h(t){let{props:e}=(0,a.getImgProps)(t,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let u=o.Image},57688,(t,e,i)=>{e.exports=t.r(94909)},18566,(t,e,i)=>{e.exports=t.r(76562)},34537,t=>{"use strict";var e,i,n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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=(e=function(t){return n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)},i=Object.create(null),function(t){return void 0===i[t]&&(i[t]=e(t)),i[t]});t.s(["default",()=>s],34537)},31178,47414,74008,21476,72846,37806,64978,46932,72328,t=>{"use strict";let e,i,n,s;var r,a=t.i(71645);let o=(0,a.createContext)({});function l(t){let e=(0,a.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["LayoutGroupContext",()=>
3o],31178),t.s(["useConstant",()=>l],47414);let h="u">typeof window?a.useLayoutEffect:a.useEffect;t.s(["useIsomorphicLayoutEffect",()=>h],74008);let u=(0,a.createContext)(null);function d(t){return"object"==typeof t&&null!==t}function c(t){return d(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}t.s(["PresenceContext",()=>u],21476),t.s(["isHTMLElement",()=>c],72846);let p=(0,a.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function m(t=!0){let e=(0,a.useContext)(u);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=e,r=(0,a.useId)();(0,a.useEffect)(()=>{if(t)return s(r)},[t]);let o=(0,a.useCallback)(()=>t&&n&&n(r),[r,n,t]);return!i&&n?[!1,o]:[!0]}t.s(["MotionConfigContext",()=>p],37806),t.s(["usePresence",()=>m],64978);let f=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g=new Set(f),y=(t,e,i)=>i>e?e:i<t?t:i,v={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},x={...v,transform:t=>y(0,1,t)},b={...v,default:1},w=t=>Math.round(1e5*t)/1e5,k=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,S=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,T=(t,e)=>i=>!!("string"==typeof i&&S.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),P=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,a,o]=n.match(k);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},A={...v,transform:t=>Math.round(y(0,255,t))},E={test:T("rgb","red"),parse:P("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+A.transform(t)+", "+A.transform(e)+", "+A.transform(i)+", "+w(x.transform(n))+")"},M={test:T("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:E.transform},C=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),j=C("deg"),R=C("%"),D=C("px"),V=C("vh"),z=C("vw"),L={...R,parse:t=>R.parse(t)/100,transform:t=>R.transform(100*t)},O={test:T("hsl","hue"),parse:P("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+R.transform(w(e))+", "+R.transform(w(i))+", "+w(x.transform(n))+")"},F={test:t=>E.test(t)||M.test(t)||O.test(t),parse:t=>E.test(t)?E.parse(t):O.test(t)?O.parse(t):M.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?E.transform(t):O.transform(t),getAnimatableNone:t=>{let e=F.parse(t);return e.alpha=0,F.transform(e)}},I=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,B="number",N="color",_=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function U(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,a=e.replace(_,t=>(F.test(t)?(n.color.push(r),s.push(N),i.push(F.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(B),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:n,types:s}}function W({split:t,types:e}){let i=t.length;return n=>{let s="";for(let r=0;r<i;r++)if(s+=t[r],void 0!==n[r]){let t=e[r];t===B?s+=w(n[r]):t===N?s+=F.transform(n[r]):s+=n[r]}return s}}let $={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(k)?.length||0)+(t.match(I)?.length||0)>0},parse:function(t){return U(t).values},createTransformer:function(t){return W(U(t))},getAnimatableNone:function(t){let e=U(t);return W(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:F.test(t)?F.getAnimatableNone(t):t)(t,e.split[i])))}},H=new Set(["brightness","contrast","saturate","opacity"]);function Y(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(k)||[];
3if(!n)return t;let s=i.replace(n,""),r=+!!H.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let X=/\b([a-z-]*)\(.*?\)/gu,q={...$,getAnimatableNone:t=>{let e=t.match(X);return e?e.map(Y).join(" "):t}},G={...$,getAnimatableNone:t=>{let e=$.parse(t);return $.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},K={...v,transform:Math.round},Z={borderWidth:D,borderTopWidth:D,borderRightWidth:D,borderBottomWidth:D,borderLeftWidth:D,borderRadius:D,borderTopLeftRadius:D,borderTopRightRadius:D,borderBottomRightRadius:D,borderBottomLeftRadius:D,width:D,maxWidth:D,height:D,maxHeight:D,top:D,right:D,bottom:D,left:D,inset:D,insetBlock:D,insetBlockStart:D,insetBlockEnd:D,insetInline:D,insetInlineStart:D,insetInlineEnd:D,padding:D,paddingTop:D,paddingRight:D,paddingBottom:D,paddingLeft:D,paddingBlock:D,paddingBlockStart:D,paddingBlockEnd:D,paddingInline:D,paddingInlineStart:D,paddingInlineEnd:D,margin:D,marginTop:D,marginRight:D,marginBottom:D,marginLeft:D,marginBlock:D,marginBlockStart:D,marginBlockEnd:D,marginInline:D,marginInlineStart:D,marginInlineEnd:D,fontSize:D,backgroundPositionX:D,backgroundPositionY:D,rotate:j,rotateX:j,rotateY:j,rotateZ:j,scale:b,scaleX:b,scaleY:b,scaleZ:b,skew:j,skewX:j,skewY:j,distance:D,translateX:D,translateY:D,translateZ:D,x:D,y:D,z:D,perspective:D,transformPerspective:D,opacity:x,originX:L,originY:L,originZ:D,zIndex:K,fillOpacity:x,strokeOpacity:x,numOctaves:K},J={...Z,color:F,backgroundColor:F,outlineColor:F,fill:F,stroke:F,borderColor:F,borderTopColor:F,borderRightColor:F,borderBottomColor:F,borderLeftColor:F,filter:q,WebkitFilter:q,mask:G,WebkitMask:G},Q=t=>J[t],tt=()=>({translate:0,scale:1,origin:0,originPoint:0}),te=()=>({x:tt(),y:tt()}),ti=()=>({min:0,max:0}),tn=()=>({x:ti(),y:ti()}),ts=t=>!!(t&&t.getVelocity),tr=new Set(["width","height","top","left","right","bottom",...f]),ta=t=>e=>e.test(t),to=[v,D,R,j,z,V,{test:t=>"auto"===t,parse:t=>t}],tl=t=>to.find(ta(t));var th=t.i(47167);let tu=()=>{},td=()=>{};th.default;let tc=t=>e=>"string"==typeof e&&e.startsWith(t),tp=tc("--"),tm=tc("var(--"),tf=t=>!!tm(t)&&tg.test(t.split("/*")[0].trim()),tg=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ty(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tv=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tx=t=>180*t/Math.PI,tb=t=>tk(tx(Math.atan2(t[1],t[0]))),tw={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tb,rotateZ:tb,skewX:t=>tx(Math.atan(t[1])),skewY:t=>tx(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tk=t=>((t%=360)<0&&(t+=360),t),tS=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tT=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tP={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tS,scaleY:tT,scale:t=>(tS(t)+tT(t))/2,rotateX:t=>tk(tx(Math.atan2(t[6],t[5]))),rotateY:t=>tk(tx(Math.atan2(-t[2],t[0]))),rotateZ:tb,rotate:tb,skewX:t=>tx(Math.atan(t[4])),skewY:t=>tx(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tA(t){return+!!t.includes("scale")}function tE(t,e){let i,n;if(!t||"none"===t)return tA(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tP,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tw,n=e}if(!n)return tA(e);let r=i[e],a=n[1].split(",").map(tM);return"function"==typeof r?r(a):a[r]}function tM(t){return parseFloat(t.trim())}let tC=t=>t===v||t===D,tj=new Set(["x","y","z"]),tR=f.filter(t=>!tj.has(t)),tD={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let s=t.max-t.min;return"border-box"===n?s:s-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let s=t.max-t.min;return"border-box"===n?s:s-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tE(e,"x"),y:(t,{transform:e})=>tE(e,"y")};tD.translateX=tD.x,tD.translateY=tD.y;let tV=t=>t,tz={},tL=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tO(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,a=tL.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,r=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){a.has(e)&&(u.schedule(e),t()),l++,e(o)}let u={schedule:(t,e=!1,r=!1)=>{let o=r&&s?i:n;return e&&a.add(t),o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(o=t,s){r=!0;return}s=!0;let a=i;
3i=n,n=a,i.forEach(h),e,l=0,i.clear(),s=!1,r&&(r=!1,u.process(t))}};return u}(r,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:p,postRender:m}=a,f=()=>{let r=tz.useManualTiming,a=r?s.timestamp:performance.now();i=!1,r||(s.delta=n?1e3/60:Math.max(Math.min(a-s.timestamp,40),1)),s.timestamp=a,s.isProcessing=!0,o.process(s),l.process(s),h.process(s),u.process(s),d.process(s),c.process(s),p.process(s),m.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tL.reduce((e,r)=>{let o=a[r];return e[r]=(e,r=!1,a=!1)=>(!i&&(i=!0,n=!0,s.isProcessing||t(f)),o.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<tL.length;e++)a[tL[e]].cancel(t)},state:s,steps:a}}let{schedule:tF,cancel:tI,state:tB,steps:tN}=tO("u">typeof requestAnimationFrame?requestAnimationFrame:tV,!0),t_=new Set,tU=!1,tW=!1,t$=!1;function tH(){if(tW){let t=Array.from(t_).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tR.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tW=!1,tU=!1,t_.forEach(t=>t.complete(t$)),t_.clear()}function tY(){t_.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tW=!0)})}class tX{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(t_.add(this),tU||(tU=!0,tF.read(tY),tF.resolveKeyframes(tH))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),t_.delete(this)}cancel(){"scheduled"===this.state&&(t_.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tq=new Set([q,G]);function tG(t,e){let i=Q(t);return tq.has(i)||(i=$),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tK=new Set(["auto","none","0"]);class tZ extends tX{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&tf(n=n.trim())){let s=function t(e,i,n=1){td(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=tv.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let a=window.getComputedStyle(i).getPropertyValue(s);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tf(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!tr.has(i)||2!==t.length)return;let[n,s]=t,r=tl(n),a=tl(s);if(ty(n)!==ty(s)&&tD[i]){this.needsMeasurement=!0;return}if(r!==a)if(tC(r)&&tC(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tD[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!tK.has(e)&&U(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=tG(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tD[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=tD[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
3h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tJ=t=>1e3*t;function tQ(t,e){-1===t.indexOf(e)&&t.push(e)}function t0(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class t1{constructor(){this.subscriptions=[]}add(t){return tQ(this.subscriptions,t),()=>t0(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function t2(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function t5(t){let e;return()=>(void 0===e&&(e=t()),e)}let t3={};function t4(t,e){let i=t5(t);return()=>t3[e]??i()}let t6=t4(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),t8=t=>null!==t;function t7(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(t8),a=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==n?n:r[a]}class t9{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let et={layout:0,mainThread:0,waapi:0},ee=t=>Array.isArray(t)&&"number"==typeof t[0],ei=t4(()=>{try{document.createElement("div").animate({opacity:0}
3,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),en=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},es=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,er={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:es([0,.65,.55,1]),circOut:es([.55,0,1,.45]),backIn:es([.31,.01,.66,-.59]),backOut:es([.33,1.53,.69,.99])};function ea(t){return"function"==typeof t&&"applyToOptions"in t}class eo extends t9{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,td("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return ea(t)&&ei()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?ei()?en(e,i):"ease-out":ee(e)?es(e):Array.isArray(e)?e.map(e=>t(e,i)||er.easeOut):er[e]}(o,s);Array.isArray(d)&&(u.easing=d);let c={delay:n,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(u,c);return p}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=t7(n,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(t),t2(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tJ(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&t6())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tV):n(this)}}let el=new Set(["opacity","clipPath","filter","transform"]),{schedule:eh}=tO(queueMicrotask,!1);function eu(){e=void 0}let ed={now:()=>(void 0===e&&ed.set(tB.isProcessing||tz.useManualTiming?tB.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(eu)}};class ec{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ed.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=ed.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t1);let i=this.events[t].add(e);return"change"===t?()=>{i(),tF.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return s&&s.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=ed.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ep(t,e){return new ec(t,e)}let em=[...to,F,$],ef=new WeakMap;function eg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ey(t){return"string"==typeof t||Array.isArray(t)}let ev=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ex=["initial",...ev];function eb(t){return eg(t.animate)||ex.some(e=>ey(t[e]))}function ew(t){return!!(eb(t)||t.variants)}let ek={current:null},eS={current:!1},eT="u">typeof window;
3function eP(){if(eS.current=!0,eT)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ek.current=t.matches;t.addEventListener("change",e),e()}else ek.current=!1}function eA(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eE(t,e,i,n){if("function"==typeof e){let[s,r]=eA(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,r]=eA(n);e=e(void 0!==i?i:t.custom,s,r)}return e}let eM=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eC={};class ej{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tX,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=ed.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tF.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=eb(e),this.isVariantNode=ew(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==l[t]&&ts(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,ef.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eS.current||eP(),this.shouldReduceMotion=ek.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tI(this.notifyUpdate),tI(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&el.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:a}=e.accelerate,o=new eo({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:tJ(a)}),l=i(o);this.valueSubscriptions.set(t,()=>{l(),o.cancel()});return}let n=g.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tF.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in eC){let e=eC[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
3e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tn()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eM.length;e++){let i=eM[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if(ts(s))t.addValue(n,s);else if(ts(r))t.addValue(n,ep(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,ep(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ep(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,s;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let n;n=i,!em.find(ta(n))&&$.test(e)&&(i=tG(t,e))}this.setBaseTarget(t,ts(i)?i.get():i)}return ts(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=eE(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||ts(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new t1),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){eh.render(this.render)}}class eR extends ej{constructor(){super(...arguments),this.KeyframeResolver=tZ}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ts(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eD(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eV=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ez={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eL=f.length;function eO(t,e,i){let{style:n,vars:s,transformOrigin:r}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(g.has(t)){a=!0;continue}if(tp(t)){s[t]=i;continue}{let e=eV(i,Z[t]);t.startsWith("origin")?(o=!0,r[t]=e):n[t]=e}}
3if(!e.transform&&(a||i?n.transform=function(t,e,i){let n="",s=!0;for(let r=0;r<eL;r++){let a=f[r],o=t[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let t=parseFloat(o);l=a.startsWith("scale")?1===t:0===t}if(!l||i){let t=eV(o,Z[a]);if(!l){s=!1;let e=ez[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}return n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=r;n.transformOrigin=`${t} ${e} ${i}`}}let eF={offset:"stroke-dashoffset",array:"stroke-dasharray"},eI={offset:"strokeDashoffset",array:"strokeDasharray"},eB=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eN(t,{attrX:e,attrY:i,attrScale:n,pathLength:s,pathSpacing:r=1,pathOffset:a=0,...o},l,h,u){if(eO(t,o,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),eB))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==s&&function(t,e,i=1,n=0,s=!0){t.pathLength=1;let r=s?eF:eI;t[r.offset]=`${-n}`,t[r.array]=`${e} ${i}`}(d,s,r,a,!1)}let e_=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"]),eU=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eW(t,{style:e,vars:i},n,s){let r,a=t.style;for(r in e)a[r]=e[r];for(r in s?.applyProjectionStyles(a,n),i)a.setProperty(r,i[r])}function e$(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eH={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!D.test(t))return t;else t=parseFloat(t);let i=e$(t,e.target.x),n=e$(t,e.target.y);return`${i}% ${n}%`}},eY=(t,e,i)=>t+(e-t)*i,eX={borderRadius:{...eH,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eH,borderTopRightRadius:eH,borderBottomLeftRadius:eH,borderBottomRightRadius:eH,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=$.parse(t);if(n.length>5)return t;let s=$.createTransformer(t),r=+("number"!=typeof n[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;n[0+r]/=a,n[1+r]/=o;let l=eY(a,o,.5);return"number"==typeof n[2+r]&&(n[2+r]/=l),"number"==typeof n[3+r]&&(n[3+r]/=l),s(n)}}};function eq(t,{layout:e,layoutId:i}){return g.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eX[t]||"opacity"===t)}function eG(t,e,i){let n=t.style,s=e?.style,r={};if(!n)return r;for(let e in n)(ts(n[e])||s&&ts(s[e])||eq(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=n[e]);return r}function eK(t,e,i){let n=eG(t,e,i);for(let i in t)(ts(t[i])||ts(e[i]))&&(n[-1!==f.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eZ extends eR{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tn}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(g.has(e)){let t=Q(e);return t&&t.default||0}return e=e_.has(e)?e:eD(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eK(t,e,i)}build(t,e,i){eN(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eW(t,e,void 0,n),e.attrs)t.setAttribute(e_.has(i)?i:eD(i),e.attrs[i])}mount(t){this.isSVGTag=eU(t.tagName),super.mount(t)}}function eJ({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eQ(t){return void 0===t||1===t}function e0({scale:t,scaleX:e,scaleY:i}){return!eQ(t)||!eQ(e)||!eQ(i)}function e1(t){return e0(t)||e2(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function e2(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function e5(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function e3(t,e=0,i=1,n,s){t.min=e5(t.min,e,i,n,s),t.max=e5(t.max,e,i,n,s)}function e4(t,{x:e,y:i}){e3(t.x,e.translate,e.scale,e.originPoint),e3(t.y,i.translate,i.scale,i.originPoint)}function e6(t,e){t.min+=e,t.max+=e}function e8(t,e,i,n,s=.5){let r=eY(t.min,t.max,s);e3(t,e,i,r,n)}function e7(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e9(t,e,i){let n=i??t;e8(t.x,e7(e.x,n.x),e.scaleX,e.scale,e.originX),e8(t.y,e7(e.y,n.y),e.scaleY,e.scale,e.originY)}function it(t,e){return eJ(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class ie extends eR{constructor(){super(...arguments),this.type="html",this.renderInstance=eW}readValueFromInstance(t,e){if(g.has(e))return this.projection?.isProjecting?tA(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tE(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tp(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return it(t,e)}build(t,e,i){eO(t,e,i.transformTemplate)}
3scrapeMotionValuesFromProps(t,e,i){return eG(t,e,i)}}let ii=["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 is(t){if("string"!=typeof t||t.includes("-"));else if(ii.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var ir=t.i(43476);let ia=(0,a.createContext)({strict:!1}),io=(0,a.createContext)({});function il(t){return Array.isArray(t)?t.join(" "):t}let ih=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iu(t,e,i){for(let n in e)ts(e[n])||eq(n,i)||(t[n]=e[n])}let id=()=>({...ih(),attrs:{}}),ic=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ip(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ic.has(t)}let im=t=>!ip(t);try{r=t.r(34537).default,"function"==typeof r&&(im=t=>t.startsWith("on")?!ip(t):r(t))}catch{}function ig(t){return ts(t)?t.get():t}let iy=t=>(e,i)=>{let n=(0,a.useContext)(io),s=(0,a.useContext)(u),r=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,s){return{latestValues:function(t,e,i,n){let s={},r=n(t,{});for(let t in r)s[t]=ig(r[t]);let{initial:a,animate:o}=t,l=eb(t),h=ew(t);e&&h&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!eg(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=eE(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,n,s,t),renderState:e()}})(t,e,n,s);return i?r():l(r)},iv=iy({scrapeMotionValuesFromProps:eG,createRenderState:ih}),ix=iy({scrapeMotionValuesFromProps:eK,createRenderState:id}),ib={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"]},iw=!1;function ik(){return!function(){if(iw)return;let t={};for(let e in ib)t[e]={isEnabled:t=>ib[e].some(e=>!!t[e])};eC=t,iw=!0}
3(),eC}let iS=Symbol.for("motionComponentSymbol"),iT="data-"+eD("framerAppearId"),iP=(0,a.createContext)({});function iA(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function iE(t,{forwardMotionProps:e=!1,type:i}={},n,s){n&&function(t){let e=ik();for(let i in t)e[i]={...e[i],...t[i]};eC=e}(n);let r=i?"svg"===i:is(t),l=r?ix:iv;function d(i,n){var d;let c,m,f,g={...(0,a.useContext)(p),...i,layoutId:function({layoutId:t}){let e=(0,a.useContext)(o).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:y}=g,v=function(t){let{initial:e,animate:i}=function(t,e){if(eb(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ey(e)?e:void 0,animate:ey(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(io));return(0,a.useMemo)(()=>({initial:e,animate:i}),[il(e),il(i)])}(i),x=l(i,y);if(!y&&"u">typeof window){(0,a.useContext)(ia).strict;let e=function(t){let{drag:e,layout:i}=ik();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(g);c=e.MeasureLayout,v.visualElement=function(t,e,i,n,s,r){let{visualElement:o}=(0,a.useContext)(io),l=(0,a.useContext)(ia),d=(0,a.useContext)(u),c=(0,a.useContext)(p),m=c.reducedMotion,f=c.skipAnimations,g=(0,a.useRef)(null),y=(0,a.useRef)(!1);n=n||l.renderer,!g.current&&n&&(g.current=n(t,{visualState:e,parent:o,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:r}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let v=g.current,x=(0,a.useContext)(iP);v&&!v.projection&&s&&("html"===v.type||"svg"===v.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!a||o&&iA(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(g.current,i,s,x);let b=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{v&&b.current&&v.update(i,d)});let w=i[iT],k=(0,a.useRef)(!!w&&"u">typeof window&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return h(()=>{y.current=!0,v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),k.current&&v.animationState&&v.animationState.animateChanges())}),(0,a.useEffect)(()=>{v&&(!k.current&&v.animationState&&v.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),k.current=!1),v.enteringChildren=void 0)}),v}(t,x,g,s,e.ProjectionNode,r)}return(0,ir.jsxs)(io.Provider,{value:v,children:[c&&v.visualElement?(0,ir.jsx)(c,{visualElement:v.visualElement,...g}):null,function(t,e,i,{latestValues:n},s,r=!1,o){let l=(o??is(t)?function(t,e,i,n){let s=(0,a.useMemo)(()=>{let i=id();return eN(i,e,eU(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iu(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,n,s={},r=(i=t.style||{},iu(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,a.useMemo)(()=>{let i=ih();return eO(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s})(e,n,s,t),h=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!ts(t[s])&&(im(s)||!0===i&&ip(s)||!e&&!ip(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,r),u=t!==a.Fragment?{...h,...l,ref:i}:{},{children:d}=e,c=(0,a.useMemo)(()=>ts(d)?d.get():d,[d]);return(0,a.createElement)(t,{...u,children:c})}(t,i,(d=v.visualElement,m=(0,a.useRef)(n),(0,a.useInsertionEffect)(()=>{m.current=n}),f=(0,a.useRef)(null),(0,a.useCallback)(t=>{t&&x.onMount?.(t);let e=m.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(f.current=i)}else f.current?(f.current(),f.current=null):e(t);else e&&(e.current=t);d&&(t?d.mount(t):d.unmount())},[d])),x,y,e,r)]})}d.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let c=(0,a.forwardRef)(d);return c[iS]=t,c}class iM{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iC(t,e,i){let n=t.getProps();return eE(n,e,void 0!==i?i:n.custom,t)}function ij(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function iR(t,e){let i=t?.[e]??t?.default??t;return i!==t?ij(i,t):i}let iD=t=>Array.isArray(t);function iV(t,e){let i=t.getValue("willChange");if(ts(i)&&i.add)return i.add(e);if(!i&&tz.WillChange){let i=new tz.WillChange("auto");
3t.addValue("willChange",i),i.add(e)}}let iz=(t,e)=>i=>e(t(i)),iL=(...t)=>t.reduce(iz);function iO(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iF(t,e){return i=>i>0?e:t}let iI=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},iB=[M,E,O];function iN(t){let e=iB.find(e=>e.test(t));if(tu(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===O&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;s=iO(o,n,t+1/3),r=iO(o,n,t),a=iO(o,n,t-1/3)}else s=r=a=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*a),alpha:n}}(i)),i}let i_=(t,e)=>{let i=iN(t),n=iN(e);if(!i||!n)return iF(t,e);let s={...i};return t=>(s.red=iI(i.red,n.red,t),s.green=iI(i.green,n.green,t),s.blue=iI(i.blue,n.blue,t),s.alpha=eY(i.alpha,n.alpha,t),E.transform(s))},iU=new Set(["none","hidden"]);function iW(t,e){return i=>eY(t,e,i)}function i$(t){return"number"==typeof t?iW:"string"==typeof t?tf(t)?iF:F.test(t)?i_:iX:Array.isArray(t)?iH:"object"==typeof t?F.test(t)?i_:iY:iF}function iH(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>i$(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function iY(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=i$(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iX=(t,e)=>{let i=$.createTransformer(e),n=U(t),s=U(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return tu(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iF(t,e);if(iU.has(t)&&!s.values.length||iU.has(e)&&!n.values.length)return iU.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iL(iH(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],a=t.indexes[r][n[r]],o=t.values[a]??0;i[s]=o,n[r]++}return i}(n,s),s.values),i)};function iq(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eY(t,e,i):i$(t)(t,e)}let iG=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tF.update(e,t),stop:()=>tI(e),now:()=>tB.isProcessing?tB.timestamp:ed.now()}};function iK(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let iZ=.01,iJ=2,iQ=.005,i0=.5;function i1(t,e){return t*Math.sqrt(1-e*e)}let i2=["duration","bounce"],i5=["stiffness","damping","mass"];function i3(t,e){return e.some(e=>void 0!==t[e])}function i4(t=.3,e=.3){let i,n,s,r,a,o,l="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:h,restDelta:u}=l,d=l.keyframes[0],c=l.keyframes[l.keyframes.length-1],p={done:!1,value:d},{stiffness:m,damping:f,mass:g,duration:v,velocity:x,isResolvedFromDuration:b}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i3(t,i5)&&i3(t,i2))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*y(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let s,r;tu(t<=tJ(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=y(.05,1,a),t=y(.01,10,t/1e3),a<1?(s=e=>{let n=e*a,s=n*t;return .001-(n-i)/i1(e,a)*Math.exp(-s)},r=e=>{let n=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=i1(Math.pow(e,2),a);return(n*i+i-r)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));let o=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t=tJ(t),isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...l,velocity:-((l.velocity||0)/1e3)}),w=x||0,k=f/(2*Math.sqrt(m*g)),S=c-d,T=Math.sqrt(m/g)/1e3,P=5>Math.abs(S);if(h||(h=P?iZ:iJ),u||(u=P?iQ:i0),k<1)s=i1(T,k),r=(w+k*T*S)/s,i=t=>c-Math.exp(-k*T*t)*(r*Math.sin(s*t)+S*Math.cos(s*t)),a=k*T*r+S*s,o=k*T*S-r*s,n=t=>Math.exp(-k*T*t)*(a*Math.sin(s*t)+o*Math.cos(s*t));else if(1===k){i=t=>c-Math.exp(-T*t)*(S+(w+T*S)*t);let t=w+T*S;n=e=>Math.exp(-T*e)*(T*t*e-w)}else{let t=T*Math.sqrt(k*k-1);i=e=>{let i=Math.exp(-k*T*e),n=Math.min(t*e,300);return c-i*((w+k*T*S)*Math.sinh(n)+t*S*Math.cosh(n))/t};let e=(w+k*T*S)/t,s=k*T*e-S*t,r=k*T*S-e*t;n=e=>{let i=Math.exp(-k*T*e),n=Math.min(t*e,300);return i*(s*Math.sinh(n)+r*Math.cosh(n))}}let A={calculatedDuration:b&&v||null,velocity:t=>tJ(n(t)),next:t=>{if(!b&&k<1){let e=Math.exp(-k*T*t),i=Math.sin(s*t),n=Math.cos(s*t),l=c-e*(r*i+S*n);
3return p.done=Math.abs(tJ(e*(a*i+o*n)))<=h&&Math.abs(c-l)<=u,p.value=p.done?c:l,p}let e=i(t);return b?p.done=t>=v:p.done=Math.abs(tJ(n(t)))<=h&&Math.abs(c-e)<=u,p.value=p.done?c:e,p},toString:()=>{let t=Math.min(iK(A),2e4),e=en(e=>A.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return A}function i6(t,e,i){var n,s;let r=Math.max(e-5,0);return n=i-t(r),(s=e-r)?1e3/s*n:0}function i8({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===a?g:a(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/n),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=i4({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:i6(x,t,m.value),damping:s,stiffness:r,restDelta:h,restSpeed:u})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}i4.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(iK(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:s/1e3}}(t,100,i4);return t.ease=e.ease,t.duration=tJ(e.duration),t.type="keyframes",t};let i7=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i9(t,e,i,n){return t===e&&i===n?tV:s=>0===s||1===s?s:i7(function(t,e,i,n,s){let r,a,o=0;do(r=i7(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12)return a}(s,0,1,t,i),e,n)}let nt=i9(.42,0,1,1),ne=i9(0,0,.58,1),ni=i9(.42,0,.58,1),nn=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ns=t=>e=>1-t(1-e),nr=i9(.33,1.53,.69,.99),na=ns(nr),no=nn(na),nl=t=>t>=1?1:(t*=2)<1?.5*na(t):.5*(2-Math.pow(2,-10*(t-1))),nh=t=>1-Math.sin(Math.acos(t)),nu=ns(nh),nd=nn(nh),nc={linear:tV,easeIn:nt,easeInOut:ni,easeOut:ne,circIn:nh,circInOut:nd,circOut:nu,backIn:na,backInOut:no,backOut:nr,anticipate:nl},np=t=>{if(ee(t)){td(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return i9(e,i,n,s)}return"string"==typeof t?(td(void 0!==nc[t],`Invalid easing type '${t}'`,"invalid-easing-type"),nc[t]):t},nm=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function nf({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(np):np(n),o={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if(td(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let n=[],s=i||tz.mix||iq,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=iL(Array.isArray(e)?e[i]||tV:e,r)),n.push(r)}return n}(e,n,s),l=o.length,h=i=>{if(a&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=nm(t[n],t[n+1],i);return o[n](s)};return i?e=>h(y(t[0],t[r-1],e)):h}((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=nm(0,e,n);t.push(eY(i,1,s))}}(r=[0],e.length-1),r),s.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||ni).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let ng={decay:i8,inertia:i8,tween:nf,keyframes:nf,spring:i4};function ny(t){"string"==typeof t.type&&(t.type=ng[t.type])}let nv=t=>t/100;class nx extends t9{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==ed.now()&&this.tick(ed.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},et.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ny(t);let{type:e=nf,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:a}=t,o=e||nf;o!==nf&&"number"!=typeof a[0]&&(this.mixKeyframes=iL(nv,iq(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=iK(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:s,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);
3let{delay:h=0,keyframes:u,repeat:d,repeatType:c,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let b=this.currentTime,w=n;if(d){let t=Math.min(this.currentTime,s)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/o)):"mirror"===c&&(w=a)),b=y(0,1,i)*o}x?(this.delayState.value=u[0],i=this.delayState):i=w.next(b),r&&!x&&(i.value=r(i.value));let{done:k}=i;x||null===l||(k=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&m!==i8&&(i.value=t7(u,this.options,g,this.speed)),f&&f(i.value),S&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=tJ(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return i6(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(ed.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iG,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ed.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,et.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let nb={anticipate:nl,backInOut:no,circInOut:nd};class nw extends eo{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nb&&(t.ease=nb[t.ease])}(t),ny(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new nx({...r,autoplay:!1}),o=Math.max(10,ed.now()-this.startTime),l=y(0,10,o-10),h=a.sample(o).value,{name:u}=this.options;s&&u&&t2(s,u,h),e.setWithVelocity(a.sample(Math.max(0,o-l)).value,h,l),a.stop()}}let nk=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&($.test(t)||"0"===t)&&!t.startsWith("url("));function nS(t){t.duration=0,t.type="keyframes"}let nT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nP=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nA=t5(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));
3class nE extends t9{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ed.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:o,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tX;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let s;this.keyframeResolver=void 0;let{name:r,type:a,velocity:o,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=ed.now();let d=!0;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=nk(s,e),o=nk(r,e);return tu(a===o,`You are trying to animate ${e} from "${s}" to "${r}". "${a?r:s}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||ea(i))&&n)}(t,r,a,o)&&(d=!1,(tz.instantAnimations||!l)&&u?.(t7(t,i,e)),t[0]=t[t.length-1],nS(i),i.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=d&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:a,keyframes:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return nA()&&i&&(el.has(i)||nP.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&nT.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!h)&&!l&&!n&&"mirror"!==s&&0!==r&&"inertia"!==a}(c),m=c.motionValue?.owner?.current;if(p)try{s=new nw({...c,element:m})}catch{s=new nx(c)}else s=new nx(c);s.finished.then(()=>{this.notifyFinished()}).catch(tV),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),t$=!0,tY(),tH(),t$=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nM={type:"spring",stiffness:500,damping:25,restSpeed:10},nC={type:"keyframes",duration:.8},nj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nR=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nD=(t,e,
3i,n={},s,r)=>a=>{let o=iR(n,t)||{},l=o.delay||n.delay||0,{elapsed:h=0}=n;h-=tJ(l);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-h,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function(t){for(let e in t)if(!nR.has(e))return!0;return!1}(o)&&Object.assign(u,((t,{keyframes:e})=>e.length>2?nC:g.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:nM:nj)(t,u)),u.duration&&(u.duration=tJ(u.duration)),u.repeatDelay&&(u.repeatDelay=tJ(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(nS(u),0===u.delay&&(d=!0)),(tz.instantAnimations||tz.skipAnimations||s?.shouldSkipAnimations)&&(d=!0,nS(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,d&&!r&&void 0!==e.get()){let t=t7(u.keyframes,o);if(void 0!==t)return void tF.update(()=>{u.onUpdate(t),u.onComplete()})}return o.isSync?new nx(u):new nE(u)};function nV(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:r,transitionEnd:a,...o}=e,l=t.getDefaultTransition();r=r?ij(r,l):l;let h=r?.reduceMotion;n&&(r=n);let u=[],d=s&&t.animationState&&t.animationState.getState()[s];for(let e in o){let n=t.getValue(e,t.latestValues[e]??null),s=o[e];if(void 0===s||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let a={delay:i,...iR(r||{},e)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(s)&&s===l&&!a.velocity){tF.update(()=>n.set(s));continue}let c=!1;if(window.MotionHandoffAnimation){let i=t.props[iT];if(i){let t=window.MotionHandoffAnimation(i,e,tF);null!==t&&(a.startTime=t,c=!0)}}iV(t,e);let p=h??t.shouldReduceMotion;n.start(nD(e,n,s,p&&tr.has(e)?{type:!1}:a,t,c));let m=n.animation;m&&u.push(m)}if(a){let e=()=>tF.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=iC(t,e)||{};for(let e in s={...s,...i}){var r;let i=iD(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ep(i))}}(t,a)});u.length?Promise.all(u).then(e):e()}return u}function nz(t,e,i,n=0,s=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(r,a):1===s?r*n:o-r*n}function nL(t,e,i={}){let n=iC(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let r=n?()=>Promise.all(nV(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=s;return function(t,e,i=0,n=0,s=0,r=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(nL(l,e,{...a,delay:i+("function"==typeof n?0:n)+nz(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,r,a,o,i)}:()=>Promise.resolve(),{when:o}=s;if(!o)return Promise.all([r(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[r,a]:[a,r];return t().then(()=>e())}}let nO=ex.length;function nF(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nI=[...ev].reverse(),nB=ev.length;function nN(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n_(){return{animate:nN(!0),whileInView:nN(),whileHover:nN(),whileTap:nN(),whileDrag:nN(),whileFocus:nN(),exit:nN()}}let nU=0;function nW(t){return[t("x"),t("y")]}function n$(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let nH={x:!1,y:!1};function nY(t){return t.max-t.min}function nX(t,e,i,n=.5){t.origin=n,t.originPoint=eY(e.min,e.max,t.origin),t.scale=nY(i)/nY(e),t.translate=eY(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nq(t,e,i,n){nX(t.x,e.x,i.x,n?n.originX:void 0),nX(t.y,e.y,i.y,n?n.originY:void 0)}function nG(t,e,i,n=0){t.min=(n?eY(i.min,i.max,n):i.min)+e.min,t.max=t.min+nY(e)}function nK(t,e,i,n=0){let s=n?eY(i.min,i.max,n):i.min;t.min=e.min-s,t.max=t.min+nY(e)}function nZ(t,e,i,n){nK(t.x,e.x,i.x,n?.x),nK(t.y,e.y,i.y,n?.y)}function nJ(t){return d(t)&&"ownerSVGElement"in t}function nQ(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=i?.[t]??n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}let n0=new WeakMap,n1=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:nJ(n)&&"getBBox"in n?n.getBBox()[e]:n[i],n2=n1("inline","width","offsetWidth"),n5=n1("block","height","offsetHeight");function n3({target:t,borderBoxSize:e}){n0.get(t)?.forEach(i=>
3{i(t,{get width(){return n2(t,e)},get height(){return n5(t,e)}})})}function n4(t){t.forEach(n3)}let n6=new Set;function n8(t,e){let s;return"function"==typeof t?(n6.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};n6.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{n6.delete(t),n6.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n4)),(s=nQ(t)).forEach(t=>{let n=n0.get(t);n||(n=new Set,n0.set(t,n)),n.add(e),i?.observe(t)}),()=>{s.forEach(t=>{let n=n0.get(t);n?.delete(e),n?.size||i?.unobserve(t)})})}let n7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n9=new Set(["INPUT","SELECT","TEXTAREA"]),st=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function se(t){return{point:{x:t.pageX,y:t.pageY}}}function si(t,e,i,n){return n$(t,e,t=>st(t)&&i(t,se(t)),n)}let sn=({current:t})=>t?t.ownerDocument.defaultView:null,ss=(t,e)=>Math.abs(t-e),sr=new Set(["auto","scroll"]);class sa{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=so(this.lastRawMoveEventInfo,this.transformPagePoint));let i=sh(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(ss(t.x,e.x)**2+ss(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i,{timestamp:a}=tB;this.history.push({...r,timestamp:a});let{onStart:o,onMove:l}=this.handlers;n||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=so(e,this.transformPagePoint),tF.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=sh("pointercancel"===t.type?this.lastMoveEventInfo:so(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!st(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const o=so(se(t),this.transformPagePoint),{point:l}=o,{timestamp:h}=tB;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,sh(o,this.history)),this.removeListeners=iL(si(this.contextWindow,"pointermove",this.handlePointerMove),si(this.contextWindow,"pointerup",this.handlePointerUp),si(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(sr.has(t.overflowX)||sr.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),tF.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tI(this.updatePoint)}}function so(t,e){return e?{point:e(t.point)}:t}function sl(t,e){return{x:t.x-e.x,y:t.y-e.y}}function sh({point:t},e){return{point:t,delta:sl(t,su(e)),offset:sl(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,s=su(t);for(;i>=0&&(n=t[i],!(s.timestamp-n.timestamp>tJ(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&s.timestamp-n.timestamp>2*tJ(.1)&&(n=t[1]);let r=(s.timestamp-n.timestamp)/1e3;if(0===r)return{x:0,y:0};let a={x:(s.x-n.x)/r,y:(s.y-n.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function su(t){return t[t.length-1]}function sd(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function sc(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}
3function sp(t,e,i){return{min:sm(t,e),max:sm(t,i)}}function sm(t,e){return"number"==typeof t?t:t[e]||0}let sf=new WeakMap;class sg{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(se(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nH[t])return null;else return nH[t]=!0,()=>{nH[t]=!1};return nH.x||nH.y?null:(nH.x=nH.y=!0,()=>{nH.x=nH.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nW(t=>{let e=this.getAxisMotionValue(t).get()||0;if(R.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=nY(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&tF.update(()=>s(t,e),!1,!0),iV(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&tF.update(()=>r(t,e),!1,!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new sa(t,{onSessionStart:s,onStart:r,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:sn(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&tF.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!sv(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eY(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eY(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&iA(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:sd(t.x,i,s),y:sd(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:sp(t,"left","right"),y:sp(t,"top","bottom")}}(e),n!==this.constraints&&!iA(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&nW(t=>{var e,n;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],s={},void 0!==n.min&&(s.min=n.min-e.min),void 0!==n.max&&(s.max=n.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iA(e))return!1;let n=e.current;td(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;
3let r=function(t,e,i){let n=it(t,i),{scroll:s}=e;return s&&(e6(n.x,s.offset.x),e6(n.y,s.offset.y)),n}(n,s.root,this.visualElement.getTransformPagePoint()),a=(t=s.layout.layoutBox,{x:sc(t.x,r.x),y:sc(t.y,r.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=eJ(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(nW(a=>{if(!sv(a,e,this.currentDirection))return;let l=o&&o[a]||{};(!0===r||r===a)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iV(this.visualElement,t),i.start(nD(t,i,0,e,this.visualElement,!1))}stopAnimation(){nW(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nW(e=>{let{drag:i}=this.getProps();if(!sv(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],a=s.get()||0;s.set(t[e]-eY(i,r,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iA(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nW(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,a,o,l=e.get();n[t]=(i={min:l,max:l},s=this.constraints[t],r=.5,a=nY(i),(o=nY(s))>a?r=nm(s.min,s.max-a,i.min):a>o&&(r=nm(i.min,i.max-o,s.min)),y(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nW(e=>{if(!sv(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set(eY(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;sf.set(this.visualElement,this);let e=this.visualElement.current,i=si(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),s=t.target,r=s!==e&&(n9.has(s.tagName)||!0===s.isContentEditable);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,a,{dragConstraints:o}=this.getProps();iA(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=o.current,r=n8(i,sy(s=()=>this.scalePositionWithinConstraints())),a=n8(n,sy(s)),t=()=>{r(),a()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tF.read(n);let a=n$(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nW(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{a(),i(),r(),o&&o(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:a}}}function sy(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function sv(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let sx=t=>(e,i)=>{t&&tF.update(()=>t(e,i),!1,!0)},sb={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var sw=a;let sk=!1;class sS extends sw.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),sk&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),sb.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),sk=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?r.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?r.promote():r.relegate()||tF.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),eh.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;sk=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function sT(t){let[e,i]=m(),n=(0,sw.useContext)(o);return(0,ir.jsx)(sS,{...t,layoutGroup:n,switchLayoutGroup:(0,sw.useContext)(iP),isPresent:e,safeToRemove:i})}let sP=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],sA=sP.length,sE=t=>"string"==typeof t?parseFloat(t):t,sM=t=>"number"==typeof t||D.test(t);function sC(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sj=sD(0,.5,nu),sR=sD(.5,.95,tV);function sD(t,e,i){return n=>n<t?0:n>e?1:i(nm(t,e,n))}function sV(t,e){t.min=e.min,t.max=e.max}function sz(t,e){sV(t.x,e.x),sV(t.y,e.y)}function sL(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function sO(t,e,i,n,s){return t-=e,t=n+1/i*(t-n),void 0!==s&&(t=n+1/s*(t-n)),t}function sF(t,e,[i,n,s],r,a){!function(t,e=0,i=1,n=.5,s,r=t,a=t){if(R.test(e)&&(e=parseFloat(e),e=eY(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=eY(r.min,r.max,n);t===r&&(o-=e),t.min=sO(t.min,e,i,o,s),t.max=sO(t.max,e,i,o,s)}(t,e[i],e[n],e[s],e.scale,r,a)}let sI=["x","scaleX","originX"],sB=["y","scaleY","originY"];
3function sN(t,e,i,n){sF(t.x,e,sI,i?i.x:void 0,n?n.x:void 0),sF(t.y,e,sB,i?i.y:void 0,n?n.y:void 0)}function s_(t){return 0===t.translate&&1===t.scale}function sU(t){return s_(t.x)&&s_(t.y)}function sW(t,e){return t.min===e.min&&t.max===e.max}function s$(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function sH(t,e){return s$(t.x,e.x)&&s$(t.y,e.y)}function sY(t){return nY(t.x)/nY(t.y)}function sX(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class sq{constructor(){this.members=[]}add(t){tQ(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||(t0(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(t0(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:s}=t.options;(void 0===n||n!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let sG=(t,e)=>t.depth-e.depth;class sK{constructor(){this.children=[],this.isDirty=!1}add(t){tQ(this.children,t),this.isDirty=!0}remove(t){t0(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sG),this.isDirty=!1,this.children.forEach(t)}}let sZ=["","X","Y","Z"],sJ=0;function sQ(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function s0({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=sJ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(s5),this.nodes.forEach(ri),this.nodes.forEach(rn),this.nodes.forEach(s3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new sK)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t1),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=nJ(e)&&!(nJ(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;tF.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,r;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=ed.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&(tI(r),s(i-250))},tF.setup(r,!0),i=()=>tI(r),sb.hasAnimatedSinceResize&&(sb.hasAnimatedSinceResize=!1,this.nodes.forEac
3h(re))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||rh,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!sH(this.targetLayout,n),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iR(r,"layout"),onPlay:a,onComplete:o};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||re(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tI(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rs),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[iT];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tF,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(s8),this.nodes.forEach(s6);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(s7);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(s9),this.nodes.forEach(rt),this.nodes.forEach(s1),this.nodes.forEach(s2)):this.nodes.forEach(s7),this.clearAllSnapshots();let t=ed.now();tB.delta=y(0,1e3/60,t-tB.timestamp),tB.timestamp=t,tB.isProcessing=!0,tN.update.process(tB),tN.preRender.process(tB),tN.render.process(tB),tB.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(s4),this.sharedNodes.forEach(rr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tF.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tF.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nY(this.snapshot.measuredBox.x)||nY(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=tn()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!sU(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||e1(this.latestValues)||r)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),rc((e=n).x),rc(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tn();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rm))){let{scroll:t}=this.root;t&&(e6(e.x,t.offset.x),e6(e.y,t.offset.y))}return e}removeElementScroll(t){let e=tn();if(sz(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&sz(e,t),e6(e.x,s.offset.x),e6(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||tn();sz(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(e6(n.x,-i.scroll.offset.x),e6(n.y,-i.scroll.offset.y)),e1(i.latestValues)&&e9(n,i.latestValues,i.layout?.layoutBox)}return e1(this.latestValues)&&e9(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=tn();sz(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];e1(n.latestValues)&&(n.instance&&(e0(n.latestValues)&&n.updateSnapshot(),sz(i=tn(),n.measurePageBox())),sN(e,n.latestValues,n.snapshot?.layoutBox,i))}return e1(this.latestValues)&&sN(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tB.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=tB.timestamp;let r=this.getClosestProjectingParent();if(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=tn(),this.targetWithTransforms=tn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l,h;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,nG(a.x,o.x,l.x,h?.x),nG(a.y,o.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):sz(this.target,this.layout.layoutBox),e4(this.target,this.targetDelta)):sz(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||e0(this.parent.latestValues)||e2(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tn(),this.relativeTargetOrigin=tn(),nZ(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),sz(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
3if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tB.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;sz(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let s,r,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){r=(s=i[o]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(e6(t.x,-s.scroll.offset.x),e6(t.y,-s.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,e4(t,r)),n&&e1(s.latestValues)&&e9(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=tn());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(sL(this.prevProjectionDelta.x,this.projectionDelta.x),sL(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nq(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&sX(this.projectionDelta.x,this.prevProjectionDelta.x)&&sX(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=te(),this.projectionDelta=te(),this.projectionDeltaWithTransform=te()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,s=n?n.latestValues:{},r={...this.latestValues},a=te();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=tn(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(rl));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(ra(a.x,t.x,n),ra(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,g;nZ(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,g=n,ro(p.x,m.x,f.x,g),ro(p.y,m.y,f.y,g),i&&(h=this.relativeTarget,c=i,sW(h.x,c.x)&&sW(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=tn()),sz(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,n,s,r){s?(t.opacity=eY(0,i.opacity??1,sj(n)),t.opacityExit=eY(e.opacity??1,0,sR(n))):r&&(t.opacity=eY(e.opacity??1,i.opacity??1,n));for(let s=0;s<sA;s++){let r=sP[s],a=sC(e,r),o=sC(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||sM(a)===sM(o)?(t[r]=Math.max(eY(sE(a),sE(o),n),0),(R.test(o)||R.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=eY(e.rotate||0,i.rotate||0,n))}(r,s,this.latestValues,n,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tI(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tF.update(()=>{var e,i,n;let s;sb.hasAnimatedSinceResize=!0,et.layout++,this.motionValue||(this.motionValue=ep(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{et.layout--},onComplete:()=>{et.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=ts(e)?e:ep(e)).start(nD("",s,i,n)),s.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&rp(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||tn();let e=nY(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nY(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}sz(e,i),e9(e,s),nq(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sq),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
3return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&sQ("z",t,n,this.animationValues);for(let e=0;e<sZ.length;e++)sQ(`rotate${sZ[e]}`,t,n,this.animationValues),sQ(`skew${sZ[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ig(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ig(e?.pointerEvents)||""),this.hasProjected&&!e1(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((s||r||a)&&(n=`translate3d(${s}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:a,skewY:o}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotateX(${s}deg) `),r&&(n+=`rotateY(${r}deg) `),a&&(n+=`skewX(${a}deg) `),o&&(n+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,eX){if(void 0===s[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=eX[e],l="none"===r?s[e]:i(s[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?ig(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(s6),this.root.sharedNodes.clear()}}}function s1(t){t.updateLayout()}function s2(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:s}=t.options,r=e.source!==t.layout.source;if("size"===s)nW(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=nY(n);n.min=i[t].min,n.max=n.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";sV(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else rp(s,e.layoutBox,i)&&nW(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],a=nY(i[n]);s.max=s.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=te();nq(a,i,e.layoutBox);let o=te();r?nq(o,t.applyTransform(n,!0),e.measuredBox):nq(o,i,e.layoutBox);let l=!sU(a),h=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let a=t.options.layoutAnchor||void 0,o=tn();nZ(o,e.layoutBox,s.layoutBox,a);let l=tn();nZ(l,i,r.layoutBox,a),sH(o,l)||(h=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function s5(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
3isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function s3(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function s4(t){t.clearSnapshot()}function s6(t){t.clearMeasurements()}function s8(t){t.isLayoutDirty=!0,t.updateLayout()}function s7(t){t.isLayoutDirty=!1}function s9(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function rt(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function re(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ri(t){t.resolveTargetDelta()}function rn(t){t.calcProjection()}function rs(t){t.resetSkewAndRotation()}function rr(t){t.removeLeadSnapshot()}function ra(t,e,i){t.translate=eY(e.translate,0,i),t.scale=eY(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ro(t,e,i,n){t.min=eY(e.min,i.min,n),t.max=eY(e.max,i.max,n)}function rl(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rh={duration:.45,ease:[.4,0,.1,1]},ru=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),rd=ru("applewebkit/")&&!ru("chrome/")?Math.round:tV;function rc(t){t.min=rd(t.min),t.max=rd(t.max)}function rp(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(sY(e)-sY(i)))}function rm(t){return t!==t.root&&t.scroll?.wasRoot}let rf=s0({attachResizeListener:(t,e)=>n$(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rg={current:void 0},ry=s0({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rg.current){let t=new rf({});t.mount(window),t.setOptions({layoutScroll:!0}),rg.current=t}return rg.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rv(t,e){let i=nQ(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function rx(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&tF.postRender(()=>s(e,se(e)))}let rb=(t,e)=>!!e&&(t===e||rb(t,e.parentElement)),rw=new WeakSet;function rk(t){return e=>{"Enter"===e.key&&t(e)}}function rS(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function rT(t){return st(t)&&!(nH.x||nH.y)}let rP=new WeakSet;function rA(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&tF.postRender(()=>s(e,se(e)))}let rE=new WeakMap,rM=new WeakMap,rC=t=>{let e=rE.get(t.target);e&&e(t)},rj=t=>{t.forEach(rC)},rR={some:0,all:1},rD=function(t,e){if("u"<typeof Proxy)return iE;let i=new Map,n=(i,n)=>iE(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,iE(r,void 0,t,e)),i.get(r))})}({animation:{Feature:class extends iM{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nL(t,e,i)));else if("string"==typeof e)n=nL(t,e,i);else{let s="function"==typeof e?iC(t,e,i.custom):e;n=Promise.all(nV(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=n_(),n=!0,s=!1,r=e=>(i,n)=>{let s=iC(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function a(a){let{props:o}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<nO;t++){let n=ex[t],s=e.props[n];(ey(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},h=[],u=new Set,d={},c=1/0;for(let e=0;e<nB;e++){var p,m;let f=nI[e],g=i[f],y=void 0!==o[f]?o[f]:l[f],v=ey(y),x=f===a?g.isActive:null;!1===x&&(c=e);let b=y===l[f]&&y!==o[f]&&v;if(b&&(n||s)&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...d},!g.isActive&&null===x||!y&&!g.prevProp||eg(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!nF(m,p)),k=w||f===a&&g.isActive&&!b&&v||e>c&&v,S=!1,T=Array.isArray(y)?y:[y],P=T.reduce(r(f),{});!1===x&&(P={});let{prevResolvedValues:A={}}=g,E={...A,...P},M=e=>{k=!0,u.has(e)&&(S=!0,u.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
3i&&(i.liveStyle=!1)};for(let t in E){let e=P[t],i=A[t];if(!d.hasOwnProperty(t))(iD(e)&&iD(i)?nF(e,i):e===i)?void 0!==e&&u.has(t)?M(t):g.protectedKeys[t]=!0:null!=e?M(t):u.add(t)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(d={...d,...P}),(n||s)&&t.blockInitialAnimation&&(k=!1);let C=b&&w,j=!C||S;k&&j&&h.push(...T.map(e=>{let i={type:f};if("string"==typeof e&&(n||s)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=iC(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=nz(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=iC(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),h.push({animation:e})}let f=!!h.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,s=!1,f?e(h):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=a(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=n_(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eg(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iM{constructor(){super(...arguments),this.id=nU++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let i=iC(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
3e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends iM{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:rR[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;rM.has(i)||rM.set(i,{});let n=rM.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(rj,{root:t,...e})),n[s]}(o),rE.set(t,l),e.observe(t),()=>{rE.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iM{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,r]=rv(t,i),a=t=>{let n=t.currentTarget;if(!rT(t)||rP.has(t))return;rw.add(n),i.stopPropagation&&rP.add(t);let r=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),rw.has(n)&&rw.delete(n),rT(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||rb(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",l,s)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,s),c(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=rk(()=>{if(rw.has(i))return;rS(i,"down");let t=rk(()=>{rS(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>rS(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),n7.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(rA(this.node,e,"Start"),(t,{success:e})=>rA(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iM{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iL(n$(this.node.current,"focus",()=>this.onFocus()),n$(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iM{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=rv(t,i);return n.forEach(t=>{let i,n=!1,r=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},o=t=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),r&&(r=!1,a(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nH.x||nH.y)return;r=!1;let a=e(t,n);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",o,s)},s)}),r}(t,(t,e)=>(rx(this.node,e,"Start"),t=>rx(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iM{constructor(){super(...arguments),this.removePointerDownListener=tV}onPointerDown(t){this.session=new sa(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sn(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:sx(t),onStart:sx(e),onMove:sx(i),onEnd:(t,e)=>{delete this.session,n&&tF.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=si(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iM{constructor(t){super(t),this.removeGroupControls=tV,this.removeListeners=tV,this.controls=new sg(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tV}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:ry,MeasureLayout:sT},layout:{ProjectionNode:ry,MeasureLayout:sT}},(t,e)=>e.isSVG??is(t)?new eZ(e):new ie(e,{allowProjection:t!==a.Fragment}));function rV(){eS.current||eP();let[t]=(0,a.useState)(ek.current);return t}t.s(["motion",()=>rD],46932),t.s(["useReducedMotion",()=>rV],72328)},63840,t=>{"use strict";t.s(["default",0,{hu:{nav:{home:"Kezdőlap",howItWorks:"Hogyan működik?",about:"Rólunk",faq:"GYIK",join:"Letöltés",langSwitch:"EN"},hero:{overline:"Közösségi gyerekfelügyelet",headline:"Bébiszitter helyett közösség. Anyukák felváltva vigyáznak egymás gyerekeire.",body:"Jól jönne a segítség a gyerekekkel, de nem elérhető a család? A barátoktól kényelmetlen szívességet kérni, a bébiszitter meg sokba kerül?",cta:"Töltsd le az appot →"},painPoints:{intro:"A közösségi gyerekfelügyelet segít a probléma megoldásában.",headline:"Vágysz egy kis énidőre?",questions:["Dolgoznál heti pár órát?","Hiányoznak a randiestek?","Probléma a nyári szünet?"],body:"Közösségünkben az anyukák felváltva vigyáznak egymás gyerekeire, így a gyerekek egymás társaságában játszanak, az anyukák pedig kölcsönösen felszabadítják egymást."},whatIs:{overline:"Mi az a közösségi gyerekfelügyelet?",body1:"Kisgyermekes szülőknek sokszor jól fogna, ha a gyereküket rábízhatnák valakire, akiben megbíznak. Napjainkban a fiatal szülők gyakran távol élnek a tágabb családtól, így kevés a segítség. Barátokat néha meg lehet kérni, de nem merünk visszaélni a szívességgel. A bébiszitter pedig költséges és időbe telik megtalálni a megfelelő személyt.",body2:"A közösségi gyerekfelügyelet nem más, mint kölcsönösségi elven alapuló bébiszitterkedés. Anyukák párokba vagy csoportokba tömörülnek és felváltva vigyáznak egymás gyerekeire.",pullQuote:"Egy barter együttműködés. Egy bizalmi, önsegítő kör."},howItWorks:{overline:"Hogyan működik a Mamasitter app?",intro:"A Mamasitter app segít a szervezésben, és összeköti a környékbeli anyukákat, családokat.",steps:["A közösség tagjai Mamasitter profilt hoznak létre, mely alapján megtalálják a számukra legmegfelelőbb párt és csoportot.","A Mamasitter útmutatói alapján a párok és csoportok összeismerkednek és lépésről lépésre elkezdik a közösségi bébiszitterkedést.","A Mamasitter pontrendszer biztosítja a terhek egyenlő eloszlását. Minden általad biztosított gyerekfelügyeletért pontot kapsz, amit a közösségen belül bárkinél be tudsz váltani."],link:"Tudj meg többet a működésről →"},whoIsItFor:{headline:"Kinek szól a Mamasitter?",body1:"A rendszer elsősorban azoknak az 1-2 gyermekes anyukáknak működik a legjobban, akik havi néhány óra segítséget keresnek, és ezt viszonozni is tudják.",body2:"Természetesen a Mamasitter közösség minden édesanyát szívesen lát, a nagycsaládosokat is, fontos azonban tudni, hogy a biztonság érdekében egy anyuka egyszerre legfeljebb 3 gyermekre vigyázhat. Életkori határ nincs, de a rendszer jellemzően a 6 hónapos kortól a kisiskolás korig tartó időszakban nyújtja a legnagyobb segítséget."},objection:{headline:"Jól hangzik, de nem tudom nekem való-e...",intro:"Teljesen érthető. Egyrészről jól jönne a segítség, másrészről nehéz a legféltettebb kincsedet rábízni valaki másra.",fears:[{fear:"„Hogy hagyjam ott egy idegennel?”",answer:"Addigra, amikor rábízod, már nem lesz idegen. Játszótéren találkoztatok, egymás otthonában jártatok, egy rövid próbát tesztek. Te döntöd el, mikor érzed, hogy rábízod, nem mi vagy az algoritmus"},{fear:"„Nélkülem sosem alszik el”",answer:"A cserék nagy része napközbeni néhány óra, nem alvás. Addig nem is kell eljutni, ha nem akartok. Ha mégis egyszer mégis eljön az az ideje: a gyerekek alvási szokásai általában rugalmasabbak, mint gondolnánk. Sokszor az anyának nehezebb ez, mint a gyereknek."},{fear:"„Túl pici még ehhez”",answer:"A legkisebbeknél a csere nem feltétlenül azt jelenti, hogy elmész mellőlle. Lehet alvásidőben, egy babakocsis séta erejéig, amikor a baba úgysem igényel aktív figyelmet. Lehet, hogy te is ott vagy, csak nem neked kell aktívan figyelni, sokszor ez is óriási segítség."},{fear:"„Egy gyerekkel is alig bírok”",answer:"Meglepő, de két gyerekkel néha könnyebb, mint eggyel. Lekötik egymást, játszanak, magukba feledkeznek, míg egyedül a gyerek sokkal hamarabb unatkozik és keresi az anya figyelmét. A közös játék a gyerekeknek is élmény."}
3],closing:"Tegyél egy próbát, csatlakozz hozzánk, és hallgass a megérzéseidre!",closingBody:"Nincs az a szűrő vagy algoritmus, ami az anyai ösztönt felül tudná múlni. Hozzád hasonló szuper anyukákkal teremthetsz egy támogató közeget, ahol a gyermeked új barátokra lel."},cta:{headline:"Csatlakozz a közösséghez.",body:"Töltsd le a Mamasitter appot, és találd meg a környékbeli anyukákat, akikre számíthatsz.",button:"Töltsd le az appot →"},footer:{social:{instagram:"https://www.instagram.com/mama.sitter/",facebook:"https://www.facebook.com/mamasitterclub"},email:"[email protected]",legal:["Adatvédelem","ÁSZF"]}},en:{nav:{home:"Home",howItWorks:"How it works",about:"About",faq:"FAQ",join:"Download",langSwitch:"HU"},hero:{overline:"Community childcare",headline:"A community alternative to babysitters. Moms take turns watching each other’s kids.",body:"Need some help with the kids, but your close family is not available? Asking friends for favours can get awkward, and professional babysitters are expensive?",cta:"Download the app →"},painPoints:{intro:"The babysitting exchange helps you find a free solution to the problem.",headline:"You could use some me-time?",questions:["Want to work a few hours?","Missing date nights?","Summer break a problem?"],body:"In our community, the mothers take turns watching each other’s children. This way the kids get a playdate and moms get some well-deserved free time."},whatIs:{overline:"What is a babysitting exchange?",body1:"Parents with young children would often wish they could leave their kids with someone they trust. Nowadays, it’s common for young parents to live far away from their extended family, which can make finding help a daunting task. Asking friends for help with childcare can be a solution, but after a few times, it gets uncomfortable. Finding the right babysitter can be time-consuming and expensive.",body2:"A babysitting exchange is a mutually beneficial arrangement where mothers come together in pairs or groups to take turns caring for each other’s children. Instead of paying for a babysitter with money, they use their time and expertise to help one another out.",pullQuote:"A barter cooperation. A self-help circle built on trust."},howItWorks:{overline:"How does the Mamasitter platform work?",intro:"The Mamasitter app helps with organizing and connects moms and families in your area.",steps:["When joining, members create a Mamasitter profile and find the most suitable matches within the community.","With the guidance of the platform members and groups get to know each other step-by-step, build trust and start babysitting.","Members earn points for every childcare session they provide and they can use them with any community member, ensuring fairness and balance."],link:"Learn more about how it works →"},whoIsItFor:{headline:"Who is it for?",body1:"Mamasitter works best for moms with 1 or 2 little ones, who need a few hours of helping hand with childcare each month and also have the time to return the service.",body2:"Mamasitter welcomes all moms, even those with more than 2 children. However, each mom can only watch a maximum of 3 kids at once. While there’s no age limit, we’ve found that help is most needed with babies over 6 months through elementary school age."},objection:{headline:"Sounds nice, but I’m just not sure if it’s for me...",intro:"It’s totally understandable. On one hand, you could really use the help. On the other, it’s hard to entrust your most precious treasure to someone else.",fears:[{fear:"“How can I leave my child with a stranger?”",answer:"By the time you actually leave your child with them, they won’t be a stranger anymore. You’ll have met at the playground, visited each other’s homes, done a short trial run. You decide when it feels right, not us, not an algorithm."},{fear:"“My child never falls asleep without me”",answer:"Most swaps are just a few daytime hours, no sleeping involved. You don’t ever have to get to that point if you don’t want to. And if the time does come: kids’ sleep habits are usually more flexible than we think. Often it’s harder on the mom than on the child."},{fear:"“My child is too young for this”",answer:"With the littlest ones, a swap doesn’t necessarily mean you leave. It could be during nap time, a stroller walk, or a moment when the baby doesn’t need active attention. Sometimes you’re right there too, you just don’t have to be the one actively watching. Even that can be a huge relief."},{fear:"“I can barely handle my own kid”",answer:"Surprising but true: two kids can actually be easier than one. They keep each other busy, play together, get lost in their own world, while a single child gets bored faster and looks to you for entertainment. Playing together is genuinely fun for them too."}],closing:"Give it a try, join us, and trust your gut!",closingBody:"No filter or algorithm can outdo a mother’s instincts. Together with other amazing moms like you, you can build a supportive circle where your child makes new friends."},cta:{headline:"Join the community.",body:"Download the Mamasitter app and find the moms near you that you can count on.",button:"Download the app →"},footer:{social:{instagram:"https://www.instagram.com/mama.sitter/",facebook:"https://www.facebook.com/mamasitterclub"},email:"[email protected]",legal:["Privacy Policy","Terms"]}}}])},80981,t=>{"use strict";let e={home:{hu:"/",en:"/en"},about:{hu:"/rolunk",en:"/en/about"},howItWorks:{hu:"/hogyan-mukodik",en:"/en/how-it-works"},faq:{hu:"/gyik",en:"/en/faq"},join:{hu:"/csatlakozz",en:"/en/join"},ambassador:{hu:"/nagykovetek",en:"/en/ambassador"}},i={"nyilj-meg":"opening-up","ha-nem-stimmel":"how-to-say-no","elenged-es":"letting-go","belso-kor":"inner-circle","csere-gyakorlata":"swapping-practice","vigyazo-anya":"caregiver-guide"},n=Object.fromEntries(Object.entries(i).map(([t,e])=>[e,t]));function s(t,e){if("en"===e){let e=i[t]??t;return`/en/guides/${e}`}return`/utmutatok/${t}`}function r(t,i){for(let n of Object.keys(e)){let s=e[n].hu,r=e[n].en;if(t===s||t===r)return e[n][i]}let r=t.match(/^\/utmutatok\/(.+)$/);if(r){let e=r[1];return"en"===i?s(e,"en"):t}let a=t.match(/^\/en\/guides\/(.+)$/);if(a){var o;let e=n[o=a[1]]??o;return"hu"===i?`/utmutatok/${e}`:t}return e.home[i]}Object.keys(i),Object.values(i),t.s(["alternateRoute",()=>r,"guideRoute",()=>s,"routeMap",0,e])},43682,t=>{"use strict";t.s(["APP_STORE_URL",0,"https://apps.apple.com/app/id6774524128","DOWNLOAD_URL",0,"/app","PLAY_STORE_URL",0,"https://play.google.com/store/apps/details?id=hu.mamasitter.app"])},75679,t=>{"use strict";var e=t.i(669),i=t.i(87431);function n(t,e){window.gtag&&window.gtag("event",t,e)}let s={app_download:"Lead",cta_click:"Lead"},r={app_download:"Download",cta_click:"ClickButton"};function a(t,a){n(t,a);let o=s[t];o&&(0,e.trackMetaEvent)(o,a);let l=r[t];l&&(0,i.trackTikTokEvent)(l,a)}t.s(["trackConversion",()=>a,"trackEvent",()=>n])},3265,t=>{"use strict";var e=t.i(43476),i=t.i(71645),n=t.i(57688),s=t.i(22016),r=t.i(18566);t.i(47167);var a=t.i(31178),o=t.i(47414),l=t.i(74008),h=t.i(21476),u=t.i(72846),d=i,c=t.i(37806);function p(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class m extends d.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,u.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,
3i=(0,u.isHTMLElement)(t)&&t.offsetWidth||0,n=(0,u.isHTMLElement)(t)&&t.offsetHeight||0,s=getComputedStyle(e),r=this.props.sizeRef.current;r.height=parseFloat(s.height),r.width=parseFloat(s.width),r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left,r.bottom=n-r.height-r.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:t,isPresent:n,anchorX:s,anchorY:r,root:a,pop:o}){let l=(0,d.useId)(),h=(0,d.useRef)(null),u=(0,d.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,d.useContext)(c.MotionConfigContext),g=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=p(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():p(t[e],null)}}}}(...t),t)}(h,t.props?.ref??t?.ref);return(0,d.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:d,right:c,bottom:p}=u.current;if(n||!1===o||!h.current||!t||!e)return;let m="left"===s?`left: ${d}`:`right: ${c}`,g="bottom"===r?`bottom: ${p}`:`top: ${i}`;h.current.dataset.motionPopId=l;let y=document.createElement("style");f&&(y.nonce=f);let v=a??document.head;return v.appendChild(y),y.sheet&&y.sheet.insertRule(`
4          [data-motion-pop-id="${l}"] {
5            position: absolute !important;
6            width: ${t}px !important;
7            height: ${e}px !important;
8            ${m}px !important;
9            ${g}px !important;
10          }
11        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[n]),(0,e.jsx)(m,{isPresent:n,childRef:h,sizeRef:u,pop:o,children:!1===o?t:d.cloneElement(t,{ref:g})})}let g=({children:t,initial:n,isPresent:s,onExitComplete:r,custom:a,presenceAffectsLayout:l,mode:u,anchorX:d,anchorY:c,root:p})=>{let m=(0,o.useConstant)(y),g=(0,i.useId)(),v=!0,x=(0,i.useMemo)(()=>(v=!1,{id:g,initial:n,isPresent:s,custom:a,onExitComplete:t=>
11{for(let e of(m.set(t,!0),m.values()))if(!e)return;r&&r()},register:t=>(m.set(t,!1),()=>m.delete(t))}),[s,m,r]);return l&&v&&(x={...x}),(0,i.useMemo)(()=>{m.forEach((t,e)=>m.set(e,!1))},[s]),i.useEffect(()=>{s||m.size||!r||r()},[s]),t=(0,e.jsx)(f,{pop:"popLayout"===u,isPresent:s,anchorX:d,anchorY:c,root:p,children:t}),(0,e.jsx)(h.PresenceContext.Provider,{value:x,children:t})};function y(){return new Map}var v=t.i(64978);let x=t=>t.key||"";function b(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}let w=({children:t,custom:n,initial:s=!0,onExitComplete:r,presenceAffectsLayout:h=!0,mode:u="sync",propagate:d=!1,anchorX:c="left",anchorY:p="top",root:m})=>{let[f,y]=(0,v.usePresence)(d),w=(0,i.useMemo)(()=>b(t),[t]),k=d&&!f?[]:w.map(x),S=(0,i.useRef)(!0),T=(0,i.useRef)(w),P=(0,o.useConstant)(()=>new Map),A=(0,i.useRef)(new Set),[E,M]=(0,i.useState)(w),[C,j]=(0,i.useState)(w);(0,l.useIsomorphicLayoutEffect)(()=>{S.current=!1,T.current=w;for(let t=0;t<C.length;t++){let e=x(C[t]);k.includes(e)?(P.delete(e),A.current.delete(e)):!0!==P.get(e)&&P.set(e,!1)}},[C,k.length,k.join("-")]);let R=[];if(w!==E){let t=[...w];for(let e=0;e<C.length;e++){let i=C[e],n=x(i);k.includes(n)||(t.splice(e,0,i),R.push(i))}return"wait"===u&&R.length&&(t=R),j(b(t)),M(w),null}let{forceRender:D}=(0,i.useContext)(a.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:C.map(t=>{let i=x(t),a=(!d||!!f)&&(w===C||k.includes(i));return(0,e.jsx)(g,{isPresent:a,initial:(!S.current||!!s)&&void 0,custom:n,presenceAffectsLayout:h,mode:u,root:m,onExitComplete:a?void 0:()=>{if(A.current.has(i)||!P.has(i))return;A.current.add(i),P.set(i,!0);let t=!0;P.forEach(e=>{e||(t=!1)}),t&&(D?.(),j(T.current),d&&y?.(),r&&r())},anchorX:c,anchorY:p,children:t},i)})})};var k=t.i(46932),S=t.i(72328),T=t.i(63840),P=t.i(5466),A=t.i(80981),E=t.i(43682),M=t.i(75679);function C(){let[t,a]=(0,i.useState)(!1),[o,l]=(0,i.useState)(!1),h=(0,r.usePathname)(),u=(0,P.useLang)(),d=T.default[u].nav,c=(0,A.alternateRoute)(h,"hu"===u?"en":"hu"),p=(0,S.useReducedMotion)();(0,i.useEffect)(()=>{let t=()=>l(window.scrollY>10);return t(),window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]);let m=[{label:d.home,href:A.routeMap.home[u]},{label:d.howItWorks,href:A.routeMap.howItWorks[u]},{label:d.about,href:A.routeMap.about[u]},{label:d.faq,href:A.routeMap.faq[u]}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("nav",{className:`sticky top-0 z-50 bg-white/95 backdrop-blur-sm transition-shadow duration-300${o?" shadow-sm":""}`,children:(0,e.jsxs)("div",{className:"max-w-[1200px] mx-auto flex items-center justify-between px-5 py-4 lg:px-20 lg:py-5",children:[(0,e.jsx)(s.default,{href:A.routeMap.home[u],className:"flex-shrink-0",children:(0,e.jsx)(n.default,{src:"/logo.svg",alt:"Mamasitter",width:150,height:44,className:"h-8 w-auto lg:h-10",priority:!0})}),(0,e.jsx)("div",{className:"hidden lg:flex flex-1 items-center justify-center gap-8",children:m.map(t=>{var i;return(0,e.jsx)(s.default,{href:t.href,className:"text-[13px] text-[#6B6560] hover:text-[#1A1D21] transition-colors whitespace-nowrap",style:{fontWeight:("/"===(i=t.href)||"/en"===i?h===i:h.startsWith(i))?700:500},children:t.label},t.href)})}),(0,e.jsxs)("div",{className:"hidden lg:flex items-center gap-5 flex-shrink-0",children:[(0,e.jsx)(s.default,{href:c,className:"text-[13px] font-medium text-[#6B6560] hover:text-[#1A1D21] transition-colors",children:d.langSwitch}),(0,e.jsx)("a",{href:E.DOWNLOAD_URL,onClick:()=>(0,M.trackEvent)("cta_click",{location:"navbar",lang:u}),className:"bg-[#FFA8C5] text-[#1A1D21] text-[13px] font-semibold px-5 py-2 rounded-full hover:bg-[#FFA8C5]/85 hover:scale-[1.02] active:scale-[0.98] transition-all duration-200 whitespace-nowrap",children:d.join})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3 lg:hidden",children:[(0,e.jsx)("a",{href:E.DOWNLOAD_URL,onClick:()=>(0,M.trackEvent)("cta_click",{location:"navbar_mobile",lang:u}),className:"bg-[#FFA8C5] text-[#1A1D21] text-[13px] font-semibold px-4 py-2 rounded-full hover:bg-[#FFA8C5]/85 active:scale-[0.98] transition-all duration-200 whitespace-nowrap",children:d.join}),(0,e.jsx)("button",{onClick:()=>a(!t),"aria-label":"Menu","aria-expanded":t,children:(0,e.jsxs)("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",children:[(0,e.jsx)("rect",{y:"0",width:"22",height:"1.5",rx:"0.75",fill:"#1A1D21"}),(0,e.jsx)("rect",{y:"7",width:"15",height:"1.5",rx:"0.75",fill:"#1A1D21"}),(0,e.jsx)("rect",{y:"14",width:"22",height:"1.5",rx:"0.75",fill:"#1A1D21"})]})})]})]})}),(0,e.jsx)(w,{children:t&&(0,e.jsxs)(k.motion.div,{initial:p?void 0:{opacity:0}
11,animate:p?void 0:{opacity:1},exit:p?void 0:{opacity:0},transition:p?{duration:0}:{duration:.2},className:"lg:hidden fixed inset-0 z-[60] bg-[#FAF8F5] flex flex-col",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between px-5 py-4",children:[(0,e.jsx)(s.default,{href:A.routeMap.home[u],onClick:()=>a(!1),className:"flex-shrink-0",children:(0,e.jsx)(n.default,{src:"/logo.svg",alt:"Mamasitter",width:150,height:44,className:"h-8 w-auto"})}),(0,e.jsx)("button",{onClick:()=>a(!1),"aria-label":"hu"===u?"Bezárás":"Close",className:"text-[28px] font-light text-[#1A1D21] leading-none",children:"✕"})]}),(0,e.jsx)("div",{className:"flex flex-col flex-grow justify-center px-10 gap-2",children:m.map(t=>(0,e.jsx)(s.default,{href:t.href,className:"text-[36px] font-extrabold text-[#1A1D21] tracking-[-1px] py-3",onClick:()=>a(!1),children:t.label},t.href))}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-5 px-10 pb-14",children:[(0,e.jsxs)("div",{className:"flex gap-4",children:[(0,e.jsx)("span",{className:"text-[14px] font-semibold text-[#1A1D21]",children:"hu"===u?"HU":"EN"}),(0,e.jsx)(s.default,{href:c,className:"text-[14px] font-medium text-[#6B6560]",onClick:()=>a(!1),children:d.langSwitch})]}),(0,e.jsxs)("a",{href:E.DOWNLOAD_URL,className:"w-full bg-[#FFA8C5] text-[#1A1D21] text-[16px] font-bold py-4 rounded-full text-center hover:bg-[#FFA8C5]/85 hover:scale-[1.02] active:scale-[0.98] transition-all duration-200",onClick:()=>{(0,M.trackEvent)("cta_click",{location:"navbar_mobile_menu",lang:u}),a(!1)},children:[d.join," →"]})]})]})})]})}t.s(["default",()=>C],3265)},58234,t=>{"use strict";var e=t.i(43476),i=t.i(57688),n=t.i(22016),s=t.i(63840),r=t.i(5466),a=t.i(80981);function o({content:t}={}){let l=(0,r.useLang)(),h=t??s.default[l].footer,u="text-[11px] uppercase font-bold tracking-[0.08em] text-[#1A1D21] mb-4",d="text-[13px] text-[#6B6560] hover:text-[#1A1D21] transition-colors",c="text-[13px] text-[#FFA8C5] font-medium hover:text-[#1A1D21] transition-colors";return(0,e.jsx)("footer",{className:"bg-[#FAF8F5]",children:(0,e.jsxs)("div",{className:"max-w-[1200px] mx-auto px-5 py-8 lg:px-20 lg:py-12",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 gap-10 lg:grid-cols-4 lg:gap-8",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)(n.default,{href:a.routeMap.home[l],children:(0,e.jsx)(i.default,{src:"/logo.svg",alt:"Mamasitter",width:120,height:36,className:"h-7 w-auto mb-4"})}),(0,e.jsx)("p",{className:"text-[13px] text-[#6B6560] leading-relaxed",children:"hu"===l?"Közösségi gyerekfelügyelet":"Community childcare"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:u,children:"hu"===l?"Oldalak":"Pages"}),(0,e.jsxs)("nav",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)(n.default,{href:a.routeMap.home[l],className:d,children:"hu"===l?"Mi a Mamasitter?":"What is Mamasitter?"}),(0,e.jsx)(n.default,{href:a.routeMap.howItWorks[l],className:d,children:"hu"===l?"Hogyan működik?":"How it works"}),(0,e.jsx)(n.default,{href:a.routeMap.about[l],className:d,children:"hu"===l?"Rólunk":"About us"}),(0,e.jsx)(n.default,{href:a.routeMap.faq[l],className:d,children:"hu"===l?"GYIK":"FAQ"}),(0,e.jsx)(n.default,{href:a.routeMap.join[l],className:d,children:"hu"===l?"Csatlakozz":"Join"}),(0,e.jsx)(n.default,{href:a.routeMap.ambassador[l],className:d,children:"hu"===l?"Nagykövet program":"Ambassador program"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:u,children:"hu"===l?"Útmutatók":"Guides"}),(0,e.jsxs)("nav",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)(n.default,{href:(0,a.guideRoute)("nyilj-meg",l),className:d,children:"hu"===l?"1. Válj nyitottá az ötletre":"1. Opening up to the idea"}),(0,e.jsx)(n.default,{href:(0,a.guideRoute)("ha-nem-stimmel",l),className:d,children:"hu"===l?"2. Hogyan mondjunk nemet":"2. How to say no"}),(0,e.jsx)(n.default,{href:(0,a.guideRoute)("elenged-es",l),className:d,children:"hu"===l?"3. Az elengedés és a cserék lélektana":"3. Getting to know each other"}),(0,e.jsx)(n.default,{href:(0,a.guideRoute)("belso-kor",l),className:d,children:"hu"===l?"4. A belső kör":"4. The inner circle"}),(0,e.jsx)(n.default,{href:(0,a.guideRoute)("csere-gyakorlata",l),className:d,children:"hu"===l?"5. A csere gyakorlata":"5. The practice of swapping"}),(0,e.jsx)(n.default,{href:(0,a.guideRoute)("vigyazo-anya",l),className:d,children:"hu"===l?"6. A vigyázó anya útmutatója":"6. The caregiver's guide"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:u,children:"hu"===l?"Kapcsolat":"Contact"}),(0,e.jsxs)("nav",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)("a",{href:h.social.instagram,target:"_blank",rel:"noopener noreferrer",className:c,children:"Instagram"}),(0,e.jsx)("a",{href:h.social.facebook,target:"_blank",rel:"noopener noreferrer",className:c,children:"Facebook"}),(0,e.jsx)("a",{href:`mailto:${h.email}`,className:d,children:h.email})]})]})]}
11),(0,e.jsx)("div",{className:"border-t border-[#E8E2DA] mt-10 pt-5",children:(0,e.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,e.jsxs)("span",{className:"text-[11px] text-[#78716C]",children:["© ",new Date().getFullYear()," Mamasitter"]}),(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsx)(n.default,{href:"/adatvedelem",className:"text-[11px] text-[#78716C] hover:text-[#1A1D21] transition-colors",children:h.legal[0]}),(0,e.jsx)(n.default,{href:"/aszf",className:"text-[11px] text-[#78716C] hover:text-[#1A1D21] transition-colors",children:h.legal[1]}),(0,e.jsx)(n.default,{href:"/felelosseg",className:"text-[11px] text-[#78716C] hover:text-[#1A1D21] transition-colors",children:"hu"===l?"Felelősség":"Disclaimer"}),(0,e.jsx)(n.default,{href:"/fiok-torles",className:"text-[11px] text-[#78716C] hover:text-[#1A1D21] transition-colors",children:"hu"===l?"Fiók törlése":"Account deletion"}),(0,e.jsx)(n.default,{href:"/support",className:"text-[11px] text-[#78716C] hover:text-[#1A1D21] transition-colors",children:"hu"===l?"Segítség":"Support"}),(0,e.jsx)("button",{onClick:()=>window.dispatchEvent(new CustomEvent("open-cookie-settings")),className:"text-[11px] text-[#78716C] hover:text-[#1A1D21] transition-colors",children:"hu"===l?"Cookie beállítások":"Cookie Settings"})]})]})})]})})}t.s(["default",()=>o])}]);

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.