1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[168],{44541:function(t,e,n){var i="Expected a function",r=0/0,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,d=c||h||Function("return this")(),f=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return d.Date.now()};function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||e&&"object"==typeof e&&"[object Symbol]"==f.call(e))return r;if(g(t)){var e,n="function"==typeof t.valueOf?t.valueOf():t;t=g(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var i=a.test(t);return i||l.test(t)?u(t.slice(2),i?2:8):s.test(t)?r:+t}t.exports=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw TypeError(i);return g(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(t,e,n){var r,o,s,a,l,u,c=0,h=!1,d=!1,f=!0;if("function"!=typeof t)throw TypeError(i);function w(e){var n=r,i=o;return r=o=void 0,c=e,a=t.apply(i,n)}function b(t){var n=t-u,i=t-c;return void 0===u||n>=e||n<0||d&&i>=s}function x(){var t,n,i,r=v();if(b(r))return S(r);l=setTimeout(x,(t=r-u,n=r-c,i=e-t,d?m(i,s-n):i))}function S(t){return(l=void 0,f&&r)?w(t):(r=o=void 0,a)}function P(){var t,n=v(),i=b(n);if(r=arguments,o=this,u=n,i){if(void 0===l)return c=t=u,l=setTimeout(x,e),h?w(t):a;if(d)return l=setTimeout(x,e),w(u)}return void 0===l&&(l=setTimeout(x,e)),a}return e=y(e)||0,g(n)&&(h=!!n.leading,s=(d="maxWait"in n)?p(y(n.maxWait)||0,e):s,f="trailing"in n?!!n.trailing:f),P.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=u=o=l=void 0},P.flush=function(){return void 0===l?a:S(v())},P}(t,e,{leading:r,maxWait:e,trailing:o})}},12484:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},66926:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},3894:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},27159:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]])},82310:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]])},48636:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]])},94157:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},15454:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]])},87319:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=(0,n(40195).Z)("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]])},2620:function(t,e,n){"use strict";n.d(e,{default:function(){return r.a}});var i=n(4707),r=n.n(i)},41036:function(t,e,n){"use strict";n.d(e,{default:function(){return r.a}});var i=n(28396),r=n.n(i)},91258:function(t,e){"use strict";function n(){return null}
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}}),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},9268:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return w}});let i=n(90152),r=n(2266),o=n(18824),s=r._(n(34378)),a=i._(n(16056)),l=i._(n(80669)),u=n(17023),c=n(89892),h=n(7778);n(51952);let d=n(48073),f=i._(n(29184)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(t,e,n,i,r,o,s){let a=null==t?void 0:t.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&r(!0),null==n?void 0:n.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let i=!1,r=!1;n.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>i,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{i=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(t)}}))}function v(t){return s.use?{fetchPriority:t}:{fetchpriority:t}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let g=(0,s.forwardRef)((t,e)=>{let{src:n,srcSet:i,sizes:r,height:a,width:l,decoding:u,className:c,style:h,fetchPriority:d,placeholder:f,loading:p,unoptimized:g,fill:y,onLoadRef:w,onLoadingCompleteRef:b,setBlurComplete:x,setShowAltText:S,sizesInput:P,onLoad:E,onError:T,...M}=t;return(0,o.jsx)("img",{...M,...v(d),loading:p,width:l,height:a,decoding:u,"data-nimg":y?"fill":"1",className:c,style:h,sizes:r,srcSet:i,src:n,ref:(0,s.useCallback)(t=>{e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(T&&(t.src=t.src),t.complete&&m(t,f,w,b,x,g,P))},[n,f,w,b,x,T,g,P,e]),onLoad:t=>{m(t.currentTarget,f,w,b,x,g,P)},onError:t=>{S(!0),"empty"!==f&&x(!0),T&&T(t)}})});function y(t){let{isAppRouter:e,imgAttributes:n}=t,i={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...v(n.fetchPriority)};return e&&a.default.preload?(a.default.preload(n.src,i),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...i},"__nimg-"+n.src+n.srcSet+n.sizes)})}let w=(0,s.forwardRef)((t,e)=>{let n=(0,s.useContext)(d.RouterContext),i=(0,s.useContext)(h.ImageConfigContext),r=(0,s.useMemo)(()=>{var t;let e=p||i||c.imageConfigDefault,n=[...e.deviceSizes,...e.imageSizes].sort((t,e)=>t-e),r=e.deviceSizes.sort((t,e)=>t-e),o=null==(t=e.qualities)?void 0:t.sort((t,e)=>t-e);return{...e,allSizes:n,deviceSizes:r,qualities:o}},[i]),{onLoad:a,onLoadingComplete:l}=t,m=(0,s.useRef)(a);(0,s.useEffect)(()=>{m.current=a},[a]);let v=(0,s.useRef)(l);(0,s.useEffect)(()=>{v.current=l},[l]);let[w,b]=(0,s.useState)(!1),[x,S]=(0,s.useState)(!1),{props:P,meta:E}=(0,u.getImgProps)(t,{defaultLoader:f.default,imgConf:r,blurComplete:w,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...P,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:m,onLoadingCompleteRef:v,setBlurComplete:b,setShowAltText:S,sizesInput:t.sizes,ref:e}),E.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:P}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},99092:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return i}});let i=n(90152)._(n(34378)).default.createContext({})},68767:function(t,e){"use strict";function n(t){let{ampFirst:e=!1,hybrid:n=!1,hasQuery:i=!1}=void 0===t?{}:t;return e||n&&i}
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return n}})},17023:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return a}}),n(51952);let i=n(61375),r=n(89892);function o(t){return void 0!==t.default}function s(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 a(t,e){var n,a;let l,u,c,{src:h,sizes:d,unoptimized:f=!1,priority:p=!1,loading:m,className:v,quality:g,width:y,height:w,fill:b=!1,style:x,overrideSrc:S,onLoad:P,onLoadingComplete:E,placeholder:T="empty",blurDataURL:M,fetchPriority:C,decoding:k="async",layout:A,objectFit:O,objectPosition:R,lazyBoundary:j,lazyRoot:L,...D}=t,{imgConf:V,showAltText:_,blurComplete:B,defaultLoader:W}=e,z=V||r.imageConfigDefault;if("allSizes"in z)l=z;else{let t=[...z.deviceSizes,...z.imageSizes].sort((t,e)=>t-e),e=z.deviceSizes.sort((t,e)=>t-e),i=null==(n=z.qualities)?void 0:n.sort((t,e)=>t-e);l={...z,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===W)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let I=D.loader||W;delete D.loader,delete D.srcSet;let F="__next_img_default"in I;if(F){if("custom"===l.loader)throw Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let t=I;I=e=>{let{config:n,...i}=e;return t(i)}}if(A){"fill"===A&&(b=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];t&&(x={...x,...t});let e={responsive:"100vw",fill:"100vw"}[A];e&&!d&&(d=e)}let H="",N=s(y),U=s(w);if("object"==typeof(a=h)&&(o(a)||void 0!==a.src)){let t=o(h)?h.default:h;if(!t.src)throw 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(t));if(!t.height||!t.width)throw 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(t));if(u=t.blurWidth,c=t.blurHeight,M=M||t.blurDataURL,H=t.src,!b){if(N||U){if(N&&!U){let e=N/t.width;U=Math.round(t.height*e)}else if(!N&&U){let e=U/t.height;N=Math.round(t.width*e)}}else N=t.width,U=t.height}}let $=!p&&("lazy"===m||void 0===m);(!(h="string"==typeof h?h:H)||h.startsWith("data:")||h.startsWith("blob:"))&&(f=!0,$=!1),l.unoptimized&&(f=!0),F&&h.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(f=!0),p&&(C="high");let X=s(g),Z=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:R}:{},_?{}:{color:"transparent"},x),Y=B||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:N,heightInt:U,blurWidth:u,blurHeight:c,blurDataURL:M||"",objectFit:Z.objectFit})+'")':'url("'+T+'")',q=Y?{backgroundSize:Z.objectFit||"cover",backgroundPosition:Z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},G=function(t){let{config:e,src:n,unoptimized:i,width:r,quality:o,sizes:s,loader:a}=t;if(i)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,n){let{deviceSizes:i,allSizes:r}=t;if(n){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let i;i=t.exec(n);i)e.push(parseInt(i[2]));if(e.length){let t=.01*Math.min(...e);return{widths:r.filter(e=>e>=i[0]*t),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof e?{widths:i,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>r.find(e=>e>=t)||r[r.length-1]))],kind:"x"}}(e,r,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((t,i)=>a({config:e,src:n,quality:o,width:t})+" "+("w"===u?t:i+1)+u).join(", "),src:a({config:e,src:n,quality:o,width:l[c]})}}({config:l,src:h,unoptimized:f,width:N,quality:X,sizes:d,loader:I});return{props:{...D,loading:$?"lazy":m,fetchPriority:C,width:N,height:U,decoding:k,className:v,style:{...Z,...q},sizes:G.sizes,srcSet:G.srcSet,src:S||G.src},meta:{unoptimized:f,priority:p,placeholder:T,fill:b}}}},80669:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return m},defaultHead:function(){return h}});let i=n(90152),r=n(2266),o=n(18824),s=r._(n(34378)),a=i._(n(35379)),l=n(99092),u=n(84750),c=n(68767);function h(t){void 0===t&&(t=!1);let e=[(0,o.jsx)("meta",{charSet:"utf-8"})];return t||e.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),e}function d(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===s.default.Fragment?t.concat(s.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}n(51952);let f=["name","httpEquiv","charSet","itemProp"];function p(t,e){let{inAmpMode:n}=e;return t.reduce(d,[]).reverse().concat(h(n).reverse()).filter(function(){let t=new Set,e=new Set,n=new Set,i={};return r=>{let o=!0,s=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){s=!0;let e=r.key.slice(r.key.indexOf("$")+1);t.has(e)?o=!1:t.add(e)}switch(r.type){case"title":case"base":e.has(r.type)?o=!1:e.add(r.type);break;case"meta":for(let t=0,e=f.length;t<e;t++){let e=f[t];if(r.props.hasOwnProperty(e)){if("charSet"===e)n.has(e)?o=!1:n.add(e);else{let t=r.props[e],n=i[e]||new Set;("name"!==e||!s)&&n.has(t)?o=!1:(n.add(t),i[e]=n)}}}}return o}}()).reverse().map((t,e)=>{let i=t.key||e;if(!n&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(e=>t.props.href.startsWith(e))){let e={...t.props||{}};return e["data-href"]=e.href,e.href=void 0,e["data-optimized-fonts"]=!0,s.default.cloneElement(t,e)}return s.default.cloneElement(t,{key:i})})}let m=function(t){let{children:e}=t,n=(0,s.useContext)(l.AmpStateContext),i=(0,s.useContext)(u.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:p,headManager:i,inAmpMode:(0,c.isInAmpMode)(n),children:e})};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},61375:function(t,e){"use strict";function n(t){let{widthInt:e,heightInt:n,blurWidth:i,blurHeight:r,blurDataURL:o,objectFit:s}=t,a=i?40*i:e,l=r?40*r:n,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%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='"+(u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},7778:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let i=n(90152)._(n(34378)),r=n(89892),o=i.default.createContext(r.imageConfigDefault)},89892:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return i}});let n=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},4707:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return l},getImageProps:function(){return a}});let i=n(90152),r=n(17023),o=n(9268),s=i._(n(29184));function a(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,n]of Object.entries(e))void 0===n&&delete e[t];return{props:e}}let l=o.Image},29184:function(t,e){"use strict";function n(t){var e;let{config:n,src:i,width:r,quality:o}=t,s=o||(null==(e=n.qualities)?void 0:e.reduce((t,e)=>Math.abs(e-75)<Math.abs(t-75)?e:t))||75;return n.path+"?url="+encodeURIComponent(i)+"&w="+r+"&q="+s+"&dpl=dpl_8e6wbJF8QWGcRaTdnrvEhN4NBNxE"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}}),n.__next_img_default=!0;let i=n},35379:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a}});let i=n(34378),r="undefined"==typeof window,o=r?()=>{}:i.useLayoutEffect,s=r?()=>{}:i.useEffect;function a(t){let{headManager:e,reduceComponentsToState:n}=t;function a(){if(e&&e.mountedInstances){let r=i.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(n(r,t))}}if(r){var l;null==e||null==(l=e.mountedInstances)||l.add(t.children),a()}return o(()=>{var n;return null==e||null==(n=e.mountedInstances)||n.add(t.children),()=>{var n;null==e||null==(n=e.mountedInstances)||n.delete(t.children)}}),o(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),s(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},82087:function(t,e,n){"use strict";var i=n(94072);function r(){}function o(){}o.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,o,s){if(s!==i){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},83513:function(t,e,n){t.exports=n(82087)()},94072:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76156:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=s(n(34378)),o=s(n(74348));function s(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(){return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"render",value:function(){return r.default.createElement("button",this.props,this.props.children)}}]),e}(r.default.Component);e.default=(0,o.default)(a)},16688:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=l(n(34378)),s=l(n(73635)),a=l(n(83513));function l(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(){return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"render",value:function(){var t=this,e=i({},this.props);return delete e.name,e.parentBindings&&delete e.parentBindings,o.default.createElement("div",i({}
1,e,{ref:function(e){t.props.parentBindings.domNode=e}}),this.props.children)}}]),e}(o.default.Component);u.propTypes={name:a.default.string,id:a.default.string},e.default=(0,s.default)(u)},41103:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(n(34378)),r=o(n(74348));function o(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}var a=function(t){function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e);for(var t,n,r,o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=r=s(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),r.render=function(){return i.default.createElement("a",r.props,r.props.children)},s(r,n)}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default.Component);e.default=(0,r.default)(a)},5371:function(t,e,n){"use strict";e.rU=void 0;var i=f(n(41103)),r=f(n(76156)),o=f(n(16688)),s=f(n(30906)),a=f(n(26229)),l=f(n(45666)),u=f(n(35130)),c=f(n(74348)),h=f(n(73635)),d=f(n(36200));function f(t){return t&&t.__esModule?t:{default:t}}e.rU=i.default,r.default,o.default,s.default,a.default,l.default,u.default,c.default,h.default,d.default,i.default,r.default,o.default,s.default,a.default,l.default,u.default,c.default,h.default,d.default},36200:function(t,e,n){"use strict";var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function o(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}function a(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=n(34378);n(16056),n(39527);var u=n(45666),c=n(30906),h=n(83513),d=n(60083),f={to:h.string.isRequired,containerId:h.string,container:h.object,activeClass:h.string,spy:h.bool,smooth:h.oneOfType([h.bool,h.string]),offset:h.number,delay:h.number,isDynamic:h.bool,onClick:h.func,duration:h.oneOfType([h.number,h.func]),absolute:h.bool,onSetActive:h.func,onSetInactive:h.func,ignoreCancelEvents:h.bool,hashSpy:h.bool,spyThrottle:h.number};t.exports={Scroll:function(t,e){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=e||c,h=function(e){function c(t){o(this,c);var e=s(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,t));return p.call(e),e.state={active:!1},e}return a(c,e),r(c,[{key:"getScrollSpyContainer",value:function(){var t=this.props.containerId,e=this.props.container;return t?document.getElementById(t):e&&e.nodeType?e:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var t=this.getScrollSpyContainer();u.isMounted(t)||u.mount(t,this.props.spyThrottle),this.props.hashSpy&&(d.isMounted()||d.mount(n),d.mapContainer(this.props.to,t)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,t),this.setState({container:t})}}},{key:"componentWillUnmount",value:function(){u.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var e="";e=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=i({},this.props);for(var r in f)n.hasOwnProperty(r)&&delete n[r];return n.className=e,n.onClick=this.handleClick,l.createElement(t,n)}}]),c}(l.Component),p=function(){var t=this;this.scrollTo=function(e,r){n.scrollTo(e,i({},t.state,r))},this.handleClick=function(e){t.props.onClick&&t.props.onClick(e),e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),t.scrollTo(t.props.to,t.props)},this.stateHandler=function(){n.getActiveLink()!==t.props.to&&(null!==t.state&&t.state.active&&t.props.onSetInactive&&t.props.onSetInactive(),t.setState({active:!1}))},this.spyHandler=function(e){var i=t.getScrollSpyContainer();if(!d.isMounted()||d.isInitialized()){var r=t.props.to,o=null,s=0,a=0,l=0;if(i.getBoundingClientRect&&(l=i.getBoundingClientRect().top),!o||t.props.isDynamic){if(!(o=n.get(r)))return;var c=o.getBoundingClientRect();a=(s=c.top-l+e)+c.height}var h=e-t.props.offset,f=h>=Math.floor(s)&&h<Math.floor(a),p=h<Math.floor(s)||h>=Math.floor(a),m=n.getActiveLink();return p?(r===m&&n.setActiveLink(void 0),t.props.hashSpy&&d.getHash()===r&&d.changeHash(),t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive()),u.updateStates()):f&&m!==r?(n.setActiveLink(r),t.props.hashSpy&&d.changeHash(r),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(r)),u.updateStates()):void 0}}};return h.propTypes=f,h.defaultProps={offset:0},h},Element:function(t){console.warn("Helpers.Element is deprecated since v1.7.0");var e=function(e){function n(t){o(this,n);var e=s(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.childBindings={domNode:null},e}
1return a(n,e),r(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(t){c.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(t,i({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return e.propTypes={name:h.string,id:h.string},e}}},35130:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};a(n(39527));var r=a(n(59023)),o=a(n(43947)),s=a(n(26229));function a(t){return t&&t.__esModule?t:{default:t}}var l=function(t){return r.default[t.smooth]||r.default.defaultEasing},u=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(t,e,n){window.setTimeout(t,n||1e3/60,new Date().getTime())},c=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},h=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollLeft;var n=void 0!==window.pageXOffset,i="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:i?document.documentElement.scrollLeft:document.body.scrollLeft},d=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollTop;var n=void 0!==window.pageXOffset,i="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:i?document.documentElement.scrollTop:document.body.scrollTop},f=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollWidth-e.offsetWidth;var n=document.body,i=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,i.clientWidth,i.scrollWidth,i.offsetWidth)},p=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollHeight-e.offsetHeight;var n=document.body,i=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,i.clientHeight,i.scrollHeight,i.offsetHeight)},m=function t(e,n,i){var r=n.data;if(!n.ignoreCancelEvents&&r.cancel){s.default.registered.end&&s.default.registered.end(r.to,r.target,r.currentPositionY);return}if(r.delta=Math.round(r.targetPosition-r.startPosition),null===r.start&&(r.start=i),r.progress=i-r.start,r.percent=r.progress>=r.duration?1:e(r.progress/r.duration),r.currentPosition=r.startPosition+Math.ceil(r.delta*r.percent),r.containerElement&&r.containerElement!==document&&r.containerElement!==document.body?n.horizontal?r.containerElement.scrollLeft=r.currentPosition:r.containerElement.scrollTop=r.currentPosition:n.horizontal?window.scrollTo(r.currentPosition,0):window.scrollTo(0,r.currentPosition),r.percent<1){var o=t.bind(null,e,n);u.call(window,o);return}s.default.registered.end&&s.default.registered.end(r.to,r.target,r.currentPosition)},v=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},g=function(t,e,n,i){if(e.data=e.data||c(),window.clearTimeout(e.data.delayTimeout),o.default.subscribe(function(){e.data.cancel=!0}),v(e),e.data.start=null,e.data.cancel=!1,e.data.startPosition=e.horizontal?h(e):d(e),e.data.targetPosition=e.absolute?t:t+e.data.startPosition,e.data.startPosition===e.data.targetPosition){s.default.registered.end&&s.default.registered.end(e.data.to,e.data.target,e.data.currentPosition);return}e.data.delta=Math.round(e.data.targetPosition-e.data.startPosition),e.data.duration=("function"==typeof(r=e.duration)?r:function(){return r})(e.data.delta),e.data.duration=isNaN(parseFloat(e.data.duration))?1e3:parseFloat(e.data.duration),e.data.to=n,e.data.target=i;var r,a=l(e),f=m.bind(null,a,e);if(e&&e.delay>0){e.data.delayTimeout=window.setTimeout(function(){s.default.registered.begin&&s.default.registered.begin(e.data.to,e.data.target),u.call(window,f)},e.delay);return}s.default.registered.begin&&s.default.registered.begin(e.data.to,e.data.target),u.call(window,f)},y=function(t){return(t=i({}
1,t)).data=t.data||c(),t.absolute=!0,t};e.default={animateTopScroll:g,getAnimationType:l,scrollToTop:function(t){g(0,y(t))},scrollToBottom:function(t){v(t=y(t)),g(t.horizontal?f(t):p(t),t)},scrollTo:function(t,e){g(t,y(e))},scrollMore:function(t,e){v(e=y(e)),g(t+(e.horizontal?h(e):d(e)),e)}}},43947:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2644),r=["mousedown","wheel","touchmove","keydown"];e.default={subscribe:function(t){return"undefined"!=typeof document&&r.forEach(function(e){return(0,i.addPassiveEventListener)(document,e,t)})}}},2644:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addPassiveEventListener=function(t,e,i){var r=i.name;r||(r=e,console.warn("Listener must be a named function.")),n.has(e)||n.set(e,new Set);var o=n.get(e);if(!o.has(r)){var s=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}();t.addEventListener(e,i,!!s&&{passive:!0}),o.add(r)}},e.removePassiveEventListener=function(t,e,i){t.removeEventListener(e,i),n.get(e).delete(i.name||e)};var n=new Map},73635:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=l(n(34378));l(n(16056));var s=l(n(30906)),a=l(n(83513));function l(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=function(e){function n(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);var e=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.childBindings={domNode:null},e}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,e),r(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;s.default.unregister(this.props.name)}},{key:"registerElems",value:function(t){s.default.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return o.default.createElement(t,i({},this.props,{parentBindings:this.childBindings}))}}]),n}(o.default.Component);return e.propTypes={name:a.default.string,id:a.default.string},e}},26229:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(t,e){n.registered[t]=e},remove:function(t){n.registered[t]=null}}};e.default=n},60083:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(2644);var i,r=(i=n(39527))&&i.__esModule?i:{default:i};e.default={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(t){this.scroller=t,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(t,e){this.containers[t]=e},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var t=this,e=this.getHash();e?window.setTimeout(function(){t.scrollTo(e,!0),t.initialized=!0},10):this.initialized=!0},scrollTo:function(t,e){var n=this.scroller;if(n.get(t)&&(e||t!==n.getActiveLink())){var i=this.containers[t]||document;n.scrollTo(t,{container:i})}},getHash:function(){return r.default.getHash()},changeHash:function(t,e){this.isInitialized()&&r.default.getHash()!==t&&r.default.updateHash(t,e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}}},74348:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=c(n(34378)),s=c(n(45666)),a=c(n(30906)),l=c(n(83513)),u=c(n(60083));function c(t){return t&&t.__esModule?t:{default:t}}var h={to:l.default.string.isRequired,containerId:l.default.string,container:l.default.object,activeClass:l.default.string,activeStyle:l.default.object,spy:l.default.bool,horizontal:l.default.bool,smooth:l.default.oneOfType([l.default.bool,l.default.string]),offset:l.default.number,delay:l.default.number,isDynamic:l.default.bool,onClick:l.default.func,duration:l.default.oneOfType([l.default.number,l.default.func]),absolute:l.default.bool,onSetActive:l.default.func,onSetInactive:l.default.func,ignoreCancelEvents:l.default.bool,hashSpy:l.default.bool,saveHashHistory:l.default.bool,spyThrottle:l.default.number};e.default=function(t,e){var n=e||a.default,l=function(e){function a(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);var e=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t));return c.call(e),e.state={active:!1},e.beforeUnmountCallbacks=[],e}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,e),r(a,[{key:"getScrollSpyContainer",value:function(){var t=this.props.containerId,e=this.props.container;return t&&!e?document.getElementById(t):e&&e.nodeType?e:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var t=this.getScrollSpyContainer();if(!s.default.isMounted(t)){var e=s.default.mount(t,this.props.spyThrottle);this.beforeUnmountCallbacks.push(e)}this.props.hashSpy&&(u.default.isMounted()||u.default.mount(n),u.default.mapContainer(this.props.to,t)),s.default.addSpyHandler(this.spyHandler,t),this.setState({container:t})}}},{key:"componentWillUnmount",value:function(){s.default.unmount(this.stateHandler,this.spyHandler),this.beforeUnmountCallbacks.forEach(function(t){return t()})}},{key:"render",value:function(){var e="";e=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?i({},this.props.style,this.props.activeStyle):i({},this.props.style);var r=i({},this.props);for(var s in h)r.hasOwnProperty(s)&&delete r[s];return r.className=e,r.style=n,r.onClick=this.handleClick,o.default.createElement(t,r)}}]),a}(o.default.PureComponent),c=function(){var t=this;this.scrollTo=function(e,r){n.scrollTo(e,i({},t.state,r))},this.handleClick=function(e){t.props.onClick&&t.props.onClick(e),e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),t.scrollTo(t.props.to,t.props)},this.spyHandler=function(e,i){var r=t.getScrollSpyContainer();if(!u.default.isMounted()||u.default.isInitialized()){var o=t.props.horizontal,s=t.props.to,a=null,l=void 0,c=void 0;if(o){var h=0,d=0,f=0;if(r.getBoundingClientRect&&(f=r.getBoundingClientRect().left),!a||t.props.isDynamic){if(!(a=n.get(s)))return;var p=a.getBoundingClientRect();d=(h=p.left-f+e)+p.width}var m=e-t.props.offset;l=m>=Math.floor(h)&&m<Math.floor(d),c=m<Math.floor(h)||m>=Math.floor(d)}else{var v=0,g=0,y=0;if(r.getBoundingClientRect&&(y=r.getBoundingClientRect().top),!a||t.props.isDynamic){if(!(a=n.get(s)))return;var w=a.getBoundingClientRect();g=(v=w.top-y+i)+w.height}var b=i-t.props.offset;l=b>=Math.floor(v)&&b<Math.floor(g),c=b<Math.floor(v)||b>=Math.floor(g)}var x=n.getActiveLink();if(c){if(s===x&&n.setActiveLink(void 0),t.props.hashSpy&&u.default.getHash()===s){var S=t.props.saveHashHistory;u.default.changeHash("",void 0!==S&&S)}t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive(s,a))}
1if(l&&(x!==s||!1===t.state.active)){n.setActiveLink(s);var P=t.props.saveHashHistory;t.props.hashSpy&&u.default.changeHash(s,void 0!==P&&P),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(s,a))}}}};return l.propTypes=h,l.defaultProps={offset:0},l}},45666:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=(i=n(44541))&&i.__esModule?i:{default:i},o=n(2644),s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,r.default)(t,e)},a={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(t,e){if(t){var n=s(function(e){a.scrollHandler(t)},e);return a.scrollSpyContainers.push(t),(0,o.addPassiveEventListener)(t,"scroll",n),function(){(0,o.removePassiveEventListener)(t,"scroll",n),a.scrollSpyContainers.splice(a.scrollSpyContainers.indexOf(t),1)}}return function(){}},isMounted:function(t){return -1!==a.scrollSpyContainers.indexOf(t)},currentPositionX:function(t){if(t!==document)return t.scrollLeft;var e=void 0!==window.scrollY,n="CSS1Compat"===(document.compatMode||"");return e?window.scrollX:n?document.documentElement.scrollLeft:document.body.scrollLeft},currentPositionY:function(t){if(t!==document)return t.scrollTop;var e=void 0!==window.scrollX,n="CSS1Compat"===(document.compatMode||"");return e?window.scrollY:n?document.documentElement.scrollTop:document.body.scrollTop},scrollHandler:function(t){(a.scrollSpyContainers[a.scrollSpyContainers.indexOf(t)].spyCallbacks||[]).forEach(function(e){return e(a.currentPositionX(t),a.currentPositionY(t))})},addStateHandler:function(t){a.spySetState.push(t)},addSpyHandler:function(t,e){var n=a.scrollSpyContainers[a.scrollSpyContainers.indexOf(e)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(t)},updateStates:function(){a.spySetState.forEach(function(t){return t()})},unmount:function(t,e){a.scrollSpyContainers.forEach(function(t){return t.spyCallbacks&&t.spyCallbacks.length&&t.spyCallbacks.indexOf(e)>-1&&t.spyCallbacks.splice(t.spyCallbacks.indexOf(e),1)}),a.spySetState&&a.spySetState.length&&a.spySetState.indexOf(t)>-1&&a.spySetState.splice(a.spySetState.indexOf(t),1),document.removeEventListener("scroll",a.scrollHandler)},update:function(){return a.scrollSpyContainers.forEach(function(t){return a.scrollHandler(t)})}};e.default=a},30906:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=a(n(39527)),o=a(n(35130)),s=a(n(26229));function a(t){return t&&t.__esModule?t:{default:t}}var l={},u=void 0;e.default={unmount:function(){l={}},register:function(t,e){l[t]=e},unregister:function(t){delete l[t]},get:function(t){return l[t]||document.getElementById(t)||document.getElementsByName(t)[0]||document.getElementsByClassName(t)[0]},setActiveLink:function(t){return u=t},getActiveLink:function(){return u},scrollTo:function(t,e){var n=this.get(t);if(!n){console.warn("target Element not found");return}var a=(e=i({},e,{absolute:!1})).containerId,l=e.container,u=void 0;u=a?document.getElementById(a):l&&l.nodeType?l:document,e.absolute=!0;var c=e.horizontal,h=r.default.scrollOffset(u,n,c)+(e.offset||0);if(!e.smooth){s.default.registered.begin&&s.default.registered.begin(t,n),u===document?e.horizontal?window.scrollTo(h,0):window.scrollTo(0,h):u.scrollTop=h,s.default.registered.end&&s.default.registered.end(t,n);return}o.default.animateTopScroll(h,e,t,n)}}},59023:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={defaultEasing:function(t){return t<.5?Math.pow(2*t,2)/2:1-Math.pow((1-t)*2,2)/2},linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}}},39527:function(t,e){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){for(var n=t.offsetTop,i=t.offsetParent;i&&!e(i);)n+=i.offsetTop,i=i.offsetParent;return{offsetTop:n,offsetParent:i}};e.default={updateHash:function(t,e){var n=0===t.indexOf("#")?t.substring(1):t,i=n?"#"+n:"",r=window&&window.location,o=i?r.pathname+r.search+i:r.pathname+r.search;e?history.pushState(history.state,"",o):history.replaceState(history.state,"",o)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(t){return function(e){return t.contains?t!=e&&t.contains(e):!!(16&t.compareDocumentPosition(e))}},scrollOffset:function(t,e,i){if(i)return t===document?e.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(t).position?e.offsetLeft:e.offsetLeft-t.offsetLeft;if(t===document)return e.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(t).position){if(e.offsetParent!==t){var r=n(e,function(e){return e===t||e===document}),o=r.offsetTop;if(r.offsetParent!==t)throw Error("Seems containerElement is not an ancestor of the Element");return o}return e.offsetTop}if(e.offsetParent===t.offsetParent)return e.offsetTop-t.offsetTop;var s=function(t){return t===document};return n(e,s).offsetTop-n(t,s).offsetTop}}},68538:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(34378),r={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};let o=(t,e,n,o)=>{let s=(0,i.forwardRef)((n,s)=>{let{color:a="currentColor",size:l=24,stroke:u=2,title:c,className:h,children:d,...f}=n;return(0,i.createElement)("svg",{ref:s,...r[t],width:l,height:l,className:["tabler-icon","tabler-icon-".concat(e),h].join(" "),..."filled"===t?{fill:a}:{strokeWidth:u,stroke:a},...f},[c&&(0,i.createElement)("title",{key:"svg-title"},c),...o.map(t=>{let[e,n]=t;return(0,i.createElement)(e,n)}),...Array.isArray(d)?d:[d]])});return s.displayName="".concat(n),s}},90854:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","brightness-down","IconBrightnessDown",[["path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M12 5l0 .01",key:"svg-1"}],["path",{d:"M17 7l0 .01",key:"svg-2"}],["path",{d:"M19 12l0 .01",key:"svg-3"}],["path",{d:"M17 17l0 .01",key:"svg-4"}],["path",{d:"M12 19l0 .01",key:"svg-5"}],["path",{d:"M7 17l0 .01",key:"svg-6"}],["path",{d:"M5 12l0 .01",key:"svg-7"}],["path",{d:"M7 7l0 .01",key:"svg-8"}]])},69705:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","brightness-up","IconBrightnessUp",[["path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M12 5l0 -2",key:"svg-1"}],["path",{d:"M17 7l1.4 -1.4",key:"svg-2"}],["path",{d:"M19 12l2 0",key:"svg-3"}],["path",{d:"M17 17l1.4 1.4",key:"svg-4"}],["path",{d:"M12 19l0 2",key:"svg-5"}],["path",{d:"M7 17l-1.4 1.4",key:"svg-6"}],["path",{d:"M6 12l-2 0",key:"svg-7"}],["path",{d:"M7 7l-1.4 -1.4",key:"svg-8"}]])},67780:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("filled","caret-down-filled","IconCaretDownFilled",[["path",{d:"M18 9c.852 0 1.297 .986 .783 1.623l-.076 .084l-6 6a1 1 0 0 1 -1.32 .083l-.094 -.083l-6 -6l-.083 -.094l-.054 -.077l-.054 -.096l-.017 -.036l-.027 -.067l-.032 -.108l-.01 -.053l-.01 -.06l-.004 -.057v-.118l.005 -.058l.009 -.06l.01 -.052l.032 -.108l.027 -.067l.07 -.132l.065 -.09l.073 -.081l.094 -.083l.077 -.054l.096 -.054l.036 -.017l.067 -.027l.108 -.032l.053 -.01l.06 -.01l.057 -.004l12.059 -.002z",key:"svg-0"}]])},80340:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("filled","caret-left-filled","IconCaretLeftFilled",[["path",{d:"M13.883 5.007l.058 -.005h.118l.058 .005l.06 .009l.052 .01l.108 .032l.067 .027l.132 .07l.09 .065l.081 .073l.083 .094l.054 .077l.054 .096l.017 .036l.027 .067l.032 .108l.01 .053l.01 .06l.004 .057l.002 .059v12c0 .852 -.986 1.297 -1.623 .783l-.084 -.076l-6 -6a1 1 0 0 1 -.083 -1.32l.083 -.094l6 -6l.094 -.083l.077 -.054l.096 -.054l.036 -.017l.067 -.027l.108 -.032l.053 -.01l.06 -.01z",key:"svg-0"}]])},65499:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("filled","caret-right-filled","IconCaretRightFilled",[["path",{d:"M9 6c0 -.852 .986 -1.297 1.623 -.783l.084 .076l6 6a1 1 0 0 1 .083 1.32l-.083 .094l-6 6l-.094 .083l-.077 .054l-.096 .054l-.036 .017l-.067 .027l-.108 .032l-.053 .01l-.06 .01l-.057 .004l-.059 .002l-.059 -.002l-.058 -.005l-.06 -.009l-.052 -.01l-.108 -.032l-.067 -.027l-.132 -.07l-.09 -.065l-.081 -.073l-.083 -.094l-.054 -.077l-.054 -.096l-.017 -.036l-.027 -.067l-.032 -.108l-.01 -.053l-.01 -.06l-.004 -.057l-.002 -12.059z",key:"svg-0"}]])},785:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("filled","caret-up-filled","IconCaretUpFilled",[["path",{d:"M11.293 7.293a1 1 0 0 1 1.32 -.083l.094 .083l6 6l.083 .094l.054 .077l.054 .096l.017 .036l.027 .067l.032 .108l.01 .053l.01 .06l.004 .057l.002 .059l-.002 .059l-.005 .058l-.009 .06l-.01 .052l-.032 .108l-.027 .067l-.07 .132l-.065 .09l-.073 .081l-.094 .083l-.077 .054l-.096 .054l-.036 .017l-.067 .027l-.108 .032l-.053 .01l-.06 .01l-.057 .004l-.059 .002h-12c-.852 0 -1.297 -.986 -.783 -1.623l.076 -.084l6 -6z",key:"svg-0"}]])},25006:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","chevron-up","IconChevronUp",[["path",{d:"M6 15l6 -6l6 6",key:"svg-0"}]])},95597:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","command","IconCommand",[["path",{d:"M7 9a2 2 0 1 1 2 -2v10a2 2 0 1 1 -2 -2h10a2 2 0 1 1 -2 2v-10a2 2 0 1 1 2 2h-10",key:"svg-0"}]])},57994:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","microphone","IconMicrophone",[["path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z",key:"svg-0"}],["path",{d:"M5 10a7 7 0 0 0 14 0",key:"svg-1"}],["path",{d:"M8 21l8 0",key:"svg-2"}],["path",{d:"M12 17l0 4",key:"svg-3"}]])},73780:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","moon","IconMoon",[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z",key:"svg-0"}]])},96241:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","player-skip-forward","IconPlayerSkipForward",[["path",{d:"M4 5v14l12 -7z",key:"svg-0"}],["path",{d:"M20 5l0 14",key:"svg-1"}]])},25647:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","player-track-next","IconPlayerTrackNext",[["path",{d:"M3 5v14l8 -7z",key:"svg-0"}],["path",{d:"M14 5v14l8 -7z",key:"svg-1"}]])},52203:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","player-track-prev","IconPlayerTrackPrev",[["path",{d:"M21 5v14l-8 -7z",key:"svg-0"}],["path",{d:"M10 5v14l-8 -7z",key:"svg-1"}]])},55789:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]])},93091:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","table","IconTable",[["path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z",key:"svg-0"}],["path",{d:"M3 10h18",key:"svg-1"}],["path",{d:"M10 3v18",key:"svg-2"}]])},69782:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","volume","IconVolume",[["path",{d:"M15 8a5 5 0 0 1 0 8",key:"svg-0"}],["path",{d:"M17.7 5a9 9 0 0 1 0 14",key:"svg-1"}],["path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5",key:"svg-2"}]])},49753:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","volume-2","IconVolume2",[["path",{d:"M15 8a5 5 0 0 1 0 8",key:"svg-0"}],["path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5",key:"svg-1"}]])},56293:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","volume-3","IconVolume3",[["path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5",key:"svg-0"}
1],["path",{d:"M16 10l4 4m0 -4l-4 4",key:"svg-1"}]])},28013:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=(0,n(68538).Z)("outline","world","IconWorld",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]])},8698:function(t,e,n){"use strict";n.d(e,{A:function(){return l}});var i=n(18824),r=n(34378),o=n(97742),s=n(1926),a=n(35068);function l(t){let{children:e,isValidProp:n,...l}=t;n&&(0,s.K)(n),(l={...(0,r.useContext)(o._),...l}).isStatic=(0,a.h)(()=>l.isStatic);let u=(0,r.useMemo)(()=>l,[JSON.stringify(l.transition),l.transformPagePoint,l.reducedMotion]);return(0,i.jsx)(o._.Provider,{value:u,children:e})}},56877:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var i=n(34378),r=n(38462),o=n(97742),s=n(35068);function a(t){let e=(0,s.h)(()=>(0,r.BX)(t)),{isStatic:n}=(0,i.useContext)(o._);if(n){let[,n]=(0,i.useState)(t);(0,i.useEffect)(()=>e.on("change",n),[])}return e}},52413:function(t,e,n){"use strict";let i,r;n.d(e,{v:function(){return F}});var o=n(38462),s=n(35068),a=n(34378),l=n(14576),u=n(63275),c=n(79822),h=n(89387);function d(t,e){let n;let i=()=>{let{currentTime:i}=e,r=(null===i?0:i.value)/100;n!==r&&t(r),n=r};return h.Wi.update(i,!0),()=>(0,h.Pn)(i)}let f=new WeakMap;function p({target:t,contentRect:e,borderBoxSize:n}){var i;null===(i=f.get(t))||void 0===i||i.forEach(i=>{i({target:t,contentSize:e,get size(){return function(t,e){if(e){let{inlineSize:t,blockSize:n}=e[0];return{width:t,height:n}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,n)}})})}function m(t){t.forEach(p)}let v=new Set;var g=n(54750),y=n(99186);let w=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),b=()=>({time:0,x:w(),y:w()}),x={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function S(t,e,n,i){let r=n[e],{length:o,position:s}=x[e],a=r.current,l=n.time;r.current=t[`scroll${s}`],r.scrollLength=t[`scroll${o}`]-t[`client${o}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,g.Y)(0,r.scrollLength,r.current);let u=i-l;r.velocity=u>50?0:(0,y.R)(r.current-a,u)}let P=[[0,0],[1,1]],E={start:0,center:.5,end:1};function T(t,e,n=0){let i=0;if(t in E&&(t=E[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?i=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?i=e/100*document.documentElement.clientWidth:t.endsWith("vh")?i=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(i=e*t),n+i}let M=[0,0];var C=n(40196),k=n(80378);let A={x:0,y:0},O=new WeakMap,R=new WeakMap,j=new WeakMap,L=t=>t===document.documentElement?window:t;function D(t,{container:e=document.documentElement,...n}={}){let o=j.get(e);o||(o=new Set,j.set(e,o));let s=function(t,e,n,i={}){return{measure:()=>(function(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight})(t,i.target,n),update:e=>{S(t,"x",n,e),S(t,"y",n,e),n.time=e,(i.offset||i.target)&&function(t,e,n){let{offset:i=P}=n,{target:r=t,axis:o="y"}=n,s="y"===o?"height":"width",a=r!==t?function(t,e){let n={x:0,y:0},i=t;for(;i&&i!==e;)if(i instanceof HTMLElement)n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){let t=i.getBoundingClientRect(),e=(i=i.parentElement).getBoundingClientRect();n.x+=t.left-e.left,n.y+=t.top-e.top}else if(i instanceof SVGGraphicsElement){let{x:t,y:e}=i.getBBox();n.x+=t,n.y+=e;let r=null,o=i.parentNode;for(;!r;)"svg"===o.tagName&&(r=o),o=i.parentNode;i=r}else break;return n}(r,t):A,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight}
1,u={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let c=!e[o].interpolate,h=i.length;for(let t=0;t<h;t++){let n=function(t,e,n,i){let r=Array.isArray(t)?t:M,o=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,E[t]?t:"0"]),T(r[0],n,i)-T(r[1],e)}(i[t],u[s],l[s],a[o]);c||n===e[o].interpolatorOffsets[t]||(c=!0),e[o].offset[t]=n}c&&(e[o].interpolate=(0,C.s)(e[o].offset,(0,k.Y)(i)),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=e[o].interpolate(e[o].current)}(t,n,i)},notify:()=>e(n)}}(e,t,b(),n);if(o.add(s),!O.has(e)){let t=()=>{for(let t of o)t.measure()},n=()=>{for(let t of o)t.update(h.frameData.timestamp)},s=()=>{for(let t of o)t.notify()},a=()=>{h.Wi.read(t,!1,!0),h.Wi.read(n,!1,!0),h.Wi.update(s,!1,!0)};O.set(e,a);let l=L(e);window.addEventListener("resize",a,{passive:!0}),e!==document.documentElement&&R.set(e,"function"==typeof e?(v.add(e),r||(r=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};v.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{v.delete(e),!v.size&&r&&(r=void 0)}):function(t,e){i||"undefined"==typeof ResizeObserver||(i=new ResizeObserver(m));let n=(0,u.IG)(t);return n.forEach(t=>{let n=f.get(t);n||(n=new Set,f.set(t,n)),n.add(e),null==i||i.observe(t)}),()=>{n.forEach(t=>{let n=f.get(t);null==n||n.delete(e),(null==n?void 0:n.size)||null==i||i.unobserve(t)})}}(e,a)),l.addEventListener("scroll",a,{passive:!0})}let a=O.get(e);return h.Wi.read(a,!1,!0),()=>{var t;(0,h.Pn)(a);let n=j.get(e);if(!n||(n.delete(s),n.size))return;let i=O.get(e);O.delete(e),i&&(L(e).removeEventListener("scroll",i),null===(t=R.get(e))||void 0===t||t(),window.removeEventListener("resize",i))}}let V=new Map;function _({source:t,container:e=document.documentElement,axis:n="y"}={}){t&&(e=t),V.has(e)||V.set(e,{});let i=V.get(e);return i[n]||(i[n]=(0,u.tn)()?new ScrollTimeline({source:e,axis:n}):function({source:t,container:e,axis:n="y"}){t&&(e=t);let i={value:0},r=D(t=>{i.value=100*t[n].progress},{container:e,axis:n});return{currentTime:i,cancel:r}}({source:e,axis:n})),i[n]}function B(t){return t&&(t.target||t.offset)}var W=n(17284);function z(t,e){(0,l.K)(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let I=()=>({scrollX:(0,o.BX)(0),scrollY:(0,o.BX)(0),scrollXProgress:(0,o.BX)(0),scrollYProgress:(0,o.BX)(0)});function F({container:t,target:e,layoutEffect:n=!0,...i}={}){let r=(0,s.h)(I);return(n?W.L:a.useEffect)(()=>(z("target",e),z("container",t),function(t,{axis:e="y",...n}={}){let i={axis:e,...n};return"function"==typeof t?2===t.length||B(i)?D(e=>{t(e[i.axis].progress,e)},i):d(t,_(i)):function(t,e){if(t.flatten(),B(e))return t.pause(),D(n=>{t.time=t.duration*n[e.axis].progress},e);{let n=_(e);return t.attachTimeline?t.attachTimeline(n,t=>(t.pause(),d(e=>{t.time=t.duration*e},n))):c.Z}}(t,i)}((t,{x:e,y:n})=>{r.scrollX.set(e.current),r.scrollXProgress.set(e.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...i,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0})),[t,e,JSON.stringify(i.offset)]),r}},49857:function(t,e,n){"use strict";n.d(e,{q:function(){return h}});var i=n(34378),r=n(38939),o=n(97742),s=n(17284),a=n(56877),l=n(74856),u=n(89387);function c(t){return"number"==typeof t?t:parseFloat(t)}function h(t,e={}){let{isStatic:n}=(0,i.useContext)(o._),h=(0,i.useRef)(null),d=(0,a.c)((0,l.i)(t)?c(t.get()):t),f=(0,i.useRef)(d.get()),p=(0,i.useRef)(()=>{}),m=()=>{let t=h.current;t&&0===t.time&&t.sample(u.frameData.delta),v(),h.current=(0,r.y)({keyframes:[d.get(),f.current],velocity:d.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...e,onUpdate:p.current})},v=()=>{h.current&&h.current.stop()};return(0,i.useInsertionEffect)(()=>d.attach((t,e)=>n?e(t):(f.current=t,p.current=e,u.Wi.update(m),d.get()),v),[JSON.stringify(e)]),(0,s.L)(()=>
1{if((0,l.i)(t))return t.on("change",t=>d.set(c(t)))},[d]),d}},10992:function(t,e,n){"use strict";n.d(e,{H:function(){return d}});var i=n(40196);let r=t=>t&&"object"==typeof t&&t.mix,o=t=>r(t)?t.mix:void 0;var s=n(56877),a=n(17284),l=n(89387);function u(t,e){let n=(0,s.c)(e()),i=()=>n.set(e());return i(),(0,a.L)(()=>{let e=()=>l.Wi.preRender(i,!1,!0),n=t.map(t=>t.on("change",e));return()=>{n.forEach(t=>t()),(0,l.Pn)(i)}}),n}var c=n(35068),h=n(38462);function d(t,e,n,r){if("function"==typeof t)return function(t){h.S1.current=[],t();let e=u(h.S1.current,t);return h.S1.current=void 0,e}(t);let s="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),n=e?0:-1,r=t[0+n],s=t[1+n],a=t[2+n],l=t[3+n],u=(0,i.s)(s,a,{mixer:o(a[0]),...l});return e?u(r):u}(e,n,r);return Array.isArray(t)?f(t,s):f([t],([t])=>s(t))}function f(t,e){let n=(0,c.h)(()=>[]);return u(t,()=>{n.length=0;let i=t.length;for(let e=0;e<i;e++)n[e]=t[e].get();return e(n)})}},31045:function(t,e,n){"use strict";function i(t,e,n){return Math.max(t,Math.min(e,n))}n.d(e,{pi:function(){return m}});var r=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let n=i(0,this.currentTime/this.duration,1),r=(e=n>=1)?1:this.easing(n);this.value=this.from+(this.to-this.from)*r}else if(this.lerp){var n,r,o;this.value=(n=this.value,r=this.to,(1-(o=1-Math.exp(-(60*this.lerp)*t)))*n+o*r),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)}else this.value=this.to,e=!0;e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:n,duration:i,easing:r,onStart:o,onUpdate:s}){this.from=this.value=t,this.to=e,this.lerp=n,this.duration=i,this.easing=r,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}},o=class{constructor(t,e,{autoResize:n=!0,debounce:i=250}={}){if(this.wrapper=t,this.content=e,n){var r;let t;this.debouncedResize=(r=this.resize,function(...e){let n=this;clearTimeout(t),t=setTimeout(()=>{t=void 0,r.apply(n,e)},i)}),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)}this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},s=class{events={};emit(t,...e){let n=this.events[t]||[];for(let t=0,i=n.length;t<i;t++)n[t]?.(...e)}on(t,e){return this.events[t]?.push(e)||(this.events[t]=[e]),()=>{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}},a=100/6,l={passive:!1},u=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,l),this.element.addEventListener("touchstart",this.onTouchStart,l),this.element.addEventListener("touchmove",this.onTouchMove,l),this.element.addEventListener("touchend",this.onTouchEnd,l)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new s;on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,l),this.element.removeEventListener("touchstart",this.onTouchStart,l),this.element.removeEventListener("touchmove",this.onTouchMove,l),this.element.removeEventListener("touchend",this.onTouchEnd,l)}onTouchStart=t=>{let{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t,i=-(e-this.touchStart.x)*this.options.touchMultiplier,r=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:i,y:r},this.emitter.emit("scroll",{deltaX:i,deltaY:r,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:n,deltaMode:i}=t,r=1===i?a:2===i?this.window.width:1,o=1===i?a:2===i?this.window.height:1;e*=r,n*=o,e*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:n,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},c=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;__rafID=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new r;emitter=new s;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:n=t,smoothWheel:i=!0,syncTouch:r=!1,syncTouchLerp:s=.075,touchInertiaMultiplier:a=35,duration:l,easing:c=t=>Math.min(1,1.001-Math.pow(2,-10*t)),lerp:h=.1,infinite:d=!1,orientation:f="vertical",gestureOrientation:p="vertical",touchMultiplier:m=1,wheelMultiplier:v=1,autoResize:g=!0,prevent:y,virtualScroll:w,overscroll:b=!0,autoRaf:x=!1,anchors:S=!1,__experimental__naiveDimensions:P=!1}={}){window.lenisVersion="1.2.3",t&&t!==document.documentElement||(t=window),this.options={wrapper:t,content:e,eventsTarget:n,smoothWheel:i,syncTouch:r,syncTouchLerp:s,touchInertiaMultiplier:a,duration:l,easing:c,lerp:h,infinite:d,gestureOrientation:p,orientation:f,touchMultiplier:m,wheelMultiplier:v,autoResize:g,prevent:y,virtualScroll:w,overscroll:b,autoRaf:x,anchors:S,__experimental__naiveDimensions:P},this.dimensions=new o(t,e,{autoResize:g}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=ne
1w u(n,{touchMultiplier:m,wheelMultiplier:v}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{let e=t.composedPath().find(t=>t instanceof HTMLAnchorElement&&(t.getAttribute("href")?.startsWith("#")||t.getAttribute("href")?.startsWith("/#")||t.getAttribute("href")?.startsWith("./#")));if(e){let t=e.getAttribute("href");if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0;this.scrollTo(`#${t.split("#")[1]}`,e)}}};onPointerDown=t=>{1===t.button&&this.reset()};onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;let{deltaX:e,deltaY:n,event:i}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:n,event:i}),i.ctrlKey||i.lenisStopPropagation)return;let r=i.type.includes("touch"),o=i.type.includes("wheel");this.isTouching="touchstart"===i.type||"touchmove"===i.type;let s=0===e&&0===n;if(this.options.syncTouch&&r&&"touchstart"===i.type&&s&&!this.isStopped&&!this.isLocked){this.reset();return}let a="vertical"===this.options.gestureOrientation&&0===n||"horizontal"===this.options.gestureOrientation&&0===e;if(s||a)return;let l=i.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let u=this.options.prevent;if(l.find(t=>t instanceof HTMLElement&&("function"==typeof u&&u?.(t)||t.hasAttribute?.("data-lenis-prevent")||r&&t.hasAttribute?.("data-lenis-prevent-touch")||o&&t.hasAttribute?.("data-lenis-prevent-wheel"))))return;if(this.isStopped||this.isLocked){i.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),i.lenisStopPropagation=!0;return}let c=n;"both"===this.options.gestureOrientation?c=Math.abs(n)>Math.abs(e)?n:e:"horizontal"===this.options.gestureOrientation&&(c=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&n>0||this.animatedScroll===this.limit&&n<0))&&(i.lenisStopPropagation=!0),i.preventDefault();let h=r&&this.options.syncTouch,d=r&&"touchend"===i.type&&Math.abs(c)>5;d&&(c=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+c,{programmatic:!1,...h?{lerp:d?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit
1(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.reset(),this.isStopped=!1)}stop(){this.isStopped||(this.reset(),this.isStopped=!0)}raf=t=>{let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:n=!1,lock:r=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=this.options.lerp,onStart:l,onComplete:u,force:c=!1,programmatic:h=!0,userData:d}={}){if(!this.isStopped&&!this.isLocked||c){if("string"==typeof t&&["top","left","start"].includes(t))t=0;else if("string"==typeof t&&["bottom","right","end"].includes(t))t=this.limit;else{let n;if("string"==typeof t?n=document.querySelector(t):t instanceof HTMLElement&&t?.nodeType&&(n=t),n){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();e-=this.isHorizontal?t.left:t.top}let i=n.getBoundingClientRect();t=(this.isHorizontal?i.left:i.top)+this.animatedScroll}}if("number"==typeof t){if(t+=e,t=Math.round(t),this.options.infinite?h&&(this.targetScroll=this.animatedScroll=this.scroll):t=i(0,t,this.limit),t===this.targetScroll){l?.(this),u?.(this);return}if(this.userData=d??{},n){this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}h||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:o,easing:s,lerp:a,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(t,e)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),h&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}},h=n(34378),d=n(18824),f=(0,h.createContext)(null),p=new class{set(t){for(let e of(this.state=t,this.listeners))e(this.state)}subscribe(t){return this.listeners=[...this.listeners,t],()=>{this.listeners=this.listeners.filter(e=>e!==t)}}get(){return this.state}constructor(t){this.listeners=[],this.state=t}}(null),m=(0,h.forwardRef)((t,e)=>{let{children:n,root:i=!1,options:r={},className:o,autoRaf:s=!0,style:a,props:l}=t,u=(0,h.useRef)(null),m=(0,h.useRef)(null),[v,g]=(0,h.useState)(void 0);(0,h.useImperativeHandle)(e,()=>({wrapper:u.current,content:m.current,lenis:v}),[v]),(0,h.useEffect)(()=>{var t;let e=new c({...r,...!i&&{wrapper:u.current,content:m.current},autoRaf:null!==(t=null==r?void 0:r.autoRaf)&&void 0!==t?t:s});return g(e),()=>{e.destroy(),g(void 0)}},[i,JSON.stringify(r)]);let y=(0,h.useRef)([]),w=(0,h.useCallback)((t,e)=>{y.current.push({callback:t,priority:e}),y.current.sort((t,e)=>t.priority-e.priority)},[]),b=(0,h.useCallback)(t=>{y.current=y.current.filter(e=>e.callback!==t)},[]);return(0,h.useEffect)(()=>
1{if(i&&v)return p.set({lenis:v,addCallback:w,removeCallback:b}),()=>p.set(null)},[i,v,w,b]),(0,h.useEffect)(()=>{if(!v)return;let t=t=>{for(let n=0;n<y.current.length;n++){var e;null===(e=y.current[n])||void 0===e||e.callback(t)}};return v.on("scroll",t),()=>{v.off("scroll",t)}},[v]),(0,d.jsx)(f.Provider,{value:{lenis:v,addCallback:w,removeCallback:b},children:i?n:(0,d.jsx)("div",{ref:u,className:o,style:a,...l,children:(0,d.jsx)("div",{ref:m,children:n})})})})},31742:function(t,e,n){"use strict";n.d(e,{j:function(){return I}});var i,r=n(72089),o=n(25724),s=n(31993),a=n(70998),l=n(21560),u=n(42833),c=n(69040);let h=(t,e,n)=>{let i=e-t;return((n-t)%i+i)%i+t};var d=n(60778);function f(t,e){return(0,d.N)(t)?t[h(0,t.length,e)]:t}var p=n(70042),m=n(83658),v=n(8588),g=n(24445);function y(t){return"object"==typeof t&&!Array.isArray(t)}function w(t,e,n,i){return"string"==typeof t&&y(e)?(0,g.I)(t,n,i):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function b(t,e,n,i){var r;return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:null!==(r=i.get(e))&&void 0!==r?r:t}var x=n(35776),S=n(65879);function P(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function E(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function T(t,e){return e[t]||(e[t]=[]),e[t]}let M=t=>"number"==typeof t,C=t=>t.every(M);var k=n(50123),A=n(56590),O=n(31376),R=n(84826),j=n(27447),L=n(31020),D=n(16829);class V extends D.l{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let n=t[e];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,L.dO)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function _(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,O.v)(t)?new R.e(e):new j.W(e);n.mount(t),k.R.set(t,n)}function B(t){let e=new V({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),k.R.set(t,e)}var W=n(96921);function z(t,e,n,i){let r=[];if((0,v.i)(t)||"number"==typeof t||"string"==typeof t&&!y(e))r.push((0,W.D)(t,y(e)&&e.default||e,n&&n.default||n));else{let o=w(t,e,i),a=o.length;(0,s.k)(!!a,"No valid elements provided.");for(let t=0;t<a;t++){let i=o[t],s=i instanceof Element?_:B;k.R.has(i)||s(i);let l=k.R.get(i),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,a)),r.push(...(0,A.w)(l,{...e,transition:u},{}))}}return r}let I=function(t,e,n){let h=[];h=Array.isArray(t)&&Array.isArray(t[0])?function(t,e,n){let i=[];return(function(t,{defaultTransition:e={},...n}={},i,r){let o=e.duration||.3,h=new Map,d=new Map,g={},y=new Map,M=0,k=0,A=0;for(let n=0;n<t.length;n++){let a=t[n];if("string"==typeof a){y.set(a,k);continue}if(!Array.isArray(a)){y.set(a.name,b(k,a.at,M,y));continue}let[h,P,O={}]=a;void 0!==O.at&&(k=b(k,O.at,M,y));let R=0,j=(t,n,i,a=0,h=0)=>{let d=Array.isArray(t)?t:[t],{delay:v=0,times:g=(0,p.Y)(d),type:y="keyframes",repeat:w,repeatType:b,repeatDelay:P=0,...E}=n,{ease:T=e.ease||"easeOut",duration:M}=n,O="function"==typeof v?v(a,h):v,j=d.length,L=(0,c.x)(y)?y:null==r?void 0:r[y];if(j<=2&&L){let t=100;2===j&&C(d)&&(t=Math.abs(d[1]-d[0]));let e={...E};void 0!==M&&(e.duration=(0,l.w)(M));let n=function(t,e=100,n){let i=n({...t,keyframes:[0,e]}),r=Math.min((0,u.i)(i),u.E);return{type:"keyframes",ease:t=>i.next(r*t).value/e,duration:(0,l.X)(r)}}(e,t,L);T=n.ease,M=n.duration}null!=M||(M=o);let D=k+O;1===g.length&&0===g[0]&&(g[1]=1);let V=g.length-d.length;if(V>0&&(0,m.c)(g,V),1===d.length&&d.unshift(null),w){(0,s.k)(w<20,"Repeat count too high, must be less than 20"),M*=w+1;let t=[...d],e=[...g],n=[...T=Array.isArray(T)?[...T]:[T]];for(let i=0;i<w;i++){d.push(...t);for(let r=0;r<t.length;r++)g.push(e[r]+(i+1)),T.push(0===r?"linear":f(n,r-1))}!function(t,e){for(let n=0;n<t.length;n++)t[n]=t[n]/(e+1)}(g,w)}let _=D+M;(function(t,e,n,i,r,o){!function(t,e,n){for(let i=0;i<t.length;i++){let r=t[i];r.at>e&&r.at<n&&((0,x.cl)(t,r),i--)}}(t,r,o);for(let s=0;s<e.length;s++)t.push({value:e[s],at:(0,S.t)(r,o,i[s]),easing:f(n,s)})}
1)(i,d,T,g,D,_),R=Math.max(O+M,R),A=Math.max(_,A)};if((0,v.i)(h))j(P,O,T("default",E(h,d)));else{let t=w(h,P,i,g),e=t.length;for(let n=0;n<e;n++){let i=E(t[n],d);for(let t in P)j(P[t],O&&O[t]?{...O,...O[t]}:{...O},T(t,i),n,e)}}M=k,k+=R}return d.forEach((t,i)=>{for(let r in t){let o=t[r];o.sort(P);let s=[],l=[],u=[];for(let t=0;t<o.length;t++){let{at:e,value:n,easing:i}=o[t];s.push(n),l.push((0,a.Y)(0,A,e)),u.push(i||"easeOut")}0!==l[0]&&(l.unshift(0),s.unshift(s[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),s.push(null)),h.has(i)||h.set(i,{keyframes:{},transition:{}});let c=h.get(i);c.keyframes[r]=s,c.transition[r]={...e,duration:A,ease:u,times:l,...n}}}),h})(t,e,n,{spring:o.S}).forEach(({keyframes:t,transition:e},n)=>{i.push(...z(n,t,e))}),i}(t,e,void 0):z(t,e,n,i);let d=new r.s(h);return i&&i.animations.push(d),d}},96921:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var i=n(59287),r=n(8588),o=n(42161);function s(t,e,n){let s=(0,r.i)(t)?t:(0,i.BX)(t);return s.start((0,o.v)("",s,e,n)),s.animation}},39732:function(t,e,n){"use strict";n.d(e,{v:function(){return h}});var i=n(98187),r=n(19364),o=n(52208),s=n(31993),a=n(69040),l=n(7827);let u=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(l.P.test(t)||"0"===t)&&!t.startsWith("url("));var c=n(29467);class h{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=i.X.now(),this.options={autoplay:t,delay:e,type:n,repeat:r,repeatDelay:o,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,r.m)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=i.X.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:l,delay:h,onComplete:d,onUpdate:f,isGenerator:p}=this.options;if(!p&&!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],l=u(r,e),c=u(o,e);return(0,s.K)(l===c,`You are trying to animate ${e} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`),!!l&&!!c&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,a.x)(n))&&i)}(t,n,r,l)){if(o.c.current||!h){null==f||f((0,c.$)(t,this.options,e)),null==d||d(),this.resolveFinishedPromise();return}this.options.duration=0}let m=this.initPlayback(t,e);!1!==m&&(this._resolved={keyframes:t,finalKeyframe:e,...m},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}},81433:function(t,e,n){"use strict";n.d(e,{s:function(){return _},y:function(){return B}});var i=n(21560),r=n(42833),o=n(69040),s=n(19364),a=n(21674),l=n(88743),u=n(5806),c=n(25724),h=n(98024);function d({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:d}){let f,p;let m=t[0],v={done:!1,value:m},g=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,w=n*e,b=m+w,x=void 0===s?b:s(b);x!==b&&(w=x-m);let S=t=>-w*Math.exp(-t/i),P=t=>x+S(t),E=t=>{let e=S(t),n=P(t);v.done=Math.abs(e)<=u,v.value=v.done?x:n},T=t=>{g(v.value)&&(f=t,p=(0,c.S)({keyframes:[v.value,y(v.value)],velocity:(0,h.P)(P,t,v.value),damping:r,stiffness:o,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==f||(e=!0,E(t),T(t)),void 0!==f&&t>=f)?p.next(t-f):(e||E(t),v)}}}var f=n(7532);let p=(0,f._)(.42,0,1,1),m=(0,f._)(0,0,.58,1),v=(0,f._)(.42,0,.58,1);var g=n(60778),y=n(31993),w=n(13394),b=n(44147),x=n(73686),S=n(31201),P=n(88258);let E={linear:w.Z,easeIn:p,easeInOut:v,easeOut:m,circIn:P.Z7,circInOut:P.X7,circOut:P.Bn,backIn:S.G2,backInOut:S.XL,backOut:S.CG,anticipate:x.L},T=t=>{if((0,b.q)(t)){(0,y.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,i,r]=t;return(0,f._)(e,n,i,r)}return"string"==typeof t?((0,y.k)(void 0!==E[t],`Invalid easing type '${t}'`),E[t]):t};var M=n(84430),C=n(70042);function k({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let r=(0,g.N)(i)?i.map(T):T(i),o={done:!1,value:e[0]},s=(n&&n.length===e.length?n:(0,C.Y)(e)).map(e=>e*t),a=(0,M.s)(s,e,{ease:Array.isArray(r)?r:e.map(()=>r||v).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var A=n(39732),O=n(98187),R=n(34760);let j=t=>{let e=({timestamp:e})=>t(e);return{start:()=>R.Wi.update(e,!0),stop:()=>(0,R.Pn)(e),now:()=>R.frameData.isProcessing?R.frameData.timestamp:O.X.now()}};var L=n(29467);let D={decay:d,inertia:d,tween:k,keyframes:k,spring:c.S},V=t=>t/100;class _ extends A.v{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
1{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:n,element:i,keyframes:r}=this.options,o=(null==i?void 0:i.KeyframeResolver)||s.e;this.resolver=new o(r,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,n;let{type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c,velocity:h=0}=this.options,d=(0,o.x)(i)?i:D[i]||k;d!==k&&"number"!=typeof t[0]&&(e=(0,u.z)(V,(0,l.C)(t[0],t[1])),t=[0,100]);let f=d({...this.options,keyframes:t});"mirror"===c&&(n=d({...this.options,keyframes:[...t].reverse(),velocity:-h})),null===f.calculatedDuration&&(f.calculatedDuration=(0,r.i)(f));let{calculatedDuration:p}=f,m=p+a;return{generator:f,mirroredGenerator:n,mapPercentToKeyframes:e,calculatedDuration:p,resolvedDuration:m,totalDuration:m*(s+1)-a}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:n}=this;if(!n){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:h}=n;if(null===this.startTime)return r.next(0);let{delay:d,repeat:f,repeatType:p,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let w=this.currentTime,b=r;if(f){let t=Math.min(this.currentTime,c)/h,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,f+1))%2&&("reverse"===p?(n=1-n,m&&(n-=m/h)):"mirror"===p&&(b=o)),w=(0,a.u)(0,1,n)*h}let x=y?{done:!1,value:l[0]}:b.next(w);s&&(x.value=s(x.value));let{done:S}=x;y||null===u||(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return P&&void 0!==i&&(x.value=(0,L.$)(l,this.options,i)),v&&v(x.value),P&&this.finish(),x}get duration(){let{resolved:t}=this;return t?(0,i.X)(t.calculatedDuration):0}get time(){return(0,i.X)(this.currentTime)}set time(t){t=(0,i.w)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,i.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=j,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function B(t){return new _(t)}},29467:function(t,e,n){"use strict";n.d(e,{$:function(){return r}});let i=t=>null!==t;function r(t,{repeat:e,repeatType:n="loop"},r){let o=t.filter(i),s=e&&"loop"!==n&&e%2==1?0:o.length-1;return s&&void 0!==r?r:o[s]}},25724:function(t,e,n){"use strict";n.d(e,{S:function(){return p}});var i=n(21560),r=n(42833),o=n(68497),s=n(21674),a=n(98024);let l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var u=n(31993);function c(t,e){return t*Math.sqrt(1-e*e)}let h=["duration","bounce"],d=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function p(t=l.visualDuration,e=l.bounce){let n;let p="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:m,restDelta:v}=p,g=p.keyframes[0],y=p.keyframes[p.keyframes.length-1],w={done:!1,value:g},{stiffness:b,damping:x,mass:S,duration:P,velocity:E,isResolvedFromDuration:T}=function(t){let e={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...t};
1if(!f(t,d)&&f(t,h)){if(t.visualDuration){let n=2*Math.PI/(1.2*t.visualDuration),i=n*n,r=2*(0,s.u)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:l.mass,stiffness:i,damping:r}}else{let n=function({duration:t=l.duration,bounce:e=l.bounce,velocity:n=l.velocity,mass:r=l.mass}){let o,a;(0,u.K)(t<=(0,i.w)(l.maxDuration),"Spring duration must be 10 seconds or less");let h=1-e;h=(0,s.u)(l.minDamping,l.maxDamping,h),t=(0,s.u)(l.minDuration,l.maxDuration,(0,i.X)(t)),h<1?(o=e=>{let i=e*h,r=i*t;return .001-(i-n)/c(e,h)*Math.exp(-r)},a=e=>{let i=e*h*t,r=Math.pow(h,2)*Math.pow(e,2)*t,s=c(Math.pow(e,2),h);return(i*n+n-r)*Math.exp(-i)*(-o(e)+.001>0?-1:1)/s}):(o=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),a=e=>t*t*(n-e)*Math.exp(-e*t));let d=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(o,a,5/t);if(t=(0,i.w)(t),isNaN(d))return{stiffness:l.stiffness,damping:l.damping,duration:t};{let e=Math.pow(d,2)*r;return{stiffness:e,damping:2*h*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...n,mass:l.mass}).isResolvedFromDuration=!0}}return e}({...p,velocity:-(0,i.X)(p.velocity||0)}),M=E||0,C=x/(2*Math.sqrt(b*S)),k=y-g,A=(0,i.X)(Math.sqrt(b/S)),O=5>Math.abs(k);if(m||(m=O?l.restSpeed.granular:l.restSpeed.default),v||(v=O?l.restDelta.granular:l.restDelta.default),C<1){let t=c(A,C);n=e=>y-Math.exp(-C*A*e)*((M+C*A*k)/t*Math.sin(t*e)+k*Math.cos(t*e))}else if(1===C)n=t=>y-Math.exp(-A*t)*(k+(M+A*k)*t);else{let t=A*Math.sqrt(C*C-1);n=e=>{let n=Math.exp(-C*A*e),i=Math.min(t*e,300);return y-n*((M+C*A*k)*Math.sinh(i)+t*k*Math.cosh(i))/t}}let R={calculatedDuration:T&&P||null,next:t=>{let e=n(t);if(T)w.done=t>=P;else{let r=0;C<1&&(r=0===t?(0,i.w)(M):(0,a.P)(n,t,e));let o=Math.abs(r)<=m,s=Math.abs(y-e)<=v;w.done=o&&s}return w.value=w.done?y:e,w},toString:()=>{let t=Math.min((0,r.i)(R),r.E),e=(0,o.w)(e=>R.next(t*e).value,t,30);return t+"ms "+e}};return R}},98024:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(99971);function r(t,e,n){let r=Math.max(e-5,0);return(0,i.R)(n-t(r),e-r)}},55943:function(t,e,n){"use strict";n.d(e,{_:function(){return c}});var i=n(31993),r=n(58752),o=n(19536);function s(t,e){[...e].reverse().forEach(n=>{let i=t.getVariant(n);i&&(0,r.C)(t,i),t.variantChildren&&t.variantChildren.forEach(t=>{s(t,e)})})}function a(){let t=!1,e=new Set,n={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(n,r){(0,i.k)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let s=[];return e.forEach(t=>{s.push((0,o.d)(t,n,{transitionOverride:r}))}),Promise.all(s)},set:n=>((0,i.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{Array.isArray(n)?s(t,n):"string"==typeof n?s(t,[n]):(0,r.C)(t,n)})),stop(){e.forEach(t=>{!function(t){t.values.forEach(t=>t.stop())}(t)})},mount:()=>(t=!0,()=>{t=!1,n.stop()})};return n}var l=n(8280),u=n(63454);let c=function(){let t=(0,l.h)(a);return(0,u.L)(t.mount,[]),t}},42161:function(t,e,n){"use strict";n.d(e,{v:function(){return _}});var i=n(72089),r=n(94399),o=n(21560),s=n(34760),a=n(36074),l=n(52208),u=n(13394),c=n(69040);function h(t,e){t.timeline=e,t.onfinish=null}var d=n(44147),f=n(51769);let p={linearEasing:void 0},m=function(t,e){let n=(0,f.X)(t);return()=>{var t;return null!==(t=p[e])&&void 0!==t?t:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var v=n(68497);let g=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,y={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:g([0,.65,.55,1]),circOut:g([.55,0,1,.45]),backIn:g([.31,.01,.66,-.59]),backOut:g([.33,1.53,.69,.99])};var w=n(73686),b=n(31201),x=n(88258),S=n(30048),P=n(39732),E=n(81433);let T=new Set(["opacity","clipPath","filter","transform"]);var M=n(29467);let C=(0,f.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),k={anticipate:w.L,backInOut:b.XL,circInOut:x.X7};class A extends P.v{constructor(t){super(t);let{name:e,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new S.s(r,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){var n,i;let{duration:r=300,times:o,ease:s,type:a,motionValue:l,name:u,startTime:f}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof s&&m()&&s in k&&(s=k[s]),i=this.options,(0,c.x)(i.type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&m()||!e||"string"==typeof e&&(e in y||m())||(0,d.q)(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:n,motionValue:i,element:l,...u}=this.options,c=function(t,e){let n=new E.s({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:t[0]},r=[],o=0;for(;!i.done&&o<2e4;)r.push((i=n.sample(o)).value),o+=10;return{times:void 0,keyframes:r,duration:o-10,ease:"linear"}}(t,u);1===(t=c.keyframes).length&&(t[1]=t[0]),r=c.duration,o=c.times,s=c.ease,a="keyframes"}let p=function(t,e,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){let u={[e]:n};l&&(u.offset=l);let c=function t(e,n){if(e)return"function"==typeof e&&m()?(0,v.w)(e,n):(0,d.q)(e)?g(e):Array.isArray(e)?e.map(e=>t(e,n)||y.easeOut):y[e]}(a,r);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:r,times:o,ease:s});return p.startTime=null!=f?f:this.calcStartTime(),this.pendingTimeline?(h(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{let{onComplete:n}=this.options;l.set((0,M.$)(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:r,times:o,type:a,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,o.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,o.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:n}=e;n.currentTime=(0,o.w)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:n}=e;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return u.Z;let{animation:n}=e;h(n,t)}else this.pendingTimeline=t;return u.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:n,duration:i,type:r,ease:s,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...c}=this.options,h=new E.s({...c,keyframes:n,duration:i,type:r,ease:s,times:a,isGenerator:!0}),d=(0,o.w)(this.time);t.setWithVelocity(h.sample(d-10).value,h.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}
1static supports(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:o,type:s}=t;return C()&&n&&T.has(n)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!i&&"mirror"!==r&&0!==o&&"inertia"!==s}}var O=n(15704);let R={type:"spring",stiffness:500,damping:25,restSpeed:10},j=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),L={type:"keyframes",duration:.8},D={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},V=(t,{keyframes:e})=>e.length>2?L:O.G.has(t)?t.startsWith("scale")?j(e[1]):R:D,_=(t,e,n,u={},c,h)=>d=>{let f=(0,r.e)(u,t)||{},p=f.delay||u.delay||0,{elapsed:m=0}=u;m-=(0,o.w)(p);let v={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...f,delay:-m,onUpdate:t=>{e.set(t),f.onUpdate&&f.onUpdate(t)},onComplete:()=>{d(),f.onComplete&&f.onComplete()},name:t,motionValue:e,element:h?void 0:c};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(f)&&(v={...v,...V(t,v)}),v.duration&&(v.duration=(0,o.w)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,o.w)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let g=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(v.duration=0,0!==v.delay||(g=!0)),(l.c.current||a.c.skipAnimations)&&(g=!0,v.duration=0,v.delay=0),g&&!h&&void 0!==e.get()){let t=(0,M.$)(v.keyframes,f);if(void 0!==t)return s.Wi.update(()=>{v.onUpdate(t),v.onComplete()}),new i.s([])}return!h&&A.supports(v)?new A(v):new E.s(v)}},56590:function(t,e,n){"use strict";n.d(e,{w:function(){return c}});var i=n(94399),r=n(15704),o=n(58752),s=n(83910),a=n(72642),l=n(42161),u=n(34760);function c(t,e,{delay:n=0,transitionOverride:c,type:h}={}){var d;let{transition:f=t.getDefaultTransition(),transitionEnd:p,...m}=e;c&&(f=c);let v=[],g=h&&t.animationState&&t.animationState.getState()[h];for(let e in m){let o=t.getValue(e,null!==(d=t.latestValues[e])&&void 0!==d?d:null),c=m[e];if(void 0===c||g&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(g,e))continue;let h={delay:n,...(0,i.e)(f||{},e)},p=!1;if(window.MotionHandoffAnimation){let n=(0,a.s)(t);if(n){let t=window.MotionHandoffAnimation(n,e,u.Wi);null!==t&&(h.startTime=t,p=!0)}}(0,s.K)(t,e),o.start((0,l.v)(e,o,c,t.shouldReduceMotion&&r.G.has(e)?{type:!1}:h,t,p));let y=o.animation;y&&v.push(y)}return p&&Promise.all(v).then(()=>{u.Wi.update(()=>{p&&(0,o.C)(t,p)})}),v}},19536:function(t,e,n){"use strict";n.d(e,{d:function(){return a}});var i=n(23281),r=n(56590);function o(t,e,n={}){var a;let l=(0,i.x)(t,e,"exit"===n.type?null===(a=t.presenceContext)||void 0===a?void 0:a.custom:void 0),{transition:u=t.getDefaultTransition()||{}}=l||{};n.transitionOverride&&(u=n.transitionOverride);let c=l?()=>Promise.all((0,r.w)(t,l,n)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:l}=u;return function(t,e,n=0,i=0,r=1,a){let l=[],u=(t.variantChildren.size-1)*i,c=1===r?(t=0)=>t*i:(t=0)=>u-t*i;return Array.from(t.variantChildren).sort(s).forEach((t,i)=>{t.notify("AnimationStart",e),l.push(o(t,e,{...a,delay:n+c(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(l)}(t,e,r+i,a,l,n)}:()=>Promise.resolve(),{when:d}=u;if(!d)return Promise.all([c(),h(n.delay)]);{let[t,e]="beforeChildren"===d?[c,h]:[h,c];return t().then(()=>e())}}function s(t,e){return t.sortNodePosition(e)}function a(t,e,n={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>o(t,e,n)));else if("string"==typeof e)s=o(t,e,n);else{let o="function"==typeof e?(0,i.x)(t,e,n.custom):e;s=Promise.all((0,r.w)(t,o,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}},17464:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});let i="data-"+(0,n(99691).D)("framerAppearId")},72642:function(t,e,n){"use strict";n.d(e,{s:function(){return r}});var i=n(17464);function r(t){return t.props[i.M]}},94874:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{H:function(){return i}})},60839:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});let i=t=>Array.isArray(t)},68737:function(t,e,n){"use strict";n.d(e,{M:function(){return g}});var i=n(18824),r=n(34378),o=n(33219),s=n(8280),a=n(78882);class l extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(t){let{children:e,isPresent:n}=t,o=(0,r.useId)(),s=(0,r.useRef)(null),u=(0,r.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,r.useContext)(a._);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:r}=u.current;if(n||!s.current||!t||!e)return;s.current.dataset.motionPopId=o;let a=document.createElement("style");return c&&(a.nonce=c),document.head.appendChild(a),a.sheet&&a.sheet.insertRule('\n [data-motion-pop-id="'.concat(o,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n top: ").concat(i,"px !important;\n left: ").concat(r,"px !important;\n }\n ")),()=>{document.head.removeChild(a)}},[n]),(0,i.jsx)(l,{isPresent:n,childRef:s,sizeRef:u,children:r.cloneElement(e,{ref:s})})}let c=t=>{let{children:e,initial:n,isPresent:a,onExitComplete:l,custom:c,presenceAffectsLayout:d,mode:f}=t,p=(0,s.h)(h),m=(0,r.useId)(),v=(0,r.useCallback)(t=>
1{for(let e of(p.set(t,!0),p.values()))if(!e)return;l&&l()},[p,l]),g=(0,r.useMemo)(()=>({id:m,initial:n,isPresent:a,custom:c,onExitComplete:v,register:t=>(p.set(t,!1),()=>p.delete(t))}),d?[Math.random(),v]:[a,v]);return(0,r.useMemo)(()=>{p.forEach((t,e)=>p.set(e,!1))},[a]),r.useEffect(()=>{a||p.size||!l||l()},[a]),"popLayout"===f&&(e=(0,i.jsx)(u,{isPresent:a,children:e})),(0,i.jsx)(o.O.Provider,{value:g,children:e})};function h(){return new Map}var d=n(32432),f=n(31993);let p=t=>t.key||"";function m(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}var v=n(63454);let g=t=>{let{children:e,exitBeforeEnter:n,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync"}=t;(0,f.k)(!n,"Replace exitBeforeEnter with mode='wait'");let g=(0,r.useMemo)(()=>m(e),[e]),y=g.map(p),w=(0,r.useRef)(!0),b=(0,r.useRef)(g),x=(0,s.h)(()=>new Map),[S,P]=(0,r.useState)(g),[E,T]=(0,r.useState)(g);(0,v.L)(()=>{w.current=!1,b.current=g;for(let t=0;t<E.length;t++){let e=p(E[t]);y.includes(e)?x.delete(e):!0!==x.get(e)&&x.set(e,!1)}},[E,y.length,y.join("-")]);let M=[];if(g!==S){let t=[...g];for(let e=0;e<E.length;e++){let n=E[e],i=p(n);y.includes(i)||(t.splice(e,0,n),M.push(n))}"wait"===h&&M.length&&(t=M),T(m(t)),P(g);return}let{forceRender:C}=(0,r.useContext)(d.p);return(0,i.jsx)(i.Fragment,{children:E.map(t=>{let e=p(t),n=g===E||y.includes(e);return(0,i.jsx)(c,{isPresent:n,initial:(!w.current||!!a)&&void 0,custom:n?void 0:o,presenceAffectsLayout:u,mode:h,onExitComplete:n?void 0:()=>{if(!x.has(e))return;x.set(e,!0);let t=!0;x.forEach(e=>{e||(t=!1)}),t&&(null==C||C(),T(b.current),l&&l())},children:t},e)})})}},32432:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});let i=(0,n(34378).createContext)({})},78882:function(t,e,n){"use strict";n.d(e,{_:function(){return i}});let i=(0,n(34378).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},33219:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});let i=(0,n(34378).createContext)(null)},73686:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(31201);let r=t=>(t*=2)<1?.5*(0,i.G2)(t):.5*(2-Math.pow(2,-10*(t-1)))},31201:function(t,e,n){"use strict";n.d(e,{CG:function(){return s},G2:function(){return a},XL:function(){return l}});var i=n(7532),r=n(29819),o=n(56465);let s=(0,i._)(.33,1.53,.69,.99),a=(0,o.M)(s),l=(0,r.o)(a)},88258:function(t,e,n){"use strict";n.d(e,{Bn:function(){return s},X7:function(){return a},Z7:function(){return o}});var i=n(29819),r=n(56465);let o=t=>1-Math.sin(Math.acos(t)),s=(0,r.M)(o),a=(0,i.o)(o)},7532:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var i=n(13394);let r=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function o(t,e,n,o){if(t===e&&n===o)return i.Z;let s=e=>(function(t,e,n,i,o){let s,a;let l=0;do(s=r(a=e+(n-e)/2,i,o)-t)>0?n=a:e=a;while(Math.abs(s)>1e-7&&++l<12);return a})(e,0,1,t,n);return t=>0===t||1===t?t:r(s(t),e,o)}},29819:function(t,e,n){"use strict";n.d(e,{o:function(){return i}});let i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},56465:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});let i=t=>e=>1-t(1-e)},60778:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});let i=t=>Array.isArray(t)&&"number"!=typeof t[0]},46195:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(36074);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function o(t,e){let n=!1,o=!0,s={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,r=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(s)}let l={schedule:(t,r=!1,s=!1)=>{let a=s&&i?e:n;return r&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(s=t,i){r=!0;return}i=!0,[e,n]=[n,e],e.forEach(a),e.clear(),i=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:c,update:h,preRender:d,render:f,postRender:p}=l,m=()=>{let r=i.c.useManualTiming?s.timestamp:performance.now();n=!1,s.delta=o?1e3/60:Math.max(Math.min(r-s.timestamp,40),1),s.timestamp=r,s.isProcessing=!0,u.process(s),c.process(s),h.process(s),d.process(s),f.process(s),p.process(s),s.isProcessing=!1,n&&e&&(o=!1,t(m))},v=()=>{n=!0,o=!0,s.isProcessing||t(m)};return{schedule:r.reduce((t,e)=>{let i=l[e];return t[e]=(t,e=!1,r=!1)=>(n||v(),i.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:s,steps:l}}},34760:function(t,e,n){"use strict";n.d(e,{Pn:function(){return o},Wi:function(){return r},frameData:function(){return s},yL:function(){return a}});var i=n(13394);let{schedule:r,cancel:o,state:s,steps:a}=(0,n(46195).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},98187:function(t,e,n){"use strict";let i;n.d(e,{X:function(){return a}});var r=n(36074),o=n(34760);function s(){i=void 0}let a={now:()=>(void 0===i&&a.set(o.frameData.isProcessing||r.c.useManualTiming?o.frameData.timestamp:performance.now()),i),set
1:t=>{i=t,queueMicrotask(s)}}},76659:function(t,e,n){"use strict";n.d(e,{featureDefinitions:function(){return r}});let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let t in i)r[t]={isEnabled:e=>i[t].some(t=>!!e[t])}},51659:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var i=n(89743),r=n(15704);function o(t,{layout:e,layoutId:n}){return r.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!i.P[t]||"opacity"===t)}},73198:function(t,e,n){"use strict";function i({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function o(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(e,{d7:function(){return o},i8:function(){return i},z2:function(){return r}})},44367:function(t,e,n){"use strict";n.d(e,{D2:function(){return d},YY:function(){return u},am:function(){return c},o2:function(){return l},q2:function(){return o}});var i=n(65879),r=n(65828);function o(t,e,n){return n+e*(t-n)}function s(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function a(t,e=0,n=1,i,r){t.min=s(t.min,e,n,i,r),t.max=s(t.max,e,n,i,r)}function l(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}function u(t,e,n,i=!1){let o,s;let a=n.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){s=(o=n[u]).projectionDelta;let{visualElement:a}=o.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&d(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,l(t,s)),i&&(0,r.ud)(o.latestValues)&&d(t,o.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function c(t,e){t.min=t.min+e,t.max=t.max+e}function h(t,e,n,r,o=.5){let s=(0,i.t)(t.min,t.max,o);a(t,e,n,s,r)}function d(t,e){h(t.x,e.x,e.scaleX,e.scale,e.originX),h(t.y,e.y,e.scaleY,e.scale,e.originY)}},31020:function(t,e,n){"use strict";n.d(e,{dO:function(){return s},wc:function(){return r}});let i=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:i(),y:i()}),o=()=>({min:0,max:0}),s=()=>({x:o(),y:o()})},89743:function(t,e,n){"use strict";n.d(e,{B:function(){return r},P:function(){return i}});let i={};function r(t){Object.assign(i,t)}},65828:function(t,e,n){"use strict";function i(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:n}){return!i(t)||!i(e)||!i(n)}function o(t){return r(t)||s(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function s(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}n.d(e,{D_:function(){return s},Lj:function(){return r},ud:function(){return o}})},57638:function(t,e,n){"use strict";n.d(e,{J:function(){return o},z:function(){return s}});var i=n(73198),r=n(44367);function o(t,e){return(0,i.i8)((0,i.d7)(t.getBoundingClientRect(),e))}function s(t,e,n){let i=o(t,n),{scroll:s}=e;return s&&((0,r.am)(i.x,s.offset.x),(0,r.am)(i.y,s.offset.y)),i}},16829:function(t,e,n){"use strict";n.d(e,{l:function(){return k}});var i=n(46331);let r={current:null},o={current:!1};var s=n(323),a=n(59287),l=n(8588),u=n(15704),c=n(31968),h=n(68504),d=n(76659),f=n(50123),p=n(19364),m=n(28527),v=n(6585),g=n(5582),y=n(7827),w=n(40461),b=n(40778);let x=[...w.$,g.$,y.P],S=t=>x.find((0,b.l)(t));var P=n(94892),E=n(31020),T=n(98187),M=n(34760);let C=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class k{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=p.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=T.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,M.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:u}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,c.G)(e),this.isVariantNode=(0,c.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==a[t]&&(0,l.i)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,f.R.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.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),o.current||function(){if(o.current=!0,i.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r.current=t.matches;t.addListener(e),e()}else r.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in f.R.delete(this.current),this.projection&&this.projection.unmount(),(0,M.Pn)(this.notifyUpdate),(0,M.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=u.G.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&M.Wi.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),o(),n&&n(),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 d.featureDefinitions){let e=d.featureDefinitions[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,E.dO)()}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<C.length;e++){let n=C[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(let i in e){let r=e[i],o=n[i];if((0,l.i)(r))t.addValue(i,r);else if((0,l.i)(o))t.addValue(i,(0,a.BX)(r,{owner:t}));else if(o!==r){if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(i);t.addValue(i,(0,a.BX)(void 0!==e?e:r,{owner:t}))}}}for(let i in n)void 0===e[i]&&t.removeValue(i);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 n=this.values.get(t);e!==n&&(n&&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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,a.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,m.P)(i)||(0,v.W)(i))?i=parseFloat(i):!S(i)&&y.P.test(e)&&(i=(0,P.T)(t,e)),this.setBaseTarget(t,(0,l.i)(i)?i.get():i)),(0,l.i)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let n;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=(0,h.o)(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(n=r[t])}if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,l.i)(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new s.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},49446:function(t,e,n){"use strict";n.d(e,{E:function(){return nP}});var i,r,o,s=n(94874),a=n(60839);function l(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var u=n(35152),c=n(23281),h=n(88139),d=n(19536);let f=h.V.length,p=[...h.e].reverse(),m=h.e.length;function v(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function g(){return{animate:v(!0),whileInView:v(),whileHover:v(),whileTap:v(),whileDrag:v(),whileFocus:v(),exit:v()}}class y{constructor(t){this.isMounted=!1,this.node=t}update(){}}class w extends y{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(0,d.d)(t,e,n))),n=g(),i=!0,r=e=>(n,i)=>{var r;let o=(0,c.x)(t,i,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(o){let{transition:t,transitionEnd:e,...i}=o;n={...n,...i,...e}}return n};function o(o){let{props:c}=t,d=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;t<f;t++){let i=h.V[t],r=e.props[i];((0,u.$)(r)||!1===r)&&(n[i]=r)}return n}(t.parent)||{},v=[],g=new Set,y={},w=1/0;for(let e=0;e<m;e++){var b;let h=p[e],f=n[h],m=void 0!==c[h]?c[h]:d[h],x=(0,u.$)(m),S=h===o?f.isActive:null;!1===S&&(w=e);let P=m===d[h]&&m!==c[h]&&x;if(P&&i&&t.manuallyAnimateOnMount&&(P=!1),f.protectedKeys={...y},!f.isActive&&null===S||!m&&!f.prevProp||(0,s.H)(m)||"boolean"==typeof m)continue;let E=(b=f.prevProp,"string"==typeof m?m!==b:!!Array.isArray(m)&&!l(m,b)),T=E||h===o&&f.isActive&&!P&&x||e>w&&x,M=!1,C=Array.isArray(m)?m:[m],k=C.reduce(r(h),{});!1===S&&(k={});let{prevResolvedValues:A={}}=f,O={...A,...k},R=e=>{T=!0,g.has(e)&&(M=!0,g.delete(e)),f.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in O){let e=k[t],n=A[t];if(!y.hasOwnProperty(t))((0,a.C)(e)&&(0,a.C)(n)?l(e,n):e===n)?void 0!==e&&g.has(t)?R(t):f.protectedKeys[t]=!0:null!=e?R(t):g.add(t)}f.prevProp=m,f.prevResolvedValues=k,f.isActive&&(y={...y,...k}),i&&t.blockInitialAnimation&&(T=!1);let j=!(P&&E)||M;T&&j&&v.push(...C.map(t=>({animation:t,options:{type:h}})))}if(g.size){let e={};g.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=null!=i?i:null}),v.push({animation:e})}let x=!!v.length;return i&&(!1===c.initial||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(x=!1),i=!1,x?e(v):Promise.resolve()}
1return{animateChanges:o,setActive:function(e,i){var r;if(n[e].isActive===i)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;let s=o(e);for(let t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=g(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,s.H)(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(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let b=0;class x extends y{constructor(){super(...arguments),this.id=b++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var S=n(13394),P=n(31993);let E={x:!1,y:!1};var T=n(21560);let M=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function C(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function k(t){return{point:{x:t.pageX,y:t.pageY}}}let A=t=>e=>M(e)&&t(e,k(e));function O(t,e,n,i){return C(t,e,A(n),i)}let R=(t,e)=>Math.abs(t-e);var j=n(5806),L=n(34760);class D{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=B(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,r=(t=n.offset,e={x:0,y:0},Math.sqrt(R(t.x,e.x)**2+R(t.y,e.y)**2)>=3);if(!i&&!r)return;let{point:o}=n,{timestamp:s}=L.frameData;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;
1i||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=V(e,this.transformPagePoint),L.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=B("pointercancel"===t.type?this.lastMoveEventInfo:V(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!M(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;let o=V(k(t),this.transformPagePoint),{point:s}=o,{timestamp:a}=L.frameData;this.history=[{...s,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,B(o,this.history)),this.removeListeners=(0,j.z)(O(this.contextWindow,"pointermove",this.handlePointerMove),O(this.contextWindow,"pointerup",this.handlePointerUp),O(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,L.Pn)(this.updatePoint)}}function V(t,e){return e?{point:e(t.point)}:t}function _(t,e){return{x:t.x-e.x,y:t.y-e.y}}function B({point:t},e){return{point:t,delta:_(t,W(e)),offset:_(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=W(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>(0,T.w)(.1)));)n--;if(!i)return{x:0,y:0};let o=(0,T.X)(r.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function W(t){return t[t.length-1]}function z(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var I=n(70998),F=n(65879);function H(t){return t.max-t.min}function N(t,e,n,i=.5){t.origin=i,t.originPoint=(0,F.t)(e.min,e.max,t.origin),t.scale=H(n)/H(e),t.translate=(0,F.t)(n.min,n.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 U(t,e,n,i){N(t.x,e.x,n.x,i?i.originX:void 0),N(t.y,e.y,n.y,i?i.originY:void 0)}function $(t,e,n){t.min=n.min+e.min,t.max=t.min+H(e)}function X(t,e,n){t.min=e.min-n.min,t.max=t.min+H(e)}function Z(t,e,n){X(t.x,e.x,n.x),X(t.y,e.y,n.y)}var Y=n(21674);function q(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function G(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function K(t,e,n){return{min:J(t,e),max:J(t,n)}}function J(t,e){return"number"==typeof t?t:t[e]||0}var Q=n(31020);function tt(t){return[t("x"),t("y")]}var te=n(57638),tn=n(73198),ti=n(14951),tr=n(42161);let to=({current:t})=>t?t.ownerDocument.defaultView:null;var ts=n(83910);let ta=new WeakMap;class tl{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,Q.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new D(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(k(t).point)},onStart:(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===n||"y"===n?E[n]?null:(E[n]=!0,()=>{E[n]=!1}):E.x||E.y?null:(E.x=E.y=!0,()=>{E.x=E.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tt(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ti.aQ.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];if(i){let t=H(i);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&L.Wi.postRender(()=>r(t,e)),(0,ts.K)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>tt(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:to(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:r}=this.getProps();r&&L.Wi.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!tu(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,F.t)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,F.t)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&z(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:q(t.x,n,r),y:q(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:K(t,"left","right"),y:K(t,"top","bottom")}}(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tt(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!z(e))return!1;let i=e.current;(0,P.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let o=(0,te.z)(i,r.root,this.visualElement.getTransformPagePoint()),s={x:G((t=r.layout.layoutBox).x,o.x),y:G(t.y,o.y)};if(n){let t=n((0,tn.z2)(s));this.hasMutatedConstraints=!!t,t&&(s=(0,tn.i8)(t))}return s}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(tt(s=>{if(!tu(s,e,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[s]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return(0,ts.K)(this.visualElement,t),n.start((0,tr.v)(t,n,0,e,this.visualElement,!1))}stopAnimation(){tt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tt(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){tt(e=>{let{drag:n}=this.getProps();if(!tu(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:o}=i.layout.layoutBox[e];r.set(t[e]-(0,F.t)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!z(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};tt(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=H(t),r=H(e);return r>i?n=(0,I.Y)(e.min,e.max-i,t.min):i>r&&(n=(0,I.Y)(t.min,t.max-r,e.min)),(0,Y.u)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),tt(e=>{if(!tu(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];n.set((0,F.t)(r,o,i[e]))})}addListeners(){if(!this.visualElement.current)return;ta.set(this.visualElement,this);let t=O(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}
1=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();z(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),L.Wi.read(e);let r=C(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tt(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),i(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function tu(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class tc extends y{constructor(t){super(t),this.removeGroupControls=S.Z,this.removeListeners=S.Z,this.controls=new tl(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||S.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let th=t=>(e,n)=>{t&&L.Wi.postRender(()=>t(e,n))};class td extends y{constructor(){super(...arguments),this.removePointerDownListener=S.Z}onPointerDown(t){this.session=new D(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:to(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:th(t),onStart:th(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&L.Wi.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=O(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tf=n(18824),tp=n(34378),tm=n(33219),tv=n(32432);let tg=(0,tp.createContext)({}),ty={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tw(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tb={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!ti.px.test(t))return t;t=parseFloat(t)}let n=tw(t,e.target.x),i=tw(t,e.target.y);return`${n}% ${i}%`}};var tx=n(7827),tS=n(89743);let{schedule:tP,cancel:tE}=(0,n(46195).Z)(queueMicrotask,!1);class tT extends tp.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;(0,tS.B)(tC),r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ty.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,o=n.projection;return o&&(o.isPresent=r,i||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===r||(r?o.promote():o.relegate()||L.Wi.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tP.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tM(t){let[e,n]=function(){let t=(0,tp.useContext)(tm.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:i}=t,r=(0,tp.useId)();(0,tp.useEffect)(()=>i(r),[]);let o=(0,tp.useCallback)(()=>n&&n(r),[r,n]);return!e&&n?[!1,o]:[!0]}(),i=(0,tp.useContext)(tv.p);return(0,tf.jsx)(tT,{...t,layoutGroup:i,switchLayoutGroup:(0,tp.useContext)(tg),isPresent:e,safeToRemove:n})}let tC={borderRadius:{...tb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tb,borderTopRightRadius:tb,borderBottomLeftRadius:tb,borderBottomRightRadius:tb,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=tx.P.parse(t);if(i.length>5)return t;let r=tx.P.createTransformer(t),o="number"!=typeof i[0]?1:0,s=n.x.scale*e.x,a=n.y.scale*e.y;i[0+o]/=s,i[1+o]/=a;let l=(0,F.t)(s,a,.5);return"number"==typeof i[2+o]&&(i[2+o]/=l),"number"==typeof i[3+o]&&(i[3+o]/=l),r(i)}}};var tk=n(94399),tA=n(96921),tO=n(72642),tR=n(98187),tj=n(31376),tL=n(35776);let tD=(t,e)=>t.depth-e.depth;class tV{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tL.y4)(this.children,t),this.isDirty=!0}remove(t){(0,tL.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tD),this.isDirty=!1,this.children.forEac
1h(t)}}var t_=n(323),tB=n(65173),tW=n(8588);function tz(t){let e=(0,tW.i)(t)?t.get():t;return(0,tB.p)(e)?e.toValue():e}var tI=n(88258);let tF=["TopLeft","TopRight","BottomLeft","BottomRight"],tH=tF.length,tN=t=>"string"==typeof t?parseFloat(t):t,tU=t=>"number"==typeof t||ti.px.test(t);function t$(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tX=tY(0,.5,tI.Bn),tZ=tY(.5,.95,S.Z);function tY(t,e,n){return i=>i<t?0:i>e?1:n((0,I.Y)(t,e,i))}function tq(t,e){t.min=e.min,t.max=e.max}function tG(t,e){tq(t.x,e.x),tq(t.y,e.y)}function tK(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tJ=n(44367);function tQ(t,e,n,i,r){return t-=e,t=(0,tJ.q2)(t,1/n,i),void 0!==r&&(t=(0,tJ.q2)(t,1/r,i)),t}function t0(t,e,[n,i,r],o,s){!function(t,e=0,n=1,i=.5,r,o=t,s=t){if(ti.aQ.test(e)&&(e=parseFloat(e),e=(0,F.t)(s.min,s.max,e/100)-s.min),"number"!=typeof e)return;let a=(0,F.t)(o.min,o.max,i);t===o&&(a-=e),t.min=tQ(t.min,e,n,a,r),t.max=tQ(t.max,e,n,a,r)}(t,e[n],e[i],e[r],e.scale,o,s)}let t1=["x","scaleX","originX"],t2=["y","scaleY","originY"];function t3(t,e,n,i){t0(t.x,e,t1,n?n.x:void 0,i?i.x:void 0),t0(t.y,e,t2,n?n.y:void 0,i?i.y:void 0)}function t8(t){return 0===t.translate&&1===t.scale}function t5(t){return t8(t.x)&&t8(t.y)}function t4(t,e){return t.min===e.min&&t.max===e.max}function t7(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function t6(t,e){return t7(t.x,e.x)&&t7(t.y,e.y)}function t9(t){return H(t.x)/H(t.y)}function et(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class ee{constructor(){this.members=[]}add(t){(0,tL.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,tL.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var en=n(65828);let ei={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},er="undefined"!=typeof window&&void 0!==window.MotionDebug,eo=["","X","Y","Z"],es={visibility:"hidden"},ea=0;function el(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function eu({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=null==e?void 0:e()){this.id=ea++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,er&&(ei.totalNodes=ei.resolvedTargetDeltas=ei.recalculatedProjection=0),this.nodes.forEach(ed),this.nodes.forEach(ew),this.nodes.forEach(eb),this.nodes.forEac
1h(ef),er&&window.MotionDebug.record(ei)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tV)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t_.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,tj.v)(e),this.instance=e;let{layoutId:i,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||i)&&(this.isLayoutDirty=!0),t){let n;let i=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=tR.X.now(),i=({timestamp:e})=>{let r=e-n;r>=250&&((0,L.Pn)(i),t(r-250))};return L.Wi.read(i,!0),()=>(0,L.Pn)(i)}(i,0),ty.hasAnimatedSinceResize&&(ty.hasAnimatedSinceResize=!1,this.nodes.forEach(ey))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||eM,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!t6(this.targetLayout,i)||n,u=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,tk.e)(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ey(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}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,(0,L.Pn)(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(ex),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:n}=e.options;if(!n)return;let i=(0,tO.s)(n);if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",L.Wi,!(t||n))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(em);return}
1this.isUpdating||this.nodes.forEach(ev),this.isUpdating=!1,this.nodes.forEach(eg),this.nodes.forEach(ec),this.nodes.forEach(eh),this.clearAllSnapshots();let t=tR.X.now();L.frameData.delta=(0,Y.u)(0,1e3/60,t-L.frameData.timestamp),L.frameData.timestamp=t,L.frameData.isProcessing=!0,L.yL.update.process(L.frameData),L.yL.preRender.process(L.frameData),L.yL.render.process(L.frameData),L.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tP.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ep),this.sharedNodes.forEach(eS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,L.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){L.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,Q.dO)(),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){let e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!t5(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&(e||(0,en.ud)(this.latestValues)||o)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),i=this.removeElementScroll(n);return t&&(i=this.removeTransform(i)),eA((e=i).x),eA(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,Q.dO)();let n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(eR))){let{scroll:t}=this.root;t&&((0,tJ.am)(n.x,t.offset.x),(0,tJ.am)(n.y,t.offset.y))}return n}removeElementScroll(t){var e;let n=(0,Q.dO)();if(tG(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(let e=0;e<this.path.length;e++){let i=this.path[e],{scroll:r,options:o}=i;i!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&tG(n,t),(0,tJ.am)(n.x,r.offset.x),(0,tJ.am)(n.y,r.offset.y))}return n}applyTransform(t,e=!1){let n=(0,Q.dO)();tG(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&&(0,tJ.D2)(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),(0,en.ud)(i.latestValues)&&(0,tJ.D2)(n,i.latestValues)}return(0,en.ud)(this.latestValues)&&(0,tJ.D2)(n,this.latestValues),n}removeTransform(t){let e=(0,Q.dO)();tG(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!(0,en.ud)(n.latestValues))continue;(0,en.Lj)(n.latestValues)&&n.updateSnapshot();let i=(0,Q.dO)();tG(i,n.measurePageBox()),t3(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return(0,en.ud)(this.latestValues)&&t3(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!==L.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,n,i,r;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=L.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Q.dO)(),this.relativeTargetOrigin=(0,Q.dO)(),Z(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),tG(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,Q.dO)(),this.targetWithTransforms=(0,Q.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,i=this.relativeTarget,r=this.relativeParent.target,$(n.x,i.x,r.x),$(n.y,i.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tG(this.target,this.layout.layoutBox),(0,tJ.o2)(this.target,this.targetDelta)):tG(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Q.dO)(),this.relativeTargetOrigin=(0,Q.dO)(),Z(this.relativeTargetOrigin,this.target,t.target),tG(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}er&&ei.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,en.Lj)(this.parent.latestValues)||(0,en.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),n=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===L.frameData.timestamp&&(i=!1),i)return;let{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||o))return;tG(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;(0,tJ.YY)(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,Q.dO)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tK(this.prevProjectionDelta.x,this.projectionDelta.x),tK(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),U(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&et(this.projectionDelta.x,this.prevProjectionDelta.x)&&et(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),er&&ei.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,Q.wc)(),this.projectionDelta=(0,Q.wc)(),this.projectionDeltaWithTransform=(0,Q.wc)()}setAnimationOrigin(t,e=!1){let n;let i=this.snapshot,r=i?i.latestValues:{},o={...this.latestValues},s=(0,Q.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,Q.dO)(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(eT));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(eP(s.x,t.x,i),eP(s.y,t.y,i),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;Z(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,eE(f.x,p.x,a.x,i),eE(f.y,p.y,a.y,i),n&&(u=this.relativeTarget,d=n,t4(u.x,d.x)&&t4(u.y,d.y))&&(this.isProjectionDirty=!1),n||(n=(0,Q.dO)()),tG(n,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,n,i,r,o){r?(t.opacity=(0,F.t)(0,void 0!==n.opacity?n.opacity:1,tX(i)),t.opacityExit=(0,F.t)(void 0!==e.opacity?e.opacity:1,0,tZ(i))):o&&(t.opacity=(0,F.t)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<tH;r++){let o=`border${tF[r]}Radius`,s=t$(e,o),a=t$(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||tU(s)===tU(a)?(t[o]=Math.max((0,F.t)(tN(s),tN(a),i),0),(ti.aQ.test(a)||ti.aQ.test(s))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,F.t)(e.rotate||0,n.rotate||0,i))}(o,r,this.latestValues,i,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,L.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=L.Wi.update(()=>{ty.hasAnimatedSinceResize=!0,this.currentAnimation=(0,tA.D)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:i,latestValues:r}=t;
1if(e&&n&&i){if(this!==t&&this.layout&&i&&eO(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,Q.dO)();let e=H(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=H(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}tG(e,n),(0,tJ.D2)(e,r),U(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ee),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),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:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let i={};n.z&&el("z",t,i,this.animationValues);for(let e=0;e<eo.length;e++)el(`rotate${eo[e]}`,t,i,this.animationValues),el(`skew${eo[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return es;let i={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=tz(null==t?void 0:t.pointerEvents)||"",i.transform=r?r(this.latestValues,""):"none",i;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tz(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,en.ud)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,n){let i="",r=t.x.translate/e.x,o=t.y.translate/e.y,s=(null==n?void 0:n.z)||0;if((r||o||s)&&(i=`translate3d(${r}px, ${o}px, ${s}px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:o,skewX:s,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),r&&(i+=`rotateX(${r}deg) `),o&&(i+=`rotateY(${o}deg) `),s&&(i+=`skewX(${s}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(i.transform=r(s,i.transform));let{x:a,y:l}=this.projectionDelta;for(let t in i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,tS.P){if(void 0===s[t])continue;let{correct:e,applyTo:n}=tS.P[t],r="none"===i.transform?s[t]:e(s[t],o);if(n){let t=n.length;for(let e=0;e<t;e++)i[n[e]]=r}else i[t]=r}return this.options.layoutId&&(i.pointerEvents=o===this?tz(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(em),this.root.sharedNodes.clear()}}}function ec(t){t.updateLayout()}function eh(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:r}=t.options,o=n.source!==t.layout.source;"size"===r?tt(t=>{let i=o?n.measuredBox[t]:n.layoutBox[t],r=H(i);i.min=e[t].min,i.max=i.min+r}):eO(r,n.layoutBox,e)&&tt(i=>{let r=o?n.measuredBox[i]:n.layoutBox[i],s=H(e[i]);r.max=r.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+s)});let s=(0,Q.wc)();U(s,e,n.layoutBox);let a=(0,Q.wc)();o?U(a,t.applyTransform(i,!0),n.measuredBox):U(a,e,n.layoutBox);let l=!t5(s),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:o}=i;if(r&&o){let s=(0,Q.dO)();Z(s,n.layoutBox,r.layoutBox);let a=(0,Q.dO)();Z(a,e,o.layoutBox),t6(s,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ed(t){er&&ei.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ef(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ep(t){t.clearSnapshot()}function em(t){t.clearMeasurements()}function ev(t){t.isLayoutDirty=!1}function eg(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ey(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ew(t){t.resolveTargetDelta()}function eb(t){t.calcProjection()}function ex(t){t.resetSkewAndRotation()}function eS(t){t.removeLeadSnapshot()}function eP(t,e,n){t.translate=(0,F.t)(e.translate,0,n),t.scale=(0,F.t)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function eE(t,e,n,i){t.min=(0,F.t)(e.min,n.min,i),t.max=(0,F.t)(e.max,n.max,i)}function eT(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eM={duration:.45,ease:[.4,0,.1,1]},eC=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ek=eC("applewebkit/")&&!eC("chrome/")?Math.round:S.Z;function eA(t){t.min=ek(t.min),t.max=ek(t.max)}function eO(t,e,n){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(t9(e)-t9(n)))}function eR(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let ej=eu({attachResizeListener:(t,e)=>C(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eL={current:void 0},eD=eu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eL.current){let t=new ej({});t.mount(window),t.setOptions({layoutScroll:!0}),eL.current=t}return eL.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eV=n(24445);function e_(t,e){let n=(0,eV.I)(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function eB(t){return e=>{"touch"===e.pointerType||E.x||E.y||t(e)}}function eW(t,e,n){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);let r=i["onHover"+n];r&&L.Wi.postRender(()=>r(e,k(e)))}class ez extends y{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,o]=e_(t,n),s=eB(t=>{let{target:n}=t,i=e(t);if(!i||!n)return;let o=eB(t=>{i(t),n.removeEventListener("pointerleave",o)});n.addEventListener("pointerleave",o,r)});return i.forEach(t=>{t.addEventListener("pointerenter",s,r)}),o}(t,t=>(eW(this.node,t,"Start"),t=>eW(this.node,t,"End"))))}unmount(){}}class eI extends y{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,j.z)(C(this.node.current,"focus",()=>this.onFocus()),C(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eF=new WeakSet;function eH(t){return e=>{"Enter"===e.key&&t(e)}}function eN(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let eU=(t,e)=>{let n=t.currentTarget;if(!n)return;let i=eH(()=>{if(eF.has(n))return;eN(n,"down");let t=eH(()=>{eN(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>eN(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)},e$=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),eX=(t,e)=>!!e&&(t===e||eX(t,e.parentElement));function eZ(t){return M(t)&&!(E.x||E.y)}function eY(t,e,n){let{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);let r=i["onTap"+("End"===n?"":n)];r&&L.Wi.postRender(()=>r(e,k(e)))}class eq extends y{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,o]=e_(t,n),s=t=>{let i=t.currentTarget;if(!eZ(t)||eF.has(i))return;eF.add(i);let o=e(t),s=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),eZ(t)&&eF.has(i)&&(eF.delete(i),o&&o(t,{success:e}))},a=t=>{s(t,n.useGlobalTarget||eX(i,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};
1return i.forEach(t=>{e$.has(t.tagName)||-1!==t.tabIndex||(t.tabIndex=0),(n.useGlobalTarget?window:t).addEventListener("pointerdown",s,r),t.addEventListener("focus",t=>eU(t,r),r)}),o}(t,t=>(eY(this.node,t,"Start"),(t,{success:e})=>eY(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let eG=new WeakMap,eK=new WeakMap,eJ=t=>{let e=eG.get(t.target);e&&e(t)},eQ=t=>{t.forEach(eJ)},e0={some:0,all:1};class e1 extends y{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:e0[i]};return function(t,e,n){let i=function({root:t,...e}){let n=t||document;eK.has(n)||eK.set(n,{});let i=eK.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(eQ,{root:t,...e})),i[r]}(e);return eG.set(t,n),i.observe(t),()=>{eG.delete(t),i.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}var e2=n(78882);let e3=(0,tp.createContext)({});var e8=n(63454);let e5=(0,tp.createContext)({strict:!1});var e4=n(17464),e7=n(31968);function e6(t){return Array.isArray(t)?t.join(" "):t}var e9=n(76659),nt=n(46331);let ne=Symbol.for("motionComponentSymbol"),nn=["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 ni(t){if("string"!=typeof t||t.includes("-"));else if(nn.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var nr=n(10796),no=n(34532),ns=n(68504),na=n(8280);let nl=t=>(e,n)=>{let i=(0,tp.useContext)(e3),r=(0,tp.useContext)(tm.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},i,r,o){let a={latestValues:function(t,e,n,i){let r={},o=i(t,{});for(let t in o)r[t]=tz(o[t]);let{initial:a,animate:l}=t,u=(0,e7.G)(t),c=(0,e7.M)(t);e&&c&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let h=!!n&&!1===n.initial,d=(h=h||!1===a)?l:a;if(d&&"boolean"!=typeof d&&!(0,s.H)(d)){let e=Array.isArray(d)?d:[d];for(let n=0;n<e.length;n++){let i=(0,ns.o)(t,e[n]);if(i){let{transitionEnd:t,transition:e,...n}=i;for(let t in n){let e=n[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,r,o,t),renderState:e()};return n&&(a.mount=t=>n(i,t,a)),a})(t,e,i,r);return n?o():(0,na.h)(o)},nu=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nc=()=>({...nu(),attrs:{}});var nh=n(80641),nd=n(87564);let nf={useVisualState:nl({scrapeMotionValuesFromProps:no.U,createRenderState:nc,onMount:(t,e,{renderState:n,latestValues:i})=>{L.Wi.read(()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),L.Wi.render(()=>{(0,nh.i)(n,i,(0,nd.a)(e.tagName),t.transformTemplate),(0,nr.K)(e,n)})}})},np={useVisualState:nl({scrapeMotionValuesFromProps:n(7303).U,createRenderState:nu})};var nm=n(51659),nv=n(81043);function ng(t,e,n){for(let i in e)(0,tW.i)(e[i])||(0,nm.j)(i,n)||(t[i]=e[i])}let ny=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nw(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ny.has(t)}let nb=t=>!nw(t);try{(i=require("@emotion/is-prop-valid").default)&&(nb=t=>t.startsWith("on")?!nw(t):i(t))}catch(t){}var nx=n(27447),nS=n(84826);let nP=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}((r={animation:{Feature:w},exit:{Feature:x},inView:{Feature:e1},tap:{Feature:eq},focus:{Feature:eI},hover:{Feature:ez},pan:{Feature:td},drag:{Feature:tc,ProjectionNode:eD,MeasureLayout:tM},layout:{ProjectionNode:eD,MeasureLayout:tM}},o=(t,e)=>ni(t)?new nS.e(e):new nx.W(e,{allowProjection:t!==tp.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){let{preloadedFeatures:e,createVisualElement:n,useRender:i,useVisualState:r,Component:o}=t;e&&function(t){for(let e in t)e9.featureDefinitions[e]={...e9.featureDefinitions[e],...t[e]}}(e);let s=(0,tp.forwardRef)(function(t,e){var s;let a;let l={...(0,tp.useContext)(e2._),...t,layoutId:function(t){let{layoutId:e}
1=t,n=(0,tp.useContext)(tv.p).id;return n&&void 0!==e?n+"-"+e:e}(t)},{isStatic:c}=l,h=function(t){let{initial:e,animate:n}=function(t,e){if((0,e7.G)(t)){let{initial:e,animate:n}=t;return{initial:!1===e||(0,u.$)(e)?e:void 0,animate:(0,u.$)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,tp.useContext)(e3));return(0,tp.useMemo)(()=>({initial:e,animate:n}),[e6(e),e6(n)])}(t),d=r(t,c);if(!c&&nt.j){(0,tp.useContext)(e5).strict;let t=function(t){let{drag:e,layout:n}=e9.featureDefinitions;if(!e&&!n)return{};let i={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(l);a=t.MeasureLayout,h.visualElement=function(t,e,n,i,r){var o,s;let{visualElement:a}=(0,tp.useContext)(e3),l=(0,tp.useContext)(e5),u=(0,tp.useContext)(tm.O),c=(0,tp.useContext)(e2._).reducedMotion,h=(0,tp.useRef)(null);i=i||l.renderer,!h.current&&i&&(h.current=i(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let d=h.current,f=(0,tp.useContext)(tg);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(t,e,n,i){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&z(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(h.current,n,r,f);let p=(0,tp.useRef)(!1);(0,tp.useInsertionEffect)(()=>{d&&p.current&&d.update(n,u)});let m=n[e4.M],v=(0,tp.useRef)(!!m&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,m))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,m)));return(0,e8.L)(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),tP.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),(0,tp.useEffect)(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,m)}),v.current=!1))}),d}(o,d,l,n,t.ProjectionNode)}return(0,tf.jsxs)(e3.Provider,{value:h,children:[a&&h.visualElement?(0,tf.jsx)(a,{visualElement:h.visualElement,...l}):null,i(o,t,(s=h.visualElement,(0,tp.useCallback)(t=>{t&&d.mount&&d.mount(t),s&&(t?s.mount(t):s.unmount()),e&&("function"==typeof e?e(t):z(e)&&(e.current=t))},[s])),d,c,h.visualElement)]})});return s[ne]=o,s}({...ni(t)?nf:np,preloadedFeatures:r,useRender:function(t=!1){return(e,n,i,{latestValues:r},o)=>{let s=(ni(e)?function(t,e,n,i){let r=(0,tp.useMemo)(()=>{let n=nc();return(0,nh.i)(n,e,(0,nd.a)(i),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};ng(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let n={},i=function(t,e){let n=t.style||{},i={};return ng(i,n,t),Object.assign(i,function({transformTemplate:t},e){return(0,tp.useMemo)(()=>{let n=nu();return(0,nv.r)(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n})(n,r,o,e),a=function(t,e,n){let i={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(nb(r)||!0===n&&nw(r)||!e&&!nw(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(n,"string"==typeof e,t),l=e!==tp.Fragment?{...a,...s,ref:i}:{},{children:u}=n,c=(0,tp.useMemo)(()=>(0,tW.i)(u)?u.get():u,[u]);return(0,tp.createElement)(e,{...l,children:c})}}(e),createVisualElement:o,Component:t})}))},30048:function(t,e,n){"use strict";n.d(e,{s:function(){return p}});var i=n(6585),r=n(31993),o=n(28527),s=n(75122);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=n(84820),u=n(40461),c=n(19364),h=n(7827),d=n(94892);
1let f=new Set(["auto","none","0"]);class p extends c.e{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),(0,s.t)(i))){let l=function t(e,n,i=1){(0,r.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[l,u]=function(t){let e=a.exec(t);if(!e)return[,];let[,n,i,r]=e;return[`--${null!=n?n:i}`,r]}(e);if(!l)return;let c=window.getComputedStyle(n).getPropertyValue(l);if(c){let t=c.trim();return(0,o.P)(t)?parseFloat(t):t}return(0,s.t)(u)?t(u,n,i+1):u}(i,e.current);void 0!==l&&(t[n]=l),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!l.z2.has(n)||2!==t.length)return;let[i,c]=t,h=(0,u.C)(i),d=(0,u.C)(c);if(h!==d){if((0,l.mP)(h)&&(0,l.mP)(d))for(let e=0;e<t.length;e++){let n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++){var r;("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||(0,i.W)(r))&&n.push(e)}n.length&&function(t,e,n){let i,r=0;for(;r<t.length&&!i;){let e=t[r];"string"==typeof e&&!f.has(e)&&(0,h.V)(e).values.length&&(i=t[r]),r++}if(i&&n)for(let r of e)t[r]=(0,d.T)(n,i)}(t,n,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=l.lw[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){var t;let{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let r=e.getValue(n);r&&r.jump(this.measuredOrigin,!1);let o=i.length-1,s=i[o];i[o]=l.lw[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}},9053:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var i=n(16829),r=n(30048),o=n(8588);class s extends i.l{constructor(){super(...arguments),this.KeyframeResolver=r.s}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,o.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},99691:function(t,e,n){"use strict";n.d(e,{D:function(){return i}});let i=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},75122:function(t,e,n){"use strict";n.d(e,{f:function(){return r},t:function(){return s}});let i=t=>e=>"string"==typeof e&&e.startsWith(t),r=i("--"),o=i("var(--"),s=t=>!!o(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},31376:function(t,e,n){"use strict";function i(t){return t instanceof SVGElement&&"svg"!==t.tagName}n.d(e,{v:function(){return i}})},84820:function(t,e,n){"use strict";n.d(e,{Ei:function(){return d},lw:function(){return f},mP:function(){return a},z2:function(){return s}});var i=n(15704),r=n(68708),o=n(14951);let s=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),a=t=>t===r.Rx||t===o.px,l=(t,e)=>parseFloat(t.split(", ")[e]),u=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return l(r[1],e);{let e=i.match(/^matrix\((.+)\)$/u);return e?l(e[1],t):0}},c=new Set(["x","y","z"]),h=i._.filter(t=>!c.has(t));function d(t){let e=[];return h.forEach(n=>{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}let f={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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:u(4,13),y:u(5,14)};f.translateX=f.x,f.translateY=f.y},94892:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(7827),r=n(26823),o=n(76910);function s(t,e){let n=(0,o.A)(t);return n!==r.h&&(n=i.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},76910:function(t,e,n){"use strict";n.d(e,{A:function(){return s}});var i=n(5582),r=n(26823);let o={...n(29565).j,color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:r.h,WebkitFilter:r.h},s=t=>o[t]},40461:function(t,e,n){"use strict";n.d(e,{$:function(){return s},C:function(){return a}});var i=n(68708),r=n(14951),o=n(40778);let s=[i.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>s.find((0,o.l)(t))},29565:function(t,e,n){"use strict";n.d(e,{j:function(){return l}});var i=n(68708),r=n(14951);let o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px},s={rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:i.bA,scaleX:i.bA,scaleY:i.bA,scaleZ:i.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:i.Fq,originX:r.$C,originY:r.$C,originZ:r.px},a={...i.Rx,transform:Math.round},l={...o,...s,zIndex:a,size:r.px,fillOpacity:i.Fq,strokeOpacity:i.Fq,numOctaves:a}},40778:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});let i=t=>e=>e.test(t)},27447:function(t,e,n){"use strict";n.d(e,{W:function(){return h}});var i=n(81043),r=n(75122),o=n(15704),s=n(7303),a=n(48044),l=n(76910),u=n(57638),c=n(9053);class h extends c.J{constructor(){super(...arguments),this.type="html",this.renderInstance=a.N}readValueFromInstance(t,e){if(o.G.has(e)){let t=(0,l.A)(e);return t&&t.default||0}{let n=window.getComputedStyle(t),i=((0,r.f)(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,u.J)(t,e)}build(t,e,n){(0,i.r)(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return(0,s.U)(t,e,n)}}},81043:function(t,e,n){"use strict";n.d(e,{r:function(){return u}});var i=n(15704);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;
1var o=n(29565);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=i._.length;var l=n(75122);function u(t,e,n){let{style:u,vars:c,transformOrigin:h}=t,d=!1,f=!1;for(let t in e){let n=e[t];if(i.G.has(t)){d=!0;continue}if((0,l.f)(t)){c[t]=n;continue}{let e=r(n,o.j[t]);t.startsWith("origin")?(f=!0,h[t]=e):u[t]=e}}if(!e.transform&&(d||n?u.transform=function(t,e,n){let l="",u=!0;for(let c=0;c<a;c++){let a=i._[c],h=t[a];if(void 0===h)continue;let d=!0;if(!(d="number"==typeof h?h===(a.startsWith("scale")?1:0):0===parseFloat(h))||n){let t=r(h,o.j[a]);if(!d){u=!1;let e=s[a]||a;l+=`${e}(${t}) `}n&&(e[a]=t)}}return l=l.trim(),n?l=n(e,u?"":l):u&&(l="none"),l}(e,t.transform,n):u.transform&&(u.transform="none")),f){let{originX:t="50%",originY:e="50%",originZ:n=0}=h;u.transformOrigin=`${t} ${e} ${n}`}}},48044:function(t,e,n){"use strict";function i(t,{style:e,vars:n},i,r){for(let o in Object.assign(t.style,e,r&&r.getProjectionStyles(i)),n)t.style.setProperty(o,n[o])}n.d(e,{N:function(){return i}})},7303:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var i=n(51659),r=n(8588);function o(t,e,n){var o;let{style:s}=t,a={};for(let l in s)((0,r.i)(s[l])||e.style&&(0,r.i)(e.style[l])||(0,i.j)(l,t)||(null===(o=null==n?void 0:n.getValue(l))||void 0===o?void 0:o.liveStyle)!==void 0)&&(a[l]=s[l]);return a}},15704:function(t,e,n){"use strict";n.d(e,{G:function(){return r},_:function(){return i}});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(i)},50123:function(t,e,n){"use strict";n.d(e,{R:function(){return i}});let i=new WeakMap},84826:function(t,e,n){"use strict";n.d(e,{e:function(){return f}});var i=n(34532),r=n(9053),o=n(80641),s=n(99691),a=n(16739),l=n(15704),u=n(10796),c=n(76910),h=n(31020),d=n(87564);class f extends r.J{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=h.dO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(l.G.has(e)){let t=(0,c.A)(e);return t&&t.default||0}return e=a.s.has(e)?e:(0,s.D)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return(0,i.U)(t,e,n)}
1build(t,e,n){(0,o.i)(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){(0,u.K)(t,e,n,i)}mount(t){this.isSVGTag=(0,d.a)(t.tagName),super.mount(t)}}},80641:function(t,e,n){"use strict";n.d(e,{i:function(){return l}});var i=n(81043),r=n(14951);function o(t,e,n){return"string"==typeof t?t:r.px.transform(e+n*t)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(t,{attrX:e,attrY:n,attrScale:l,originX:u,originY:c,pathLength:h,pathSpacing:d=1,pathOffset:f=0,...p},m,v){if((0,i.r)(t,p,v),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:y,dimensions:w}=t;g.transform&&(w&&(y.transform=g.transform),delete g.transform),w&&(void 0!==u||void 0!==c||y.transform)&&(y.transformOrigin=function(t,e,n){let i=o(e,t.x,t.width),r=o(n,t.y,t.height);return`${i} ${r}`}(w,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==e&&(g.x=e),void 0!==n&&(g.y=n),void 0!==l&&(g.scale=l),void 0!==h&&function(t,e,n=1,i=0,o=!0){t.pathLength=1;let l=o?s:a;t[l.offset]=r.px.transform(-i);let u=r.px.transform(e),c=r.px.transform(n);t[l.array]=`${u} ${c}`}(g,h,d,f,!1)}},16739:function(t,e,n){"use strict";n.d(e,{s:function(){return i}});let i=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"])},87564:function(t,e,n){"use strict";n.d(e,{a:function(){return i}});let i=t=>"string"==typeof t&&"svg"===t.toLowerCase()},10796:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var i=n(99691),r=n(48044),o=n(16739);function s(t,e,n,s){for(let n in(0,r.N)(t,e,void 0,s),e.attrs)t.setAttribute(o.s.has(n)?n:(0,i.D)(n),e.attrs[n])}},34532:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(8588),r=n(7303),o=n(15704);function s(t,e,n){let s=(0,r.U)(t,e,n);for(let n in t)((0,i.i)(t[n])||(0,i.i)(e[n]))&&(s[-1!==o._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}},19364:function(t,e,n){"use strict";n.d(e,{e:function(){return h},m:function(){return c}});var i=n(84820),r=n(34760);let o=new Set,s=!1,a=!1;function l(){if(a){let t=Array.from(o).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=(0,i.Ei)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,n])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,s=!1,o.forEach(t=>t.complete()),o.clear()}function u(){o.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function c(){u(),l()}class h{constructor(t,e,n,i,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(o.add(this),s||(s=!0,r.Wi.read(u),r.Wi.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==i?void 0:i.get(),o=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){let i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===r&&i.set(t[0])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),o.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,o.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},31968:function(t,e,n){"use strict";n.d(e,{G:function(){return s},M:function(){return a}});var i=n(94874),r=n(35152),o=n(88139);function s(t){return(0,i.H)(t.animate)||o.V.some(e=>(0,r.$)(t[e]))}function a(t){return!!(s(t)||t.variants)}}
1,35152:function(t,e,n){"use strict";function i(t){return"string"==typeof t||Array.isArray(t)}n.d(e,{$:function(){return i}})},23281:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(68504);function r(t,e,n){let r=t.getProps();return(0,i.o)(r,e,void 0!==n?n:r.custom,t)}},68504:function(t,e,n){"use strict";function i(t){let e=[{},{}];return null==t||t.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function r(t,e,n,r){if("function"==typeof e){let[o,s]=i(r);e=e(void 0!==n?n:t.custom,o,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[o,s]=i(r);e=e(void 0!==n?n:t.custom,o,s)}return e}n.d(e,{o:function(){return r}})},58752:function(t,e,n){"use strict";n.d(e,{C:function(){return s}});var i=n(65173),r=n(59287),o=n(23281);function s(t,e){let{transitionEnd:n={},transition:s={},...a}=(0,o.x)(t,e)||{};for(let e in a={...a,...n}){let n=(0,i.Y)(a[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,r.BX)(n))}}},88139:function(t,e,n){"use strict";n.d(e,{V:function(){return r},e:function(){return i}});let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...i]},36074:function(t,e,n){"use strict";n.d(e,{c:function(){return i}});let i={skipAnimations:!1,useManualTiming:!1}},35776:function(t,e,n){"use strict";function i(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{cl:function(){return r},y4:function(){return i}})},21674:function(t,e,n){"use strict";n.d(e,{u:function(){return i}});let i=(t,e,n)=>n>e?e:n<t?t:n},84430:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(31993),r=n(13394),o=n(70998),s=n(21674),a=n(88743),l=n(5806);function u(t,e,{clamp:n=!0,ease:u,mixer:c}={}){let h=t.length;if((0,i.k)(h===e.length,"Both input and output ranges must be the same length"),1===h)return()=>e[0];if(2===h&&t[0]===t[1])return()=>e[1];t[0]>t[h-1]&&(t=[...t].reverse(),e=[...e].reverse());let d=function(t,e,n){let i=[],o=n||a.C,s=t.length-1;for(let n=0;n<s;n++){let s=o(t[n],t[n+1]);if(e){let t=Array.isArray(e)?e[n]||r.Z:e;s=(0,l.z)(t,s)}i.push(s)}return i}(e,u,c),f=d.length,p=e=>{let n=0;if(f>1)for(;n<t.length-2&&!(e<t[n+1]);n++);let i=(0,o.Y)(t[n],t[n+1],e);return d[n](i)};return n?e=>p((0,s.u)(t[0],t[h-1],e)):p}},46331:function(t,e,n){"use strict";n.d(e,{j:function(){return i}});let i="undefined"!=typeof window},28527:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});let i=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},6585:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});let i=t=>/^0[^.\s]+$/u.test(t)},88743:function(t,e,n){"use strict";n.d(e,{C:function(){return T}});var i=n(65879),r=n(31993);function o(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var s=n(72843),a=n(4958),l=n(27993);function u(t,e){return n=>n>0?e:t}let c=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},h=[s.$,a.m,l.J],d=t=>h.find(e=>e.test(t));function f(t){let e=d(t);if((0,r.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===l.J&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,s=0,a=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,l=2*n-i;r=o(l,i,t+1/3),s=o(l,i,t),a=o(l,i,t-1/3)}else r=s=a=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}(n)),n}let p=(t,e)=>{let n=f(t),r=f(e);if(!n||!r)return u(t,e);let o={...n};return t=>(o.red=c(n.red,r.red,t),o.green=c(n.green,r.green,t),o.blue=c(n.blue,r.blue,t),o.alpha=(0,i.t)(n.alpha,r.alpha,t),a.m.transform(o))};var m=n(5806),v=n(5582),g=n(7827),y=n(75122);let w=new Set(["none","hidden"]);function b(t,e){return n=>(0,i.t)(t,e,n)}function x(t){return"number"==typeof t?b:"string"==typeof t?(0,y.t)(t)?u:v.$.test(t)?p:E:Array.isArray(t)?S:"object"==typeof t?v.$.test(t)?p:P:u}function S(t,e){let n=[...t],i=n.length,r=t.map((t,n)=>x(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=r[e](t);return n}}function P(t,e){let n={...t,...e},i={};for(let r in n)void 0!==t[r]&&void 0!==e[r]&&(i[r]=x(t[r])(t[r],e[r]));return t=>{for(let e in i)n[e]=i[e](t);return n}}let E=(t,e)=>{let n=g.P.createTransformer(e),i=(0,g.V)(t),o=(0,g.V)(e);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?w.has(t)&&!o.values.length||w.has(e)&&!i.values.length?w.has(t)?n=>n<=0?t:e:n=>n>=1?e:t:(0,m.z)(S(function(t,e){var n;let i=[],r={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){let s=e.types[o],a=t.indexes[s][r[s]],l=null!==(n=t.values[a])&&void 0!==n?n:0;i[o]=l,r[s]++}return i}(i,o),o.values),n):((0,r.K)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),u(t,e))};function T(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,i.t)(t,e,n):x(t)(t,e)}},65879:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});let i=(t,e,n)=>t+(e-t)*n},70042:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});var i=n(83658);function r(t){let e=[0];return(0,i.c)(e,t.length-1),e}},83658:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(70998),r=n(65879);function o(t,e){let n=t[t.length-1];for(let o=1;o<=e;o++){let s=(0,i.Y)(0,e,o);t.push((0,r.t)(n,1,s))}}},5806:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});let i=(t,e)=>n=>e(t(n)),r=(...t)=>t.reduce(i)},65173:function(t,e,n){"use strict";n.d(e,{Y:function(){return o},p:function(){return r}});var i=n(60839);let r=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),o=t=>(0,i.C)(t)?t[t.length-1]||0:t},323:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(35776);class r{constructor(){this.subscriptions=[]}add(t){return(0,i.y4)(this.subscriptions,t),()=>(0,i.cl)(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r<i;r++){let i=this.subscriptions[r];i&&i(t,e,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},85356:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var i=n(34378),r=n(78882),o=n(34760);function s(t){let e=(0,i.useRef)(0),{isStatic:n}=(0,i.useContext)(r._);(0,i.useEffect)(()=>{if(n)return;let i=({timestamp:n,delta:i})=>{e.current||(e.current=n),t(n-e.current,i)};return o.Wi.update(i,!0),()=>(0,o.Pn)(i)},[t])}},8280:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(34378);function r(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},83380:function(t,e,n){"use strict";n.d(e,{Y:function(){return s}});var i=n(34378),r=n(24445);let o={some:0,all:1};function s(t,{root:e,margin:n,amount:s,once:a=!1}={}){let[l,u]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!t.current||a&&l)return;let i={root:e&&e.current||void 0,margin:n,amount:s};return function(t,e,{root:n,margin:i,amount:s="some"}={}){let a=(0,r.I)(t),l=new WeakMap,u=new IntersectionObserver(t=>{t.forEach(t=>{let n=l.get(t.target);if(!!n!==t.isIntersecting){if(t.isIntersecting){let n=e(t);"function"==typeof n?l.set(t.target,n):u.unobserve(t.target)}else n&&(n(t),l.delete(t.target))}})},{root:n,rootMargin:i,threshold:"number"==typeof s?s:o[s]});return a.forEach(t=>u.observe(t)),()=>u.disconnect()}(t.current,()=>(u(!0),a?void 0:()=>u(!1)),i)},[e,t,n,a,s]),l}},52208:function(t,e,n){"use strict";n.d(e,{c:function(){return i}});let i={current:!1}},63454:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(34378);let r=n(46331).j?i.useLayoutEffect:i.useEffect},99971:function(t,e,n){"use strict";function i(t,e){return e?1e3/e*t:0}n.d(e,{R:function(){return i}})},59287:function(t,e,n){"use strict";n.d(e,{BX:function(){return c},S1:function(){return l}});var i=n(98187),r=n(323),o=n(99971),s=n(34760);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.16.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let n=i.X.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=i.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(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 r.L);let n=this.events[t].add(e);return"change"===t?()=>{n(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=i.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,o.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(t,e){return new u(t,e)}},72843:function(t,e,n){"use strict";n.d(e,{$:function(){return r}});var i=n(4958);let r={test:(0,n(10040).i)("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
1a:r?parseInt(r,16)/255:1}},transform:i.m.transform}},27993:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var i=n(68708),r=n(14951),o=n(93278),s=n(10040);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,o.N)(e))+", "+r.aQ.transform((0,o.N)(n))+", "+(0,o.N)(i.Fq.transform(s))+")"}},5582:function(t,e,n){"use strict";n.d(e,{$:function(){return s}});var i=n(72843),r=n(27993),o=n(4958);let s={test:t=>o.m.test(t)||i.$.test(t)||r.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):r.J.test(t)?r.J.parse(t):i.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.m.transform(t):r.J.transform(t)}},4958:function(t,e,n){"use strict";n.d(e,{m:function(){return u}});var i=n(21674),r=n(68708),o=n(93278),s=n(10040);let a=t=>(0,i.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(n)+", "+(0,o.N)(r.Fq.transform(i))+")"}},10040:function(t,e,n){"use strict";n.d(e,{i:function(){return o},d:function(){return s}});var i=n(29587);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(t,e)=>n=>!!("string"==typeof n&&r.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>r=>{if("string"!=typeof r)return r;let[o,s,a,l]=r.match(i.K);return{[t]:parseFloat(o),[e]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},26823:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var i=n(7827),r=n(29587);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(r.K)||[];if(!i)return t;let s=n.replace(i,""),a=o.has(e)?1:0;return i!==n&&(a*=100),e+"("+a+s+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...i.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(s).join(" "):t}}},7827:function(t,e,n){"use strict";n.d(e,{V:function(){return c},P:function(){return p}});var i=n(5582);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(29587),s=n(93278);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function c(t){let e=t.toString(),n=[],r={color:[],number:[],var:[]},o=[],s=0,c=e.replace(u,t=>(i.$.test(t)?(r.color.push(s),o.push(l),n.push(i.$.parse(t))):t.startsWith("var(")?(r.var.push(s),o.push("var"),n.push(t)):(r.number.push(s),o.push(a),n.push(parseFloat(t))),++s,"${}")).split("${}");return{values:n,split:c,indexes:r,types:o}}function h(t){return c(t).values}function d(t){let{split:e,types:n}=c(t),r=e.length;return t=>{let o="";for(let u=0;u<r;u++)if(o+=e[u],void 0!==t[u]){let e=n[u];e===a?o+=(0,s.N)(t[u]):e===l?o+=i.$.transform(t[u]):o+=t[u]}return o}}let f=t=>"number"==typeof t?0:t,p={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(o.K))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(r))||void 0===n?void 0:n.length)||0)>0},parse:h,createTransformer:d,getAnimatableNone:function(t){let e=h(t);return d(t)(e.map(f))}}},68708:function(t,e,n){"use strict";n.d(e,{Fq:function(){return o},Rx:function(){return r},bA:function(){return s}});var i=n(21674);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...r,transform:t=>(0,i.u)(0,1,t)},s={...r,default:1}},14951:function(t,e,n){"use strict";n.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return o},px:function(){return s},vh:function(){return a},vw:function(){return l}});let i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=i("deg"),o=i("%"),s=i("px"),a=i("vh"),l=i("vw"),u={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},29587:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},93278:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});let i=t=>Math.round(1e5*t)/1e5},7098:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var i=n(34378),r=n(59287),o=n(78882),s=n(8280);function a(t){let e=(0,s.h)(()=>(0,r.BX)(t)),{isStatic:n}=(0,i.useContext)(o._);
1if(n){let[,n]=(0,i.useState)(t);(0,i.useEffect)(()=>e.on("change",n),[])}return e}},61229:function(t,e,n){"use strict";let i,r;n.d(e,{v:function(){return H}});var o=n(59287),s=n(8280),a=n(34378),l=n(31993),u=n(55711),c=n(13394),h=n(34760);function d(t,e){let n;let i=()=>{let{currentTime:i}=e,r=(null===i?0:i.value)/100;n!==r&&t(r),n=r};return h.Wi.update(i,!0),()=>(0,h.Pn)(i)}var f=n(24445);let p=new WeakMap;function m({target:t,contentRect:e,borderBoxSize:n}){var i;null===(i=p.get(t))||void 0===i||i.forEach(i=>{i({target:t,contentSize:e,get size(){return function(t,e){if(e){let{inlineSize:t,blockSize:n}=e[0];return{width:t,height:n}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,n)}})})}function v(t){t.forEach(m)}let g=new Set;var y=n(70998),w=n(99971);let b=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),x=()=>({time:0,x:b(),y:b()}),S={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function P(t,e,n,i){let r=n[e],{length:o,position:s}=S[e],a=r.current,l=n.time;r.current=t[`scroll${s}`],r.scrollLength=t[`scroll${o}`]-t[`client${o}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,y.Y)(0,r.scrollLength,r.current);let u=i-l;r.velocity=u>50?0:(0,w.R)(r.current-a,u)}let E=[[0,0],[1,1]],T={start:0,center:.5,end:1};function M(t,e,n=0){let i=0;if(t in T&&(t=T[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?i=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?i=e/100*document.documentElement.clientWidth:t.endsWith("vh")?i=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(i=e*t),n+i}let C=[0,0];var k=n(84430),A=n(70042);let O={x:0,y:0},R=new WeakMap,j=new WeakMap,L=new WeakMap,D=t=>t===document.documentElement?window:t;function V(t,{container:e=document.documentElement,...n}={}){let o=L.get(e);o||(o=new Set,L.set(e,o));let s=function(t,e,n,i={}){return{measure:()=>(function(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight})(t,i.target,n),update:e=>{P(t,"x",n,e),P(t,"y",n,e),n.time=e,(i.offset||i.target)&&function(t,e,n){let{offset:i=E}=n,{target:r=t,axis:o="y"}=n,s="y"===o?"height":"width",a=r!==t?function(t,e){let n={x:0,y:0},i=t;for(;i&&i!==e;)if(i instanceof HTMLElement)n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){let t=i.getBoundingClientRect(),e=(i=i.parentElement).getBoundingClientRect();n.x+=t.left-e.left,n.y+=t.top-e.top}else if(i instanceof SVGGraphicsElement){let{x:t,y:e}=i.getBBox();n.x+=t,n.y+=e;let r=null,o=i.parentNode;for(;!r;)"svg"===o.tagName&&(r=o),o=i.parentNode;i=r}else break;return n}(r,t):O,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let c=!e[o].interpolate,h=i.length;for(let t=0;t<h;t++){let n=function(t,e,n,i){let r=Array.isArray(t)?t:C,o=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,T[t]?t:"0"]),M(r[0],n,i)-M(r[1],e)}(i[t],u[s],l[s],a[o]);c||n===e[o].interpolatorOffsets[t]||(c=!0),e[o].offset[t]=n}c&&(e[o].interpolate=(0,k.s)(e[o].offset,(0,A.Y)(i)),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=e[o].interpolate(e[o].current)}(t,n,i)},notify:()=>e(n)}}(e,t,x(),n);if(o.add(s),!R.has(e)){let t=()=>{for(let t of o)t.measure()},n=()=>{for(let t of o)t.update(h.frameData.timestamp)},s=()=>{for(let t of o)t.notify()},a=()=>{h.Wi.read(t,!1,!0),h.Wi.read(n,!1,!0),h.Wi.update(s,!1,!0)};R.set(e,a);let l=D(e);window.addEventListener("resize",a,{passive:!0}),e!==document.documentElement&&j.set(e,"function"==typeof e?(g.add(e),r||(r=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};g.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{g.delete(e),!g.size&&r&&(r=void 0)}):function(t,e){i||"undefined"==typeof ResizeObserver||(i=new ResizeObserver(v));let n=(0,f.I)(t);
1return n.forEach(t=>{let n=p.get(t);n||(n=new Set,p.set(t,n)),n.add(e),null==i||i.observe(t)}),()=>{n.forEach(t=>{let n=p.get(t);null==n||n.delete(e),(null==n?void 0:n.size)||null==i||i.unobserve(t)})}}(e,a)),l.addEventListener("scroll",a,{passive:!0})}let a=R.get(e);return h.Wi.read(a,!1,!0),()=>{var t;(0,h.Pn)(a);let n=L.get(e);if(!n||(n.delete(s),n.size))return;let i=R.get(e);R.delete(e),i&&(D(e).removeEventListener("scroll",i),null===(t=j.get(e))||void 0===t||t(),window.removeEventListener("resize",i))}}let _=new Map;function B({source:t,container:e=document.documentElement,axis:n="y"}={}){t&&(e=t),_.has(e)||_.set(e,{});let i=_.get(e);return i[n]||(i[n]=(0,u.t)()?new ScrollTimeline({source:e,axis:n}):function({source:t,container:e,axis:n="y"}){t&&(e=t);let i={value:0},r=V(t=>{i.value=100*t[n].progress},{container:e,axis:n});return{currentTime:i,cancel:r}}({source:e,axis:n})),i[n]}function W(t){return t&&(t.target||t.offset)}var z=n(63454);function I(t,e){(0,l.K)(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let F=()=>({scrollX:(0,o.BX)(0),scrollY:(0,o.BX)(0),scrollXProgress:(0,o.BX)(0),scrollYProgress:(0,o.BX)(0)});function H({container:t,target:e,layoutEffect:n=!0,...i}={}){let r=(0,s.h)(F);return(n?z.L:a.useEffect)(()=>(I("target",e),I("container",t),function(t,{axis:e="y",...n}={}){let i={axis:e,...n};return"function"==typeof t?2===t.length||W(i)?V(e=>{t(e[i.axis].progress,e)},i):d(t,B(i)):function(t,e){if(t.flatten(),W(e))return t.pause(),V(n=>{t.time=t.duration*n[e.axis].progress},e);{let n=B(e);return t.attachTimeline?t.attachTimeline(n,t=>(t.pause(),d(e=>{t.time=t.duration*e},n))):c.Z}}(t,i)}((t,{x:e,y:n})=>{r.scrollX.set(e.current),r.scrollXProgress.set(e.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...i,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0})),[t,e,JSON.stringify(i.offset)]),r}},22523:function(t,e,n){"use strict";n.d(e,{q:function(){return h}});var i=n(34378),r=n(81433),o=n(78882),s=n(63454),a=n(7098),l=n(8588),u=n(34760);function c(t){return"number"==typeof t?t:parseFloat(t)}function h(t,e={}){let{isStatic:n}=(0,i.useContext)(o._),h=(0,i.useRef)(null),d=(0,a.c)((0,l.i)(t)?c(t.get()):t),f=(0,i.useRef)(d.get()),p=(0,i.useRef)(()=>{}),m=()=>{let t=h.current;t&&0===t.time&&t.sample(u.frameData.delta),v(),h.current=(0,r.y)({keyframes:[d.get(),f.current],velocity:d.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...e,onUpdate:p.current})},v=()=>{h.current&&h.current.stop()};return(0,i.useInsertionEffect)(()=>d.attach((t,e)=>n?e(t):(f.current=t,p.current=e,u.Wi.update(m),d.get()),v),[JSON.stringify(e)]),(0,s.L)(()=>{if((0,l.i)(t))return t.on("change",t=>d.set(c(t)))},[d]),d}},76329:function(t,e,n){"use strict";n.d(e,{H:function(){return d}});var i=n(84430);let r=t=>t&&"object"==typeof t&&t.mix,o=t=>r(t)?t.mix:void 0;var s=n(7098),a=n(63454),l=n(34760);function u(t,e){let n=(0,s.c)(e()),i=()=>n.set(e());return i(),(0,a.L)(()=>{let e=()=>l.Wi.preRender(i,!1,!0),n=t.map(t=>t.on("change",e));return()=>{n.forEach(t=>t()),(0,l.Pn)(i)}}),n}var c=n(8280),h=n(59287);function d(t,e,n,r){if("function"==typeof t)return function(t){h.S1.current=[],t();let e=u(h.S1.current,t);return h.S1.current=void 0,e}(t);let s="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),n=e?0:-1,r=t[0+n],s=t[1+n],a=t[2+n],l=t[3+n],u=(0,i.s)(s,a,{mixer:o(a[0]),...l});return e?u(r):u}(e,n,r);return Array.isArray(t)?f(t,s):f([t],([t])=>s(t))}function f(t,e){let n=(0,c.h)(()=>[]);return u(t,()=>{n.length=0;let i=t.length;for(let e=0;e<i;e++)n[e]=t[e].get();return e(n)})}},20550:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(34378),r=n(7098),o=n(34760);function s(t){var e,n;let s=(0,r.c)(t.getVelocity()),a=()=>{let e=t.getVelocity();s.set(e),e&&o.Wi.update(a)};return e="change",n=()=>{o.Wi.update(a,!1,!0)},(0,i.useInsertionEffect)(()=>t.on(e,n),[t,e,n]),s}},83910:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(8588);function r(t,e){let n=t.getValue("willChange");if((0,i.i)(n)&&n.add)return n.add(e)}},8588:function(t,e,n){"use strict";n.d(e,{i:function(){return i}});let i=t=>!!(t&&t.getVelocity)},72089:function(t,e,n){"use strict";n.d(e,{s:function(){return o}});var i=n(55711);
1class r{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t,e){let n=this.animations.map(n=>(0,i.t)()&&n.attachTimeline?n.attachTimeline(t):e(n));return()=>{n.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class o extends r{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}},42833:function(t,e,n){"use strict";n.d(e,{E:function(){return i},i:function(){return r}});let i=2e4;function r(t){let e=0,n=t.next(e);for(;!n.done&&e<i;)e+=50,n=t.next(e);return e>=i?1/0:e}},69040:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{x:function(){return i}})},94399:function(t,e,n){"use strict";function i(t,e){return t?t[e]||t.default||t:void 0}n.d(e,{e:function(){return i}})},68497:function(t,e,n){"use strict";n.d(e,{w:function(){return r}});var i=n(70998);let r=(t,e,n=10)=>{let r="",o=Math.max(Math.round(e/n),2);for(let e=0;e<o;e++)r+=t((0,i.Y)(0,o-1,e))+", ";return`linear(${r.substring(0,r.length-2)})`}},44147:function(t,e,n){"use strict";n.d(e,{q:function(){return i}});let i=t=>Array.isArray(t)&&"number"==typeof t[0]},24445:function(t,e,n){"use strict";function i(t,e,n){var i;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let o=null!==(i=null==n?void 0:n[t])&&void 0!==i?i:r.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}n.d(e,{I:function(){return i}})},55711:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});let i=(0,n(51769).X)(()=>void 0!==window.ScrollTimeline)},31993:function(t,e,n){"use strict";n.d(e,{K:function(){return r},k:function(){return o}});var i=n(13394);let r=i.Z,o=i.Z},51769:function(t,e,n){"use strict";function i(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{X:function(){return i}})},13394:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=t=>t},70998:function(t,e,n){"use strict";n.d(e,{Y:function(){return i}});let i=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i}},21560:function(t,e,n){"use strict";n.d(e,{X:function(){return r},w:function(){return i}});let i=t=>1e3*t,r=t=>t/1e3},30937:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(34378);function r(t,e){let n;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>t(...i),e)}}function o({debounce:t,scroll:e,polyfill:n,offsetSize:o}={debounce:0,scroll:!1,offsetSize:!1}){var s;let l=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!l)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[u,c]=(0,i.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),h=(0,i.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:u,orientationHandler:null}),d=t?"number"==typeof t?t:t.scroll:null,f=t?"number"==typeof t?t:t.resize:null,p=(0,i.useRef)(!1);(0,i.useEffect)(()=>(p.current=!0,()=>void(p.current=!1)));let[m,v,g]=(0,i.useMemo)(()=>{let t=()=>{if(!h.current.element)return;let{left:t,top:e,width:n,height:i,bottom:r,right:s,x:l,y:u}=h.current.element.getBoundingClientRect(),d={left:t,top:e,width:n,height:i,bottom:r,right:s,x:l,y:u};h.current.element instanceof HTMLElement&&o&&(d.height=h.current.element.offsetHeight,d.width=h.current.element.offsetWidth),Object.freeze(d),p.current&&!a(h.current.lastBounds,d)&&c(h.current.lastBounds=d)};return[t,f?r(t,f):t,d?r(t,d):t]},[c,o,d,f]);
1function y(){h.current.scrollContainers&&(h.current.scrollContainers.forEach(t=>t.removeEventListener("scroll",g,!0)),h.current.scrollContainers=null),h.current.resizeObserver&&(h.current.resizeObserver.disconnect(),h.current.resizeObserver=null),h.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",h.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",h.current.orientationHandler))}function w(){h.current.element&&(h.current.resizeObserver=new l(g),h.current.resizeObserver.observe(h.current.element),e&&h.current.scrollContainers&&h.current.scrollContainers.forEach(t=>t.addEventListener("scroll",g,{capture:!0,passive:!0})),h.current.orientationHandler=()=>{g()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",h.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",h.current.orientationHandler))}return s=!!e,(0,i.useEffect)(()=>{if(s)return window.addEventListener("scroll",g,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",g,!0)},[g,s]),(0,i.useEffect)(()=>(window.addEventListener("resize",v),()=>void window.removeEventListener("resize",v)),[v]),(0,i.useEffect)(()=>{y(),w()},[e,g,v]),(0,i.useEffect)(()=>y,[]),[t=>{t&&t!==h.current.element&&(y(),h.current.element=t,h.current.scrollContainers=function t(e){let n=[];if(!e||e===document.body)return n;let{overflow:i,overflowX:r,overflowY:o}=window.getComputedStyle(e);return[i,r,o].some(t=>"auto"===t||"scroll"===t)&&n.push(e),[...n,...t(e.parentElement)]}(t),w())},u,m]}let s=["x","y","top","bottom","left","right","width","height"],a=(t,e)=>s.every(n=>t[n]===e[n])}}]);
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.