1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{594:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Ay:()=>eX});var i,a,s=n(3515),o="data-focus-lock",u="data-focus-lock-disabled",l=n(1739),c={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},d=n(2901),f=(0,d.C)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),h=(0,d.C)(),p=(0,d.C)(),m=(0,d.f)({async:!0,ssr:"undefined"!=typeof document}),v=(0,s.createContext)(void 0),g=[],y=(0,s.forwardRef)(function(e,t){var n,i=(0,s.useState)(),a=i[0],d=i[1],p=(0,s.useRef)(),y=(0,s.useRef)(!1),b=(0,s.useRef)(null),w=(0,s.useState)({})[1],x=e.children,S=e.disabled,M=void 0!==S&&S,T=e.noFocusGuards,E=void 0!==T&&T,A=e.persistentFocus,O=e.crossFrame,C=e.autoFocus,P=(e.allowTextSelection,e.group),k=e.className,V=e.whiteList,_=e.hasPositiveIndices,j=e.shards,I=void 0===j?g:j,F=e.as,N=e.lockProps,L=e.sideCar,D=e.returnFocus,R=void 0!==D&&D,B=e.focusOptions,q=e.onActivation,W=e.onDeactivation,U=(0,s.useState)({})[0],K=(0,s.useCallback)(function(e){var t=e.captureFocusRestore;if(!b.current){var n,r=null==(n=document)?void 0:n.activeElement;b.current=r,r!==document.body&&(b.current=t(r))}p.current&&q&&q(p.current),y.current=!0,w()},[q]),G=(0,s.useCallback)(function(){y.current=!1,W&&W(p.current),w()},[W]),H=(0,s.useCallback)(function(e){var t=b.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof R?R(n):R;if(r){var i="object"==typeof r?r:void 0;b.current=null,e?Promise.resolve().then(function(){return n.focus(i)}):n.focus(i)}}},[R]),$=(0,s.useCallback)(function(e){y.current&&f.useMedium(e)},[]),z=h.useMedium,Y=(0,s.useCallback)(function(e){p.current!==e&&(p.current=e,d(e))},[]),X=r(((n={})[u]=M&&"disabled",n[o]=P,n),void 0===N?{}:N),J=!0!==E,Q=J&&"tail"!==E,Z=(0,l.S)([t,Y]),ee=(0,s.useMemo)(function(){return{observed:p,shards:I,enabled:!M,active:y.current}},[M,y.current,I,a]);return s.createElement(s.Fragment,null,J&&[s.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:M?-1:0,style:c}),_?s.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:M?-1:1,style:c}):null],!M&&s.createElement(L,{id:U,sideCar:m,observed:a,disabled:M,persistentFocus:void 0!==A&&A,crossFrame:void 0===O||O,autoFocus:void 0===C||C,whiteList:V,shards:I,onActivation:K,onDeactivation:G,returnFocus:H,focusOptions:B,noFocusGuards:E}),s.createElement(void 0===F?"div":F,r({ref:Z},X,{className:k,onBlur:z,onFocus:$}),s.createElement(v.Provider,{value:ee},x)),Q&&s.createElement("div",{"data-focus-guard":!0,tabIndex:M?-1:0,style:c}))});function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}y.propTypes={};var x=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},S=function(e){return Array.isArray(e)?e:[e]},M=function(e){return Array.isArray(e)?e[0]:e},T=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},E=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},A=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},O=function(e,t){var n,r,i=e.get(t);if(void 0!==i)return i;var a=(n=t,r=O.bind(void 0,e),!n||A(n)||!T(n)&&!n.hasAttribute("inert")&&r(E(n)));return e.set(t,a),a},C=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var i=(n=C.bind(void 0,e),!t||!!A(t)||!!_(t)&&n(E(t)));return e.set(t,i),i},P=function(e){return e.dataset},k=function(e){return"INPUT"===e.tagName},V=function(e){return k(e)&&"radio"===e.type},_=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},j=function(e){var t;return!!(e&&(null==(t=P(e))?void 0:t.focusGuard))},I=function(e){return!j(e)},F=function(e){return!!e},N=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),i=n-r,a=e.index-t.index;if(i){if(!n)return 1;if(!r)return -1}return i||a},L=function(e,t,n){return x(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(N)},D="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",R="".concat(D,", [data-focus-guard]"),B=function(e,t){return x((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?R:D)?[n]:[],B(n))},[])},q=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?W([e.contentDocument.body],t):[e]},W=function(e,t){return e.reduce(function(e,n){var r,i=B(n,t),a=(r=[]).concat.apply(r,i.map(function(e){return q(e,t)}));return e.concat(a,n.parentNode?x(n.parentNode.querySelectorAll(D)).filter(function(e){return e===n}):[])},[])},U=function(e,t){return x(e).filter(function(e){return O(t,e)}).filter(function(e){var t;return!((k(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},K=function(e,t){return void 0===t&&(t=new Map),x(e).filter(function(e){return C(t,e)})},G=function(e,t,n){return L(U(W(e,n),t),!0,n)},H=function(e,t){return L(U(W(e),t),!1)},$=function(e,t){return e.shadowRoot?$(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||x(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&$(r,t)}return $(e,t)})},z=function(e){try{return e()}catch(e){return}},Y=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?Y(t.shadowRoot):t instanceof HTMLIFrameElement&&z(function(){return t.contentWindow.document})?Y(t.contentWindow.document):t}},X=function(e){void 0===e&&(e=document);var t=Y(e);return!!t&&x(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return $(e,t)})},J=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var a=e[r].compareDocumentPosition(e[i]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},Q=function(e){return e.parentNode?Q(e.parentNode):e}
1,Z=function(e){return S(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(o);return e.push.apply(e,n?J(x(Q(t).querySelectorAll("[".concat(o,'="').concat(n,'"]:not([').concat(u,'="disabled"])')))):[t]),e},[])},ee=function(e,t){return void 0===t&&(t=Y(M(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&Z(e).some(function(e){var n;return $(e,t)||(n=t,!!x(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},et=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},en=function(e,t){if(V(e)&&e.name)return t.filter(V).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},er=function(e){var t=new Set;return e.forEach(function(n){return t.add(en(n,e))}),e.filter(function(e){return t.has(e)})},ei=function(e){return e[0]&&e.length>1?en(e[0],e):e[0]},ea=function(e,t){return e.indexOf(en(t,e))},es="NEW_FOCUS",eo=function(e,t,n,r,i){var a=e.length,s=e[0],o=e[a-1],u=j(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?n.indexOf(r):-1,c=i?n.indexOf(i):l,d=i?e.indexOf(i):-1;if(-1===l)return -1!==d?d:es;if(-1===d)return es;var f=l-c,h=n.indexOf(s),p=n.indexOf(o),m=er(n),v=void 0!==r?m.indexOf(r):-1,g=i?m.indexOf(i):v,y=m.filter(function(e){return e.tabIndex>=0}),b=void 0!==r?y.indexOf(r):-1,w=i?y.indexOf(i):b;if(!f&&d>=0||0===t.length)return d;var x=ea(e,t[0]),S=ea(e,t[t.length-1]);if(l<=h&&u&&Math.abs(f)>1)return S;if(l>=p&&u&&Math.abs(f)>1)return x;if(f&&Math.abs(b>=0&&w>=0?w-b:g-v)>1)return d;if(l<=h)return S;if(l>p)return x;if(f)return Math.abs(f)>1?d:(a+d+f)%a}},eu=function(e,t,n){var r=K(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=P(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?ei(r):ei(K(t))},el=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&el(e.parentNode.host||e.parentNode,t),t},ec=function(e,t){for(var n=el(e),r=el(t),i=0;i<n.length;i+=1){var a=n[i];if(r.indexOf(a)>=0)return a}return!1},ed=function(e,t,n){var r=S(e),i=S(t),a=r[0],s=!1;return i.filter(Boolean).forEach(function(e){s=ec(s||e,e)||s,n.filter(Boolean).forEach(function(e){var t=ec(a,e);t&&(s=!s||$(t,s)?t:ec(t,s))})}),s},ef=function(e,t){return e.reduce(function(e,n){var r,i;return e.concat((r=n,i=t,U(x(r.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return W([e])}).reduce(function(e,t){return e.concat(t)},[]),i)))},[])},eh=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(F)},ep=function(e,t){var n=Y(S(e).length>0?document:M(e).ownerDocument),r=Z(e).filter(I),i=ed(n||e,e,r),a=new Map,s=H(r,a),o=s.filter(function(e){return I(e.node)});if(o[0]){var u=H([i],a).map(function(e){return e.node}),l=eh(u,o),c=l.map(function(e){return e.node}),d=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=eo(c,d,u,n,t);if(f===es){var h=eu(s,d,ef(r,a))||eu(s,c,ef(r,a));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},em=0,ev=!1,eg=function(e,t,n){void 0===n&&(n={});var r=ep(e,t);if(!ev&&r){if(em>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ev=!0,setTimeout(function(){ev=!1},1);return}em++,et(r.node,n.focusOptions),em--}};function ey(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var eb=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ey(n),parent:ey(n.parentElement),left:ey(n.previousElementSibling),right:ey(n.nextElementSibling)}),n=n.parentElement;return{element:ey(e),stack:t,ownerDocument:e.ownerDocument}},ew=function(e){if(e)for(var t,n,r,i,a,s=e.stack,o=e.ownerDocument,u=new Map,l=0;l<s.length;l++){var c=s[l],d=null==(t=c.parent)?void 0:t.call(c);if(d&&o.contains(d)){for(var f=null==(n=c.left)?void 0:n.call(c),h=c.current(),p=d.contains(h)?h:void 0,m=null==(r=c.right)?void 0:r.call(c),v=G([d],u),g=null!=(a=null!=(i=null!=p?p:null==f?void 0:f.nextElementSibling)?i:m)?a:f;g;){for(var y=0;y<v.length;y++){var b=v[y];if(null==g?void 0:g.contains(b.node))return b.node}g=g.nextElementSibling}if(v.length)return v[0].node}}},ex=function(e){var t=eb(e);return function(){return ew(t)}},eS=function(e){var t=Z(e).filter(I),n=L(W([ed(e,e,t)],!0),!0,!0),r=W(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:j(t)}})},eM=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=S(t);if(r.every(function(t){return!$(t,e)}))return console.error("Active element is not contained in the scope"),{};var i=n?G(r,new Map):H(r,new Map),a=i.findIndex(function(t){return t.node===e});if(-1!==a)return{prev:i[a-1],next:i[a+1],first:i[0],last:i[i.length-1]}},eT=function(e,t){var n=t?G(S(e),new Map):H(S(e),new Map);return{first:n[0],last:n[n.length-1]}},eE=function(e,t,n){void 0===t&&(t={});var r,i=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),a=eM(e,i.scope,i.onlyTabbable);if(a){var s=n(a,i.cycle);s&&et(s.node,i.focusOptions)}},eA=function(e,t,n){var r,i=eT(e,null==(r=t.onlyTabbable)||r)[n];i&&et(i.node,t.focusOptions)};function eO(e){setTimeout(e,1)}var eC=function(e){return e&&"current"in e?e.current:e},eP=function(){return document&&document.activeElement===document.body},ek=null,eV=null,e_=function(){return null},ej=null,eI=!1,eF=!1,eN=function(e,t){ej={observerNode:e,portaledElement:t}};function eL(e,t,n,r){var i=null,a=e;do{var s=r[a];if(s.guard)s.node.dataset.focusAutoGuard&&(i=s);else if(s.lockItem){if(a!==e)return;i=null}else break}while((a+=n)!==t);i&&(i.node.tabIndex=0)}var eD=function(e){return H(e,new Map)},eR=function(){var e=!1;
1if(ek){var t=ek,n=t.observed,r=t.persistentFocus,i=t.autoFocus,a=t.shards,s=t.crossFrame,o=t.focusOptions,u=t.noFocusGuards,l=n||ej&&ej.portaledElement;if(eP()&&eV&&eV!==document.body&&(!document.body.contains(eV)||!eD([(f=eV).parentNode]).some(function(e){return e.node===f}))){var c=e_();c&&c.focus()}var d=document&&document.activeElement;if(l){var f,h=[l].concat(a.map(eC).filter(Boolean));if((!d||(ek.whiteList||function(){return!0})(d))&&(r||function(){if(!(s?!!eI:"meanwhile"===eI)||!u||!eV||eF)return!1;var e=eD(h),t=e.findIndex(function(e){return e.node===eV});return 0===t||t===e.length-1}()||!(eP()||X())||!eV&&i)&&(l&&!(ee(h)||d&&h.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(d,e,e)})||ej&&ej.portaledElement===d)&&(document&&!eV&&d&&!i?(d.blur&&d.blur(),document.body.focus()):(e=eg(h,eV,{focusOptions:o}),ej={})),(eV=document&&document.activeElement)!==document.body&&(e_=ex(eV)),eI=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var p=document&&document.activeElement,m=eS(h),v=m.map(function(e){return e.node}).indexOf(p);v>-1&&(m.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eL(v,m.length,1,m),eL(v,-1,-1,m))}}}return e},eB=function(e){eR()&&e&&(e.stopPropagation(),e.preventDefault())},eq=function(){return eO(eR)},eW=function(){eF=!0},eU=function(){eF=!1,eI="just",eO(function(){eI="meanwhile"})},eK=function(){document.addEventListener("focusin",eB),document.addEventListener("focusout",eq),window.addEventListener("focus",eW),window.addEventListener("blur",eU)},eG=function(){document.removeEventListener("focusin",eB),document.removeEventListener("focusout",eq),window.removeEventListener("focus",eW),window.removeEventListener("blur",eU)},eH={moveFocusInside:eg,focusInside:ee,focusNextElement:function(e,t){void 0===t&&(t={}),eE(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),eE(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),eA(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),eA(e,t,"last")},captureFocusRestore:ex};f.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||eN(n,t)}),h.assignMedium(eq),p.assignMedium(function(e){return e(eH)});let e$=(i=function(e){return e.filter(function(e){return!e.disabled})},a=function(e){var t=e.slice(-1)[0];t&&!ek&&eK();var n=ek,r=n&&t&&t.id===n.id;ek=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(eV=null,r&&n.observed===t.observed||t.onActivation(eH),eR(!0),eO(eR)):(eG(),eV=null)},function(e){var t,n,r,o,u,l=[];function c(){a(u=i(l.map(function(e){return e.props})))}var d=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,b(n,t),n.peek=function(){return u};var r=n.prototype;return r.componentDidMount=function(){l.push(this),c()},r.componentDidUpdate=function(){c()},r.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),c()},r.render=function(){return s.createElement(e,this.props)},n}(s.PureComponent);return t=d,n="displayName",r="SideEffect("+(e.displayName||e.name||"Component")+")",(o=function(e,t){if("object"!=w(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=w(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==w(o)?o:o+"")in t)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,d})(function(){return null});var ez=(0,s.forwardRef)(function(e,t){return s.createElement(y,r({sideCar:e$,ref:t},e))}),eY=y.propTypes||{};eY.sideCar,function(e,t){if(null!=e){var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}}}
1(eY,["sideCar"]),ez.propTypes={};let eX=ez},660:(e,t,n)=>{"use strict";var r=n(5252);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}})},1032:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3515);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))})},1150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return o}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return i?new i:new r}function s(e){return i?i.bind(e):r.bind(e)}function o(){return i?i.snapshot():function(e,...t){return e(...t)}}},1739:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(3515);function i(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,s=new WeakMap;function o(e,t){var n,o,u,l=(n=t||null,o=function(t){return e.forEach(function(e){return i(e,t)})},(u=(0,r.useState)(function(){return{value:n,callback:o,facade:{get current(){return u.value},set current(value){var e=u.value;e!==value&&(u.value=value,u.callback(value,e))}}}})[0]).callback=o,u.facade);return a(function(){var t=s.get(l);if(t){var n=new Set(t),r=new Set(e),a=l.current;n.forEach(function(e){r.has(e)||i(e,null)}),r.forEach(function(e){n.has(e)||i(e,a)})}s.set(l,e)},[e]),l}},1859:(e,t,n)=>{"use strict";n.d(t,{Cl:()=>r,Tt:()=>i,fX:()=>a});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;function a(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},2294:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(3243),i=n(3515),a=n(4653);function s(e){return{default:e&&"default"in e?e.default:e}}n(5472);let o={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},u=function(e){let t={...o,...e},n=(0,i.lazy)(()=>t.loader().then(s)),u=t.loading;function l(e){let s=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,l=o?i.Suspense:i.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(l,{...o?{fallback:s}:{},children:c})}return l.displayName="LoadableComponent",l}},2901:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,f:()=>o});var r=n(1859);function i(e){return e}function a(e,t){void 0===t&&(t=i);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;
1n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(a)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}}}function s(e,t){return void 0===t&&(t=i),a(e,t)}function o(e){void 0===e&&(e={});var t=a(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}},3564:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3515);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))})},3626:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3515);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})},4572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(1150).createAsyncLocalStorage)()},4653:(e,t,n)=>{"use strict";function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(4417)},5472:(e,t,n)=>{"use strict";function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(3243),n(2378),n(7503),n(8598)},5889:(e,t,n)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:o="dataLayer",nonce:u}=e;return void 0===r&&(r=o),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(o,"'] = window['").concat(o,"'] || [];\n function gtag(){window['").concat(o,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"' ").concat(n?",{ 'debug_mode': true }":"",");")},nonce:u}),(0,i.jsx)(s.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t),nonce:u})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0===r)return void console.warn("@next/third-parties: GA has not been initialized");window[r]?window[r].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(r," does not exist"))};let i=n(3243),a=n(3515),s=function(e){return e&&e.__esModule?e:{default:e}}(n(6217))},5939:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(3243),i=n(3515),a=n(3572),s=n(2201),o=n(1541);function u(e){let{children:t,isValidProp:n,...u}=e;n&&(0,s.D)(n),(u={...(0,i.useContext)(a.Q),...u}).isStatic=(0,o.M)(()=>u.isStatic);let l=(0,i.useMemo)(()=>u,[JSON.stringify(u.transition),u.transformPagePoint,u.reducedMotion]);return(0,r.jsx)(a.Q.Provider,{value:l,children:t})}},6022:(e,t,n)=>{"use strict";let r;n.d(t,{LazyMotion:()=>u,domAnimation:()=>nK});var i=n(3243),a=n(3515),s=n(8686),o=n(8216);function u(e){let{children:t,features:n,strict:r=!1}=e,[,u]=(0,a.useState)(!l(n)),c=(0,a.useRef)(void 0);if(!l(n)){let{renderer:e,...t}=n;c.current=e,(0,o.Y)(t)}return(0,a.useEffect)(()=>
1{l(n)&&n().then(e=>{let{renderer:t,...n}=e;(0,o.Y)(n),c.current=t,u(!0)})},[]),(0,i.jsx)(s.Y.Provider,{value:{renderer:c.current,strict:r},children:t})}function l(e){return"function"==typeof e}var c=n(7188),d=n(8735);function f(e,t,n){let r=e.getProps();return(0,d.a)(r,t,void 0!==n?n:r.custom,e)}let h=e=>Array.isArray(e);var p=n(7409);let m=e=>e,{schedule:v,cancel:g,state:y}=(0,p.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:m,!0);var b=n(3451);function w(){r=void 0}let x={now:()=>(void 0===r&&x.set(y.isProcessing||b.W.useManualTiming?y.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(w)}};class S{constructor(){this.subscriptions=[]}add(e){var t;return t=this.subscriptions,-1===t.indexOf(e)&&t.push(e),()=>(function(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)})(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let M={current:void 0};class T{constructor(e,t={}){this.version="12.9.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=x.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change?.notify(this.current),t&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=x.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new S);let n=this.events[e].add(t);return"change"===e?()=>{n(),v.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return M.current&&M.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=x.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function E(e,t){return new T(e,t)}var A=n(7978),O=n(9916);let C=e=>null!==e;var P=n(2642);let k={type:"spring",stiffness:500,damping:25,restSpeed:10},V={type:"keyframes",duration:.8},_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function j(e,t){return e?.[t]??e?.default??e}let I={mainThread:0,waapi:0};var F=n(7486),N=n(4463);let L=e=>Math.round(1e5*e)/1e5,D=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,R=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,B=(e,t)=>n=>!!("string"==typeof n&&R.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),q=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,a,s,o]=r.match(D);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==o?parseFloat(o):1}};var W=n(3518);let U={...N.ai,transform:e=>Math.round((0,W.q)(0,255,e))},K={test:B("rgb","red"),parse:q("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+U.transform(e)+", "+U.transform(t)+", "+U.transform(n)+", "+L(N.X4.transform(r))+")"},G={test:B("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}},transform:K.transform};var H=n(5902);let $={test:B("hsl","hue"),parse:q("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+H.KN.transform(L(t))+", "+H.KN.transform(L(n))+", "+L(N.X4.transform(r))+")"},z={test:e=>K.test(e)||G.test(e)||$.test(e),parse:e=>K.test(e)?K.parse(e):$.test(e)?$.parse(e):G.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?K.transform(e):$.transform(e)},Y=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,X="number",J="color",Q=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Z(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0,s=t.replace(Q,e=>(z.test(e)?(r.color.push(a),i.push(J),n.push(z.parse(e))):e.startsWith("var(")?(r.var.push(a),i.push("var"),n.push(e)):(r.number.push(a),i.push(X),n.push(parseFloat(e))),++a,"${}")).split("${}");return{values:n,split:s,indexes:r,types:i}}function ee(e){return Z(e).values}function et(e){let{split:t,types:n}=Z(e),r=t.length;return e=>{let i="";for(let a=0;a<r;a++)if(i+=t[a],void 0!==e[a]){let t=n[a];t===X?i+=L(e[a]):t===J?i+=z.transform(e[a]):i+=e[a]}return i}}let en=e=>"number"==typeof e?0:e,er={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(D)?.length||0)+(e.match(Y)?.length||0)>0},parse:ee,createTransformer:et,getAnimatableNone:function(e){let t=ee(e);return et(e)(t.map(en))}};function ei(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ea(e,t){return n=>n>0?t:e}let es=(e,t,n)=>e+(t-e)*n,eo=()=>{},eu=()=>{},el=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ec=[G,K,$];function ed(e){let t=ec.find(t=>t.test(e));if(eo(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===$&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,a=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,o=2*n-r;i=ei(o,r,e+1/3),a=ei(o,r,e),s=ei(o,r,e-1/3)}else i=a=s=n;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*s),alpha:r}}(n)),n}let ef=(e,t)=>{let n=ed(e),r=ed(t);if(!n||!r)return ea(e,t);let i={...n};return e=>(i.red=el(n.red,r.red,e),i.green=el(n.green,r.green,e),i.blue=el(n.blue,r.blue,e),i.alpha=es(n.alpha,r.alpha,e),K.transform(i))},eh=new Set(["none","hidden"]),ep=(e,t)=>n=>t(e(n)),em=(...e)=>e.reduce(ep);function ev(e,t){return n=>es(e,t,n)}function eg(e){return"number"==typeof e?ev:"string"==typeof e?(0,F.p)(e)?ea:z.test(e)?ef:ew:Array.isArray(e)?ey:"object"==typeof e?z.test(e)?ef:eb:ea}function ey(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>eg(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function eb(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=eg(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let ew=(e,t)=>{let n=er.createTransformer(t),r=Z(e),i=Z(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?eh.has(e)&&!i.values.length||eh.has(t)&&!r.values.length?function(e,t){return eh.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):em(ey(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],s=e.indexes[a][r[a]],o=e.values[s]??0;n[i]=o,r[a]++}return n}(r,i),i.values),n):(eo(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ea(e,t))};function ex(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?es(e,t,n):eg(e)(e,t)}let eS=e=>{let t=({timestamp:t})=>e(t);return{start:()=>v.update(t,!0),stop:()=>g(t),now:()=>y.isProcessing?y.timestamp:x.now()}},eM=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e(t/(i-1))+", ";return`linear(${r.substring(0,r.length-2)})`};function eT(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}
1function eE(e,t,n){var r,i;let a=Math.max(t-5,0);return r=n-e(a),(i=t-a)?1e3/i*r:0}let eA={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function eO(e,t){return e*Math.sqrt(1-t*t)}let eC=["duration","bounce"],eP=["stiffness","damping","mass"];function ek(e,t){return t.some(t=>void 0!==e[t])}function eV(e=eA.visualDuration,t=eA.bounce){let n,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:a}=r,s=r.keyframes[0],o=r.keyframes[r.keyframes.length-1],u={done:!1,value:s},{stiffness:l,damping:c,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=function(e){let t={velocity:eA.velocity,stiffness:eA.stiffness,damping:eA.damping,mass:eA.mass,isResolvedFromDuration:!1,...e};if(!ek(e,eP)&&ek(e,eC))if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*(0,W.q)(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:eA.mass,stiffness:r,damping:i}}else{let n=function({duration:e=eA.duration,bounce:t=eA.bounce,velocity:n=eA.velocity,mass:r=eA.mass}){let i,a;eo(e<=1e3*eA.maxDuration,"Spring duration must be 10 seconds or less");let s=1-t;s=(0,W.q)(eA.minDamping,eA.maxDamping,s),e=(0,W.q)(eA.minDuration,eA.maxDuration,e/1e3),s<1?(i=t=>{let r=t*s,i=r*e;return .001-(r-n)/eO(t,s)*Math.exp(-i)},a=t=>{let r=t*s*e,a=Math.pow(s,2)*Math.pow(t,2)*e,o=Math.exp(-r),u=eO(Math.pow(t,2),s);return(r*n+n-a)*o*(-i(t)+.001>0?-1:1)/u}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>e*e*(n-t)*Math.exp(-t*e));let o=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,a,5/e);if(e*=1e3,isNaN(o))return{stiffness:eA.stiffness,damping:eA.damping,duration:e};{let t=Math.pow(o,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:eA.mass}).isResolvedFromDuration=!0}return t}({...r,velocity:-((r.velocity||0)/1e3)}),m=h||0,v=c/(2*Math.sqrt(l*d)),g=o-s,y=Math.sqrt(l/d)/1e3,b=5>Math.abs(g);if(i||(i=b?eA.restSpeed.granular:eA.restSpeed.default),a||(a=b?eA.restDelta.granular:eA.restDelta.default),v<1){let e=eO(y,v);n=t=>o-Math.exp(-v*y*t)*((m+v*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===v)n=e=>o-Math.exp(-y*e)*(g+(m+y*g)*e);else{let e=y*Math.sqrt(v*v-1);n=t=>{let n=Math.exp(-v*y*t),r=Math.min(e*t,300);return o-n*((m+v*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}let w={calculatedDuration:p&&f||null,next:e=>{let t=n(e);if(p)u.done=e>=f;else{let r=0===e?m:0;v<1&&(r=0===e?1e3*m:eE(n,e,t));let s=Math.abs(o-t)<=a;u.done=Math.abs(r)<=i&&s}return u.value=u.done?o:t,u},toString:()=>{let e=Math.min(eT(w),2e4),t=eM(t=>w.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return w}function e_({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:s,min:o,max:u,restDelta:l=.5,restSpeed:c}){let d,f,h=e[0],p={done:!1,value:h},m=n*t,v=h+m,g=void 0===s?v:s(v);g!==v&&(m=g-h);let y=e=>-m*Math.exp(-e/r),b=e=>g+y(e),w=e=>{let t=y(e),n=b(e);p.done=Math.abs(t)<=l,p.value=p.done?g:n},x=e=>{let t;if(t=p.value,void 0!==o&&t<o||void 0!==u&&t>u){var n;d=e,f=eV({keyframes:[p.value,(n=p.value,void 0===o?u:void 0===u||Math.abs(o-n)<Math.abs(u-n)?o:u)],velocity:eE(b,e,p.value),damping:i,stiffness:a,restDelta:l,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,w(e),x(e)),void 0!==d&&e>=d)?f.next(e-d):(t||w(e),p)}}}eV.applyToOptions=e=>{let t=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(eT(r),2e4);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:i/1e3}}(e,100,eV);return e.ease=t.ease,e.duration=1e3*t.duration,e.type="keyframes",e};let ej=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},eI=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function eF(e,t,n,r){return e===t&&n===r?m:i=>0===i||1===i?i:eI(function(e,t,n,r,i){let a,s,o=0;do(a=eI(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s;while(Math.abs(a)>1e-7&&++o<12);return s}(i,0,1,e,n),t,r)}let eN=eF(.42,0,1,1),eL=eF(0,0,.58,1),eD=eF(.42,0,.58,1),eR=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eB=e=>t=>1-e(1-t),eq=eF(.33,1.53,.69,.99),eW=eB(eq),eU=eR(eW),eK=e=>(e*=2)<1?.5*eW(e):.5*(2-Math.pow(2,-10*(e-1))),eG=e=>1-Math.sin(Math.acos(e)),eH=eB(eG),e$=eR(eG),ez=e=>Array.isArray(e)&&"number"==typeof e[0],eY={linear:m,easeIn:eN,easeInOut:eD,easeOut:eL,circIn:eG,cir
1cInOut:e$,circOut:eH,backIn:eW,backInOut:eU,backOut:eq,anticipate:eK},eX=e=>{if(ez(e)){eu(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return eF(t,n,r,i)}return"string"==typeof e?(eu(void 0!==eY[e],`Invalid easing type '${e}'`),eY[e]):e};function eJ({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let a=Array.isArray(r)&&"number"!=typeof r[0]?r.map(eX):eX(r),s={done:!1,value:t[0]},o=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(eu(a===t.length,"Both input and output ranges must be the same length"),1===a)return()=>t[0];if(2===a&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,n){let r=[],i=n||b.W.mix||ex,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=em(Array.isArray(t)?t[n]||m:t,a)),r.push(a)}return r}(t,r,i),u=o.length,l=n=>{if(s&&n<e[0])return t[0];let r=0;if(u>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ej(e[r],e[r+1],n);return o[r](i)};return n?t=>l((0,W.q)(e[0],e[a-1],t)):l}((i=n&&n.length===t.length?n:function(e){let t=[0];return!function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ej(0,t,r);e.push(es(n,1,i))}}(t,e.length-1),t}(t),i.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||eD).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}let eQ=e=>null!==e;function eZ(e,{repeat:t,repeatType:n="loop"},r,i=1){let a=e.filter(eQ),s=i<0||t&&"loop"!==n&&t%2==1?0:a.length-1;return s&&void 0!==r?r:a[s]}let e0={decay:e_,inertia:e_,tween:eJ,keyframes:eJ,spring:eV};function e1(e){"string"==typeof e.type&&(e.type=e0[e.type])}class e2{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e5=e=>e/100;class e3 extends e2{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;if(e&&e.updatedAt!==x.now()&&this.tick(x.now()),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()},I.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;e1(e);let{type:t=eJ,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:s}=e,o=t||eJ;o!==eJ&&"number"!=typeof s[0]&&(this.mixKeyframes=em(e5,ex(s[0],s[1])),s=[0,100]);let u=o({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=o({...e,keyframes:[...s].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=eT(u));let{calculatedDuration:l}=u;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=u}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:s,calculatedDuration:o}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:l,repeat:c,repeatType:d,repeatDelay:f,type:h,onUpdate:p,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let y=this.currentTime,b=n;if(c){let e=Math.min(this.currentTime,r)/s,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,c+1))%2&&("reverse"===d?(n=1-n,f&&(n-=f/s)):"mirror"===d&&(b=a)),y=(0,W.q)(0,1,n)*s}let w=g?{done:!1,value:l[0]}:b.next(y);i&&(w.value=i(w.value));let{done:x}=w;g||null===o||(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&h!==e_&&(w.value=eZ(l,this.options,m,this.speed)),p&&p(w.value),S&&this.finish(),w}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(e){e*=1e3,this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(x.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=eS,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(x.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.notifyFinished(),this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,I.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),e.observe(this)}}let e4=e=>180*e/Math.PI,e6=e=>e8(e4(Math.atan2(e[1],e[0]))),e7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:e6,rotateZ:e6,skewX:e=>e4(Math.atan(e[1])),skewY:e=>e4(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},e8=e=>((e%=360)<0&&(e+=360),e),e9=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),te=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tt={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:e9,scaleY:te,scale:e=>(e9(e)+te(e))/2,rotateX:e=>e8(e4(Math.atan2(e[6],e[5]))),rotateY:e=>e8(e4(Math.atan2(-e[2],e[0]))),rotateZ:e6,rotate:e6,skewX:e=>e4(Math.atan(e[4])),skewY:e=>e4(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function tn(e){return+!!e.includes("scale")}function tr(e,t){let n,r;if(!e||"none"===e)return tn(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=tt,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=e7,r=t}if(!r)return tn(t);let a=n[t],s=r[1].split(",").map(ti);return"function"==typeof a?a(s):s[a]}function ti(e){return parseFloat(e.trim())}let ta=e=>e===N.ai||e===H.px,ts=new Set(["x","y","z"]),to=P.U.filter(e=>!ts.has(e)),tu={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>tr(t,"x"),y:(e,{transform:t})=>tr(t,"y")};tu.translateX=tu.x,tu.translateY=tu.y;let tl=new Set,tc=!1,td=!1,tf=!1;function th(){if(td){let e=Array.from(tl).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;
1t.forEach(e=>{let t=function(e){let t=[];return to.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}td=!1,tc=!1,tl.forEach(e=>e.complete(tf)),tl.clear()}function tp(){tl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(td=!0)})}class tm{constructor(e,t,n,r,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tl.add(this),tc||(tc=!0,v.read(tp),v.resolveKeyframes(th))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),a=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,a);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=a),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),tl.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tl.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}function tv(e){let t;return()=>(void 0===t&&(t=e()),t)}let tg=tv(()=>void 0!==window.ScrollTimeline);var ty=n(8152);let tb={},tw=function(e,t){let n=tv(e);return()=>tb[t]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tx=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tS={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tx([0,.65,.55,1]),circOut:tx([.55,0,1,.45]),backIn:tx([.31,.01,.66,-.59]),backOut:tx([.33,1.53,.69,.99])};function tM(e){return"function"==typeof e&&"applyToOptions"in e}class tT extends e2{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:s,onComplete:o}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,eu("string"!=typeof e.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let u=function({type:e,...t}){return tM(e)&&tw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:s="loop",ease:o="easeOut",times:u}={},l){let c={[t]:n};u&&(c.offset=u);let d=function e(t,n){if(t)return"function"==typeof t?tw()?eM(t,n):"ease-out":ez(t)?tx(t):Array.isArray(t)?t.map(t=>e(t,n)||tS.easeOut):tS[t]}(o,i);Array.isArray(d)&&(c.easing=d),ty.Q.value&&I.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:"reverse"===s?"alternate":"normal"};l&&(f.pseudoElement=l);let h=e.animate(c,f);return ty.Q.value&&h.finished.finally(()=>{I.waapi--}),h}(t,n,r,u,i),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=eZ(r,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){t.startsWith("--")?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}o?.(),this.notifyFinished()},this.animation.oncancel=()=>this.notifyFinished()}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.finishedTime=null,this.animation.currentTime=1e3*e}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&tg())?(this.animation.timeline=e,m):t(this)}}let tE={anticipate:eK,backInOut:eU,circInOut:e$};class tA extends tT{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in tE&&(e.ease=tE[e.ease])}(e),e1(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new e3({...a,autoplay:!1}),o=1e3*(this.finishedTime??this.time);t.setWithVelocity(s.sample(o-10).value,s.sample(o).value,10),s.stop()}}let tO=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(er.test(e)||"0"===e)&&!e.startsWith("url(")),tC=new Set(["opacity","clipPath","filter","transform"]),tP=tv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tk extends e2{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a="loop",keyframes:s,name:o,motionValue:u,element:l,...c}){super(),this.stop=()=>{this._animation?(this._animation.stop(),this.stopTimeline?.()):this.keyframeResolver?.cancel()},this.createdAt=x.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:o,motionValue:u,element:l,...c},f=l?.KeyframeResolver||tm;this.keyframeResolver=new f(s,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),o,u,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:s,delay:o,isHandoff:u,onUpdate:l}=n;this.resolvedAt=x.now(),!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],s=tO(i,t),o=tO(a,t);return eo(s===o,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!!s&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||tM(n))&&r)}(e,i,a,s)&&((b.W.instantAnimations||!o)&&l?.(eZ(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!u&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:s}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;
1let{onUpdate:o,transformTemplate:u}=t.owner.getProps();return tP()&&n&&tC.has(n)&&("transform"!==n||!u)&&!o&&!r&&"mirror"!==i&&0!==a&&"inertia"!==s}(c)?new tA({...c,element:c.motionValue.owner.current}):new e3(c);d.finished.then(()=>this.notifyFinished()).catch(m),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(tf=!0,tp(),th(),tf=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}let tV=(e,t,n,r={},i,a)=>s=>{let o=j(r,e)||{},u=o.delay||r.delay||0,{elapsed:l=0}=r;l-=1e3*u;let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-l,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{s(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:s,repeatDelay:o,from:u,elapsed:l,...c}){return!!Object.keys(c).length}(o)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?V:P.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:k:_)(e,c)),c.duration&&(c.duration=1e3*c.duration),c.repeatDelay&&(c.repeatDelay=1e3*c.repeatDelay),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(d=!0)),(b.W.instantAnimations||b.W.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!o.type&&!o.ease,d&&!a&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(C),a=t&&"loop"!==n&&t%2==1?0:i.length-1;return i[a]}(c.keyframes,o);if(void 0!==e)return void v.update(()=>{c.onUpdate(e),c.onComplete()})}return new tk(c)},t_=new Set(["width","height","top","left","right","bottom",...P.U]);function tj(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...o}=t;r&&(a=r);let u=[],l=i&&e.animationState&&e.animationState.getState()[i];for(let t in o){let r=e.getValue(t,e.latestValues[t]??null),i=o[t];if(void 0===i||l&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(l,t))continue;let s={delay:n,...j(a||{},t)},c=r.get();if(void 0!==c&&!r.isAnimating&&!Array.isArray(i)&&i===c&&!s.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let n=e.props[O.n];if(n){let e=window.MotionHandoffAnimation(n,t,v);null!==e&&(s.startTime=e,d=!0)}}!function(e,t){let n=e.getValue("willChange");if((0,A.S)(n)&&n.add)return n.add(t);if(!n&&b.W.WillChange){let n=new b.W.WillChange("auto");e.addValue("willChange",n),n.add(t)}}(e,t),r.start(tV(t,r,i,e.shouldReduceMotion&&t_.has(t)?{type:!1}:s,e,d));let f=r.animation;f&&u.push(f)}return s&&Promise.all(u).then(()=>{v.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=f(e,t)||{};for(let t in i={...i,...n}){var a;let n=h(a=i[t])?a[a.length-1]||0:a;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,E(n))}}(e,s)})}),u}function tI(e,t,n={}){let r=f(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(tj(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:s,staggerDirection:o}=i;return function(e,t,n=0,r=0,i=1,a){let s=[],o=(e.variantChildren.size-1)*r,u=1===i?(e=0)=>e*r:(e=0)=>o-e*r;
1return Array.from(e.variantChildren).sort(tF).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(tI(e,t,{...a,delay:n+u(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,a+r,s,o,n)}:()=>Promise.resolve(),{when:o}=i;if(!o)return Promise.all([a(),s(n.delay)]);{let[e,t]="beforeChildren"===o?[a,s]:[s,a];return e().then(()=>t())}}function tF(e,t){return e.sortNodePosition(t)}function tN(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var tL=n(7401),tD=n(8632);let tR=tD._.length,tB=[...tD.U].reverse(),tq=tD.U.length;function tW(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tU(){return{animate:tW(!0),whileInView:tW(),whileHover:tW(),whileTap:tW(),whileDrag:tW(),whileFocus:tW(),exit:tW()}}class tK{constructor(e){this.isMounted=!1,this.node=e}update(){}}class tG extends tK{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>tI(e,t,n)));else if("string"==typeof t)r=tI(e,t,n);else{let i="function"==typeof t?f(e,t,n.custom):t;r=Promise.all(tj(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=tU(),r=!0,i=t=>(n,r)=>{let i=f(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function a(a){let{props:s}=e,o=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<tR;e++){let r=tD._[e],i=t.props[r];((0,tL.w)(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},u=[],l=new Set,d={},p=1/0;for(let t=0;t<tq;t++){var m,v;let f=tB[t],g=n[f],y=void 0!==s[f]?s[f]:o[f],b=(0,tL.w)(y),w=f===a?g.isActive:null;!1===w&&(p=t);let x=y===o[f]&&y!==s[f]&&b;if(x&&r&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===w||!y&&!g.prevProp||(0,c.N)(y)||"boolean"==typeof y)continue;let S=(m=g.prevProp,"string"==typeof(v=y)?v!==m:!!Array.isArray(v)&&!tN(v,m)),M=S||f===a&&g.isActive&&!x&&b||t>p&&b,T=!1,E=Array.isArray(y)?y:[y],A=E.reduce(i(f),{});!1===w&&(A={});let{prevResolvedValues:O={}}=g,C={...O,...A},P=t=>{M=!0,l.has(t)&&(T=!0,l.delete(t)),g.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in C){let t=A[e],n=O[e];if(!d.hasOwnProperty(e))(h(t)&&h(n)?tN(t,n):t===n)?void 0!==t&&l.has(e)?P(e):g.protectedKeys[e]=!0:null!=t?P(e):l.add(e)}g.prevProp=y,g.prevResolvedValues=A,g.isActive&&(d={...d,...A}),r&&e.blockInitialAnimation&&(M=!1);let k=!(x&&S)||T;M&&k&&u.push(...E.map(e=>({animation:e,options:{type:f}})))}if(l.size){let t={};if("boolean"!=typeof s.initial){let n=f(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}l.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),u.push({animation:t})}let g=!!u.length;return r&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(u):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=a(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=tU(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,c.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tH=0;class t$ extends tK{constructor(){super(...arguments),this.id=tH++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
1{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}function tz(e){return{point:{x:e.pageX,y:e.pageY}}}let tY={x:!1,y:!1};function tX(e,t){let n=function(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,n=(void 0)??t.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function tJ(e){return!("touch"===e.pointerType||tY.x||tY.y)}function tQ(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&v.postRender(()=>i(t,tz(t)))}class tZ extends tK{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,a]=tX(e,n),s=e=>{if(!tJ(e))return;let{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;let a=e=>{tJ(e)&&(r(e),n.removeEventListener("pointerleave",a))};n.addEventListener("pointerleave",a,i)};return r.forEach(e=>{e.addEventListener("pointerenter",s,i)}),a}(e,(e,t)=>(tQ(this.node,t,"Start"),e=>tQ(this.node,e,"End"))))}unmount(){}}function t0(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}class t1 extends tK{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=em(t0(this.node.current,"focus",()=>this.onFocus()),t0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let t2=(e,t)=>!!t&&(e===t||t2(e,t.parentElement)),t5=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),t3=new WeakSet;function t4(e){return t=>{"Enter"===t.key&&e(t)}}function t6(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function t7(e){return("mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary)&&!(tY.x||tY.y)}function t8(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&v.postRender(()=>i(t,tz(t)))}class t9 extends tK{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,a]=tX(e,n),s=e=>{let r=e.currentTarget;if(!t7(e)||t3.has(r))return;t3.add(r);let a=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",u),t7(e)&&t3.has(r)&&(t3.delete(r),"function"==typeof a&&a(e,{success:t}))},o=e=>{s(e,r===window||r===document||n.useGlobalTarget||t2(r,e.target))},u=e=>{s(e,!1)};window.addEventListener("pointerup",o,i),window.addEventListener("pointercancel",u,i)};return r.forEach(e=>{((n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),e instanceof HTMLElement)&&(e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let r=t4(()=>{if(t3.has(n))return;t6(n,"down");let e=t4(()=>{t6(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>t6(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),t5.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),a}(e,(e,t)=>(t8(this.node,t,"Start"),(e,{success:t})=>t8(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ne=new WeakMap,nt=new WeakMap,nn=e=>{let t=ne.get(e.target);t&&t(e)},nr=e=>{e.forEach(nn)},ni={some:0,all:1};
1class na extends tK{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:ni[r]},s=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};var o=this.node.current;let u=function({root:e,...t}){let n=e||document;nt.has(n)||nt.set(n,{});let r=nt.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(nr,{root:e,...t})),r[i]}(a);return ne.set(o,s),u.observe(o),()=>{ne.delete(o),u.unobserve(o)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var ns=n(4930);let no=()=>({min:0,max:0}),nu=()=>({x:no(),y:no()});var nl=n(1068);let nc={current:null},nd={current:!1},nf=new WeakMap;var nh=n(4197);let np=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),nm=e=>/^0[^.\s]+$/u.test(e),nv=e=>t=>t.test(e),ng=[N.ai,H.px,H.KN,H.uj,H.vw,H.vh,{test:e=>"auto"===e,parse:e=>e}],ny=e=>ng.find(nv(e)),nb=[...ng,z,er],nw=new Set(["brightness","contrast","saturate","opacity"]);function nx(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(D)||[];if(!r)return e;let i=n.replace(r,""),a=+!!nw.has(t);return r!==n&&(a*=100),t+"("+a+i+")"}let nS=/\b([a-z-]*)\(.*?\)/gu,nM={...er,getAnimatableNone:e=>{let t=e.match(nS);return t?t.map(nx).join(" "):e}},nT={...n(1252).W,color:z,backgroundColor:z,outlineColor:z,fill:z,stroke:z,borderColor:z,borderTopColor:z,borderRightColor:z,borderBottomColor:z,borderLeftColor:z,filter:nM,WebkitFilter:nM},nE=e=>nT[e];function nA(e,t){let n=nE(e);return n!==nM&&(n=er),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let nO=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nC{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=x.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,v.render(this.render,!1,!0))};let{latestValues:o,renderState:u}=a;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,nh.e)(t),this.isVariantNode=(0,nh.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==o[e]&&(0,A.S)(t)&&t.set(o[e],!1)}}mount(e){this.current=e,nf.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),nd.current||function(){if(nd.current=!0,nl.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nc.current=e.matches;e.addListener(t),t()}else nc.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nc.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),g(this.notifyUpdate),g(this.render),this.valueSubscriptions.forEach(e
1=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=P.f.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&v.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),a(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ns.B){let t=ns.B[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nu()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<nO.length;t++){let n=nO[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],a=n[r];if((0,A.S)(i))e.addValue(r,i);else if((0,A.S)(a))e.addValue(r,E(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,E(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=E(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){if("string"==typeof n&&(np(n)||nm(n)))n=parseFloat(n);else{let r;r=n,!nb.find(nv(r))&&er.test(t)&&(n=nA(e,t))}this.setBaseTarget(e,(0,A.S)(n)?n.get():n)}return(0,A.S)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=(0,d.a)(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,A.S)(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new S),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}let nP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,nk=new Set(["auto","
1none","0"]);class nV extends tm{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,F.p)(r))){let i=function e(t,n,r=1){eu(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,a]=function(e){let t=nP.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let s=window.getComputedStyle(n).getPropertyValue(i);if(s){let e=s.trim();return np(e)?parseFloat(e):e}return(0,F.p)(a)?e(a,n,r+1):a}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!t_.has(n)||2!==e.length)return;let[r,i]=e,a=ny(r),s=ny(i);if(a!==s)if(ta(a)&&ta(s))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||nm(r)))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!nk.has(t)&&Z(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=nA(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tu[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=tu[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}class n_ extends nC{constructor(){super(...arguments),this.KeyframeResolver=nV}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,A.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var nj=n(9186);function nI(e,{style:t,vars:n},r,i){for(let a in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(a,n[a])}var nF=n(334);class nN extends n_{constructor(){super(...arguments),this.type="html",this.renderInstance=nI}readValueFromInstance(e,t){if(P.f.has(t)){let{transform:n="none"}=getComputedStyle(e);return tr(n,t)}{let n=window.getComputedStyle(e),r=((0,F.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}build(e,t,n){(0,nj.O)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,nF.x)(e,t,n)}}var nL=n(2818),nD=n(6814);let nR=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"]);var nB=n(6887),nq=n(6287);class nW extends n_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(P.f.has(t)){let e=nE(t);return e&&e.default||0}return t=nR.has(t)?t:(0,nL.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,nq.x)(e,t,n)}
1build(e,t,n){(0,nD.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){for(let n in nI(e,t,void 0,r),t.attrs)e.setAttribute(nR.has(n)?n:(0,nL.I)(n),t.attrs[n])}mount(e){this.isSVGTag=(0,nB.n)(e.tagName),super.mount(e)}}var nU=n(1773);let nK={renderer:(e,t)=>(0,nU.Q)(e)?new nW(t):new nN(t,{allowProjection:e!==a.Fragment}),animation:{Feature:tG},exit:{Feature:t$},inView:{Feature:na},tap:{Feature:t9},focus:{Feature:t1},hover:{Feature:tZ}}},6217:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i.a});var r=n(7730),i=n.n(r),a={};for(let e in r)"default"!==e&&(a[e]=()=>r[e]);n.d(t,a)},6392:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var r=n(3243),i=n(3515),a=n(7829),s=n(1541),o=n(278),u=n(461),l=n(3572);class c extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=e instanceof HTMLElement&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d(e){let{children:t,isPresent:n,anchorX:a}=e,s=(0,i.useId)(),o=(0,i.useRef)(null),u=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,i.useContext)(l.Q);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:l}=u.current;if(n||!o.current||!e||!t)return;o.current.dataset.motionPopId=s;let c=document.createElement("style");return d&&(c.nonce=d),document.head.appendChild(c),c.sheet&&c.sheet.insertRule('\n [data-motion-pop-id="'.concat(s,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n ").concat("left"===a?"left: ".concat(i):"right: ".concat(l),"px !important;\n top: ").concat(r,"px !important;\n }\n ")),()=>{document.head.removeChild(c)}},[n]),(0,r.jsx)(c,{isPresent:n,childRef:o,sizeRef:u,children:i.cloneElement(t,{ref:o})})}let f=e=>{let{children:t,initial:n,isPresent:a,onExitComplete:o,custom:l,presenceAffectsLayout:c,mode:f,anchorX:p}=e,m=(0,s.M)(h),v=(0,i.useId)(),g=!0,y=(0,i.useMemo)(()=>(g=!1,{id:v,initial:n,isPresent:a,custom:l,onExitComplete:e=>
1{for(let t of(m.set(e,!0),m.values()))if(!t)return;o&&o()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[a,m,o]);return c&&g&&(y={...y}),(0,i.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[a]),i.useEffect(()=>{a||m.size||!o||o()},[a]),"popLayout"===f&&(t=(0,r.jsx)(d,{isPresent:a,anchorX:p,children:t})),(0,r.jsx)(u.t.Provider,{value:y,children:t})};function h(){return new Map}let p=e=>e.key||"";function m(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let v=e=>{let{children:t,custom:n,initial:l=!0,onExitComplete:c,presenceAffectsLayout:d=!0,mode:h="sync",propagate:v=!1,anchorX:g="left"}=e,[y,b]=function(e=!0){let t=(0,i.useContext)(u.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:a}=t,s=(0,i.useId)();(0,i.useEffect)(()=>{if(e)return a(s)},[e]);let o=(0,i.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}(v),w=(0,i.useMemo)(()=>m(t),[t]),x=v&&!y?[]:w.map(p),S=(0,i.useRef)(!0),M=(0,i.useRef)(w),T=(0,s.M)(()=>new Map),[E,A]=(0,i.useState)(w),[O,C]=(0,i.useState)(w);(0,o.E)(()=>{S.current=!1,M.current=w;for(let e=0;e<O.length;e++){let t=p(O[e]);x.includes(t)?T.delete(t):!0!==T.get(t)&&T.set(t,!1)}},[O,x.length,x.join("-")]);let P=[];if(w!==E){let e=[...w];for(let t=0;t<O.length;t++){let n=O[t],r=p(n);x.includes(r)||(e.splice(t,0,n),P.push(n))}return"wait"===h&&P.length&&(e=P),C(m(e)),A(w),null}let{forceRender:k}=(0,i.useContext)(a.L);return(0,r.jsx)(r.Fragment,{children:O.map(e=>{let t=p(e),i=(!v||!!y)&&(w===O||x.includes(t));return(0,r.jsx)(f,{isPresent:i,initial:(!S.current||!!l)&&void 0,custom:n,presenceAffectsLayout:d,mode:h,onExitComplete:i?void 0:()=>{if(!T.has(t))return;T.set(t,!0);let e=!0;T.forEach(t=>{t||(e=!1)}),e&&(null==k||k(),C(M.current),v&&(null==b||b()),c&&c())},anchorX:g,children:e},t)})})}},6417:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(3515);let i=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(r,i,a);return a},a=e=>{let t=(e=>e?i(e):i)(e),n=e=>(function(e,t=e=>e){let n=r.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},s=e=>e?a(e):a},6686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(6460)._(n(2294));function i(e,t){var n;let i={};"function"==typeof e&&(i.loader=e);let a={...i,...t};return(0,r.default)({...a,modules:null==(n=a.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6797:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n="https://www.googletagmanager.com/gtm.js",dataLayerName:o="dataLayer",auth:u,preview:l,dataLayer:c,nonce:d}=e;s=o;let f="dataLayer"!==o?"&l=".concat(o):"";return(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(c?"w[l].push(".concat(JSON.stringify(c),")"):"","\n })(window,'").concat(o,"');")}
1,nonce:d}),(0,r.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:"".concat(n,"?id=").concat(t).concat(f).concat(u?">m_auth=".concat(u):"").concat(l?">m_preview=".concat(l,">m_cookies_win=x"):""),nonce:d})]})};let r=n(3243),i=n(3515),a=function(e){return e&&e.__esModule?e:{default:e}}(n(6217)),s="dataLayer";t.sendGTMEvent=(e,t)=>{let n=t||s;window[n]=window[n]||[],window[n].push(e)}},7304:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,height:n=null,width:a=null,children:s,dataNtpc:o=""}=e;return(0,i.useEffect)(()=>{o&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(o)}})},[o]),(0,r.jsxs)(r.Fragment,{children:[s,t?(0,r.jsx)("div",{style:{height:null!=n?"".concat(n,"px"):"auto",width:null!=a?"".concat(a,"px"):"auto"},"data-ntpc":o,dangerouslySetInnerHTML:{__html:t}}):null]})};let r=n(3243),i=n(3515)},7503:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(4572)},7730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return y},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return v}});let r=n(6460),i=n(5897),a=n(3243),s=r._(n(2378)),o=i._(n(3515)),u=n(7441),l=n(529),c=n(6797),d=n(8177),f=new Map,h=new Set,p=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o="",strategy:u="afterInteractive",onError:c,stylesheets:d}=e,p=n||t;if(p&&h.has(p))return;if(f.has(t)){h.add(p),f.get(t).then(r,c);return}let m=()=>{i&&i(),h.add(p)},v=document.createElement("script"),g=new Promise((e,t)=>{v.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),v.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(v.innerHTML=a.__html||"",m()):o?(v.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):t&&(v.src=t,f.set(t,g)),(0,l.setAttributesFromProps)(v,e),"worker"===u&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",u),d&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(d),document.body.appendChild(v)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function v(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:l="afterInteractive",onError:f,stylesheets:m,...v}=e,{updateScripts:g,scripts:y,getIsSsr:b,appDir:w,nonce:x}=(0,o.useContext)(u.HeadManagerContext);x=v.nonce||x;let S=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let e=t||n;S.current||(i&&e&&h.has(e)&&i(),S.current=!0)},[i,t,n]);let M=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!M.current){if("afterInteractive"===l)p(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}));M.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(g?(y[l]=(y[l]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:f,...v,nonce:x}]),g(y)):b&&b()?h.add(t||n):b&&!b()&&p({...e,nonce:x})),w){if(m&&m.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!n)return v.dangerouslySetInnerHTML&&(v.children=v.dangerouslySetInnerHTML.__html,delete v.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([0,{...v,id:t}]))+")"}});else return s.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:x,crossOrigin:v.crossOrigin}:{as:"script",nonce:x,crossOrigin:v.crossOrigin}),(0,a.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([n,{...v,id:t}]))+")"}});"afterInteractive"===l&&n&&s.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:x,crossOrigin:v.crossOrigin}:{as:"script",nonce:x,crossOrigin:v.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8177:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ESCAPE_REGEX:function(){return r},htmlEscapeAttributeString:function(){return o},htmlEscapeJsonString:function(){return s}});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},a=/[&"'<>]/g;function s(e){return e.replace(r,e=>n[e])}function o(e){return e.replace(a,e=>i[e])}},8397:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(6686),i=n.n(r)},8941:e=>{e.exports={style:{fontFamily:"'Nunito Sans', 'Nunito Sans Fallback'",fontStyle:"normal"},className:"__className_ad9d8d"}}}]);
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.