PageSourceSearch

https://www.luakabop.com/_next/static/chunks/615-08c05fa261a70d90.js

js luakabop.com collected 2026-10-02 04:09:49 UTC 165,647 bytes, 13 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[615],{4184:function(t,e){var r;/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var s=i.apply(null,r);s&&t.push(s)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0!==(r=(function(){return i}).apply(e,[]))&&(t.exports=r)}()},9783:function(t,e){"use strict";var r,n;Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return s},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c}});let i="refresh",o="navigate",s="restore",a="server-patch",l="prefetch",u="fast-refresh",c="server-action";(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("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)},358:function(t,e,r){"use strict";function n(t,e,r,n){return!1}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(4005),("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)},6313:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return E}});let n=r(8754),i=r(1757),o=i._(r(7294)),s=n._(r(4605)),a=r(2269),l=r(7549),u=r(5264);r(3213);let c=r(4005);function h(t){return"/"===t[0]?t.slice(1):t}let d={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},f=new Set,p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",m=new Map([["default",function(t){let{config:e,src:r,width:n,quality:i}=t;return r.endsWith(".svg")&&!e.dangerouslyAllowSVG?r:(0,c.normalizePathTrailingSlash)(e.path)+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(i||75)}],["imgix",function(t){let{config:e,src:r,width:n,quality:i}=t,o=new URL(""+e.path+h(r)),s=o.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||n.toString()),i&&s.set("q",i.toString()),o.href}],["cloudinary",function(t){let{config:e,src:r,width:n,quality:i}=t,o=["f_auto","c_limit","w_"+n,"q_"+(i||"auto")].join(",")+"/";return""+e.path+o+h(r)}],["akamai",function(t){let{config:e,src:r,width:n}=t;return""+e.path+h(r)+"?imwidth="+n}],["custom",function(t){let{src:e}=t;throw Error('Image with src "'+e+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}]]);function g(t){return void 0!==t.default}function y(t){let{config:e,src:r,unoptimized:n,layout:i,width:o,quality:s,sizes:a,loader:l}=t;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:c}=function(t,e,r,n){let{deviceSizes:i,allSizes:o}=t;if(n&&("fill"===r||"responsive"===r)){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let r;r=t.exec(n);r)e.push(parseInt(r[2]));if(e.length){let t=.01*Math.min(...e);return{widths:o.filter(e=>e>=i[0]*t),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof e||"fill"===r||"responsive"===r)return{widths:i,kind:"w"};let s=[...new Set([e,2*e].map(t=>o.find(e=>e>=t)||o[o.length-1]))];return{widths:s,kind:"x"}}(e,o,i,a),h=u.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:u.map((t,n)=>l({config:e,src:r,quality:s,width:t})+" "+("w"===c?t:n+1)+c).join(", "),src:l({config:e,src:r,quality:s,width:u[h]})}}function v(t){return"number"==typeof t?t:"string"==typeof t?parseInt(t,10):void 0}function b(t){var e;let r=(null==(e=t.config)?void 0:e.loader)||"default",n=m.get(r);if(n)return n(t);throw Error('Unknown "loader" found in "next.config.js". Expected: '+a.VALID_LOADERS.join(", ")+". Received: "+r)}function x(t,e,r,n,i,o){if(!t||t.src===p||t["data-loaded-src"]===e)return;t["data-loaded-src"]=e;let s="decode"in t?t.decode():Promise.resolve();s.catch(()=>{}).then(()=>
5{if(t.parentNode&&(f.add(e),"blur"===n&&o(!0),null==i?void 0:i.current)){let{naturalWidth:e,naturalHeight:r}=t;i.current({naturalWidth:e,naturalHeight:r})}})}let w=t=>{let{imgAttributes:e,heightInt:r,widthInt:n,qualityInt:i,layout:s,className:a,imgStyle:l,blurStyle:u,isLazy:c,placeholder:h,loading:d,srcString:f,config:p,unoptimized:m,loader:g,onLoadingCompleteRef:v,setBlurComplete:b,setIntersection:w,onLoad:E,onError:P,isVisible:A,noscriptSizes:S,...T}=t;return d=c?"lazy":d,o.default.createElement(o.default.Fragment,null,o.default.createElement("img",{...T,...e,decoding:"async","data-nimg":s,className:a,style:{...l,...u},ref:(0,o.useCallback)(t=>{w(t),(null==t?void 0:t.complete)&&x(t,f,s,h,v,b)},[w,f,s,h,v,b]),onLoad:t=>{let e=t.currentTarget;x(e,f,s,h,v,b),E&&E(t)},onError:t=>{"blur"===h&&b(!0),P&&P(t)}}),(c||"blur"===h)&&o.default.createElement("noscript",null,o.default.createElement("img",{...T,loading:d,decoding:"async","data-nimg":s,style:l,className:a,...y({config:p,src:f,unoptimized:m,layout:s,width:n,quality:i,sizes:S,loader:g})})))};function E(t){var e;let r,{src:n,sizes:i,unoptimized:c=!1,priority:h=!1,loading:m,lazyRoot:x=null,lazyBoundary:E,className:P,quality:A,width:S,height:T,style:R,objectFit:C,objectPosition:O,onLoadingComplete:j,placeholder:k="empty",blurDataURL:M,...D}=t,V=(0,o.useContext)(u.ImageConfigContext),L=(0,o.useMemo)(()=>{let t=d||V||a.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),r=t.deviceSizes.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:r}},[V]),_=i?"responsive":"intrinsic";"layout"in D&&(D.layout&&(_=D.layout),delete D.layout);let F=b;if("loader"in D){if(D.loader){let t=D.loader;F=e=>{let{config:r,...n}=e;return t(n)}}delete D.loader}let B="";if("object"==typeof(e=n)&&(g(e)||void 0!==e.src)){let t=g(n)?n.default:n;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(M=M||t.blurDataURL,B=t.src,(!_||"fill"!==_)&&(T=T||t.height,S=S||t.width,!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))}let N=!h&&("lazy"===m||void 0===m);((n="string"==typeof n?n:B).startsWith("data:")||n.startsWith("blob:"))&&(c=!0,N=!1),f.has(n)&&(N=!1),L.unoptimized&&(c=!0);let[U,I]=(0,o.useState)(!1),[W,z,$]=(0,l.useIntersection)({rootRef:x,rootMargin:E||"200px",disabled:!N}),H=!N||z,q={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},X={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},Z=!1,G=v(S),K=v(T),Y=v(A),J=Object.assign({},R,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:C,objectPosition:O}),Q="blur"!==k||U?{}:{backgroundSize:C||"cover",backgroundPosition:O||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+M+'")'};if("fill"===_)q.display="block",q.position="absolute",q.top=0,q.left=0,q.bottom=0,q.right=0;else if(void 0!==G&&void 0!==K){let t=K/G,e=isNaN(t)?"100%":""+100*t+"%";"responsive"===_?(q.display="block",q.position="relative",Z=!0,X.paddingTop=e):"intrinsic"===_?(q.display="inline-block",q.position="relative",q.maxWidth="100%",Z=!0,X.maxWidth="100%",r="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+G+"%27%20height=%27"+K+"%27/%3e"):"fixed"===_&&(q.display="inline-block",q.position="relative",q.width=G,q.height=K)}let tt={src:p,srcSet:void 0,sizes:void 0};H&&(tt=y({config:L,src:n,unoptimized:c,layout:_,width:G,quality:Y,sizes:i,loader:F}));let te=n,tr={imageSrcSet:tt.srcSet,imageSizes:tt.sizes,crossOrigin:D.crossOrigin,referrerPolicy:D.referrerPolicy},tn=o.default.useLayoutEffect,ti=(0,o.useRef)(j),to=(0,o.useRef)(n);(0,o.useEffect)(()=>{ti.current=j},[j]),tn(()=>{to.current!==n&&($(),to.current=n)},[$,n]);let ts={isLazy:N,imgAttributes:tt,heightInt:K,widthInt:G,qualityInt:Y,layout:_,className:P,imgStyle:J,blurStyle:Q,loading:m,config:L,unoptimized:c,placeholder:k,loader:F,srcString:te,onLoadingCompleteRef:ti,setBlurComplete:I,setIntersection:W,isVisible:H,noscriptSizes:i,...D};return o.default.createElement(o.default.Fragment,null,o.default.createElement("span",{style:q},Z?o.default.createElement("span",{style:X},r?o.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:r}):null):null,o.default.createElement(w,ts)),h?o.default.createElement(s.default,null,o.default.createElement("link",{key:"__nimg-"+tt.src+tt.srcSet+tt.sizes,rel:"preload",as:"image",href:tt.srcSet?void 0:tt.src,...tr})):null)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
5dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},2994:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return x}});let n=r(8754),i=n._(r(7294)),o=r(6722),s=r(4812),a=r(7822),l=r(9938),u=r(5017),c=r(5734),h=r(8503),d=r(7549),f=r(358),p=r(1417),m=r(9783),g=new Set;function y(t,e,r,n,i,o){if(!o&&!(0,s.isLocalURL)(e))return;if(!n.bypassPrefetchedCheck){let i=void 0!==n.locale?n.locale:"locale"in t?t.locale:void 0,o=e+"%"+r+"%"+i;if(g.has(o))return;g.add(o)}let a=o?t.prefetch(e,i):t.prefetch(e,r,n);Promise.resolve(a).catch(t=>{})}function v(t){return"string"==typeof t?t:(0,a.formatUrl)(t)}let b=i.default.forwardRef(function(t,e){let r,n;let{href:a,as:g,children:b,prefetch:x=null,passHref:w,replace:E,shallow:P,scroll:A,locale:S,onClick:T,onMouseEnter:R,onTouchStart:C,legacyBehavior:O=!1,...j}=t;r=b,O&&("string"==typeof r||"number"==typeof r)&&(r=i.default.createElement("a",null,r));let k=i.default.useContext(c.RouterContext),M=i.default.useContext(h.AppRouterContext),D=null!=k?k:M,V=!k,L=!1!==x,_=null===x?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:F,as:B}=i.default.useMemo(()=>{if(!k){let t=v(a);return{href:t,as:g?v(g):t}}let[t,e]=(0,o.resolveHref)(k,a,!0);return{href:t,as:g?(0,o.resolveHref)(k,g):e||t}},[k,a,g]),N=i.default.useRef(F),U=i.default.useRef(B);O&&(n=i.default.Children.only(r));let I=O?n&&"object"==typeof n&&n.ref:e,[W,z,$]=(0,d.useIntersection)({rootMargin:"200px"}),H=i.default.useCallback(t=>{(U.current!==B||N.current!==F)&&($(),U.current=B,N.current=F),W(t),I&&("function"==typeof I?I(t):"object"==typeof I&&(I.current=t))},[B,I,F,$,W]);i.default.useEffect(()=>{D&&z&&L&&y(D,F,B,{locale:S},{kind:_},V)},[B,F,z,S,L,null==k?void 0:k.locale,D,V,_]);let q={ref:H,onClick(t){O||"function"!=typeof T||T(t),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),D&&!t.defaultPrevented&&function(t,e,r,n,o,a,l,u,c,h){let{nodeName:d}=t.currentTarget,f="A"===d.toUpperCase();if(f&&(function(t){let e=t.currentTarget,r=e.getAttribute("target");return r&&"_self"!==r||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!c&&!(0,s.isLocalURL)(r)))return;t.preventDefault();let p=()=>{let t=null==l||l;"beforePopState"in e?e[o?"replace":"push"](r,n,{shallow:a,locale:u,scroll:t}):e[o?"replace":"push"](n||r,{forceOptimisticNavigation:!h,scroll:t})};c?i.default.startTransition(p):p()}(t,D,F,B,E,P,A,S,V,L)},onMouseEnter(t){O||"function"!=typeof R||R(t),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),D&&(L||!V)&&y(D,F,B,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:_},V)},onTouchStart(t){O||"function"!=typeof C||C(t),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),D&&(L||!V)&&y(D,F,B,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:_},V)}};if((0,l.isAbsoluteUrl)(B))q.href=B;else if(!O||w||"a"===n.type&&!("href"in n.props)){let t=void 0!==S?S:null==k?void 0:k.locale,e=(null==k?void 0:k.isLocaleDomain)&&(0,f.getDomainLocale)(B,t,null==k?void 0:k.locales,null==k?void 0:k.domainLocales);q.href=e||(0,p.addBasePath)((0,u.addLocale)(B,t,null==k?void 0:k.defaultLocale))}return O?i.default.cloneElement(n,q):i.default.createElement("a",{...j,...q},r)}),x=b;("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)},7549:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(7294),i=r(517),o="function"==typeof IntersectionObserver,s=new Map,a=[];function l(t){let{rootRef:e,rootMargin:r,disabled:l}=t,u=l||!o,[c,h]=(0,n.useState)(!1),d=(0,n.useRef)(null),f=(0,n.useCallback)(t=>{d.current=t},[]);(0,n.useEffect)(()=>{if(o){if(u||c)return;let t=d.current;if(t&&t.tagName){let n=function(t,e,r){let{id:n,observer:i,elements:o}=function(t){let e;let r={root:t.root||null,margin:t.rootMargin||""},n=a.find(t=>t.root===r.root&&t.margin===r.margin);if(n&&(e=s.get(n)))return e;let i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{let e=i.get(t.target),r=t.isIntersecting||t.intersectionRatio>0;e&&r&&e(r)})},t);return e={id:r,observer:o,elements:i},a.push(r),s.set(r,e),e}(r);return o.set(t,e),i.observe(t),function(){if(o.delete(t),i.unobserve(t),0===o.size){i.disconnect(),s.delete(n);let t=a.findIndex(t=>t.root===n.root&&t.margin===n.margin);t>-1&&a.splice(t,1)}}}(t,t=>t&&h(t),{root:null==e?void 0:e.current,rootMargin:r});return n}}else if(!c){let t=(0,i.requestIdleCallback)(()=>h(!0));return()=>(0,i.cancelIdleCallback)(t)}},[u,r,e,c,d.current]);let p=(0,n.useCallback)(()=>{h(!1)},[]);return[f,c,p]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
5dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},9008:function(t,e,r){t.exports=r(4605)},9755:function(t,e,r){t.exports=r(6313)},1664:function(t,e,r){t.exports=r(2994)},1033:function(t,e,r){"use strict";var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some(function(t,n){return t[0]===e&&(r=n,!0)}),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,i=0;function o(){r&&(r=!1,t()),n&&l()}function a(){s(o)}function l(){var t=Date.now();if(r){if(t-i<2)return;n=!0}else r=!0,n=!1,setTimeout(a,20);i=t}return l}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;a.some(function(t){return!!~r.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=g(0,0,0,0);function f(t){return parseFloat(t)||0}function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce(function(e,r){return e+f(t["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function g(t,e,r,n){return{x:t,y:e,width:r,height:n}}var y=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!i)return d;if(m(t)){var e;return g(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return d;var n=h(t).getComputedStyle(t),i=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=t["padding-"+i];e[i]=f(o)}return e}(n),o=i.left+i.right,s=i.top+i.bottom,a=f(n.width),l=f(n.height);if("border-box"===n.boxSizing&&(Math.round(a+o)!==e&&(a-=p(n,"left","right")+o),Math.round(l+s)!==r&&(l-=p(n,"top","bottom")+s)),t!==h(t).document.documentElement){var u=Math.round(a+o)-e,c=Math.round(l+s)-r;1!==Math.abs(u)&&(a-=u),1!==Math.abs(c)&&(l-=c)}return g(i.left,i.top,a,l)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),v=function(t,e){var r,n,i,o,s,a=(r=e.x,n=e.y,i=e.width,o=e.height,c(s=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:i,height:o,top:n,r
5ight:r+i,bottom:o+n,left:r}),s);c(this,{target:t,contentRect:a})},b=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new y(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new v(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,w=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var r=u.getInstance(),n=new b(e,r,this);x.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){w.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}});var E=void 0!==o.ResizeObserver?o.ResizeObserver:w;e.Z=E},6154:function(t,e,r){"use strict";let n;function i(t,e){return function(){return t.apply(e,arguments)}}r.d(e,{Z:function(){return tW}});let{toString:o}=Object.prototype,{getPrototypeOf:s}=Object,a=(_=Object.create(null),t=>{let e=o.call(t);return _[e]||(_[e]=e.slice(8,-1).toLowerCase())}),l=t=>(t=t.toLowerCase(),e=>a(e)===t),u=t=>e=>typeof e===t,{isArray:c}=Array,h=u("undefined"),d=l("ArrayBuffer"),f=u("string"),p=u("function"),m=u("number"),g=t=>null!==t&&"object"==typeof t,y=t=>{if("object"!==a(t))return!1;let e=s(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},v=l("Date"),b=l("File"),x=l("Blob"),w=l("FileList"),E=l("URLSearchParams");function P(t,e,{allOwnKeys:r=!1}={}){let n,i;if(null!=t){if("object"!=typeof t&&(t=[t]),c(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{let i;let o=r?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;for(n=0;n<s;n++)i=o[n],e.call(null,t[i],i,t)}}}function A(t,e){let r;e=e.toLowerCase();let n=Object.keys(t),i=n.length;for(;i-- >0;)if(e===(r=n[i]).toLowerCase())return r;return null}let S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,T=t=>!h(t)&&t!==S,R=(F="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>F&&t instanceof F),C=l("HTMLFormElement"),O=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),j=l("RegExp"),k=(t,e)=>{let r=Object.getOwnPropertyDescriptors(t),n={};P(r,(r,i)=>{let o;!1!==(o=e(r,i,t))&&(n[i]=o||r)}),Object.defineProperties(t,n)},M="abcdefghijklmnopqrstuvwxyz",D="0123456789",V={DIGIT:D,ALPHA:M,ALPHA_DIGIT:M+M.toUpperCase()+D},L=l("AsyncFunction");var _,F,B={isArray:c,isArrayBuffer:d,isBuffer:function(t){return null!==t&&!h(t)&&null!==t.constructor&&!h(t.constructor)&&p(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||p(t.append)&&("formdata"===(e=a(t))||"object"===e&&p(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer)},isString:f,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:g,isPlainObject:y,isUndefined:h,isDate:v,isFile:b,isBlob:x,isRegExp:j,isFunction:p,isStream:t=>g(t)&&p(t.pipe),isURLSearchParams:E,isTypedArray:R,isFileList:w,forEach:P,merge:function t(){let{caseless:e}=T(this)&&this||{},r={},n=(n,i)=>{let o=e&&A(r,i)||i;y(r[o])&&y(n)?r[o]=t(r[o],n):y(n)?r[o]=t({},n):c(n)?r[o]=n.slice():r[o]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&P(arguments[t],n);return r},extend:(t,e,r,{allOwnKeys:n}={})=>(P(e,(e,n)=>{r&&p(e)?t[n]=i(e,r):t[n]=e},{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let i,o,a;let l={};if(e=e||{},null==t)return e;do{for(o=(i=Object.getOwnPropertyNames(t)).length;o-- >0;
5)a=i[o],(!n||n(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=!1!==r&&s(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:l,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;let n=t.indexOf(e,r);return -1!==n&&n===r},toArray:t=>{if(!t)return null;if(c(t))return t;let e=t.length;if(!m(e))return null;let r=Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{let r;let n=t&&t[Symbol.iterator],i=n.call(t);for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let r;let n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:C,hasOwnProperty:O,hasOwnProp:O,reduceDescriptors:k,freezeMethods:t=>{k(t,(e,r)=>{if(p(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=t[r];if(p(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(t,e)=>{let r={};return(t=>{t.forEach(t=>{r[t]=!0})})(c(t)?t:String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,r){return e.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(t,e)=>Number.isFinite(t=+t)?t:e,findKey:A,global:S,isContextDefined:T,ALPHABET:V,generateString:(t=16,e=V.ALPHA_DIGIT)=>{let r="",{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&p(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let e=Array(10),r=(t,n)=>{if(g(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;let i=c(t)?[]:{};return P(t,(t,e)=>{let o=r(t,n+1);h(o)||(i[e]=o)}),e[n]=void 0,i}}return t};return r(t,0)},isAsyncFn:L,isThenable:t=>t&&(g(t)||p(t))&&p(t.then)&&p(t.catch)};function N(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}B.inherits(N,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let U=N.prototype,I={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{I[t]={value:t}}),Object.defineProperties(N,I),Object.defineProperty(U,"isAxiosError",{value:!0}),N.from=(t,e,r,n,i,o)=>{let s=Object.create(U);return B.toFlatObject(t,s,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),N.call(s,t.message,e,r,n,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};var W=r(1876).Buffer;function z(t){return B.isPlainObject(t)||B.isArray(t)}function $(t){return B.endsWith(t,"[]")?t.slice(0,-2):t}function H(t,e,r){return t?t.concat(e).map(function(t,e){return t=$(t),!r&&e?"["+t+"]":t}).join(r?".":""):e}let q=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});var X=function(t,e,r){if(!B.isObject(t))throw TypeError("target must be an object");e=e||new FormData,r=B.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!B.isUndefined(e[t])});let n=r.metaTokens,i=r.visitor||c,o=r.dots,s=r.indexes,a=r.Blob||"undefined"!=typeof Blob&&Blob,l=a&&B.isSpecCompliantForm(e);if(!B.isFunction(i))throw TypeError("visitor must be a function");function u(t){if(null===t)return"";if(B.isDate(t))return t.toISOString();if(!l&&B.isBlob(t))throw new N("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(t)||B.isTypedArray(t)?l&&"function"==typeof Blob?new Blob([t]):W.from(t):t}function c(t,r,i){let a=t;if(t&&!i&&"object"==typeof t){if(B.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else{var l;if(B.isArray(t)&&(l=t,B.isArray(l)&&!l.some(z))||(B.isFileList(t)||B.endsWith(r,"[]"))&&(a=B.toArray(t)))return r=$(r),a.forEach(function(t,n){B.isUndefined(t)||null===t||e.append(!0===s?H([r],n,o):null===s?r:r+"[]",u(t))}),!1}}return!!z(t)||(e.append(H(i,r,o),u(t)),!1)}let h=[],d=Object.assign(q,{defaultVisitor:c,convertValue:u,isVisitable:z});if(!B.isObject(t))throw TypeError("data must be an object");return!function t(r,n){if(!B.isUndefined(r)){if(-1!==h.indexOf(r))throw Error("Circular reference detected in "+n.join("."));h.push(r),B.forEach(r,function(r,o){let s=!(B.isUndefined(r)||null===r)&&i.call(e,r,B.isString(o)?o.trim():o,n,d);!0===s&&t(r,n?n.concat(o):[o])}),h.pop()}}(t),e};
5function Z(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function G(t,e){this._pairs=[],t&&X(t,this,e)}let K=G.prototype;function Y(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(t,e,r){let n;if(!e)return t;let i=r&&r.encode||Y,o=r&&r.serialize;if(n=o?o(e,r):B.isURLSearchParams(e)?e.toString():new G(e,r).toString(i)){let e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t}K.append=function(t,e){this._pairs.push([t,e])},K.toString=function(t){let e=t?function(e){return t.call(this,e,Z)}:Z;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};var Q=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(e){null!==e&&t(e)})}},tt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},te="undefined"!=typeof URLSearchParams?URLSearchParams:G,tr="undefined"!=typeof FormData?FormData:null,tn="undefined"!=typeof Blob?Blob:null;let ti=("undefined"==typeof navigator||"ReactNative"!==(n=navigator.product)&&"NativeScript"!==n&&"NS"!==n)&&"undefined"!=typeof window&&"undefined"!=typeof document,to="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ts={classes:{URLSearchParams:te,FormData:tr,Blob:tn},isStandardBrowserEnv:ti,isStandardBrowserWebWorkerEnv:to,protocols:["http","https","file","blob","url","data"]},ta=function(t){if(B.isFormData(t)&&B.isFunction(t.entries)){let e={};return B.forEachEntry(t,(t,r)=>{!function t(e,r,n,i){let o=e[i++],s=Number.isFinite(+o),a=i>=e.length;if(o=!o&&B.isArray(n)?n.length:o,a)return B.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!s;n[o]&&B.isObject(n[o])||(n[o]=[]);let l=t(e,r,n[o],i);return l&&B.isArray(n[o])&&(n[o]=function(t){let e,r;let n={},i=Object.keys(t),o=i.length;for(e=0;e<o;e++)n[r=i[e]]=t[r];return n}(n[o])),!s}(B.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),r,e,0)}),e}return null};let tl={transitional:tt,adapter:ts.isNode?"http":"xhr",transformRequest:[function(t,e){let r;let n=e.getContentType()||"",i=n.indexOf("application/json")>-1,o=B.isObject(t);o&&B.isHTMLForm(t)&&(t=new FormData(t));let s=B.isFormData(t);if(s)return i&&i?JSON.stringify(ta(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,l;return(a=t,l=this.formSerializer,X(a,new ts.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return ts.isNode&&B.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},l))).toString()}if((r=B.isFileList(t))||n.indexOf("multipart/form-data")>-1){let e=this.env&&this.env.FormData;return X(r?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||i?(e.setContentType("application/json",!1),function(t,e,r){if(B.isString(t))try{return(0,JSON.parse)(t),B.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let e=this.transitional||tl.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&B.isString(t)&&(r&&!this.responseType||n)){let r=e&&e.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!r&&n){if("SyntaxError"===t.name)throw N.from(t,N.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ts.classes.FormData,Blob:ts.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],t=>{tl.headers[t]={}});let tu=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var tc=t=>{let e,r,n;let i={};return t&&t.split("\n").forEach(function(t){n=t.indexOf(":"),e=t.substring(0,n).trim().toLowerCase(),r=t.substring(n+1).trim(),!e||i[e]&&tu[e]||("set-cookie"===e?i[e]?i[e].push(r):i[e]=[r]:i[e]=i[e]?i[e]+", "+r:r)}),i};let th=Symbol("internals");function td(t){return t&&String(t).trim().toLowerCase()}function tf(t){return!1===t||null==t?t:B.isArray(t)?t.map(tf):String(t)}let tp=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function tm(t,e,r,n,i){if(B.isFunction(n))return n.call(this,e,r);if(i&&(e=r),B.isString(e)){if(B.isString(n))return -1!==e.indexOf(n);if(B.isRegExp(n))return n.test(e)}}class tg{constructor(t){t&&this.set(t)}set(t,e,r){let n=this;function i(t,e,r){let i=td(e);if(!i)throw Error("header name must be a non-empty string");let o=B.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||e]=tf(t))}let o=(t,e)=>
5B.forEach(t,(t,r)=>i(t,r,e));return B.isPlainObject(t)||t instanceof this.constructor?o(t,e):B.isString(t)&&(t=t.trim())&&!tp(t)?o(tc(t),e):null!=t&&i(e,t,r),this}get(t,e){if(t=td(t)){let r=B.findKey(this,t);if(r){let t=this[r];if(!e)return t;if(!0===e)return function(t){let e;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;e=n.exec(t);)r[e[1]]=e[2];return r}(t);if(B.isFunction(e))return e.call(this,t,r);if(B.isRegExp(e))return e.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=td(t)){let r=B.findKey(this,t);return!!(r&&void 0!==this[r]&&(!e||tm(this,this[r],r,e)))}return!1}delete(t,e){let r=this,n=!1;function i(t){if(t=td(t)){let i=B.findKey(r,t);i&&(!e||tm(r,r[i],i,e))&&(delete r[i],n=!0)}}return B.isArray(t)?t.forEach(i):i(t),n}clear(t){let e=Object.keys(this),r=e.length,n=!1;for(;r--;){let i=e[r];(!t||tm(this,this[i],i,t,!0))&&(delete this[i],n=!0)}return n}normalize(t){let e=this,r={};return B.forEach(this,(n,i)=>{let o=B.findKey(r,i);if(o){e[o]=tf(n),delete e[i];return}let s=t?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,r)=>e.toUpperCase()+r):String(i).trim();s!==i&&delete e[i],e[s]=tf(n),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let e=Object.create(null);return B.forEach(this,(r,n)=>{null!=r&&!1!==r&&(e[n]=t&&B.isArray(r)?r.join(", "):r)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){let r=new this(t);return e.forEach(t=>r.set(t)),r}static accessor(t){let e=this[th]=this[th]={accessors:{}},r=e.accessors,n=this.prototype;function i(t){let e=td(t);r[e]||(!function(t,e){let r=B.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(t,r,i){return this[n].call(this,e,t,r,i)},configurable:!0})})}(n,t),r[e]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}function ty(t,e){let r=this||tl,n=e||r,i=tg.from(n.headers),o=n.data;return B.forEach(t,function(t){o=t.call(r,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function tv(t){return!!(t&&t.__CANCEL__)}function tb(t,e,r){N.call(this,null==t?"canceled":t,N.ERR_CANCELED,e,r),this.name="CanceledError"}tg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(tg.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}}),B.freezeMethods(tg),B.inherits(tb,N,{__CANCEL__:!0});var tx=ts.isStandardBrowserEnv?{write:function(t,e,r,n,i,o){let s=[];s.push(t+"="+encodeURIComponent(e)),B.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),B.isString(n)&&s.push("path="+n),B.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){let e=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function tw(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t:e}var tE=ts.isStandardBrowserEnv?function(){let t;let e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(t){let n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){let r=B.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0},tP=function(t,e){let r;t=t||10;let n=Array(t),i=Array(t),o=0,s=0;return e=void 0!==e?e:1e3,function(a){let l=Date.now(),u=i[s];r||(r=l),n[o]=a,i[o]=l;let c=s,h=0;for(;c!==o;)h+=n[c++],c%=t;if((o=(o+1)%t)===s&&(s=(s+1)%t),l-r<e)return;let d=u&&l-u;return d?Math.round(1e3*h/d):void 0}};function tA(t,e){let r=0,n=tP(50,250);return i=>{let o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-r,l=n(a),u=o<=s;r=o;let c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-o)/l:void 0,event:i};c[e?"download":"upload"]=!0,t(c)}}let tS="undefined"!=typeof XMLHttpRequest;var tT=tS&&function(t){return new Promise(function(e,r){let n,i=t.data,o=tg.from(t.headers).normalize(),s=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(n),t.signal&&t.signal.removeEventListener("abort",n)}B.isFormData(i)&&(ts.isStandardBrowserEnv||ts.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(t.auth){let e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}let u=tw(t.baseURL,t.url);function c(){if(!l)return;let n=tg.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),i=s&&"text"!==s&&"json"!==s?l.response:l.responseText,o={data:i,status:l.status,statusText:l.statusText,headers:n,config:t,request:l};!function(t,e,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new N("Request failed with status code "+r.status,[N.ERR_BAD_REQUEST,N.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(t){e(t),a()},function(t){r(t),a()},o),l=null}if(l.open(t.method.toUpperCase(),J(u,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(c)},l.onabort=function(){l&&(r(new N("Request aborted",N.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new N("Network Error",N.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||tt;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new N(e,n.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,t,l)),l=null},ts.isStandardBrowserEnv){let e=(t.withCredentials||tE(u))&&t.xsrfCookieName&&tx.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===i&&o.setContentType(null),"setRequestHeader"in l&&B.forEach(o.toJSON(),function(t,e){l.setRequestHeader(e,t)}
5),B.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",tA(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",tA(t.onUploadProgress)),(t.cancelToken||t.signal)&&(n=e=>{l&&(r(!e||e.type?new tb(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(n),t.signal&&(t.signal.aborted?n():t.signal.addEventListener("abort",n)));let h=function(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(u);if(h&&-1===ts.protocols.indexOf(h)){r(new N("Unsupported protocol "+h+":",N.ERR_BAD_REQUEST,t));return}l.send(i||null)})};let tR={http:null,xhr:tT};B.forEach(tR,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}});var tC={getAdapter:t=>{let e,r;t=B.isArray(t)?t:[t];let{length:n}=t;for(let i=0;i<n&&(e=t[i],!(r=B.isString(e)?tR[e.toLowerCase()]:e));i++);if(!r){if(!1===r)throw new N(`Adapter ${e} is not supported by the environment`,"ERR_NOT_SUPPORT");throw Error(B.hasOwnProp(tR,e)?`Adapter '${e}' is not available in the build`:`Unknown adapter '${e}'`)}if(!B.isFunction(r))throw TypeError("adapter is not a function");return r},adapters:tR};function tO(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new tb(null,t)}function tj(t){tO(t),t.headers=tg.from(t.headers),t.data=ty.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);let e=tC.getAdapter(t.adapter||tl.adapter);return e(t).then(function(e){return tO(t),e.data=ty.call(t,t.transformResponse,e),e.headers=tg.from(e.headers),e},function(e){return!tv(e)&&(tO(t),e&&e.response&&(e.response.data=ty.call(t,t.transformResponse,e.response),e.response.headers=tg.from(e.response.headers))),Promise.reject(e)})}let tk=t=>t instanceof tg?t.toJSON():t;function tM(t,e){e=e||{};let r={};function n(t,e,r){return B.isPlainObject(t)&&B.isPlainObject(e)?B.merge.call({caseless:r},t,e):B.isPlainObject(e)?B.merge({},e):B.isArray(e)?e.slice():e}function i(t,e,r){return B.isUndefined(e)?B.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function o(t,e){if(!B.isUndefined(e))return n(void 0,e)}function s(t,e){return B.isUndefined(e)?B.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,i,o){return o in e?n(r,i):o in t?n(void 0,r):void 0}let l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>i(tk(t),tk(e),!0)};return B.forEach(Object.keys(Object.assign({},t,e)),function(n){let o=l[n]||i,s=o(t[n],e[n],n);B.isUndefined(s)&&o!==a||(r[n]=s)}),r}let tD="1.5.0",tV={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{tV[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});let tL={};tV.transitional=function(t,e,r){function n(t,e){return"[Axios v"+tD+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,i,o)=>{if(!1===t)throw new N(n(i," has been removed"+(e?" in "+e:"")),N.ERR_DEPRECATED);return e&&!tL[i]&&(tL[i]=!0,console.warn(n(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,i,o)}};var t_={assertOptions:function(t,e,r){if("object"!=typeof t)throw new N("options must be an object",N.ERR_BAD_OPTION_VALUE);let n=Object.keys(t),i=n.length;for(;i-- >0;){let o=n[i],s=e[o];if(s){let e=t[o],r=void 0===e||s(e,o,t);if(!0!==r)throw new N("option "+o+" must be "+r,N.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new N("Unknown option "+o,N.ERR_BAD_OPTION)}},validators:tV};let tF=t_.validators;class tB{constructor(t){this.defaults=t,this.interceptors={request:new Q,response:new Q}}request(t,e){let r,n;"string"==typeof t?(e=e||{}).url=t:e=t||{},e=tM(this.defaults,e);let{transitional:i,paramsSerializer:o,headers:s}=e;void 0!==i&&t_.assertOptions(i,{silentJSONParsing:tF.transitional(tF.boolean),forcedJSONParsing:tF.transitional(tF.boolean),clarifyTimeoutError:tF.transitional(tF.boolean)}
5,!1),null!=o&&(B.isFunction(o)?e.paramsSerializer={serialize:o}:t_.assertOptions(o,{encode:tF.function,serialize:tF.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=s&&B.merge(s.common,s[e.method]);s&&B.forEach(["delete","get","head","post","put","patch","common"],t=>{delete s[t]}),e.headers=tg.concat(a,s);let l=[],u=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(e))&&(u=u&&t.synchronous,l.unshift(t.fulfilled,t.rejected))});let c=[];this.interceptors.response.forEach(function(t){c.push(t.fulfilled,t.rejected)});let h=0;if(!u){let t=[tj.bind(this),void 0];for(t.unshift.apply(t,l),t.push.apply(t,c),n=t.length,r=Promise.resolve(e);h<n;)r=r.then(t[h++],t[h++]);return r}n=l.length;let d=e;for(h=0;h<n;){let t=l[h++],e=l[h++];try{d=t(d)}catch(t){e.call(this,t);break}}try{r=tj.call(this,d)}catch(t){return Promise.reject(t)}for(h=0,n=c.length;h<n;)r=r.then(c[h++],c[h++]);return r}getUri(t){t=tM(this.defaults,t);let e=tw(t.baseURL,t.url);return J(e,t.params,t.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(t){tB.prototype[t]=function(e,r){return this.request(tM(r||{},{method:t,url:e,data:(r||{}).data}))}}),B.forEach(["post","put","patch"],function(t){function e(e){return function(r,n,i){return this.request(tM(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}tB.prototype[t]=e(),tB.prototype[t+"Form"]=e(!0)});class tN{constructor(t){let e;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){e=t});let r=this;this.promise.then(t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null}),this.promise.then=t=>{let e;let n=new Promise(t=>{r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t,n,i){r.reason||(r.reason=new tb(t,n,i),e(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;let e=new tN(function(e){t=e});return{token:e,cancel:t}}}let tU={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
5alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tU).forEach(([t,e])=>{tU[e]=t});let tI=function t(e){let r=new tB(e),n=i(tB.prototype.request,r);return B.extend(n,tB.prototype,r,{allOwnKeys:!0}),B.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(tM(e,r))},n}(tl);tI.Axios=tB,tI.CanceledError=tb,tI.CancelToken=tN,tI.isCancel=tv,tI.VERSION=tD,tI.toFormData=X,tI.AxiosError=N,tI.Cancel=tI.CanceledError,tI.all=function(t){return Promise.all(t)},tI.spread=function(t){return function(e){return t.apply(null,e)}},tI.isAxiosError=function(t){return B.isObject(t)&&!0===t.isAxiosError},tI.mergeConfig=tM,tI.AxiosHeaders=tg,tI.formToJSON=t=>ta(B.isHTMLForm(t)?new FormData(t):t),tI.getAdapter=tC.getAdapter,tI.HttpStatusCode=tU,tI.default=tI;var tW=tI},8477:function(t,e,r){"use strict";r.d(e,{y:function(){return te}});var n=r(1662);let i=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function o(t,e,r,o){if(t===e&&r===o)return n.Z;let s=e=>(function(t,e,r,n,o){let s,a;let l=0;do(s=i(a=e+(r-e)/2,n,o)-t)>0?r=a:e=a;while(Math.abs(s)>1e-7&&++l<12);return a})(e,0,1,t,r);return t=>0===t||1===t?t:i(s(t),e,o)}let s=o(.42,0,1,1),a=o(0,0,.58,1),l=o(.42,0,.58,1),u=t=>Array.isArray(t)&&"number"!=typeof t[0];var c=r(5487),h=r(7255),d=r(415),f=r(5129);let p=o(.33,1.53,.69,.99),m=(0,f.M)(p),g=(0,d.o)(m),y={linear:n.Z,easeIn:s,easeInOut:l,easeOut:a,circIn:h.Z7,circInOut:h.X7,circOut:h.Bn,backIn:m,backInOut:g,backOut:p,anticipate:t=>(t*=2)<1?.5*m(t):.5*(2-Math.pow(2,-10*(t-1)))},v=t=>{if(Array.isArray(t)){(0,c.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,n,i]=t;return o(e,r,n,i)}return"string"==typeof t?((0,c.k)(void 0!==y[t],`Invalid easing type '${t}'`),y[t]):t};var b=r(5385),x=r(4169),w=r(22);function E(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var P=r(6382),A=r(819),S=r(3184);let T=(t,e,r)=>{let n=t*t;return Math.sqrt(Math.max(0,r*(e*e-n)+n))},R=[P.$,A.m,S.J],C=t=>R.find(e=>e.test(t));function O(t){let e=C(t);(0,c.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===S.J&&(r=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let i=0,o=0,s=0;if(e/=100){let n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;i=E(a,n,t+1/3),o=E(a,n,t),s=E(a,n,t-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let j=(t,e)=>{let r=O(t),n=O(e),i={...r};return t=>(i.red=T(r.red,n.red,t),i.green=T(r.green,n.green,t),i.blue=T(r.blue,n.blue,t),i.alpha=(0,w.C)(r.alpha,n.alpha,t),A.m.transform(i))};var k=r(3624),M=r(1550);let D=(t,e)=>r=>`${r>0?e:t}`;function V(t,e){return"number"==typeof t?r=>(0,w.C)(t,e,r):b.$.test(t)?j(t,e):t.startsWith("var(")?D(t,e):F(t,e)}let L=(t,e)=>{let r=[...t],n=r.length,i=t.map((t,r)=>V(t,e[r]));return t=>{for(let e=0;e<n;e++)r[e]=i[e](t);return r}},_=(t,e)=>{let r={...t,...e},n={};for(let i in r)void 0!==t[i]&&void 0!==e[i]&&(n[i]=V(t[i],e[i]));return t=>{for(let e in n)r[e]=n[e](t);return r}},F=(t,e)=>{let r=M.P.createTransformer(e),n=(0,M.V)(t),i=(0,M.V)(e),o=n.numVars===i.numVars&&n.numColors===i.numColors&&n.numNumbers>=i.numNumbers;return o?(0,k.z)(L(n.values,i.values),r):((0,c.K)(!0,`Complex values '${t}' and '${e}
5' 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.`),D(t,e))};var B=r(3967);let N=(t,e)=>r=>(0,w.C)(t,e,r);function U(t,e,{clamp:r=!0,ease:i,mixer:o}={}){let s=t.length;if((0,c.k)(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,r){let i=[],o=r||function(t){if("number"==typeof t);else if("string"==typeof t)return b.$.test(t)?j:F;else if(Array.isArray(t))return L;else if("object"==typeof t)return _;return N}(t[0]),s=t.length-1;for(let r=0;r<s;r++){let s=o(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||n.Z:e;s=(0,k.z)(t,s)}i.push(s)}return i}(e,i,o),l=a.length,u=e=>{let r=0;if(l>1)for(;r<t.length-2&&!(e<t[r+1]);r++);let n=(0,B.Y)(t[r],t[r+1],e);return a[r](n)};return r?e=>u((0,x.u)(t[0],t[s-1],e)):u}function I({duration:t=300,keyframes:e,times:r,ease:n="easeInOut"}){let i=u(n)?n.map(v):v(n),o={done:!1,value:e[0]},s=(r&&r.length===e.length?r:function(t){let e=[0];return function(t,e){let r=t[t.length-1];for(let n=1;n<=e;n++){let i=(0,B.Y)(0,e,n);t.push((0,w.C)(r,1,i))}}(e,t.length-1),e}(e)).map(e=>e*t),a=U(s,e,{ease:Array.isArray(i)?i:e.map(()=>i||l).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var W=r(6917),z=r(3038);function $(t,e,r){let n=Math.max(e-5,0);return(0,z.R)(r-t(n),e-n)}function H(t,e){return t*Math.sqrt(1-e*e)}let q=["duration","bounce"],X=["stiffness","damping","mass"];function Z(t,e){return e.some(e=>void 0!==t[e])}function G({keyframes:t,restDelta:e,restSpeed:r,...n}){let i;let o=t[0],s=t[t.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:h,velocity:d,duration:f,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Z(t,X)&&Z(t,q)){let r=function({duration:t=800,bounce:e=.25,velocity:r=0,mass:n=1}){let i,o;(0,c.K)(t<=(0,W.w)(10),"Spring duration must be 10 seconds or less");let s=1-e;s=(0,x.u)(.05,1,s),t=(0,x.u)(.01,10,(0,W.X)(t)),s<1?(i=e=>{let n=e*s,i=n*t,o=H(e,s);return .001-(n-r)/o*Math.exp(-i)},o=e=>{let n=e*s,o=n*t,a=Math.pow(s,2)*Math.pow(e,2)*t,l=H(Math.pow(e,2),s),u=-i(e)+.001>0?-1:1;return u*((o*r+r-a)*Math.exp(-o))/l}):(i=e=>{let n=Math.exp(-e*t),i=(e-r)*t+1;return -.001+n*i},o=e=>{let n=Math.exp(-e*t),i=(r-e)*(t*t);return n*i});let a=5/t,l=function(t,e,r){let n=r;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(i,o,a);if(t=(0,W.w)(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*s*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...r,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(n),m=d?-(0,W.X)(d):0,g=u/(2*Math.sqrt(l*h)),y=s-o,v=(0,W.X)(Math.sqrt(l/h)),b=5>Math.abs(y);if(r||(r=b?.01:2),e||(e=b?.005:.5),g<1){let t=H(v,g);i=e=>{let r=Math.exp(-g*v*e);return s-r*((m+g*v*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}}else if(1===g)i=t=>s-Math.exp(-v*t)*(y+(m+v*y)*t);else{let t=v*Math.sqrt(g*g-1);i=e=>{let r=Math.exp(-g*v*e),n=Math.min(t*e,300);return s-r*((m+g*v*y)*Math.sinh(n)+t*y*Math.cosh(n))/t}}return{calculatedDuration:p&&f||null,next:t=>{let n=i(t);if(p)a.done=t>=f;else{let o=m;0!==t&&(o=g<1?$(i,t,n):0);let l=Math.abs(o)<=r,u=Math.abs(s-n)<=e;a.done=l&&u}return a.value=a.done?s:n,a}}}function K({keyframes:t,velocity:e=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=r*e,v=f+y,b=void 0===s?v:s(v);b!==v&&(y=b-f);let x=t=>-y*Math.exp(-t/n),w=t=>b+x(t),E=t=>{let e=x(t),r=w(t);p.done=Math.abs(e)<=u,p.value=p.done?b:r},P=t=>{m(p.value)&&(h=t,d=G({keyframes:[p.value,g(p.value)],velocity:$(w,t,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,E(t),P(t)),void 0!==h&&t>h)?d.next(t-h):(e||E(t),p)}}}var Y=r(2074);let J=t=>{let e=({timestamp:e})=>t(e);return{start:()=>Y.Wi.update(e,!0),stop:()=>(0,Y.Pn)(e),now:()=>Y.frameData.isProcessing?Y.frameData.timestamp:performance.now()}};function Q(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}let tt={decay:K,inertia:K,tween:I,keyframes:I,spring:G};function te({autoplay:t=!0,delay:e=0,driver:r=J,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:h,...d}){let f,p,m,g,y,v=1,b=!1,w=()=>{p=new Promise(t=>{f=t})};w();let E=tt[i]||I;E!==I&&"number"!=typeof n[0]&&(g=U([0,100],n,{clamp:!1}),n=[0,100]);let P=E({...d,keyframes:n});"mirror"===a&&(y=E({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}
5));let A="idle",S=null,T=null,R=null;null===P.calculatedDuration&&o&&(P.calculatedDuration=Q(P));let{calculatedDuration:C}=P,O=1/0,j=1/0;null!==C&&(j=(O=C+s)*(o+1)-s);let k=0,M=t=>{if(null===T)return;v>0&&(T=Math.min(T,t)),v<0&&(T=Math.min(t-j/v,T)),k=null!==S?S:Math.round(t-T)*v;let r=k-e*(v>=0?1:-1),i=v>=0?r<0:r>j;k=Math.max(r,0),"finished"===A&&null===S&&(k=j);let l=k,u=P;if(o){let t=k/O,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,e=Math.min(e,o+1);let n=!!(e%2);n&&("reverse"===a?(r=1-r,s&&(r-=s/O)):"mirror"===a&&(u=y));let i=(0,x.u)(0,1,r);k>j&&(i="reverse"===a&&n?1:0),l=i*O}let c=i?{done:!1,value:n[0]}:u.next(l);g&&(c.value=g(c.value));let{done:d}=c;i||null===C||(d=v>=0?k>=j:k<=0);let f=null===S&&("finished"===A||"running"===A&&d);return h&&h(c.value),f&&L(),c},D=()=>{m&&m.stop(),m=void 0},V=()=>{A="idle",D(),f(),w(),T=R=null},L=()=>{A="finished",c&&c(),D(),f()},_=()=>{if(b)return;m||(m=r(M));let t=m.now();l&&l(),null!==S?T=t-S:T&&"finished"!==A||(T=t),"finished"===A&&w(),R=T,S=null,A="running",m.start()};t&&_();let F={then:(t,e)=>p.then(t,e),get time(){return(0,W.X)(k)},set time(newTime){k=newTime=(0,W.w)(newTime),null===S&&m&&0!==v?T=m.now()-newTime/v:S=newTime},get duration(){let t=null===P.calculatedDuration?Q(P):P.calculatedDuration;return(0,W.X)(t)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!m)return;v=newSpeed,F.time=(0,W.X)(k)},get state(){return A},play:_,pause:()=>{A="paused",S=k},stop:()=>{b=!0,"idle"!==A&&(A="idle",u&&u(),V())},cancel:()=>{null!==R&&M(R),V()},complete:()=>{A="finished"},sample:t=>(T=0,M(t))};return F}},2703:function(t,e,r){"use strict";r.d(e,{M:function(){return g}});var n=r(7294),i=r(6337),o=r(4454),s=r(240),a=r(6681);class l extends n.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({children:t,isPresent:e}){let r=(0,n.useId)(),i=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:t,height:n,top:s,left:a}=o.current;if(e||!i.current||!t||!n)return;i.current.dataset.motionPopId=r;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
6          [data-motion-pop-id="${r}"] {
7            position: absolute !important;
8            width: ${t}px !important;
9            height: ${n}px !important;
10            top: ${s}px !important;
11            left: ${a}px !important;
12          }
13        `),()=>{document.head.removeChild(l)}},[e]),n.createElement(l,{isPresent:e,childRef:i,sizeRef:o},n.cloneElement(t,{ref:i}))}let c=({children:t,initial:e,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:l,mode:c})=>{let d=(0,a.h)(h),f=(0,n.useId)(),p=(0,n.useMemo)(()=>({id:f,initial:e,isPresent:r,custom:o,onExitComplete:t=>{for(let e of(d.set(t,!0),d.values()))if(!e)return;i&&i()},register:t=>(d.set(t,!1),()=>d.delete(t))}),l?void 0:[r]);return(0,n.useMemo)(()=>{d.forEach((t,e)=>d.set(e,!1))},[r]),n.useEffect(()=>{r||d.size||!i||i()},[r]),"popLayout"===c&&(t=n.createElement(u,{isPresent:r},t)),n.createElement(s.O.Provider,{value:p},t)};function h(){return new Map}var d=r(5364),f=r(8868),p=r(5487);let m=t=>t.key||"",g=({children:t,custom:e,initial:r=!0,onExitComplete:s,exitBeforeEnter:a,presenceAffectsLayout:l=!0,mode:u="sync"})=>{var h;(0,p.k)(!a,"Replace exitBeforeEnter with mode='wait'");let g=(0,n.useContext)(d.p).forceRender||(0,i.N)()[0],y=(0,o.t)(),v=function(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}(t),b=v,x=(0,n.useRef)(new Map).current,w=(0,n.useRef)(b),E=(0,n.useRef)(new Map).current,P=(0,n.useRef)(!0);if((0,f.L)(()=>{P.current=!1,function(t,e){t.forEach(t=>{let r=m(t);e.set(r,t)})}(v,E),w.current=b}),h=()=>{P.current=!0,E.clear(),x.clear()},(0,n.useEffect)(()=>()=>h(),[]),P.current)return n.createElement(n.Fragment,null,b.map(t=>n.createElement(c,{key:m(t),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:l,mode:u},t)));b=[...b];let A=w.current.map(m),S=v.map(m),T=A.length;for(let t=0;t<T;t++){let e=A[t];-1!==S.indexOf(e)||x.has(e)||x.set(e,void 0)}return"wait"===u&&x.size&&(b=[]),x.forEach((t,r)=>{if(-1!==S.indexOf(r))return;let i=E.get(r);if(!i)return;let o=A.indexOf(r),a=t;a||(a=n.createElement(c,{key:m(i),isPresent:!1,onExitComplete:()=>{E.delete(r),x.delete(r);let t=w.current.findIndex(t=>t.key===r);
13if(w.current.splice(t,1),!x.size){if(w.current=v,!1===y.current)return;g(),s&&s()}},custom:e,presenceAffectsLayout:l,mode:u},i),x.set(r,a)),b.splice(o,0,a)}),b=b.map(t=>{let e=t.key;return x.has(e)?t:n.createElement(c,{key:m(t),isPresent:!0,presenceAffectsLayout:l,mode:u},t)}),n.createElement(n.Fragment,null,x.size?b:b.map(t=>(0,n.cloneElement)(t)))}},3589:function(t,e,r){"use strict";r.d(e,{S:function(){return c}});var n=r(7294),i=r(5364);let o=(0,n.createContext)(null);var s=r(6337);let a=t=>!t.isLayoutDirty&&t.willUpdate(!1),l=t=>!0===t,u=t=>l(!0===t)||"id"===t,c=({children:t,id:e,inherit:r=!0})=>{let c=(0,n.useContext)(i.p),h=(0,n.useContext)(o),[d,f]=(0,s.N)(),p=(0,n.useRef)(null),m=c.id||h;null===p.current&&(u(r)&&m&&(e=e?m+"-"+e:m),p.current={id:e,group:l(r)&&c.group||function(){let t=new Set,e=new WeakMap,r=()=>t.forEach(a);return{add:n=>{t.add(n),e.set(n,n.addEventListener("willUpdate",r))},remove:n=>{t.delete(n);let i=e.get(n);i&&(i(),e.delete(n)),r()},dirty:r}}()});let g=(0,n.useMemo)(()=>({...p.current,forceRender:d}),[f]);return n.createElement(i.p.Provider,{value:g},t)}},5364:function(t,e,r){"use strict";r.d(e,{p:function(){return i}});var n=r(7294);let i=(0,n.createContext)({})},6014:function(t,e,r){"use strict";r.d(e,{_:function(){return i}});var n=r(7294);let i=(0,n.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},240:function(t,e,r){"use strict";r.d(e,{O:function(){return i}});var n=r(7294);let i=(0,n.createContext)(null)},7255:function(t,e,r){"use strict";r.d(e,{Bn:function(){return s},X7:function(){return a},Z7:function(){return o}});var n=r(415),i=r(5129);let o=t=>1-Math.sin(Math.acos(t)),s=(0,i.M)(o),a=(0,n.o)(s)},415:function(t,e,r){"use strict";r.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},5129:function(t,e,r){"use strict";r.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},2074:function(t,e,r){"use strict";r.d(e,{Pn:function(){return a},Wi:function(){return s},frameData:function(){return l},S6:function(){return u}});var n=r(1662);class i{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["prepare","read","update","preRender","render","postRender"],{schedule:s,cancel:a,state:l,steps:u}=function(t,e){let r=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},a=o.reduce((t,e)=>(t[e]=function(t){let e=new i,r=new i,n=0,o=!1,s=!1,a=new WeakSet,l={schedule:(t,i=!1,s=!1)=>{let l=s&&o,u=l?e:r;return i&&a.add(t),u.add(t)&&l&&o&&(n=e.order.length),t},cancel:t=>{r.remove(t),a.delete(t)},process:i=>{if(o){s=!0;return}if(o=!0,[e,r]=[r,e],r.clear(),n=e.order.length)for(let r=0;r<n;r++){let n=e.order[r];n(i),a.has(n)&&(l.schedule(n),t())}o=!1,s&&(s=!1,l.process(i))}};return l}(()=>r=!0),t),{}),l=t=>a[t].process(s),u=()=>{let i=performance.now();r=!1,s.delta=n?1e3/60:Math.max(Math.min(i-s.timestamp,40),1),s.timestamp=i,s.isProcessing=!0,o.forEach(l),s.isProcessing=!1,r&&e&&(n=!1,t(u))},c=()=>{r=!0,n=!0,s.isProcessing||t(u)},h=o.reduce((t,e)=>{let n=a[e];return t[e]=(t,e=!1,i=!1)=>(r||c(),n.schedule(t,e,i)),t},{});return{schedule:h,cancel:t=>o.forEach(e=>a[e].cancel(t)),state:s,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},4509:function(t,e,r){"use strict";let n;r.d(e,{E:function(){return nA}});var i,o,s=r(7294),a=r(6014);let l=(0,s.createContext)({});var u=r(240),c=r(8868);let h=(0,s.createContext)({strict:!1});function d(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function f(t){return"string"==typeof t||Array.isArray(t)}function p(t){return"object"==typeof t&&"function"==typeof t.start}let m=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],g=["initial",...m];function y(t){return p(t.animate)||g.some(e=>f(t[e]))}function v(t){return!!(y(t)||t.variants)}function b(t){return Array.isArray(t)?t.join(" "):t}let x={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"]},w={};for(let t in x)w[t]={isEnabled:e=>x[t].some(t=>!!e[t])};var E=r(1741),P=r(5364);let A=(0,s.createContext)({}),S=Symbol.for("motionComponentSymbol"),T=["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 R(t){if("string"!=typeof t||t.includes("-"));else if(T.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let C={},O=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],j=new Set(O);function k(t,{layout:e,layoutId:r}){return j.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!C[t]||"opacity"===t)}var M=r(406);let D={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V=O.length;var L=r(7630);let _=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var F=r(1649),B=r(6190);let N={...F.Rx,transform:Math.round},U={borderWidth:B.px,borderTopWidth:B.px,borderRightWidth:B.px,borderBottomWidth:B.px,borderLeftWidth:B.px,borderRadius:B.px,radius:B.px,borderTopLeftRadius:B.px,borderTopRightRadius:B.px,borderBottomRightRadius:B.px,borderBottomLeftRadius:B.px,width:B.px,maxWidth:B.px,height:B.px,maxHeight:B.px,size:B.px,top:B.px,right:B.px,bottom:B.px,left:B.px,padding:B.px,paddingTop:B.px,paddingRight:B.px,paddingBottom:B.px,paddingLeft:B.px,margin:B.px,marginTop:B.px,marginRight:B.px,marginBottom:B.px,marginLeft:B.px,rotate:B.RW,rotateX:B.RW,rotateY:B.RW,rotateZ:B.RW,scale:F.bA,scaleX:F.bA,scaleY:F.bA,scaleZ:F.bA,skew:B.RW,skewX:B.RW,skewY:B.RW,distance:B.px,translateX:B.px,translateY:B.px,translateZ:B.px,x:B.px,y:B.px,z:B.px,perspective:B.px,transformPerspective:B.px,opacity:F.Fq,originX:B.$C,originY:B.$C,originZ:B.px,zIndex:N,fillOpacity:F.Fq,strokeOpacity:F.Fq,numOctaves:N};function I(t,e,r,n){let{style:i,vars:o,transform:s,transformOrigin:a}
13=t,l=!1,u=!1,c=!0;for(let t in e){let r=e[t];if((0,L.f9)(t)){o[t]=r;continue}let n=U[t],h=_(r,n);if(j.has(t)){if(l=!0,s[t]=h,!c)continue;r!==(n.default||0)&&(c=!1)}else t.startsWith("origin")?(u=!0,a[t]=h):i[t]=h}if(!e.transform&&(l||n?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:r=!0},n,i){let o="";for(let e=0;e<V;e++){let r=O[e];if(void 0!==t[r]){let e=D[r]||r;o+=`${e}(${t[r]}) `}}return e&&!t.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(t,n?"":o):r&&n&&(o="none"),o}(t.transform,r,c,n):i.transform&&(i.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:r=0}=a;i.transformOrigin=`${t} ${e} ${r}`}}let W=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function z(t,e,r){for(let n in e)(0,M.i)(e[n])||k(n,r)||(t[n]=e[n])}function $(t,e,r){let n={},i=function(t,e,r){let n=t.style||{},i={};return z(i,n,t),Object.assign(i,function({transformTemplate:t},e,r){return(0,s.useMemo)(()=>{let n=W();return I(n,e,{enableHardwareAcceleration:!r},t),Object.assign({},n.vars,n.style)},[e])}(t,e,r)),t.transformValues?t.transformValues(i):i}(t,e,r);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}let H=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function q(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||H.has(t)}let X=t=>!q(t);try{(i=require("@emotion/is-prop-valid").default)&&(X=t=>t.startsWith("on")?!q(t):i(t))}catch(t){}function Z(t,e,r){return"string"==typeof t?t:B.px.transform(e+r*t)}let G={offset:"stroke-dashoffset",array:"stroke-dasharray"},K={offset:"strokeDashoffset",array:"strokeDasharray"};function Y(t,{attrX:e,attrY:r,attrScale:n,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,h,d){if(I(t,u,c,d),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:p,dimensions:m}=t;f.transform&&(m&&(p.transform=f.transform),delete f.transform),m&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,r){let n=Z(e,t.x,t.width),i=Z(r,t.y,t.height);return`${n} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==e&&(f.x=e),void 0!==r&&(f.y=r),void 0!==n&&(f.scale=n),void 0!==s&&function(t,e,r=1,n=0,i=!0){t.pathLength=1;let o=i?G:K;t[o.offset]=B.px.transform(-n);let s=B.px.transform(e),a=B.px.transform(r);t[o.array]=`${s} ${a}`}(f,s,a,l,!1)}let J=()=>({...W(),attrs:{}}),Q=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tt(t,e,r,n){let i=(0,s.useMemo)(()=>{let r=J();return Y(r,e,{enableHardwareAcceleration:!1},Q(n),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};z(e,t.style,t),i.style={...e,...i.style}}return i}let te=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function tr(t,{style:e,vars:r},n,i){for(let o in Object.assign(t.style,e,i&&i.getProjectionStyles(n)),r)t.style.setProperty(o,r[o])}let tn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ti(t,e,r,n){for(let r in tr(t,e,void 0,n),e.attrs)t.setAttribute(tn.has(r)?r:te(r),e.attrs[r])}function to(t,e){let{style:r}=t,n={};for(let i in r)((0,M.i)(r[i])||e.style&&(0,M.i)(e.style[i])||k(i,t))&&(n[i]=r[i]);return n}function ts(t,e){let r=to(t,e);for(let n in t)if((0,M.i)(t[n])||(0,M.i)(e[n])){let e=-1!==O.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[e]=t[n]}return r}function ta(t,e,r,n={},i={}){return"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,i)),e}var tl=r(6681);let tu=t=>Array.isArray(t),tc=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),th=t=>tu(t)?t[t.length-1]||0:t;function td(t){let e=(0,M.i)(t)?t.get():t;return tc(e)?e.toValue():e}let tf=t=>(e,r)=>{let n=(0,s.useContext)(l),i=(0,s.useContext)(u.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},n,i,o){let s={latestValues:function(t,e,r,n){let i={},o=n(t,{});for(let t in o)i[t]=td(o[t]);let{initial:s,animate:a}=t,l=y(t),u=v(t);e&&u&&!l&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===a&&(a=e.animate));let c=!!r&&!1===r.initial;c=c||!1===s;let h=c?a:s;if(h&&"boolean"!=typeof h&&!p(h)){let e=Array.isArray(h)?h:[h];
13e.forEach(e=>{let r=ta(t,e);if(!r)return;let{transitionEnd:n,transition:o,...s}=r;for(let t in s){let e=s[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in n)i[t]=n[t]})}return i}(n,i,o,t),renderState:e()};return r&&(s.mount=t=>r(n,t,s)),s})(t,e,n,i);return r?o():(0,tl.h)(o)};var tp=r(2074);let tm={useVisualState:tf({scrapeMotionValuesFromProps:ts,createRenderState:J,onMount:(t,e,{renderState:r,latestValues:n})=>{tp.Wi.read(()=>{try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}}),tp.Wi.render(()=>{Y(r,n,{enableHardwareAcceleration:!1},Q(e.tagName),t.transformTemplate),ti(e,r)})}})},tg={useVisualState:tf({scrapeMotionValuesFromProps:to,createRenderState:W})};function ty(t,e,r,n={passive:!0}){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r)}let tv=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tb(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tx=t=>e=>tv(e)&&t(e,tb(e));function tw(t,e,r,n){return ty(t,e,tx(r),n)}var tE=r(3624);function tP(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tA=tP("dragHorizontal"),tS=tP("dragVertical");function tT(t){let e=!1;if("y"===t)e=tS();else if("x"===t)e=tA();else{let t=tA(),r=tS();t&&r?e=()=>{t(),r()}:(t&&t(),r&&r())}return e}function tR(){let t=tT(!0);return!t||(t(),!1)}class tC{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tO(t,e){let r="pointer"+(e?"enter":"leave"),n="onHover"+(e?"Start":"End");return tw(t.current,r,(r,i)=>{if("touch"===r.type||tR())return;let o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[n]&&tp.Wi.update(()=>o[n](r,i))},{passive:!t.getProps()[n]})}let tj=(t,e)=>!!e&&(t===e||tj(t,e.parentElement));var tk=r(1662);function tM(t,e){if(!e)return;let r=new PointerEvent("pointer"+t);e(r,tb(r))}let tD=new WeakMap,tV=new WeakMap,tL=t=>{let e=tD.get(t.target);e&&e(t)},t_=t=>{t.forEach(tL)},tF={some:0,all:1};function tB(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function tN(t,e,r){let n=t.getProps();return ta(n,e,void 0!==r?r:n.custom,function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.getVelocity()),e}(t))}let tU="data-"+te("framerAppearId");var tI=r(5487),tW=r(6917);let tz={current:!1},t$=t=>Array.isArray(t)&&"number"==typeof t[0],tH=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,tq={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tH([0,.65,.55,1]),circOut:tH([.55,0,1,.45]),backIn:tH([.31,.01,.66,-.59]),backOut:tH([.33,1.53,.69,.99])};var tX=r(8477);let tZ=(o=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=o()),n)),tG=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),tK=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&tq[e]||t$(e)||Array.isArray(e)&&e.every(t))}(e.ease),tY={type:"spring",stiffness:500,damping:25,restSpeed:10},tJ=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tQ={type:"keyframes",duration:.8},t0={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t1=(t,{keyframes:e})=>e.length>2?tQ:j.has(t)?t.startsWith("scale")?tJ(e[1]):tY:t0;var t2=r(1550);let t4=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(t2.P.test(e)||"0"===e)&&!e.startsWith("url("));var t5=r(6430);let t3=new Set(["brightness","contrast","saturate","opacity"]);function t6(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(t5.KP)||[];if(!n)return t;let i=r.replace(n,""),o=t3.has(e)?1:0;return n!==r&&(o*=100),e+"("+o+i+")"}let t7=/([a-z-]*)\(.*?\)/g,t9={...t2.P,getAnimatableNone:t=>{let e=t.match(t7);return e?e.map(t6).join(" "):t}};var t8=r(5385);let et={...U,color:t8.$,backgroundColor:t8.$,outlineColor:t8.$,fill:t8.$,stroke:t8.$,borderColor:t8.$,borderTopColor:t8.$,borderRightColor:t8.$,borderBottomColor:t8.$,borderLeftColor:t8.$,filter:t9,WebkitFilter:t9},ee=t=>et[t];function er(t,e){let r=ee(t);return r!==t9&&(r=t2.P),r.getAnimatableNone?r.getAnimatableNone(e):void 0}let en=t=>/^0[^.\s]+$/.test(t);function ei(t,e){return t[e]||t.default||t}let eo=(t,e,r,n={})=>i=>{let o=ei(n,t)||{},s=o.delay||n.delay||0,{elapsed:a=0}=n;a-=(0,tW.w)(s);let l=function(t,e,r,n){let i,o;let s=t4(e,r);i=Array.isArray(r)?[...r]:[null,r];let a=void 0!==n.from?n.from:t.get(),l=[];for(let t=0;t<i.length;t++){var u;null===i[t]&&(i[t]=0===t?a:i[t-1]),("number"==typeof(u=i[t])?0===u:null!==u?"none"===u||"0"===u||en(u):void 0)&&l.push(t),"string"==typeof i[t]&&"none"!==i[t]&&"0"!==i[t]&&(o=i[t])}if(s&&l.length&&o)for(let t=0;t<l.length;t++){let r=l[t];i[r]=er(e,o)}return i}(e,t,r,o),u=l[0],c=l[l.length-1],h=t4(t,u),d=t4(t,c);(0,tI.K)(h===d,`You are trying to animate ${t} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let f={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!function({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(f={...f,...t1(t,f)}),f.duration&&(f.duration=(0,tW.w)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,tW.w)(f.repeatDelay)),!h||!d||tz.current||!1===o.type)return function({keyframes:t,delay:e,onUpdate:r,onComplete:n}){let i=()=>(r&&r(t[t.length-1]),n&&n(),{time:0,speed:1,duration:0,play:tk.Z,pause:tk.Z,stop:tk.Z,then:t=>(t(),Promise.resolve()),cancel:tk.Z,complete:tk.Z});return e?(0,tX.y)({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(tz.current?{...f,delay:0}:f);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUp
13date){let r=function(t,e,{onUpdate:r,onComplete:n,...i}){let o,s;let a=tZ()&&tG.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type;if(!a)return!1;let l=!1,u=()=>{s=new Promise(t=>{o=t})};u();let{keyframes:c,duration:h=300,ease:d,times:f}=i;if(tK(e,i)){let t=(0,tX.y)({...i,repeat:0,delay:0}),e={done:!1,value:c[0]},r=[],n=0;for(;!e.done&&n<2e4;)e=t.sample(n),r.push(e.value),n+=10;f=void 0,c=r,h=n-10,d="linear"}let p=function(t,e,r,{delay:n=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let u={[e]:r};l&&(u.offset=l);let c=function t(e){if(e)return t$(e)?tH(e):Array.isArray(e)?e.map(t):tq[e]}(a);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(t.owner.current,e,c,{...i,duration:h,ease:d,times:f});i.syncStart&&(p.startTime=tp.frameData.isProcessing?tp.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());let m=()=>p.cancel(),g=()=>{tp.Wi.update(m),o(),u()};return p.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:r="loop"}){let n=e&&"loop"!==r&&e%2==1?0:t.length-1;return t[n]}(c,i)),n&&n(),g()},{then:(t,e)=>s.then(t,e),attachTimeline:t=>(p.timeline=t,p.onfinish=null,tk.Z),get time(){return(0,tW.X)(p.currentTime||0)},set time(newTime){p.currentTime=(0,tW.w)(newTime)},get speed(){return p.playbackRate},set speed(newSpeed){p.playbackRate=newSpeed},get duration(){return(0,tW.X)(h)},play:()=>{l||(p.play(),(0,tp.Pn)(m))},pause:()=>p.pause(),stop:()=>{if(l=!0,"idle"===p.playState)return;let{currentTime:e}=p;if(e){let r=(0,tX.y)({...i,autoplay:!1});t.setWithVelocity(r.sample(e-10).value,r.sample(e).value,10)}g()},complete:()=>p.finish(),cancel:g}}(e,t,f);if(r)return r}return(0,tX.y)(f)};function es(t){return!!((0,M.i)(t)&&t.add)}let ea=t=>/^\-?\d*\.?\d+$/.test(t);var el=r(3234);let eu=t=>e=>e.test(t),ec=[F.Rx,B.px,B.aQ,B.RW,B.vw,B.vh,{test:t=>"auto"===t,parse:t=>t}],eh=t=>ec.find(eu(t)),ed=[...ec,t8.$,t2.P],ef=t=>ed.find(eu(t));function ep(t,e,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:s,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");n&&(o=n);let u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(let e in a){let n=t.getValue(e),i=a[e];if(!n||void 0===i||c&&function({protectedKeys:t,needsAnimating:e},r){let n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}(c,e))continue;let s={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!n.hasAnimated){let r=t.getProps()[tU];r&&(s.elapsed=window.HandoffAppearAnimations(r,e,n,tp.Wi),s.syncStart=!0)}n.start(eo(e,n,i,t.shouldReduceMotion&&j.has(e)?{type:!1}:s));let h=n.animation;es(l)&&(l.add(e),h.then(()=>l.remove(e))),u.push(h)}return s&&Promise.all(u).then(()=>{s&&function(t,e){let r=tN(t,e),{transitionEnd:n={},transition:i={},...o}=r?t.makeTargetAnimatable(r,!1):{};for(let e in o={...o,...n}){let r=th(o[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,el.BX)(r))}}(t,s)}),u}function em(t,e,r={}){let n=tN(t,e,r.custom),{transition:i=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(ep(t,n,r)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(t,e,r=0,n=0,i=1,o){let s=[],a=(t.variantChildren.size-1)*n,l=1===i?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(eg).forEach((t,n)=>{t.notify("AnimationStart",e),s.push(em(t,e,{...o,delay:r+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,o+n,s,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(r.delay)]);{let[t,e]="beforeChildren"===a?[o,s]:[s,o];return t().then(()=>e())}}function eg(t,e){return t.sortNodePosition(e)}let ey=[...m].reverse(),ev=m.length;function eb(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let ex=0,ew=(t,e)=>Math.abs(t-e);class eE{constructor(t,e,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=eS(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,r=function(t,e){let r=ew(t.x,e.x),n=ew(t.y,e.y);return Math.sqrt(r**2+n**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!r)return;let{point:n}=t,{timestamp:i}=tp.frameData;this.history.push({...n,timestamp:i});
13let{onStart:o,onMove:s}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=eP(e,this.transformPagePoint),tp.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:r,onSessionEnd:n}=this.handlers,i=eS("pointercancel"===t.type?this.lastMoveEventInfo:eP(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,i),n&&n(t,i)},!tv(t))return;this.handlers=e,this.transformPagePoint=r;let n=tb(t),i=eP(n,this.transformPagePoint),{point:o}=i,{timestamp:s}=tp.frameData;this.history=[{...o,timestamp:s}];let{onSessionStart:a}=e;a&&a(t,eS(i,this.history)),this.removeListeners=(0,tE.z)(tw(window,"pointermove",this.handlePointerMove),tw(window,"pointerup",this.handlePointerUp),tw(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tp.Pn)(this.updatePoint)}}function eP(t,e){return e?{point:e(t.point)}:t}function eA(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eS({point:t},e){return{point:t,delta:eA(t,eT(e)),offset:eA(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,n=null,i=eT(t);for(;r>=0&&(n=t[r],!(i.timestamp-n.timestamp>(0,tW.w)(.1)));)r--;if(!n)return{x:0,y:0};let o=(0,tW.X)(i.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function eT(t){return t[t.length-1]}var eR=r(3967),eC=r(22);function eO(t){return t.max-t.min}function ej(t,e=0,r=.01){return Math.abs(t-e)<=r}function ek(t,e,r,n=.5){t.origin=n,t.originPoint=(0,eC.C)(e.min,e.max,t.origin),t.scale=eO(r)/eO(e),(ej(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,eC.C)(r.min,r.max,t.origin)-t.originPoint,(ej(t.translate)||isNaN(t.translate))&&(t.translate=0)}function eM(t,e,r,n){ek(t.x,e.x,r.x,n?n.originX:void 0),ek(t.y,e.y,r.y,n?n.originY:void 0)}function eD(t,e,r){t.min=r.min+e.min,t.max=t.min+eO(e)}function eV(t,e,r){t.min=e.min-r.min,t.max=t.min+eO(e)}function eL(t,e,r){eV(t.x,e.x,r.x),eV(t.y,e.y,r.y)}var e_=r(4169);function eF(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function eB(t,e){let r=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,n]=[n,r]),{min:r,max:n}}function eN(t,e,r){return{min:eU(t,e),max:eU(t,r)}}function eU(t,e){return"number"==typeof t?t:t[e]||0}let eI=()=>({translate:0,scale:1,origin:0,originPoint:0}),eW=()=>({x:eI(),y:eI()}),ez=()=>({min:0,max:0}),e$=()=>({x:ez(),y:ez()});function eH(t){return[t("x"),t("y")]}function eq({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function eX(t){return void 0===t||1===t}function eZ({scale:t,scaleX:e,scaleY:r}){return!eX(t)||!eX(e)||!eX(r)}function eG(t){return eZ(t)||eK(t)||t.z||t.rotate||t.rotateX||t.rotateY}function eK(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function eY(t,e,r,n,i){return void 0!==i&&(t=n+i*(t-n)),n+r*(t-n)+e}function eJ(t,e=0,r=1,n,i){t.min=eY(t.min,e,r,n,i),t.max=eY(t.max,e,r,n,i)}function eQ(t,{x:e,y:r}){eJ(t.x,e.translate,e.scale,e.originPoint),eJ(t.y,r.translate,r.scale,r.originPoint)}function e0(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function e1(t,e){t.min=t.min+e,t.max=t.max+e}function e2(t,e,[r,n,i]){let o=void 0!==e[i]?e[i]:.5,s=(0,eC.C)(t.min,t.max,o);eJ(t,e[r],e[n],s,e.scale)}let e4=["x","scaleX","originX"],e5=["y","scaleY","originY"];function e3(t,e){e2(t.x,e,e4),e2(t.y,e,e5)}function e6(t,e){return eq(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let e7=new WeakMap;class e9{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=e$(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;r&&!1===r.isPresent||(this.panSession=new eE(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(tb(t,"page").point)},onStart:(t,e)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tT(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eH(t=>{let e=this.getAxisMotionValue(t).get()||0;if(B.aQ.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[t];if(n){let t=eO(n);e=t*(parseFloat(e)/100)}}}this.originPoint[t]=e}),i&&tp.Wi.update(()=>i(t,e),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(s),null!==this.currentDirection&&i&&i(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)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&tp.Wi.update(()=>i(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:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:n}=this.getProps();if(!r||!e8(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:r},n){return void 0!==e&&t<e?t=n?(0,eC.C)(e,t,n.min):Math.max(t,e):void 0!==r&&t>r&&(t=n?(0,eC.C)(r,t,n.max):Math.min(t,r)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;t&&d(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(t,{top:e,left:r,bottom:n,right:i}){return{x:eF(t.x,r,i),y:eF(t.y,e,n)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:eN(t,"left","right"),y:eN(t,"top","bottom")}}(e),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&eH(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!d(e))return!1;let n=e.current;(0,tI.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(t,e,r){let n=e6(t,r),{scroll:i}=e;return i&&(e1(n.x,i.offset.x),e1(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),s={x:eB((t=i.layout.layoutBox).x,o.x),y:eB(t.y,o.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=eq(t))}return s}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=eH(s=>{if(!e8(s,e,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)});return Promise.all(l).then(s)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return r.start(eo(t,r,0,e))}stopAnimation(){eH(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),n=r[e];return n||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){eH(e=>{let{drag:r}=this.getProps();if(!e8(e,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[e];i.set(t[e]-(0,eC.C)(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!d(e)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};eH(t=>{let e=this.getAxisMotionValue(t);if(e){let r=e.get();n[t]=function(t,e){let r=.5,n=eO(t),i=eO(e);return i>n?r=(0,eR.Y)(e.min,e.max-n,t.min):n>i&&(r=(0,eR.Y)(t.min,t.max-i,e.min)),(0,e_.u)(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),eH(e=>{if(!e8(e,t,null))return;let r=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];r.set((0,eC.C)(i,o,n[e]))})}addListeners(){if(!this.visualElement.current)return;e7.set(this.visualElement,this);let t=this.visualElement.current,e=tw(t,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),r=()=>{let{dragConstraints:t}=this.getProps();d(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let o=ty(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(eH(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),e(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function e8(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}let rt=t=>(e,r)=>{t&&tp.Wi.update(()=>t(e,r))},re={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rn={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!B.px.test(t))return t;t=parseFloat(t)}let r=rr(t,e.target.x),n=rr(t,e.target.y);return`${r}% ${n}%`}};class ri extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=t;Object.assign(C,rs),i&&(e.group&&e.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),re.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===i||(i?o.promote():o.relegate()||tp.Wi.postRender(()=>
13{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ro(t){let[e,r]=function(){let t=(0,s.useContext)(u.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:r,register:n}=t,i=(0,s.useId)();return(0,s.useEffect)(()=>n(i),[]),!e&&r?[!1,()=>r&&r(i)]:[!0]}(),n=(0,s.useContext)(P.p);return s.createElement(ri,{...t,layoutGroup:n,switchLayoutGroup:(0,s.useContext)(A),isPresent:e,safeToRemove:r})}let rs={borderRadius:{...rn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rn,borderTopRightRadius:rn,borderBottomLeftRadius:rn,borderBottomRightRadius:rn,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let n=t2.P.parse(t);if(n.length>5)return t;let i=t2.P.createTransformer(t),o="number"!=typeof n[0]?1:0,s=r.x.scale*e.x,a=r.y.scale*e.y;n[0+o]/=s,n[1+o]/=a;let l=(0,eC.C)(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};var ra=r(1560),rl=r(7255);let ru=["TopLeft","TopRight","BottomLeft","BottomRight"],rc=ru.length,rh=t=>"string"==typeof t?parseFloat(t):t,rd=t=>"number"==typeof t||B.px.test(t);function rf(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rp=rg(0,.5,rl.Bn),rm=rg(.5,.95,tk.Z);function rg(t,e,r){return n=>n<t?0:n>e?1:r((0,eR.Y)(t,e,n))}function ry(t,e){t.min=e.min,t.max=e.max}function rv(t,e){ry(t.x,e.x),ry(t.y,e.y)}function rb(t,e,r,n,i){return t-=e,t=n+1/r*(t-n),void 0!==i&&(t=n+1/i*(t-n)),t}function rx(t,e,[r,n,i],o,s){!function(t,e=0,r=1,n=.5,i,o=t,s=t){if(B.aQ.test(e)){e=parseFloat(e);let t=(0,eC.C)(s.min,s.max,e/100);e=t-s.min}if("number"!=typeof e)return;let a=(0,eC.C)(o.min,o.max,n);t===o&&(a-=e),t.min=rb(t.min,e,r,a,i),t.max=rb(t.max,e,r,a,i)}(t,e[r],e[n],e[i],e.scale,o,s)}let rw=["x","scaleX","originX"],rE=["y","scaleY","originY"];function rP(t,e,r,n){rx(t.x,e,rw,r?r.x:void 0,n?n.x:void 0),rx(t.y,e,rE,r?r.y:void 0,n?n.y:void 0)}function rA(t){return 0===t.translate&&1===t.scale}function rS(t){return rA(t.x)&&rA(t.y)}function rT(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function rR(t){return eO(t.x)/eO(t.y)}var rC=r(10);class rO{constructor(){this.members=[]}add(t){(0,rC.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,rC.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 r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rj(t,e,r){let n="",i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),r){let{rotate:t,rotateX:e,rotateY:i}=r;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),i&&(n+=`rotateY(${i}deg) `)}let s=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==s||1!==a)&&(n+=`scale(${s}, ${a})`),n||"none"}let rk=(t,e)=>t.depth-e.depth;class rM{constructor(){this.children=[],this.isDirty=!1}add(t){(0,rC.y4)(this.children,t),this.isDirty=!0}remove(t){(0,rC.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rk),this.isDirty=!1,this.children.forEac
13h(t)}}let rD=["","X","Y","Z"],rV=0,rL={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function r_({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(t={},r=null==e?void 0:e()){this.id=rV++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{rL.totalNodes=rL.resolvedTargetDeltas=rL.recalculatedProjection=0,this.nodes.forEach(rN),this.nodes.forEach(rq),this.nodes.forEach(rX),this.nodes.forEach(rU),window.MotionDebug&&window.MotionDebug.record(rL)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rM)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ra.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),t){let r;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=performance.now(),n=({timestamp:i})=>{let o=i-r;o>=e&&((0,tp.Pn)(n),t(o-e))};return tp.Wi.read(n,!0),()=>(0,tp.Pn)(n)}(n,250),re.hasAnimatedSinceResize&&(re.hasAnimatedSinceResize=!1,this.nodes.forEach(rH))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||rQ,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!rT(this.targetLayout,n)||r,u=!e&&r;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={...ei(i,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||rH(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tp.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(rZ),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}
13if(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:r}=this.options;if(void 0===e&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;let t=this.isUpdateBlocked();if(t){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rW);return}this.isUpdating||this.nodes.forEach(rz),this.isUpdating=!1,this.nodes.forEach(r$),this.nodes.forEach(rF),this.nodes.forEach(rB),this.clearAllSnapshots();let e=performance.now();tp.frameData.delta=(0,e_.u)(0,1e3/60,e-tp.frameData.timestamp),tp.frameData.timestamp=e,tp.frameData.isProcessing=!0,tp.S6.update.process(tp.frameData),tp.S6.preRender.process(tp.frameData),tp.S6.render.process(tp.frameData),tp.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(rI),this.sharedNodes.forEach(rG)}scheduleUpdateProjection(){tp.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){tp.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++){let e=this.path[t];e.updateScroll()}let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=e$(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!rS(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;t&&(e||eG(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),n=this.removeElementScroll(r);return t&&(n=this.removeTransform(n)),r2((e=n).x),r2(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return e$();let e=t.measureViewportBox(),{scroll:r}=this.root;return r&&(e1(e.x,r.offset.x),e1(e.y,r.offset.y)),e}removeElementScroll(t){let e=e$();rv(e,t);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;if(n!==this.root&&i&&o.layoutScroll){if(i.isRoot){rv(e,t);let{scroll:r}=this.root;r&&(e1(e.x,-r.offset.x),e1(e.y,-r.offset.y))}e1(e.x,i.offset.x),e1(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let r=e$();rv(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&e3(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),eG(n.latestValues)&&e3(r,n.latestValues)}return eG(this.latestValues)&&e3(r,this.latestValues),r}removeTransform(t){let e=e$();rv(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!eG(r.latestValues))continue;eZ(r.latestValues)&&r.updateSnapshot();let n=e$(),i=r.measurePageBox();rv(n,i),rP(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return eG(this.latestValues)&&rP(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!==tp.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,r,n,i;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,a=!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(a)return;let{layout:l,layoutId:u}=this.options;if(this.layout&&(l||u)){if(this.resolvedRelativeTargetAt=tp.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=e$(),this.relativeTargetOrigin=e$(),eL(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rv(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=e$(),this.targetWithTransforms=e$()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,eD(r.x,n.x,i.x),eD(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rv(this.target,this.layout.layoutBox),eQ(this.target,this.targetDelta)):rv(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=e$(),this.relativeTargetOrigin=e$(),eL(this.relativeTargetOrigin,this.target,t.target),rv(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rL.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||eZ(this.parent.latestValues)||eK(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(),r=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===tp.frameData.timestamp&&(n=!1),n)return;let{layout:i,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||!(i||o))return;rv(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(t,e,r,n=!1){let i,o;let s=r.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){o=(i=r[a]).projectionDelta;let s=i.instance;(!s||!s.style||"contents"!==s.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&e3(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,eQ(t,o)),n&&eG(i.latestValues)&&e3(t,i.latestValues))}e.x=e0(e.x),e.y=e0(e.y)}}(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=eW(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=eW(),this.projectionDeltaWithTransform=eW());let u=this.projectionTransform;eM(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rj(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==s||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rL.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},s=eW();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=e$(),l=n?n.source:void 0,u=this.layout?this.layout.source:void 0,c=l!==u,h=this.getStack(),d=!h||h.members.length<=1,f=!!(c&&!d&&!0===this.options.crossfade&&!this.path.some(rJ));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(rK(s.x,t.x,n),rK(s.y,t.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var l,u,h,p;eL(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,rY(h.x,p.x,a.x,n),rY(h.y,p.y,a.y,n),r&&(l=this.relativeTarget,u=r,l.x.min===u.x.min&&l.x.max===u.x.max&&l.y.min===u.y.min&&l.y.max===u.y.max)&&(this.isProjectionDirty=!1),r||(r=e$()),rv(r,this.relativeTarget)}c&&(this.animationValues=o,function(t,e,r,n,i,o){i?(t.opacity=(0,eC.C)(0,void 0!==r.opacity?r.opacity:1,rp(n)),t.opacityExit=(0,eC.C)(void 0!==e.opacity?e.opacity:1,0,rm(n))):o&&(t.opacity=(0,eC.C)(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<rc;i++){let o=`border${ru[i]}Radius`,s=rf(e,o),a=rf(r,o);if(void 0===s&&void 0===a)continue;s||(s=0),a||(a=0);
13let l=0===s||0===a||rd(s)===rd(a);l?(t[o]=Math.max((0,eC.C)(rh(s),rh(a),n),0),(B.aQ.test(a)||B.aQ.test(s))&&(t[o]+="%")):t[o]=a}(e.rotate||r.rotate)&&(t.rotate=(0,eC.C)(e.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,f,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},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,tp.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tp.Wi.update(()=>{re.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let n=(0,M.i)(t)?t:(0,el.BX)(t);return n.start(eo("",n,1e3,r)),n.animation}(0,0,{...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:r,layout:n,latestValues:i}=t;if(e&&r&&n){if(this!==t&&this.layout&&n&&r4(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||e$();let e=eO(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let n=eO(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+n}rv(e,r),e3(e,i),eM(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rO);let r=this.sharedNodes.get(t);r.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:r}={}){let n=this.getStack();n&&n.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(e=!0),!e)return;let n={};for(let e=0;e<rD.length;e++){let i="rotate"+rD[e];r[i]&&(n[i]=r[i],t.setStaticValue(i,0))}for(let e in t.render(),n)t.setStaticValue(e,n[e]);t.scheduleRender()}getProjectionStyles(t={}){var e,r;let n={};if(!this.instance||this.isSVG)return n;if(!this.isVisible)return{visibility:"hidden"};n.visibility="";let i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=td(t.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;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=td(t.pointerEvents)||""),this.hasProjected&&!eG(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=rj(this.projectionDeltaWithTransform,this.treeScale,s),i&&(n.transform=i(s,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(r=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:n.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,C){if(void 0===s[t])continue;let{correct:e,applyTo:r}=C[t],i="none"===n.transform?s[t]:e(s[t],o);if(r){let t=r.length;for(let e=0;e<t;e++)n[r[e]]=i}else n[t]=i}return this.options.layoutId&&(n.pointerEvents=o===this?td(t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
13resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(rW),this.root.sharedNodes.clear()}}}function rF(t){t.updateLayout()}function rB(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:i}=t.options,o=r.source!==t.layout.source;"size"===i?eH(t=>{let n=o?r.measuredBox[t]:r.layoutBox[t],i=eO(n);n.min=e[t].min,n.max=n.min+i}):r4(i,r.layoutBox,e)&&eH(n=>{let i=o?r.measuredBox[n]:r.layoutBox[n],s=eO(e[n]);i.max=i.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+s)});let s=eW();eM(s,e,r.layoutBox);let a=eW();o?eM(a,t.applyTransform(n,!0),r.measuredBox):eM(a,e,r.layoutBox);let l=!rS(s),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let s=e$();eL(s,r.layoutBox,i.layoutBox);let a=e$();eL(a,e,o.layoutBox),rT(s,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,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 rN(t){rL.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rU(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rI(t){t.clearSnapshot()}function rW(t){t.clearMeasurements()}function rz(t){t.isLayoutDirty=!1}function r$(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rH(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rq(t){t.resolveTargetDelta()}function rX(t){t.calcProjection()}function rZ(t){t.resetRotation()}function rG(t){t.removeLeadSnapshot()}function rK(t,e,r){t.translate=(0,eC.C)(e.translate,0,r),t.scale=(0,eC.C)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function rY(t,e,r,n){t.min=(0,eC.C)(e.min,r.min,n),t.max=(0,eC.C)(e.max,r.max,n)}function rJ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rQ={duration:.45,ease:[.4,0,.1,1]},r0=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),r1=r0("applewebkit/")&&!r0("chrome/")?Math.round:tk.Z;function r2(t){t.min=r1(t.min),t.max=r1(t.max)}function r4(t,e,r){return"position"===t||"preserve-aspect"===t&&!ej(rR(e),rR(r),.2)}let r5=r_({attachResizeListener:(t,e)=>ty(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),r3={current:void 0},r6=r_({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!r3.current){let t=new r5({});t.mount(window),t.setOptions({layoutScroll:!0}),r3.current=t}return r3.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),r7=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function r9(t,e,r=1){(0,tI.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,i]=function(t){let e=r7.exec(t);if(!e)return[,];let[,r,n]=e;return[r,n]}(t);if(!n)return;let o=window.getComputedStyle(e).getPropertyValue(n);if(o){let t=o.trim();return ea(t)?parseFloat(t):t}return(0,L.tm)(i)?r9(i,e,r+1):i}let r8=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),nt=t=>r8.has(t),ne=t=>Object.keys(t).some(nt),nr=t=>t===F.Rx||t===B.px,nn=(t,e)=>parseFloat(t.split(", ")[e]),ni=(t,e)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return nn(i[1],e);{let e=n.match(/^matrix\((.+)\)$/);return e?nn(e[1],t):0}},no=new Set(["x","y","z"]),ns=O.filter(t=>!no.has(t)),na={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),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:ni(4,13),y:ni(5,14)};na.translateX=na.x,na.translateY=na.y;let nl=(t,e,r)=>{let n=e.measureViewportBox(),i=e.current,o=getComputedStyle(i),{display:s}=o,a={};"none"===s&&e.setStaticValue("display",t.display||"block"),r.forEach(t=>{a[t]=na[t](n,o)}),e.render();let l=e.measureViewportBox();return r.forEach(r=>{let n=e.getValue(r);n&&n.jump(a[r]),t[r]=na[r](l,o)}),t},nu=(t,e,r={},n={})=>{e={...e},n={...n};let i=Object.keys(e).filter(nt),o=[],s=!1,a=[];if(i.forEach(i=>
13{let l;let u=t.getValue(i);if(!t.hasValue(i))return;let c=r[i],h=eh(c),d=e[i];if(tu(d)){let t=d.length,e=null===d[0]?1:0;h=eh(c=d[e]);for(let r=e;r<t&&null!==d[r];r++)l?(0,tI.k)(eh(d[r])===l,"All keyframes must be of the same type"):(l=eh(d[r]),(0,tI.k)(l===h||nr(h)&&nr(l),"Keyframes must be of the same dimension as the current value"))}else l=eh(d);if(h!==l){if(nr(h)&&nr(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof d?e[i]=parseFloat(d):Array.isArray(d)&&l===B.px&&(e[i]=d.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?u.set(l.transform(c)):e[i]=h.transform(d):(s||(o=function(t){let e=[];return ns.forEach(r=>{let n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),s=!0),a.push(i),n[i]=void 0!==n[i]?n[i]:e[i],u.jump(d))}}),!a.length)return{target:e,transitionEnd:n};{let r=a.indexOf("height")>=0?window.pageYOffset:null,i=nl(e,t,a);return o.length&&o.forEach(([e,r])=>{t.getValue(e).set(r)}),t.render(),E.j&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},nc=(t,e,r,n)=>{var i,o;let s=function(t,{...e},r){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:r};for(let i in r&&(r={...r}),t.values.forEach(t=>{let e=t.get();if(!(0,L.tm)(e))return;let r=r9(e,n);r&&t.set(r)}),e){let t=e[i];if(!(0,L.tm)(t))continue;let o=r9(t,n);o&&(e[i]=o,r||(r={}),void 0===r[i]&&(r[i]=t))}return{target:e,transitionEnd:r}}(t,e,n);return e=s.target,n=s.transitionEnd,i=e,o=n,ne(i)?nu(t,i,r,o):{target:i,transitionEnd:o}},nh={current:null},nd={current:!1},nf=new WeakMap,np=Object.keys(w),nm=np.length,ng=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ny=g.length;class nv{constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:n,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tp.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=y(e),this.isVariantNode=v(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==s[t]&&(0,M.i)(e)&&(e.set(s[t],!1),es(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,nf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),nd.current||function(){if(nd.current=!0,E.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>nh.current=t.matches;t.addListener(e),e()}else nh.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nh.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in nf.delete(this.current),this.projection&&this.projection.unmount(),(0,tp.Pn)(this.notifyUpdate),(0,tp.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let r=j.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tp.Wi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},r,n,i){let o,s;for(let t=0;t<nm;t++){let r=np[t],{isEnabled:n,Feature:i,ProjectionNode:a,MeasureLayout:l}=w[r];a&&(o=a),n(e)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(s=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:r,drag:n,dragConstraints:s,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:r,alwaysMeasureLayout:!!n||s&&d(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let t in this.features){let e=this.features[t];
13e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):e$()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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<ng.length;e++){let r=ng[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){let{willChange:n}=e;for(let i in e){let o=e[i],s=r[i];if((0,M.i)(o))t.addValue(i,o),es(n)&&n.add(i);else if((0,M.i)(s))t.addValue(i,(0,el.BX)(o,{owner:t})),es(n)&&n.remove(i);else if(s!==o){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(o)}else{let e=t.getStaticValue(i);t.addValue(i,(0,el.BX)(void 0!==e?e:o,{owner:t}))}}}for(let n in r)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),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}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<ny;t++){let r=g[t],n=this.props[r];(f(n)||!1===n)&&(e[r]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(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 r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,el.BX)(e,{owner:this}),this.addValue(t,r)),r}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(e=ta(this.props,r))||void 0===e?void 0:e[t]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,M.i)(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new ra.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class nb extends nv{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:r}){delete e[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...r},{transformValues:n},i){let o=function(t,e,r){let n={};for(let i in t){let t=function(t,e){if(!e)return;let r=e[t]||e.default||e;return r.from}(i,e);if(void 0!==t)n[i]=t;else{let t=r.getValue(i);t&&(n[i]=t.get())}}return n}(r,t||{},this);if(n&&(e&&(e=n(e)),r&&(r=n(r)),o&&(o=n(o))),i){!function(t,e,r){var n,i;let o=Object.keys(e).filter(e=>!t.hasValue(e)),s=o.length;if(s)for(let a=0;a<s;a++){let s=o[a],l=e[s],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(n=r[s])&&void 0!==n?n:t.readValue(s))&&void 0!==i?i:e[s]),null!=u&&("string"==typeof u&&(ea(u)||en(u))?u=parseFloat(u):!ef(u)&&t2.P.test(l)&&(u=er(s,l)),t.addValue(s,(0,el.BX)(u,{owner:t})),void 0===r[s]&&(r[s]=u),null!==u&&t.setBaseTarget(s,u))}}(this,r,o);let t=nc(this,r,o,e);e=t.transitionEnd,r=t.target}return{transition:t,transitionEnd:e,...r}}}class nx extends nb{readValueFromInstance(t,e){if(j.has(e)){let t=ee(e);return t&&t.default||0}{let r=window.getComputedStyle(t),n=((0,L.f9)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e6(t,e)}build(t,e,r,n){I(t,e,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,e){return to(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,M.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,r,n){tr(t,e,r,n)}}class nw extends nb{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(j.has(e)){let t=ee(e);return t&&t.default||0}return e=tn.has(e)?e:te(e),t.getAttribute(e)}measureInstanceViewportBox(){return e$()}scrapeMotionValuesFromProps(t,e){return ts(t,e)}
13build(t,e,r,n){Y(t,e,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,r,n){ti(t,e,r,n)}mount(t){this.isSVGTag=Q(t.tagName),super.mount(t)}}let nE=(t,e)=>R(t)?new nw(e,{enableHardwareAcceleration:!1}):new nx(e,{enableHardwareAcceleration:!0}),nP={animation:{Feature:class extends tC{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e)){let i=e.map(e=>em(t,e,r));n=Promise.all(i)}else if("string"==typeof e)n=em(t,e,r);else{let i="function"==typeof e?tN(t,e,r.custom):e;n=Promise.all(ep(t,i,r))}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,r))),r={animate:eb(!0),whileInView:eb(),whileHover:eb(),whileTap:eb(),whileDrag:eb(),whileFocus:eb(),exit:eb()},n=!0,i=(e,r)=>{let n=tN(t,r);if(n){let{transition:t,transitionEnd:r,...i}=n;e={...e,...i,...r}}return e};function o(o,s){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let e=0;e<ev;e++){var m;let g=ey[e],y=r[g],v=void 0!==a[g]?a[g]:l[g],b=f(v),x=g===s?y.isActive:null;!1===x&&(d=e);let w=v===l[g]&&v!==a[g]&&b;if(w&&n&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...h},!y.isActive&&null===x||!v&&!y.prevProp||p(v)||"boolean"==typeof v)continue;let E=(m=y.prevProp,"string"==typeof v?v!==m:!!Array.isArray(v)&&!tB(v,m)),P=E||g===s&&y.isActive&&!w&&b||e>d&&b,A=Array.isArray(v)?v:[v],S=A.reduce(i,{});!1===x&&(S={});let{prevResolvedValues:T={}}=y,R={...T,...S},C=t=>{P=!0,c.delete(t),y.needsAnimating[t]=!0};for(let t in R){let e=S[t],r=T[t];h.hasOwnProperty(t)||(e!==r?tu(e)&&tu(r)?!tB(e,r)||E?C(t):y.protectedKeys[t]=!0:void 0!==e?C(t):c.add(t):void 0!==e&&c.has(t)?C(t):y.protectedKeys[t]=!0)}y.prevProp=v,y.prevResolvedValues=S,y.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(P=!1),P&&!w&&u.push(...A.map(t=>({animation:t,options:{type:g,...o}})))}if(c.size){let e={};
13c.forEach(r=>{let n=t.getBaseTarget(r);void 0!==n&&(e[r]=n)}),u.push({animation:e})}let g=!!u.length;return n&&!1===a.initial&&!t.manuallyAnimateOnMount&&(g=!1),n=!1,g?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n,i){var s;if(r[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;let a=o(i,e);for(let t in r)r[t].protectedKeys={};return a},setAnimateFunction:function(r){e=r(t)},getState:()=>r}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),p(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends tC{constructor(){super(...arguments),this.id=ex++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=r?r:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends tC{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:n="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:tF[n]};return function(t,e,r){let n=function({root:t,...e}){let r=t||document;tV.has(r)||tV.set(r,{});let n=tV.get(r),i=JSON.stringify(e);return n[i]||(n[i]=new IntersectionObserver(t_,{root:t,...e})),n[i]}(e);return tD.set(t,r),n.observe(t),()=>{tD.delete(t),n.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=e?r:n;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node,r=["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e));r&&this.startObserver()}unmount(){}}},tap:{Feature:class extends tC{constructor(){super(...arguments),this.removeStartListeners=tk.Z,this.removeEndListeners=tk.Z,this.removeAccessibleListeners=tk.Z,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),n=tw(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n}=this.node.getProps();tp.Wi.update(()=>{tj(this.node.current,t.target)?r&&r(t,e):n&&n(t,e)})},{passive:!(r.onTap||r.onPointerUp)}),i=tw(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=(0,tE.z)(n,i),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=ty(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=ty(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&tM("up",(t,e)=>{let{onTap:r}=this.node.getProps();r&&tp.Wi.update(()=>r(t,e))})}),tM("down",(t,e)=>{this.startPress(t,e)}))}),e=ty(this.node.current,"blur",()=>{this.isPressing&&tM("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,tE.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&tp.Wi.update(()=>r(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tR()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&tp.Wi.update(()=>r(t,e))}mount(){let t=this.node.getProps(),e=tw(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=ty(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,tE.z)(e,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends tC{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,tE.z)(ty(this.node.current,"focus",()=>this.onFocus()),ty(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends tC{mount(){this.unmount=(0,tE.z)(tO(this.node,!0),tO(this.node,!1))}unmount(){}}},pan:{Feature:class extends tC{constructor(){super(...arguments),this.removePointerDownListener=tk.Z}onPointerDown(t){this.session=new eE(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:rt(t),onStart:rt(e),onMove:r,onEnd:(t,e)=>{delete this.session,n&&tp.Wi.update(()=>n(t,e))}}}mount(){this.removePointerDownListener=tw(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends tC{constructor(t){super(t),this.removeGroupControls=tk.Z,this.removeListeners=tk.Z,this.controls=new e9(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tk.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:r6,MeasureLayout:ro},layout:{ProjectionNode:r6,MeasureLayout:ro}},nA=function(t){function e(e,r={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:r,useVisualState:n,Component:i}){t&&function(t){for(let e in t)w[e]={...w[e],...t[e]}}(t);let o=(0,s.forwardRef)(function(o,p){var m;let g;let v={...(0,s.useContext)(a._),...o,layoutId:function({layoutId:t}){let e=(0,s.useContext)(P.p).id;return e&&void 0!==t?e+"-"+t:t}(o)},{isStatic:x}=v,w=function(t){let{initial:e,animate:r}=function(t,e){if(y(t)){let{initial:e,animate:r}=t;return{initial:!1===e||f(e)?e:void 0,animate:f(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(l));return(0,s.useMemo)(()=>({initial:e,animate:r}
13),[b(e),b(r)])}(o),S=n(o,x);if(!x&&E.j){w.visualElement=function(t,e,r,n){let{visualElement:i}=(0,s.useContext)(l),o=(0,s.useContext)(h),d=(0,s.useContext)(u.O),f=(0,s.useContext)(a._).reducedMotion,p=(0,s.useRef)();n=n||o.renderer,!p.current&&n&&(p.current=n(t,{visualState:e,parent:i,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:f}));let m=p.current;(0,s.useInsertionEffect)(()=>{m&&m.update(r,d)});let g=(0,s.useRef)(!!window.HandoffAppearAnimations);return(0,c.L)(()=>{m&&(m.render(),g.current&&m.animationState&&m.animationState.animateChanges())}),(0,s.useEffect)(()=>{m&&(m.updateFeatures(),!g.current&&m.animationState&&m.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,g.current=!1)}),m}(i,S,v,e);let r=(0,s.useContext)(A),n=(0,s.useContext)(h).strict;w.visualElement&&(g=w.visualElement.loadFeatures(v,n,t,r))}return s.createElement(l.Provider,{value:w},g&&w.visualElement?s.createElement(g,{visualElement:w.visualElement,...v}):null,r(i,o,(m=w.visualElement,(0,s.useCallback)(t=>{t&&S.mount&&S.mount(t),m&&(t?m.mount(t):m.unmount()),p&&("function"==typeof p?p(t):d(p)&&(p.current=t))},[m])),S,x,w.visualElement))});return o[S]=i,o}(t(e,r))}if("undefined"==typeof Proxy)return e;let r=new Map;return new Proxy(e,{get:(t,n)=>(r.has(n)||r.set(n,e(n)),r.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},r,n){let i=R(t)?tm:tg;return{...i,preloadedFeatures:r,useRender:function(t=!1){return(e,r,n,{latestValues:i},o)=>{let a=R(e)?tt:$,l=a(r,i,o,e),u=function(t,e,r){let n={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(X(i)||!0===r&&q(i)||!e&&!q(i)||t.draggable&&i.startsWith("onDrag"))&&(n[i]=t[i]);return n}(r,"string"==typeof e,t),c={...u,...l,ref:n},{children:h}=r,d=(0,s.useMemo)(()=>(0,M.i)(h)?h.get():h,[h]);return(0,s.createElement)(e,{...c,children:d})}}(e),createVisualElement:n,Component:t}})(t,e,nP,nE))},7630:function(t,e,r){"use strict";r.d(e,{Xp:function(){return s},f9:function(){return i},tm:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),i=n("--"),o=n("var(--"),s=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?
13:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},10:function(t,e,r){"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{cl:function(){return i},y4:function(){return n}})},4169:function(t,e,r){"use strict";r.d(e,{u:function(){return n}});let n=(t,e,r)=>Math.min(Math.max(r,t),e)},5487:function(t,e,r){"use strict";r.d(e,{K:function(){return i},k:function(){return o}});var n=r(1662);let i=n.Z,o=n.Z},1741:function(t,e,r){"use strict";r.d(e,{j:function(){return n}});let n="undefined"!=typeof document},22:function(t,e,r){"use strict";r.d(e,{C:function(){return n}});let n=(t,e,r)=>-r*t+r*e+t},1662:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});let n=t=>t},3624:function(t,e,r){"use strict";r.d(e,{z:function(){return i}});let n=(t,e)=>r=>e(t(r)),i=(...t)=>t.reduce(n)},3967:function(t,e,r){"use strict";r.d(e,{Y:function(){return n}});let n=(t,e,r)=>{let n=e-t;return 0===n?1:(r-t)/n}},1560:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var n=r(10);class i{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},6917:function(t,e,r){"use strict";r.d(e,{X:function(){return i},w:function(){return n}});let n=t=>1e3*t,i=t=>t/1e3},6681:function(t,e,r){"use strict";r.d(e,{h:function(){return i}});var n=r(7294);function i(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},6337:function(t,e,r){"use strict";r.d(e,{N:function(){return s}});var n=r(7294),i=r(4454),o=r(2074);function s(){let t=(0,i.t)(),[e,r]=(0,n.useState)(0),s=(0,n.useCallback)(()=>{t.current&&r(e+1)},[e]),a=(0,n.useCallback)(()=>o.Wi.postRender(s),[s]);return[a,e]}},4454:function(t,e,r){"use strict";r.d(e,{t:function(){return o}});var n=r(7294),i=r(8868);function o(){let t=(0,n.useRef)(!1);return(0,i.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}},8868:function(t,e,r){"use strict";r.d(e,{L:function(){return o}});var n=r(7294),i=r(1741);let o=i.j?n.useLayoutEffect:n.useEffect},3038:function(t,e,r){"use strict";function n(t,e){return e?t*(1e3/e):0}r.d(e,{R:function(){return n}})},3234:function(t,e,r){"use strict";r.d(e,{BX:function(){return u}});var n=r(1560),i=r(3038),o=r(2074);let s=t=>!isNaN(parseFloat(t)),a={current:void 0};class l{constructor(t,e={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:r,timestamp:n}=o.frameData;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,o.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=s(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.L);let r=this.events[t].add(e);return"change"===t?()=>{r(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(e),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},6382:function(t,e,r){"use strict";r.d(e,{$:function(){return o}});var n=r(819),i=r(8834);let o={test:(0,i.i)("#"),parse:function(t){let e="",r="",n="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alph
13a:i?parseInt(i,16)/255:1}},transform:n.m.transform}},3184:function(t,e,r){"use strict";r.d(e,{J:function(){return a}});var n=r(1649),i=r(6190),o=r(6430),s=r(8834);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:s=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,o.Nw)(e))+", "+i.aQ.transform((0,o.Nw)(r))+", "+(0,o.Nw)(n.Fq.transform(s))+")"}},5385:function(t,e,r){"use strict";r.d(e,{$:function(){return a}});var n=r(6430),i=r(6382),o=r(3184),s=r(819);let a={test:t=>s.m.test(t)||i.$.test(t)||o.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):o.J.test(t)?o.J.parse(t):i.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?s.m.transform(t):o.J.transform(t)}},819:function(t,e,r){"use strict";r.d(e,{m:function(){return u}});var n=r(4169),i=r(1649),o=r(6430),s=r(8834);let a=t=>(0,n.u)(0,255,t),l={...i.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:r,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,o.Nw)(i.Fq.transform(n))+")"}},8834:function(t,e,r){"use strict";r.d(e,{d:function(){return o},i:function(){return i}});var n=r(6430);let i=(t,e)=>r=>!!((0,n.HD)(r)&&n.mj.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),o=(t,e,r)=>i=>{if(!(0,n.HD)(i))return i;let[o,s,a,l]=i.match(n.KP);return{[t]:parseFloat(o),[e]:parseFloat(s),[r]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},1550:function(t,e,r){"use strict";r.d(e,{P:function(){return g},V:function(){return d}});var n=r(7630),i=r(1662),o=r(5385),s=r(1649),a=r(6430);let l={regex:n.Xp,countKey:"Vars",token:"${v}",parse:i.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},c={regex:a.KP,countKey:"Numbers",token:"${n}",parse:s.Rx.parse};function h(t,{regex:e,countKey:r,token:n,parse:i}){let o=t.tokenised.match(e);o&&(t["num"+r]=o.length,t.tokenised=t.tokenised.replace(e,n),t.values.push(...o.map(i)))}function d(t){let e=t.toString(),r={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&h(r,l),h(r,u),h(r,c),r}function f(t){return d(t).values}function p(t){let{values:e,numColors:r,numVars:n,tokenised:i}=d(t),s=e.length;return t=>{let e=i;for(let i=0;i<s;i++)e=i<n?e.replace(l.token,t[i]):i<n+r?e.replace(u.token,o.$.transform(t[i])):e.replace(c.token,(0,a.Nw)(t[i]));return e}}let m=t=>"number"==typeof t?0:t,g={test:function(t){var e,r;return isNaN(t)&&(0,a.HD)(t)&&((null===(e=t.match(a.KP))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(a.dA))||void 0===r?void 0:r.length)||0)>0},parse:f,createTransformer:p,getAnimatableNone:function(t){let e=f(t),r=p(t);return r(e.map(m))}}},1649:function(t,e,r){"use strict";r.d(e,{Fq:function(){return o},Rx:function(){return i},bA:function(){return s}});var n=r(4169);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...i,transform:t=>(0,n.u)(0,1,t)},s={...i,default:1}},6190:function(t,e,r){"use strict";r.d(e,{$C:function(){return c},RW:function(){return o},aQ:function(){return s},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=r(6430);let i=t=>({test:e=>(0,n.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),o=i("deg"),s=i("%"),a=i("px"),l=i("vh"),u=i("vw"),c={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},6430:function(t,e,r){"use strict";r.d(e,{HD:function(){return a},KP:function(){return i},Nw:function(){return n},dA:function(){return o},mj:function(){return s}});let n=t=>Math.round(1e5*t)/1e5,i=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"==typeof t}},406:function(t,e,r){"use strict";r.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},4887:function(t,e,r){"use strict";r.d(e,{Z:function(){return P}});var n={};r.r(n),r.d(n,{exclude:function(){return E},extract:function(){return g},parse:function(){return y},parseUrl:function(){return b},pick:function(){return w},stringify:function(){return v},stringifyUrl:function(){return x}});let i="%[a-f0-9]{2}",o=RegExp("("+i+")|([^%]+?)","gi"),s=RegExp("("+i+")+","gi");function a(t,e){if(!("string"==typeof t&&"string"==typeof e))throw TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];let r=t.indexOf(e);return -1===r?[]:[t.slice(0,r),t.slice(r+e.length)]}let l=t=>null==t,u=t=>encodeURIComponent(t).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),c=Symbol("encodeFragmentIdentifier");function h(t){if("string"!=typeof t||1!==t.length)throw TypeError("arrayFormatSeparator must be single character string")}function d(t,e){return e.encode?e.strict?u(t):encodeURIComponent(t):t}function f(t,e){return e.decode?function(t){if("string"!=typeof t)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){let e={"%FE%FF":"��","%FF%FE":"��"},r=s.exec(t);for(;r;){try{e[r[0]]=decodeURIComponent(r[0])}catch{let t=function(t){try{return decodeURIComponent(t)}catch{let e=t.match(o)||[];for(let r=1;r<e.length;r++)e=(t=(function t(e,r){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;r=r||1;let n=e.slice(0,r),i=e.slice(r);return Array.prototype.concat.call([],t(n),t(i))})(e,r).join("")).match(o)||[];return t}}(r[0]);t!==r[0]&&(e[r[0]]=t)}r=s.exec(t)}e["%C2"]="�";let n=Object.keys(e);for(let r of n)t=t.replace(RegExp(r,"g"),e[r]);return t}(t)}}(t):t}function p(t){let e=t.indexOf("#");return -1!==e&&(t=t.slice(0,e)),t}function m(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):e.parseBooleans&&null!==t&&("true"===t.toLowerCase()||"false"===t.toLowerCase())&&(t="true"===t.toLowerCase()),t}function g(t){t=p(t);let e=t.indexOf("?");return -1===e?"":t.slice(e+1)}function y(t,e){h((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);let r=function(t){let e;switch(t.arrayFormat){case"index":return(t,r,n)=>{if(e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),!e){n[t]=r;return}void 0===n[t]&&(n[t]={}),n[t][e[1]]=r};case"bracket":return(t,r,n)=>{if(e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),!e){n[t]=r;return}if(void 0===n[t]){n[t]=[r];return}n[t]=[...n[t],r]};case"colon-list-separator":return(t,r,n)=>{if(e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),!e){n[t]=r;return}if(void 0===n[t]){n[t]=[r];return}n[t]=[...n[t],r]};case"comma":case"separator":return(e,r,n)=>{let i="string"==typeof r&&r.includes(t.arrayFormatSeparator),o="string"==typeof r&&!i&&f(r,t).includes(t.arrayFormatSeparator);r=o?f(r,t):r;let s=i||o?r.split(t.arrayFormatSeparator).map(e=>f(e,t)):null===r?r:f(r,t);n[e]=s};case"bracket-separator":return(e,r,n)=>{let i=/(\[])$/.test(e);
13if(e=e.replace(/\[]$/,""),!i){n[e]=r?f(r,t):r;return}let o=null===r?[]:r.split(t.arrayFormatSeparator).map(e=>f(e,t));if(void 0===n[e]){n[e]=o;return}n[e]=[...n[e],...o]};default:return(t,e,r)=>{if(void 0===r[t]){r[t]=e;return}r[t]=[...[r[t]].flat(),e]}}}(e),n=Object.create(null);if("string"!=typeof t||!(t=t.trim().replace(/^[?#&]/,"")))return n;for(let i of t.split("&")){if(""===i)continue;let t=e.decode?i.replace(/\+/g," "):i,[o,s]=a(t,"=");void 0===o&&(o=t),s=void 0===s?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:f(s,e),r(f(o,e),s,n)}for(let[t,r]of Object.entries(n))if("object"==typeof r&&null!==r)for(let[t,n]of Object.entries(r))r[t]=m(n,e);else n[t]=m(r,e);return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce((t,e)=>{let r=n[e];return r&&"object"==typeof r&&!Array.isArray(r)?t[e]=function t(e){return Array.isArray(e)?e.sort():"object"==typeof e?t(Object.keys(e)).sort((t,e)=>Number(t)-Number(e)).map(t=>e[t]):e}(r):t[e]=r,t},Object.create(null))}function v(t,e){if(!t)return"";h((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);let r=r=>e.skipNull&&l(t[r])||e.skipEmptyString&&""===t[r],n=function(t){switch(t.arrayFormat){case"index":return e=>(r,n)=>{let i=r.length;return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[d(e,t),"[",i,"]"].join("")]:[...r,[d(e,t),"[",d(i,t),"]=",d(n,t)].join("")]};case"bracket":return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[d(e,t),"[]"].join("")]:[...r,[d(e,t),"[]=",d(n,t)].join("")];case"colon-list-separator":return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[d(e,t),":list="].join("")]:[...r,[d(e,t),":list=",d(n,t)].join("")];case"comma":case"separator":case"bracket-separator":{let e="bracket-separator"===t.arrayFormat?"[]=":"=";return r=>(n,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?n:(i=null===i?"":i,0===n.length)?[[d(r,t),e,d(i,t)].join("")]:[[n,d(i,t)].join(t.arrayFormatSeparator)]}default:return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,d(e,t)]:[...r,[d(e,t),"=",d(n,t)].join("")]}}(e),i={};for(let[e,n]of Object.entries(t))r(e)||(i[e]=n);let o=Object.keys(i);return!1!==e.sort&&o.sort(e.sort),o.map(r=>{let i=t[r];return void 0===i?"":null===i?d(r,e):Array.isArray(i)?0===i.length&&"bracket-separator"===e.arrayFormat?d(r,e)+"[]":i.reduce(n(r),[]).join("&"):d(r,e)+"="+d(i,e)}).filter(t=>t.length>0).join("&")}function b(t,e){e={decode:!0,...e};let[r,n]=a(t,"#");return void 0===r&&(r=t),{url:r?.split("?")?.[0]??"",query:y(g(t),e),...e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:f(n,e)}:{}}}function x(t,e){e={encode:!0,strict:!0,[c]:!0,...e};let r=p(t.url).split("?")[0]||"",n=g(t.url),i={...y(n,{sort:!1}),...t.query},o=v(i,e);o&&(o=`?${o}`);let s=function(t){let e="",r=t.indexOf("#");return -1!==r&&(e=t.slice(r)),e}(t.url);if(t.fragmentIdentifier){let n=new URL(r);n.hash=t.fragmentIdentifier,s=e[c]?n.hash:`#${t.fragmentIdentifier}`}return`${r}${o}${s}`}function w(t,e,r){r={parseFragmentIdentifier:!0,[c]:!1,...r};let{url:n,query:i,fragmentIdentifier:o}=b(t,r);return x({url:n,query:function(t,e){let r={};if(Array.isArray(e))for(let n of e){let e=Object.getOwnPropertyDescriptor(t,n);e?.enumerable&&Object.defineProperty(r,n,e)}else for(let n of Reflect.ownKeys(t)){let i=Object.getOwnPropertyDescriptor(t,n);if(i.enumerable){let o=t[n];e(n,o,t)&&Object.defineProperty(r,n,i)}}return r}(i,e),fragmentIdentifier:o},r)}function E(t,e,r){let n=Array.isArray(e)?t=>!e.includes(t):(t,r)=>!e(t,r);return w(t,n,r)}var P=n},2708:function(t,e,r){"use strict";r.d(e,{YD:function(){return u}});var n=r(7294),i=Object.defineProperty,o=new Map,s=new WeakMap,a=0,l=void 0;function u({threshold:t,delay:e,trackVisibility:r,rootMargin:i,root:u,triggerOnce:c,skip:h,initialInView:d,fallbackInView:f,onChange:p}={}){var m;let[g,y]=n.useState(null),v=n.useRef(),[b,x]=n.useState({inView:!!d,entry:void 0});v.current=p,n.useEffect(()=>{let n;if(!h&&g)return n=function(t,e,r={},n=l){if(void 0===window.IntersectionObserver&&void 0!==n){let i=t.getBoundingClientRect();return e(n,{isIntersecting:n,target:t,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:u,elements:c}=function(t){let e=Object.keys(t).sort().filter(e=>void 0!==t[e]).map(e=>{var r;return`${e}_${"root"===e?(r=t.root)?(s.has(r)||(a+=1,s.set(r,a.toString())),s.get(r)):"0":t[e]}`}).toString(),r=o.get(e);if(!r){let n;let i=new Map,s=new IntersectionObserver(e=>
13{e.forEach(e=>{var r;let o=e.isIntersecting&&n.some(t=>e.intersectionRatio>=t);t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=o),null==(r=i.get(e.target))||r.forEach(t=>{t(o,e)})})},t);n=s.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),r={id:e,observer:s,elements:i},o.set(e,r)}return r}(r),h=c.get(t)||[];return c.has(t)||c.set(t,h),h.push(e),u.observe(t),function(){h.splice(h.indexOf(e),1),0===h.length&&(c.delete(t),u.unobserve(t)),0===c.size&&(u.disconnect(),o.delete(i))}}(g,(t,e)=>{x({inView:t,entry:e}),v.current&&v.current(t,e),e.isIntersecting&&c&&n&&(n(),n=void 0)},{root:u,rootMargin:i,threshold:t,trackVisibility:r,delay:e},f),()=>{n&&n()}},[Array.isArray(t)?t.toString():t,g,u,i,c,h,r,f,e]);let w=null==(m=b.entry)?void 0:m.target,E=n.useRef();g||!w||c||h||E.current===w||(E.current=w,x({inView:!!d,entry:void 0}));let P=[y,b.inView,b.entry];return P.ref=P[0],P.inView=P[1],P.entry=P[2],P}n.Component}}]);

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.