1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4509],{4319:t=>{t.exports={style:{fontFamily:"'Urbanist', 'Urbanist Fallback', system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif",fontStyle:"normal"},className:"__className_3380e6",variable:"__variable_3380e6"}},4853:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return i}});let i="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("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)},5379:(t,e,i)=>{"use strict";i.d(e,{D:()=>l,N:()=>u});var n=i(12115),r=["light","dark"],s="(prefers-color-scheme: dark)",o=n.createContext(void 0),a={setTheme:t=>{},themes:[]},l=()=>{var t;return null!=(t=n.useContext(o))?t:a},u=t=>n.useContext(o)?t.children:n.createElement(c,{...t}),h=["light","dark"],c=t=>{let{forcedTheme:e,disableTransitionOnChange:i=!1,enableSystem:a=!0,enableColorScheme:l=!0,storageKey:u="theme",themes:c=h,defaultTheme:g=a?"system":"light",attribute:v="data-theme",value:y,children:w,nonce:b}=t,[x,S]=n.useState(()=>p(u,g)),[P,T]=n.useState(()=>p(u)),E=y?Object.values(y):c,A=n.useCallback(t=>{let e=t;if(!e)return;"system"===t&&a&&(e=m());let n=y?y[e]:e,s=i?f():null,o=document.documentElement;if("class"===v?(o.classList.remove(...E),n&&o.classList.add(n)):n?o.setAttribute(v,n):o.removeAttribute(v),l){let t=r.includes(g)?g:null,i=r.includes(e)?e:t;o.style.colorScheme=i}null==s||s()},[]),C=n.useCallback(t=>{let e="function"==typeof t?t(t):t;S(e);try{localStorage.setItem(u,e)}catch(t){}},[e]),k=n.useCallback(t=>{T(m(t)),"system"===x&&a&&!e&&A("system")},[x,e]);n.useEffect(()=>{let t=window.matchMedia(s);return t.addListener(k),k(t),()=>t.removeListener(k)},[k]),n.useEffect(()=>{let t=t=>{t.key===u&&C(t.newValue||g)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[C]),n.useEffect(()=>{A(null!=e?e:x)},[e,x]);let M=n.useMemo(()=>({theme:x,setTheme:C,forcedTheme:e,resolvedTheme:"system"===x?P:x,themes:a?[...c,"system"]:c,systemTheme:a?P:void 0}),[x,C,e,P,a,c]);return n.createElement(o.Provider,{value:M},n.createElement(d,{forcedTheme:e,disableTransitionOnChange:i,enableSystem:a,enableColorScheme:l,storageKey:u,themes:c,defaultTheme:g,attribute:v,value:y,children:w,attrs:E,nonce:b}),w)},d=n.memo(t=>{let{forcedTheme:e,storageKey:i,attribute:o,enableSystem:a,enableColorScheme:l,defaultTheme:u,value:h,attrs:c,nonce:d}=t,p="system"===u,f="class"===o?"var d=document.documentElement,c=d.classList;".concat("c.remove(".concat(c.map(t=>"'".concat(t,"'")).join(","),")"),";"):"var d=document.documentElement,n='".concat(o,"',s='setAttribute';"),m=l?(r.includes(u)?u:null)?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(u,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",g=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=h?h[t]:t,s=e?t+"|| ''":"'".concat(n,"'"),a="";return l&&i&&!e&&r.includes(t)&&(a+="d.style.colorScheme = '".concat(t,"';")),"class"===o?e||n?a+="c.add(".concat(s,")"):a+="null":n&&(a+="d[s](n,".concat(s,")")),a},v=e?"!function(){".concat(f).concat(g(e),"}()"):a?"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(i,"');if('system'===e||(!e&&").concat(p,")){var t='").concat(s,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(g("dark"),"}else{").concat(g("light"),"}}else if(e){").concat(h?"var x=".concat(JSON.stringify(h),";"):"").concat(g(h?"x[e]":"e",!0),"}").concat(p?"":"else{"+g(u,!1,!1)+"}").concat(m,"}catch(e){}}()"):"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(i,"');if(e){").concat(h?"var x=".concat(JSON.stringify(h),";"):"").concat(g(h?"x[e]":"e",!0),"}
1else{").concat(g(u,!1,!1),";}").concat(m,"}catch(t){}}();");return n.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:v}})}),p=(t,e)=>{let i;try{i=localStorage.getItem(t)||void 0}catch(t){}return i||e},f=()=>{let t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},m=t=>(t||(t=window.matchMedia(s)),t.matches?"dark":"light")},10220:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M9.528 1.718a.75.75 0 0 1 .162.819A8.97 8.97 0 0 0 9 6a9 9 0 0 0 9 9 8.97 8.97 0 0 0 3.463-.69.75.75 0 0 1 .981.98 10.503 10.503 0 0 1-9.694 6.46c-5.799 0-10.5-4.7-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 0 1 .818.162Z",clipRule:"evenodd"}))})},15806:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.094 8.016a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))})},18984:(t,e,i)=>{"use strict";i.d(e,{r9:()=>c.r,Bd:()=>m});var n=i(12115);i(30055),Object.create(null);let r={};function s(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];"string"==typeof e[0]&&r[e[0]]||("string"==typeof e[0]&&(r[e[0]]=new Date),function(){if(console&&console.warn){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];"string"==typeof e[0]&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}(...e))}let o=(t,e)=>()=>{if(t.isInitialized)e();else{let i=()=>{setTimeout(()=>{t.off("initialized",i)},0),e()};t.on("initialized",i)}};function a(t,e,i){t.loadNamespaces(e,o(t,i))}
1function l(t,e,i,n){"string"==typeof i&&(i=[i]),i.forEach(e=>{0>t.options.ns.indexOf(e)&&t.options.ns.push(e)}),t.loadLanguages(e,o(t,n))}var u=i(3359),h=i(88653),c=i(91790);let d=(0,n.createContext)();class p{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function f(t,e,i,n){return t.getFixedT(e,i,n)}function m(t){var e,i;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:o}=r,{i18n:c,defaultNS:m}=(0,n.useContext)(d)||{},g=o||c||(0,h.T)();if(g&&!g.reportNamespaces&&(g.reportNamespaces=new p),!g){s("You will need to pass in an i18next instance by using initReactI18next");let t=(t,e)=>"string"==typeof e?e:e&&"object"==typeof e&&"string"==typeof e.defaultValue?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,e=[t,{},!1];return e.t=t,e.i18n={},e.ready=!1,e}g.options.react&&void 0!==g.options.react.wait&&s("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let v={...(0,u.r)(),...g.options.react,...r},{useSuspense:y,keyPrefix:w}=v,b=t||m||g.options&&g.options.defaultNS;b="string"==typeof b?[b]:b||["translation"],g.reportNamespaces.addUsedNamespaces&&g.reportNamespaces.addUsedNamespaces(b);let x=(g.isInitialized||g.initializedStoreOnce)&&b.every(t=>(function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.languages&&e.languages.length?void 0===e.options.ignoreJSONStructure?function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.languages[0],r=!!e.options&&e.options.fallbackLng,s=e.languages[e.languages.length-1];if("cimode"===n.toLowerCase())return!0;let o=(t,i)=>{let n=e.services.backendConnector.state[`${t}|${i}`];return -1===n||2===n};return(!(i.bindI18n&&i.bindI18n.indexOf("languageChanging")>-1)||!e.services.backendConnector.backend||!e.isLanguageChangingTo||!!o(e.isLanguageChangingTo,t))&&!!(e.hasResourceBundle(n,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||o(n,t)&&(!r||o(s,t)))}(t,e,i):e.hasLoadedNamespace(t,{lng:i.lng,precheck:(e,n)=>{if(i.bindI18n&&i.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!n(e.isLanguageChangingTo,t))return!1}}):(s("i18n.languages were undefined or empty",e.languages),!0)})(t,g,v)),S=(e=r.lng||null,i="fallback"===v.nsMode?b:b[0],(0,n.useCallback)(f(g,e,i,w),[g,e,i,w])),P=()=>S,T=()=>
1f(g,r.lng||null,"fallback"===v.nsMode?b:b[0],w),[E,A]=(0,n.useState)(P),C=b.join();r.lng&&(C=`${r.lng}${C}`);let k=((t,e)=>{let i=(0,n.useRef)();return(0,n.useEffect)(()=>{i.current=e?i.current:t},[t,e]),i.current})(C),M=(0,n.useRef)(!0);(0,n.useEffect)(()=>{let{bindI18n:t,bindI18nStore:e}=v;function i(){M.current&&A(T)}return M.current=!0,x||y||(r.lng?l(g,r.lng,b,()=>{M.current&&A(T)}):a(g,b,()=>{M.current&&A(T)})),x&&k&&k!==C&&M.current&&A(T),t&&g&&g.on(t,i),e&&g&&g.store.on(e,i),()=>{M.current=!1,t&&g&&t.split(" ").forEach(t=>g.off(t,i)),e&&g&&e.split(" ").forEach(t=>g.store.off(t,i))}},[g,C]),(0,n.useEffect)(()=>{M.current&&x&&A(P)},[g,w,x]);let D=[E,g,x];if(D.t=E,D.i18n=g,D.ready=x,x||!x&&!y)return D;throw new Promise(t=>{r.lng?l(g,r.lng,b,()=>t()):a(g,b,()=>t())})}},20435:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{d:"M12 2.25a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM7.5 12a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM18.894 6.166a.75.75 0 0 0-1.06-1.06l-1.591 1.59a.75.75 0 1 0 1.06 1.061l1.591-1.59ZM21.75 12a.75.75 0 0 1-.75.75h-2.25a.75.75 0 0 1 0-1.5H21a.75.75 0 0 1 .75.75ZM17.834 18.894a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 1 0-1.061 1.06l1.59 1.591ZM12 18a.75.75 0 0 1 .75.75V21a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 12 18ZM7.758 17.303a.75.75 0 0 0-1.061-1.06l-1.591 1.59a.75.75 0 0 0 1.06 1.061l1.591-1.59ZM6 12a.75.75 0 0 1-.75.75H3a.75.75 0 0 1 0-1.5h2.25A.75.75 0 0 1 6 12ZM6.697 7.757a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 0 0-1.061 1.06l1.59 1.591Z"}))})},20638:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z",clipRule:"evenodd"}))})},26503:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.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:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"}))})},29460:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var n=i(86779);function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(0,n.A)(r.key),r)}}function s(t,e,i){return e&&r(t.prototype,e),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}},30055:t=>{t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},30457:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))})},33577:(t,e,i)=>{"use strict";i.d(e,{B:()=>n});let n="undefined"!=typeof window},33861:(t,e,i)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i.d(e,{A:()=>n})}
1,34486:(t,e,i)=>{"use strict";let n;function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{P:()=>sr});let s=t=>Array.isArray(t);function o(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}function a(t){return"string"==typeof t||Array.isArray(t)}function l(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function u(t,e,i,n){if("function"==typeof e){let[r,s]=l(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=l(n);e=e(void 0!==i?i:t.custom,r,s)}return e}function h(t,e,i){let n=t.getProps();return u(n,e,void 0!==i?i:n.custom,t)}let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...c];function p(t){let e;return()=>(void 0===e&&(e=t()),e)}let f=p(()=>void 0!==window.ScrollTimeline);class m{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>f()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class g extends m{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function v(t,e){return t?t[e]||t.default||t:void 0}function y(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function w(t){return"function"==typeof t}function b(t,e){t.timeline=e,t.onfinish=null}let x=t=>Array.isArray(t)&&"number"==typeof t[0],S={linearEasing:void 0},P=function(t,e){let i=p(t);return()=>{var t;return null!=(t=S[e])?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),T=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n},E=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=t(T(0,r-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`},A=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,C={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:A([0,.65,.55,1]),circOut:A([.55,0,1,.45]),backIn:A([.31,.01,.66,-.59]),backOut:A([.33,1.53,.69,.99])},k={x:!1,y:!1};function M(t,e){let i=function(t,e,i){if(t instanceof Element)return[t];if("string"==typeof t){let e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function D(t){return!("touch"===t.pointerType||k.x||k.y)}let R=(t,e)=>!!e&&(t===e||R(t,e.parentElement)),j=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,O=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),V=new WeakSet;function L(t){return e=>{"Enter"===e.key&&t(e)}}function F(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function _(t){return j(t)&&!(k.x||k.y)}let I=t=>1e3*t,B=t=>t,N=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],U=new Set(N),q=new Set(["width","height","top","left","right","bottom",...N]),z=t=>s(t)?t[t.length-1]||0:t,$={skipAnimations:!1,useManualTiming:!1},H=["read","resolveKeyframes","update","preRender","render","postRender"];function W(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=H.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,p=()=>{let s=$.useManualTiming?r.timestamp:performance.now();i=!1,r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(p))};return{schedule:H.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(p)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<H.length;e++)o[H[e]].cancel(t)},state:r,steps:o}}let{schedule:Q,cancel:Z,state:K,steps:Y}=W("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:B,!0);function X(){n=void 0}let G={now:()=>(void 0===n&&G.set(K.isProcessing||$.useManualTiming?K.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(X)}};function J(t,e){-1===t.indexOf(e)&&t.push(e)}function tt(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class te{constructor(){this.subscriptions=[]}add(t){return J(this.subscriptions,t),()=>tt(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let ti={current:void 0};class tn{constructor(t,e={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=G.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=G.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new te);let i=this.events[t].add(e);return"change"===t?()=>{i(),Q.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return ti.current&&ti.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=G.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tr(t,e){return new tn(t,e)}let ts=t=>!!(t&&t.getVelocity);function to(t,e){let i=t.getValue("willChange");if(ts(i)&&i.add)return i.add(e)}let ta=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tl="data-"+ta("framerAppearId"),tu={current:!1},th=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tc(t,e,i,n){return t===e&&i===n?B:r=>
10===r||1===r?r:th(function(t,e,i,n,r){let s,o,a=0;do(s=th(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(r,0,1,t,i),e,n)}let td=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tp=t=>e=>1-t(1-e),tf=tc(.33,1.53,.69,.99),tm=tp(tf),tg=td(tm),tv=t=>(t*=2)<1?.5*tm(t):.5*(2-Math.pow(2,-10*(t-1))),ty=t=>1-Math.sin(Math.acos(t)),tw=tp(ty),tb=td(ty),tx=t=>/^0[^.\s]+$/u.test(t),tS=(t,e,i)=>i>e?e:i<t?t:i,tP={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tT={...tP,transform:t=>tS(0,1,t)},tE={...tP,default:1},tA=t=>Math.round(1e5*t)/1e5,tC=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tM=(t,e)=>i=>!!("string"==typeof i&&tk.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tD=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(tC);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tR={...tP,transform:t=>Math.round(tS(0,255,t))},tj={test:tM("rgb","red"),parse:tD("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+tR.transform(t)+", "+tR.transform(e)+", "+tR.transform(i)+", "+tA(tT.transform(n))+")"},tO={test:tM("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:tj.transform},tV=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tL=tV("deg"),tF=tV("%"),t_=tV("px"),tI=tV("vh"),tB=tV("vw"),tN={...tF,parse:t=>tF.parse(t)/100,transform:t=>tF.transform(100*t)},tU={test:tM("hsl","hue"),parse:tD("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+tF.transform(tA(e))+", "+tF.transform(tA(i))+", "+tA(tT.transform(n))+")"},tq={test:t=>tj.test(t)||tO.test(t)||tU.test(t),parse:t=>tj.test(t)?tj.parse(t):tU.test(t)?tU.parse(t):tO.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tj.transform(t):tU.transform(t)},tz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,t$="number",tH="color",tW=/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 tQ(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(tW,t=>(tq.test(t)?(n.color.push(s),r.push(tH),i.push(tq.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(t$),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function tZ(t){return tQ(t).values}function tK(t){let{split:e,types:i}=tQ(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===t$?r+=tA(t[s]):e===tH?r+=tq.transform(t[s]):r+=t[s]}return r}}let tY=t=>"number"==typeof t?0:t,tX={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(tC))?void 0:e.length)||0)+((null==(i=t.match(tz))?void 0:i.length)||0)>0},parse:tZ,createTransformer:tK,getAnimatableNone:function(t){let e=tZ(t);return tK(t)(e.map(tY))}},tG=new Set(["brightness","contrast","saturate","opacity"]);function tJ(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tC)||[];if(!n)return t;let r=i.replace(n,""),s=+!!tG.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let t0=/\b([a-z-]*)\(.*?\)/gu,t1={...tX,getAnimatableNone:t=>{let e=t.match(t0);return e?e.map(tJ).join(" "):t}},t5={...tP,transform:Math.round},t2={borderWidth:t_,borderTopWidth:t_,borderRightWidth:t_,borderBottomWidth:t_,borderLeftWidth:t_,borderRadius:t_,radius:t_,borderTopLeftRadius:t_,borderTopRightRadius:t_,borderBottomRightRadius:t_,borderBottomLeftRadius:t_,width:t_,maxWidth:t_,height:t_,maxHeight:t_,top:t_,right:t_,bottom:t_,left:t_,padding:t_,paddingTop:t_,paddingRight:t_,paddingBottom:t_,paddingLeft:t_,margin:t_,marginTop:t_,marginRight:t_,marginBottom:t_,marginLeft:t_,backgroundPositionX:t_,backgroundPositionY:t_,rotate:tL,rotateX:tL,rotateY:tL,rotateZ:tL,scale:tE,scaleX:tE,scaleY:tE,scaleZ:tE,skew:tL,skewX:tL,skewY:tL,distance:t_,translateX:t_,translateY:t_,translateZ:t_,x:t_,y:t_,z:t_,perspective:t_,transformPerspective:t_,opacity:tT,originX:tN,originY:tN,originZ:t_,zIndex:t5,size:t_,fillOpacity:tT,strokeOpacity:tT,numOctaves:t5},t3={...t2,color:tq,backgroundColor:tq,outlineColor:tq,fill:tq,stroke:tq,borderColor:tq,borderTopColor:tq,borderRightColor:tq,borderBottomColor:tq,borderLeftColor:tq,filter:t1,WebkitFilter:t1},t7=t=>t3[t];function t6(t,e){let i=t7(t);return i!==t1&&(i=tX),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let t9=new Set(["auto","none","0"]),t8=t=>t===tP||t===t_,t4=(t,e)=>parseFloat(t.split(", ")[e]),et=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return t4(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?t4(e[1],t):0}},ee=new Set(["x","y","z"]),ei=N.filter(t=>!ee.has(t)),en={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:et(4,13),y:et(5,14)};en.translateX=en.x,en.translateY=en.y;let er=new Set,es=!1,eo=!1;function ea(){if(eo){let t=Array.from(er).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return ei.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null==(n=t.getValue(e))||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eo=!1,es=!1,er.forEach(t=>t.complete()),er.clear()}function el(){er.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eo=!0)})}class eu{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(er.add(this),es||(es=!0,Q.read(el),Q.resolveKeyframes(ea))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r])if(0===r){let r=null==n?void 0:n.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}else t[r]=t[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),er.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,er.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eh=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ec=t=>e=>"string"==typeof e&&e.startsWith(t),ed=ec("--"),ep=ec("var(--"),ef=t=>!!ep(t)&&em.test(t.split("/*")[0].trim()),em=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,eg=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ev=t=>e=>e.test(t),ey=[tP,t_,tF,tL,tB,tI,{test:t=>"auto"===t,parse:t=>t}],ew=t=>ey.find(ev(t));class eb extends eu{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&ef(n=n.trim())){let r=function t(e,i,n=1){B(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=eg.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${null!=i?i:n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return eh(t)?parseFloat(t):t}return ef(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!q.has(i)||2!==t.length)return;let[n,r]=t,s=ew(n),o=ew(r);if(s!==o)if(t8(s)&&t8(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tx(n))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!t9.has(e)&&tQ(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=t6(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=en[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let s=n.length-1,o=n[s];n[s]=en[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let ex=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tX.test(t)||"0"===t)&&!t.startsWith("url(")),eS=t=>null!==t;function eP(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(eS),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return s&&void 0!==n?n:r[s]}class eT{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=G.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(el(),ea()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=G.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=ex(r,e),a=ex(s,e);return B(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||w(i))&&n)}(t,i,n,r))if(tu.current||!s){a&&a(eP(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}let eE=(t,e,i)=>t+(e-t)*i;function eA(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function eC(t,e){return i=>i>0?e:t}let ek=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},eM=[tO,tj,tU];function eD(t){let e=eM.find(e=>e.test(t));if(B(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tU&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=eA(a,n,t+1/3),s=eA(a,n,t),o=eA(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let eR=(t,e)=>{let i=eD(t),n=eD(e);if(!i||!n)return eC(t,e);let r={...i};return t=>(r.red=ek(i.red,n.red,t),r.green=ek(i.green,n.green,t),r.blue=ek(i.blue,n.blue,t),r.alpha=eE(i.alpha,n.alpha,t),tj.transform(r))},ej=(t,e)=>i=>e(t(i)),eO=(...t)=>t.reduce(ej),eV=new Set(["none","hidden"]);function eL(t,e){return i=>eE(t,e,i)}function eF(t){return"number"==typeof t?eL:"string"==typeof t?ef(t)?eC:tq.test(t)?eR:eB:Array.isArray(t)?e_:"object"==typeof t?tq.test(t)?eR:eI:eC}function e_(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>eF(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function eI(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=eF(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let eB=(t,e)=>{let i=tX.createTransformer(e),n=tQ(t),r=tQ(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?eV.has(t)&&!r.values.length||eV.has(e)&&!n.values.length?function(t,e){return eV.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):eO(e_(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][r[o]],l=null!=(i=t.values[a])?i:0;n[s]=l,r[o]++}return n}(n,r),r.values),i):(B(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),eC(t,e))};function eN(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eE(t,e,i):eF(t)(t,e)}function eU(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}let eq={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 ez(t,e){return t*Math.sqrt(1-e*e)}let e$=["duration","bounce"],eH=["stiffness","damping","mass"];function eW(t,e){return e.some(e=>void 0!==t[e])}function eQ(t=eq.visualDuration,e=eq.bounce){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:p,isResolvedFromDuration:f}=function(t){let e={velocity:eq.velocity,stiffness:eq.stiffness,damping:eq.damping,mass:eq.mass,isResolvedFromDuration:!1,...t};if(!eW(t,eH)&&eW(t,e$))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*tS(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:eq.mass,stiffness:n,damping:r}}else{let i=function({duration:t=eq.duration,bounce:e=eq.bounce,velocity:i=eq.velocity,mass:n=eq.mass}){let r,s;B(t<=I(eq.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=tS(eq.minDamping,eq.maxDamping,o),t=tS(eq.minDuration,eq.maxDuration,t/1e3),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/ez(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=ez(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=I(t),isNaN(a))return{stiffness:eq.stiffness,damping:eq.damping,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:eq.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),m=p||0,g=h/(2*Math.sqrt(u*c)),v=a-o,w=Math.sqrt(u/c)/1e3,b=5>Math.abs(v);if(r||(r=b?eq.restSpeed.granular:eq.restSpeed.default),s||(s=b?eq.restDelta.granular:eq.restDelta.default),g<1){let t=ez(w,g);i=e=>a-Math.exp(-g*w*e)*((m+g*w*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-w*t)*(v+(m+w*v)*t);else{let t=w*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*w*e),n=Math.min(t*e,300);return a-i*((m+g*w*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}let x={calculatedDuration:f&&d||null,next:t=>{let e=i(t);if(f)l.done=t>=d;else{let n=0;g<1&&(n=0===t?I(m):eU(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(n)<=r&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(y(x),2e4),e=E(e=>x.next(t*e).value,t,30);return t+"ms "+e}};return x}function eZ({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],f={done:!1,value:p},m=i*e,g=p+m,v=void 0===o?g:o(g);v!==g&&(m=v-p);let y=t=>-m*Math.exp(-t/n),w=t=>v+y(t),b=t=>{let e=y(t),i=w(t);f.done=Math.abs(e)<=u,f.value=f.done?v:i},x=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=eQ({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:eU(w,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return x(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),x(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),f)}}}let eK=tc(.42,0,1,1),eY=tc(0,0,.58,1),eX=tc(.42,0,.58,1),eG={linear:B,easeIn:eK,easeInOut:eX,easeOut:eY,circIn:ty,circInOut:tb,circOut:tw,backIn:tm,backInOut:tg,backOut:tf,anticipate:tv},eJ=t=>{if(x(t)){B(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return tc(e,i,n,r)}return"string"==typeof t?(B(void 0!==eG[t],`Invalid easing type '${t}'`),eG[t]):t};function e0({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(eJ):eJ(n),o={done:!1,value:e[0]},a=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(B(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||eN,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=eO(Array.isArray(e)?e[i]||B:e,s)),n.push(s)}return n}(e,n,r),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=T(t[n],t[n+1],i);return a[n](r)};return i?e=>u(tS(t[0],t[s-1],e)):u}((r=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=T(0,e,n);t.push(eE(i,1,r))}}(e,t.length-1),e}(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||eX).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}let e1=t=>{let e=({timestamp:e})=>t(e);return{start:()=>Q.update(e,!0),stop:()=>Z(e),now:()=>K.isProcessing?K.timestamp:G.now()}},e5={decay:eZ,inertia:eZ,tween:e0,keyframes:e0,spring:eQ},e2=t=>t/100;class e3 extends eT{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,s=(null==n?void 0:n.KeyframeResolver)||eu,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new s(r,o,e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:
1o,velocity:a=0}=this.options,l=w(n)?n:e5[n]||e0;l!==e0&&"number"!=typeof t[0]&&(e=eO(e2,eN(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=y(u));let{calculatedDuration:h}=u,c=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,w=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/h)):"mirror"===p&&(w=s)),y=tS(0,1,i)*h}let b=v?{done:!1,value:a[0]}:w.next(y);o&&(b.value=o(b.value));let{done:x}=b;v||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&void 0!==n&&(b.value=eP(a,this.options,n)),m&&m(b.value),S&&this.finish(),b}get duration(){let{resolved:t}=this;return t?t.calculatedDuration/1e3:0}get time(){return this.currentTime/1e3}set time(t){t=I(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=e1,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let e7=new Set(["opacity","clipPath","filter","transform"]),e6=p(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),e9={anticipate:tv,backInOut:tg,circInOut:tb};class e8 extends eT{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new eb(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:n=300,times:r,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&P()&&s in e9&&(s=e9[s]),w((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&P()||!e||"string"==typeof e&&(e in C||P())||x(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new e3({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,r=h.times,s=h.ease,o="keyframes"}
1let h=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&&P()?E(e,i):x(e)?A(e):Array.isArray(e)?e.map(e=>t(e,i)||C.easeOut):C[e]}(a,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:n,times:r,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(b(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(eP(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:r,type:o,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return e/1e3}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(e.currentTime||0)/1e3}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=I(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return B;let{animation:i}=e;b(i,t)}else this.pendingTimeline=t;return B}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new e3({...u,keyframes:i,duration:n,type:r,ease:s,times:o,isGenerator:!0}),c=I(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return e6()&&i&&e7.has(i)&&!a&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let e4={type:"spring",stiffness:500,damping:25,restSpeed:10},it={type:"keyframes",duration:.8},ie={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ii=(t,e,i,n={},r,s)=>o=>{let a=v(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=I(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...((t,{keyframes:e})=>e.length>2?it:U.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:e4:ie)(t,h)}),h.duration&&(h.duration=I(h.duration)),h.repeatDelay&&(h.repeatDelay=I(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(c=!0)),(tu.current||$.skipAnimations)&&(c=!0,h.duration=0,h.delay=0),c&&!s&&void 0!==e.get()){let t=eP(h.keyframes,a);if(void 0!==t)return Q.update(()=>{h.onUpdate(t),h.onComplete()}),new g([])}return!s&&e8.supports(h)?new e8(h):new e3(h)};function ir(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(o=n);let u=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let n=t.getValue(e,null!=(s=t.latestValues[e])?s:null),r=l[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let a={delay:i,...v(o||{},e)},h=!1;if(window.MotionHandoffAnimation){let i=t.props[tl];if(i){let t=window.MotionHandoffAnimation(i,e,Q);null!==t&&(a.startTime=t,h=!0)}}to(t,e),n.start(ii(e,n,r,t.shouldReduceMotion&&q.has(e)?{type:!1}:a,t,h));let d=n.animation;d&&u.push(d)}return a&&Promise.all(u).then(()=>{Q.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=h(t,e)||{};for(let e in r={...r,...i}){let i=z(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tr(i))}}(t,a)})}),u}
1function is(t,e,i={}){var n;let r=h(t,e,"exit"===i.type?null==(n=t.presenceContext)?void 0:n.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(ir(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(io).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(is(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function io(t,e){return t.sortNodePosition(e)}let ia=d.length,il=[...c].reverse(),iu=c.length;function ih(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ic(){return{animate:ih(!0),whileInView:ih(),whileHover:ih(),whileTap:ih(),whileDrag:ih(),whileFocus:ih(),exit:ih()}}class id{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ip extends id{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>is(t,e,i)));else if("string"==typeof e)n=is(t,e,i);else{let r="function"==typeof e?h(t,e,i.custom):e;n=Promise.all(ir(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ic(),n=!0,l=e=>(i,n)=>{var r;let s=h(t,n,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function u(u){let{props:h}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<ia;t++){let n=d[t],r=e.props[n];(a(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},p=[],f=new Set,m={},g=1/0;for(let e=0;e<iu;e++){var v,y;let d=il[e],w=i[d],b=void 0!==h[d]?h[d]:c[d],x=a(b),S=d===u?w.isActive:null;!1===S&&(g=e);let P=b===c[d]&&b!==h[d]&&x;if(P&&n&&t.manuallyAnimateOnMount&&(P=!1),w.protectedKeys={...m},!w.isActive&&null===S||!b&&!w.prevProp||r(b)||"boolean"==typeof b)continue;let T=(v=w.prevProp,"string"==typeof(y=b)?y!==v:!!Array.isArray(y)&&!o(y,v)),E=T||d===u&&w.isActive&&!P&&x||e>g&&x,A=!1,C=Array.isArray(b)?b:[b],k=C.reduce(l(d),{});!1===S&&(k={});let{prevResolvedValues:M={}}=w,D={...M,...k},R=e=>{E=!0,f.has(e)&&(A=!0,f.delete(e)),w.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in D){let e=k[t],i=M[t];if(!m.hasOwnProperty(t))(s(e)&&s(i)?o(e,i):e===i)?void 0!==e&&f.has(t)?R(t):w.protectedKeys[t]=!0:null!=e?R(t):f.add(t)}w.prevProp=b,w.prevResolvedValues=k,w.isActive&&(m={...m,...k}),n&&t.blockInitialAnimation&&(E=!1);let j=!(P&&T)||A;E&&j&&p.push(...C.map(t=>({animation:t,options:{type:d}})))}if(f.size){let e={};f.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),p.push({animation:e})}let w=!!p.length;return n&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(w=!1),n=!1,w?e(p):Promise.resolve()}return{animateChanges:u,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,n)}),i[e].isActive=n;let s=u(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ic(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}let im=0;class ig extends id{constructor(){super(...arguments),this.id=im++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
1e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}function iv(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function iy(t){return{point:{x:t.pageX,y:t.pageY}}}function iw(t,e,i,n){return iv(t,e,t=>j(t)&&i(t,iy(t)),n)}let ib=(t,e)=>Math.abs(t-e);class ix{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=iT(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(ib(t.x,e.x)**2+ib(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=K;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iS(e,this.transformPagePoint),Q.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iT("pointercancel"===t.type?this.lastMoveEventInfo:iS(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!j(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=iS(iy(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=K;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,iT(s,this.history)),this.removeListeners=eO(iw(this.contextWindow,"pointermove",this.handlePointerMove),iw(this.contextWindow,"pointerup",this.handlePointerUp),iw(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Z(this.updatePoint)}}function iS(t,e){return e?{point:e(t.point)}:t}function iP(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iT({point:t},e){return{point:t,delta:iP(t,iE(e)),offset:iP(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=iE(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>I(.1)));)i--;if(!n)return{x:0,y:0};let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function iE(t){return t[t.length-1]}function iA(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function iC(t){return t.max-t.min}function ik(t,e,i,n=.5){t.origin=n,t.originPoint=eE(e.min,e.max,t.origin),t.scale=iC(i)/iC(e),t.translate=eE(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function iM(t,e,i,n){ik(t.x,e.x,i.x,n?n.originX:void 0),ik(t.y,e.y,i.y,n?n.originY:void 0)}function iD(t,e,i){t.min=i.min+e.min,t.max=t.min+iC(e)}function iR(t,e,i){t.min=e.min-i.min,t.max=t.min+iC(e)}function ij(t,e,i){iR(t.x,e.x,i.x),iR(t.y,e.y,i.y)}function iO(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function iV(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function iL(t,e,i){return{min:iF(t,e),max:iF(t,i)}}function iF(t,e){return"number"==typeof t?t:t[e]||0}let i_=()=>({translate:0,scale:1,origin:0,originPoint:0}),iI=()=>({x:i_(),y:i_()}),iB=()=>({min:0,max:0}),iN=()=>({x:iB(),y:iB()});function iU(t){return[t("x"),t("y")]}function iq({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function iz(t){return void 0===t||1===t}function i$({scale:t,scaleX:e,scaleY:i}){return!iz(t)||!iz(e)||!iz(i)}function iH(t){return i$(t)||iW(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iW(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iQ(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function iZ(t,e=0,i=1,n,r){t.min=iQ(t.min,e,i,n,r),t.max=iQ(t.max,e,i,n,r)}function iK(t,{x:e,y:i}){iZ(t.x,e.translate,e.scale,e.originPoint),iZ(t.y,i.translate,i.scale,i.originPoint)}function iY(t,e){t.min=t.min+e,t.max=t.max+e}function iX(t,e,i,n,r=.5){let s=eE(t.min,t.max,r);iZ(t,e,i,s,n)}function iG(t,e){iX(t.x,e.x,e.scaleX,e.scale,e.originX),iX(t.y,e.y,e.scaleY,e.scale,e.originY)}function iJ(t,e){return iq(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let i0=({current:t})=>t?t.ownerDocument.defaultView:null,i1=new WeakMap;class i5{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iN(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(iy(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(k[t])return null;else return k[t]=!0,()=>{k[t]=!1};return k.x||k.y?null:(k.x=k.y=!0,()=>{k.x=k.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iU(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tF.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=iC(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&Q.postRender(()=>r(t,e)),to(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},s=(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},o=(t,e)=>this.stop(t,e),a=()=>iU(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new ix(t,{onSessionStart:n,onStart:r,onMove:s,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:i0(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&Q.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!i2(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eE(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eE(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&iA(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:iO(t.x,i,r),y:iO(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iL(t,"left","right"),y:iL(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&iU(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iA(e))return!1;let n=e.current;B(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,i){let n=iJ(t,i),{scroll:r}=e;return r&&(iY(n.x,r.offset.x),iY(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:iV(t.x,s.x),y:iV(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=iq(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iU(o=>{if(!i2(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return to(this.visualElement,t),i.start(ii(t,i,0,e,this.visualElement,!1))}stopAnimation(){iU(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iU(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iU(e=>{let{drag:i}=this.getProps();if(!i2(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-eE(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iA(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};iU(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=iC(t),r=iC(e);return r>n?i=T(e.min,e.max-n,t.min):n>
1r&&(i=T(t.min,t.max-r,e.min)),tS(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iU(e=>{if(!i2(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(eE(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;i1.set(this.visualElement,this);let t=iw(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();iA(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Q.read(e);let r=iv(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iU(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function i2(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class i3 extends id{constructor(t){super(t),this.removeGroupControls=B,this.removeListeners=B,this.controls=new i5(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||B}unmount(){this.removeGroupControls(),this.removeListeners()}}let i7=t=>(e,i)=>{t&&Q.postRender(()=>t(e,i))};class i6 extends id{constructor(){super(...arguments),this.removePointerDownListener=B}onPointerDown(t){this.session=new ix(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:i0(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:i7(t),onStart:i7(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&Q.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=iw(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var i9,i8,i4=i(95155),nt=i(12115),ne=i(75601),ni=i(60296);let nn=(0,nt.createContext)({}),nr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ns(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let no={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!t_.test(t))return t;else t=parseFloat(t);let i=ns(t,e.target.x),n=ns(t,e.target.y);return`${i}% ${n}%`}},na={},{schedule:nl,cancel:nu}=W(queueMicrotask,!1);class nh extends nt.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;for(let t in nd)na[t]=nd[t],ed(t)&&(na[t].isCSSVariable=!0);r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),nr.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||Q.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),nl.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function nc(t){let[e,i]=(0,ne.xQ)(),n=(0,nt.useContext)(ni.L);return(0,i4.jsx)(nh,{...t,layoutGroup:n,switchLayoutGroup:(0,nt.useContext)(nn),isPresent:e,safeToRemove:i})}let nd={borderRadius:{...no,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tX.parse(t);if(n.length>5)return t;let r=tX.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eE(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}},np=(t,e)=>t.depth-e.depth;class nf{constructor(){this.children=[],this.isDirty=!1}add(t){J(this.children,t),this.isDirty=!0}remove(t){tt(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(np),this.isDirty=!1,this.children.forEac
1h(t)}}function nm(t){let e=ts(t)?t.get():t;return e&&"object"==typeof e&&e.mix&&e.toValue?e.toValue():e}let ng=["TopLeft","TopRight","BottomLeft","BottomRight"],nv=ng.length,ny=t=>"string"==typeof t?parseFloat(t):t,nw=t=>"number"==typeof t||t_.test(t);function nb(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nx=nP(0,.5,tw),nS=nP(.5,.95,B);function nP(t,e,i){return n=>n<t?0:n>e?1:i(T(t,e,n))}function nT(t,e){t.min=e.min,t.max=e.max}function nE(t,e){nT(t.x,e.x),nT(t.y,e.y)}function nA(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nC(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function nk(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(tF.test(e)&&(e=parseFloat(e),e=eE(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eE(s.min,s.max,n);t===s&&(a-=e),t.min=nC(t.min,e,i,a,r),t.max=nC(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let nM=["x","scaleX","originX"],nD=["y","scaleY","originY"];function nR(t,e,i,n){nk(t.x,e,nM,i?i.x:void 0,n?n.x:void 0),nk(t.y,e,nD,i?i.y:void 0,n?n.y:void 0)}function nj(t){return 0===t.translate&&1===t.scale}function nO(t){return nj(t.x)&&nj(t.y)}function nV(t,e){return t.min===e.min&&t.max===e.max}function nL(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nF(t,e){return nL(t.x,e.x)&&nL(t.y,e.y)}function n_(t){return iC(t.x)/iC(t.y)}function nI(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nB{constructor(){this.members=[]}add(t){J(this.members,t),t.scheduleRender()}remove(t){if(tt(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,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nN={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},nU="undefined"!=typeof window&&void 0!==window.MotionDebug,nq=["","X","Y","Z"],nz={visibility:"hidden"},n$=0;function nH(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function nW({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=n$++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,nU&&(nN.totalNodes=nN.resolvedTargetDeltas=nN.recalculatedProjection=0),this.nodes.forEach(nK),this.nodes.forEach(n5),this.nodes.forEach(n2),this.nodes.forEach(nY),nU&&window.MotionDebug.record(nN)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nf)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new te),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i,n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=G.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&(Z(n),t(r-250))};return Q.read(n,!0),()=>Z(n)}(n,250),nr.hasAnimatedSinceResize&&(nr.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(n1))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||n4,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!nF(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...v(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||n1(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,Z(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(n3),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[tl];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Q,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nG);return}this.isUpdating||this.nodes.forEach(nJ),this.isUpdating=!1,this.nodes.forEach(n0),this.nodes.forEach(nQ),this.nodes.forEach(nZ),this.clearAllSnapshots();let t=G.now();K.delta=tS(0,1e3/60,t-K.timestamp),K.timestamp=t,K.isProcessing=!0,Y.update.process(K),Y.preRender.process(K),Y.render.process(K),K.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nl.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nX),this.sharedNodes.forEach(n7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Q.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Q.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||iC(this.snapshot.measuredBox.x)||iC(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iN(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nO(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||iH(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),ri((e=n).x),ri(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return iN();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(rr))){let{scroll:t}=this.root;t&&(iY(i.x,t.offset.x),iY(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=iN();if(nE(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&nE(i,t),iY(i.x,r.offset.x),iY(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=iN();nE(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iG(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),iH(n.latestValues)&&iG(i,n.latestValues)}return iH(this.latestValues)&&iG(i,this.latestValues),i}removeTransform(t){let e=iN();nE(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!iH(i.latestValues))continue;i$(i.latestValues)&&i.updateSnapshot();let n=iN();nE(n,i.measurePageBox()),nR(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return iH(this.latestValues)&&nR(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!==K.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=K.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iN(),this.relativeTargetOrigin=iN(),ij(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),nE(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iN(),this.targetWithTransforms=iN()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,iD(i.x,n.x,r.x),iD(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nE(this.target,this.layout.layoutBox),iK(this.target,this.targetDelta)):nE(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=iN(),this.relativeTargetOrigin=iN(),ij(this.relativeTargetOrigin,this.target,t.target),nE(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nU&&nN.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||i$(this.parent.latestValues)||iW(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===K.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;nE(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iG(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,iK(t,s)),n&&iH(r.latestValues)&&iG(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=iN());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nA(this.prevProjectionDelta.x,this.projectionDelta.x),nA(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iM(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&nI(this.projectionDelta.x,this.prevProjectionDelta.x)&&nI(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),nU&&nN.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=iI(),this.projectionDelta=iI(),this.projectionDeltaWithTransform=iI()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=iI();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=iN(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(n8));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(n6(o.x,t.x,n),n6(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,g;ij(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=n,n9(p.x,f.x,m.x,g),n9(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,d=i,nV(u.x,d.x)&&nV(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=iN()),nE(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=eE(0,void 0!==i.opacity?i.opacity:1,nx(n)),t.opacityExit=eE(void 0!==e.opacity?e.opacity:1,0,nS(n))):s&&(t.opacity=eE(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<nv;r++){let s=`border${ng[r]}Radius`,o=nb(e,s),a=nb(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nw(o)===nw(a)?(t[s]=Math.max(eE(ny(o),ny(a),n),0),(tF.test(a)||tF.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=eE(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Z(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Q.update(()=>{nr.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=ts(0)?0:tr(t);return n.start(ii("",n,1e3,i)),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:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&rn(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||iN();let e=iC(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=iC(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}nE(e,i),iG(e,r),iM(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nB),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?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:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&nH("z",t,n,this.animationValues);for(let e=0;e<nq.length;e++)nH(`rotate${nq[e]}`,t,n,this.animationValues),nH(`skew${nq[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nz;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=nm(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=nm(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!iH(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;
1this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,na){if(void 0===o[t])continue;let{correct:e,applyTo:i,isCSSVariable:r}=na[t],a="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=a}else r?this.options.visualElement.renderState.vars[t]=a:n[t]=a}return this.options.layoutId&&(n.pointerEvents=s===this?nm(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(nG),this.root.sharedNodes.clear()}}}function nQ(t){t.updateLayout()}function nZ(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?iU(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=iC(n);n.min=e[t].min,n.max=n.min+r}):rn(r,i.layoutBox,e)&&iU(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=iC(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=iI();iM(o,e,i.layoutBox);let a=iI();s?iM(a,t.applyTransform(n,!0),i.measuredBox):iM(a,e,i.layoutBox);let l=!nO(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=iN();ij(o,i.layoutBox,r.layoutBox);let a=iN();ij(a,e,s.layoutBox),nF(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nK(t){nU&&nN.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 nY(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nX(t){t.clearSnapshot()}function nG(t){t.clearMeasurements()}function nJ(t){t.isLayoutDirty=!1}function n0(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n1(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function n5(t){t.resolveTargetDelta()}function n2(t){t.calcProjection()}function n3(t){t.resetSkewAndRotation()}function n7(t){t.removeLeadSnapshot()}function n6(t,e,i){t.translate=eE(e.translate,0,i),t.scale=eE(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function n9(t,e,i,n){t.min=eE(e.min,i.min,n),t.max=eE(e.max,i.max,n)}function n8(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n4={duration:.45,ease:[.4,0,.1,1]},rt=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),re=rt("applewebkit/")&&!rt("chrome/")?Math.round:B;function ri(t){t.min=re(t.min),t.max=re(t.max)}function rn(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(n_(e)-n_(i)))}function rr(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}let rs=nW({attachResizeListener:(t,e)=>iv(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ro={current:void 0},ra=nW({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ro.current){let t=new rs({});t.mount(window),t.setOptions({layoutScroll:!0}),ro.current=t}
1return ro.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rl(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&Q.postRender(()=>r(e,iy(e)))}class ru extends id{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=M(t,i),o=t=>{if(!D(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{D(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,(t,e)=>(rl(this.node,e,"Start"),t=>rl(this.node,t,"End"))))}unmount(){}}class rh extends id{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=eO(iv(this.node.current,"focus",()=>this.onFocus()),iv(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function rc(t,e,i){let{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&Q.postRender(()=>r(e,iy(e)))}class rd extends id{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=M(t,i),o=t=>{let n=t.currentTarget;if(!_(t)||V.has(n))return;V.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),_(t)&&V.has(n)&&(V.delete(n),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||R(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{O.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=L(()=>{if(V.has(i))return;F(i,"down");let t=L(()=>{F(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>F(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r),r)}),s}(t,(t,e)=>(rc(this.node,e,"Start"),(t,{success:e})=>rc(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let rp=new WeakMap,rf=new WeakMap,rm=t=>{let e=rp.get(t.target);e&&e(t)},rg=t=>{t.forEach(rm)},rv={some:0,all:1};class ry extends id{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:rv[n]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;rf.has(i)||rf.set(i,{});
1let n=rf.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(rg,{root:t,...e})),n[r]}(s);return rp.set(a,o),l.observe(a),()=>{rp.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let rw=(0,nt.createContext)({strict:!1});var rb=i(53127);let rx=(0,nt.createContext)({});function rS(t){return r(t.animate)||d.some(e=>a(t[e]))}function rP(t){return!!(rS(t)||t.variants)}function rT(t){return Array.isArray(t)?t.join(" "):t}var rE=i(33577);let rA={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"]},rC={};for(let t in rA)rC[t]={isEnabled:e=>rA[t].some(t=>!!e[t])};let rk=Symbol.for("motionComponentSymbol");var rM=i(59686),rD=i(86553);let rR=["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 rj(t){if("string"!=typeof t||t.includes("-"));else if(rR.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var rO=i(94416);let rV=t=>(e,i)=>{let n=(0,nt.useContext)(rx),s=(0,nt.useContext)(rM.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,s,o){let a={latestValues:function(t,e,i,n){let s={},o=n(t,{});for(let t in o)s[t]=nm(o[t]);let{initial:a,animate:l}=t,h=rS(t),c=rP(t);e&&c&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let d=!!i&&!1===i.initial,p=(d=d||!1===a)?l:a;if(p&&"boolean"!=typeof p&&!r(p)){let e=Array.isArray(p)?p:[p];for(let i=0;i<e.length;i++){let n=u(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(n,s,o,t),renderState:e()};return i&&(a.onMount=t=>i({props:n,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,n,s);return i?o():(0,rO.M)(o)},rL=(t,e)=>e&&"number"==typeof t?e.transform(t):t,rF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},r_=N.length;function rI(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(U.has(t)){o=!0;continue}if(ed(t)){r[t]=i;continue}{let e=rL(i,t2[t]);t.startsWith("origin")?(a=!0,s[t]=e):n[t]=e}}if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<r_;s++){let o=N[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=rL(a,t2[o]);if(!l){r=!1;let e=rF[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}let rB={offset:"stroke-dashoffset",array:"stroke-dasharray"},rN={offset:"strokeDashoffset",array:"strokeDasharray"};function rU(t,e,i){return"string"==typeof t?t:t_.transform(e+i*t)}function rq(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){if(rI(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:f}=t;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==r||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,i){let n=rU(e,t.x,t.width),r=rU(i,t.y,t.height);return`${n} ${r}`}(f,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?rB:rN;t[s.offset]=t_.transform(-n);let o=t_.transform(e),a=t_.transform(i);t[s.array]=`${o} ${a}`}(d,o,a,l,!1)}let rz=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),r$=()=>({...rz(),attrs:{}}),rH=t=>"string"==typeof t&&"svg"===t.toLowerCase();function rW(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let rQ=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 rZ(t,e,i,n){for(let i in rW(t,e,void 0,n),e.attrs)t.setAttribute(rQ.has(i)?i:ta(i),e.attrs[i])}function rK(t,{layout:e,layoutId:i}){return U.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!na[t]||"opacity"===t)}function rY(t,e,i){var n;let{style:r}=t,s={};for(let o in r)(ts(r[o])||e.style&&ts(e.style[o])||rK(o,t)||(null==(n=null==i?void 0:i.getValue(o))?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return s}function rX(t,e,i){let n=rY(t,e,i);for(let i in t)(ts(t[i])||ts(e[i]))&&(n[-1!==N.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}let rG=["x","y","width","height","cx","cy","r"],rJ={useVisualState:rV({scrapeMotionValuesFromProps:rX,createRenderState:r$,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:r})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in r)if(U.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i<rG.length;i++){let n=rG[i];t[n]!==e[n]&&(o=!0)}o&&Q.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(i,n),Q.render(()=>{rq(n,r,rH(i.tagName),t.transformTemplate),rZ(i,n)})})}})},r0={useVisualState:rV({scrapeMotionValuesFromProps:rY,createRenderState:rz})};
1function r1(t,e,i){for(let n in e)ts(e[n])||rK(n,i)||(t[n]=e[n])}let r5=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r2(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||r5.has(t)}let r3=t=>!r2(t);try{!function(t){t&&(r3=e=>e.startsWith("on")?!r2(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}let r7={current:null},r6={current:!1},r9=[...ey,tq,tX],r8=new WeakMap,r4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class st{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=G.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,Q.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=rS(e),this.isVariantNode=rP(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&ts(e)&&e.set(a[t],!1)}}mount(t){this.current=t,r8.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)),r6.current||function(){if(r6.current=!0,rE.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r7.current=t.matches;t.addListener(e),e()}else r7.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r7.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in r8.delete(this.current),this.projection&&this.projection.unmount(),Z(this.notifyUpdate),Z(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=U.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&Q.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in rC){let e=rC[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iN()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<r4.length;e++){let i=r4[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(ts(r))t.addValue(n,r);else if(ts(s))t.addValue(n,tr(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,tr(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tr(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=n){if("string"==typeof n&&(eh(n)||tx(n)))n=parseFloat(n);else{let i;i=n,!r9.find(ev(i))&&tX.test(e)&&(n=t6(t,e))}this.setBaseTarget(t,ts(n)?n.get():n)}return ts(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=u(this.props,n,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||ts(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new te),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class se extends st{constructor(){super(...arguments),this.KeyframeResolver=eb}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:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ts(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class si extends se{constructor(){super(...arguments),this.type="html",this.renderInstance=rW}readValueFromInstance(t,e){if(U.has(e)){let t=t7(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=(ed(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return iJ(t,e)}build(t,e,i){rI(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return rY(t,e,i)}}class sn extends se{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iN}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(U.has(e)){let t=t7(e);return t&&t.default||0}return e=rQ.has(e)?e:ta(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return rX(t,e,i)}build(t,e,i){rq(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){rZ(t,e,i,n)}mount(t){this.isSVGTag=rH(t.tagName),super.mount(t)}}let sr=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((i9={animation:{Feature:ip},exit:{Feature:ig},inView:{Feature:ry},tap:{Feature:rd},focus:{Feature:rh},hover:{Feature:ru},pan:{Feature:i6},drag:{Feature:i3,ProjectionNode:ra,MeasureLayout:nc},layout:{ProjectionNode:ra,MeasureLayout:nc}},i8=(t,e)=>rj(t)?new sn(e):new si(e,{allowProjection:t!==nt.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:n,createVisualElement:r,useRender:s,useVisualState:o,Component:l}=t;function u(t,e){var i;let n,u={...(0,nt.useContext)(rb.Q),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,nt.useContext)(ni.L).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(rS(t)){let{initial:e,animate:i}=t;return{initial:!1===e||a(e)?e:void 0,animate:a(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,nt.useContext)(rx));return(0,nt.useMemo)(()=>({initial:e,animate:i}),[rT(e),rT(i)])}(t),d=o(t,h);if(!h&&rE.B){(0,nt.useContext)(rw).strict;let t=function(t){let{drag:e,layout:i}=rC;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);n=t.MeasureLayout,c.visualElement=function(t,e,i,n,r){var s,o;let{visualElement:a}=(0,nt.useContext)(rx),l=(0,nt.useContext)(rw),u=(0,nt.useContext)(rM.t),h=(0,nt.useContext)(rb.Q).reducedMotion,c=(0,nt.useRef)(null);n=n||l.renderer,!c.current&&n&&(c.current=n(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let d=c.current,p=(0,nt.useContext)(nn);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&iA(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(c.current,i,r,p);let f=(0,nt.useRef)(!1);(0,nt.useInsertionEffect)(()=>{d&&f.current&&d.update(i,u)});let m=i[tl],g=(0,nt.useRef)(!!m&&!(null==(s=window.MotionHandoffIsComplete)?void 0:s.call(window,m))&&(null==(o=window.MotionHasOptimisedAnimation)?void 0:o.call(window,m)));return(0,rD.E)(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),nl.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),(0,nt.useEffect)(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,m)}),g.current=!1))}),d}(l,d,u,r,t.ProjectionNode)}return(0,i4.jsxs)(rx.Provider,{value:c,children:[n&&c.visualElement?(0,i4.jsx)(n,{visualElement:c.visualElement,...u}):null,s(l,t,(i=c.visualElement,(0,nt.useCallback)(t=>{t&&d.onMount&&d.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):iA(e)&&(e.current=t))},[i])),d,h,c.visualElement)]})}n&&function(t){for(let e in t)rC[e]={...rC[e],...t[e]}}(n),u.displayName="motion.".concat("string"==typeof l?l:"create(".concat(null!=(i=null!=(e=l.displayName)?e:l.name)?i:"",")"));let h=(0,nt.forwardRef)(u);return h[rk]=l,h}({...rj(t)?rJ:r0,preloadedFeatures:i9,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>
1{let o=(rj(e)?function(t,e,i,n){let r=(0,nt.useMemo)(()=>{let i=r$();return rq(i,e,rH(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};r1(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return r1(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,nt.useMemo)(()=>{let i=rz();return rI(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,s,e),a=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(r3(r)||!0===i&&r2(r)||!e&&!r2(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),l=e!==nt.Fragment?{...a,...o,ref:n}:{},{children:u}=i,h=(0,nt.useMemo)(()=>ts(u)?u.get():u,[u]);return(0,nt.createElement)(e,{...l,children:h})}}(e),createVisualElement:i8,Component:t})}))},34975:(t,e,i)=>{"use strict";i.d(e,{q:()=>a});var n=i(74268),r=i(38559),s=i(34049),o=i(38445),a=class extends o.Q{constructor(t={}){super(),this.config=t,this.#t=new Set,this.#e=new Map,this.#i=0}#t;#e;#i;build(t,e,i){let n=new r.s({mutationCache:this,mutationId:++this.#i,options:t.defaultMutationOptions(e),state:i});return this.add(n),n}add(t){this.#t.add(t);let e=l(t);if("string"==typeof e){let i=this.#e.get(e);i?i.push(t):this.#e.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){let e=l(t);if("string"==typeof e){let i=this.#e.get(e);if(i)if(i.length>1){let e=i.indexOf(t);-1!==e&&i.splice(e,1)}else i[0]===t&&this.#e.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){let e=l(t);if("string"!=typeof e)return!0;{let i=this.#e.get(e),n=i?.find(t=>"pending"===t.state.status);return!n||n===t}}runNext(t){let e=l(t);if("string"!=typeof e)return Promise.resolve();{let i=this.#e.get(e)?.find(e=>
1e!==t&&e.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){n.jG.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,s.nJ)(e,t))}findAll(t={}){return this.getAll().filter(e=>(0,s.nJ)(t,e))}notify(t){n.jG.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return n.jG.batch(()=>Promise.all(t.map(t=>t.continue().catch(s.lQ))))}};function l(t){return t.options.scope?.id}},41402:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return v},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return m}});let n=i(30943),r=i(88604),s=i(95155),o=n._(i(47650)),a=r._(i(12115)),l=i(82073),u=i(94681),h=i(4853),c=new Map,d=new Set,p=t=>{let{src:e,id:i,onLoad:n=()=>{},onReady:r=null,dangerouslySetInnerHTML:s,children:a="",strategy:l="afterInteractive",onError:h,stylesheets:p}=t,f=i||e;if(f&&d.has(f))return;if(c.has(e)){d.add(f),c.get(e).then(n,h);return}let m=()=>{r&&r(),d.add(f)},g=document.createElement("script"),v=new Promise((t,e)=>{g.addEventListener("load",function(e){t(),n&&n.call(this,e),m()}),g.addEventListener("error",function(t){e(t)})}).catch(function(t){h&&h(t)});s?(g.innerHTML=s.__html||"",m()):a?(g.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",m()):e&&(g.src=e,c.set(e,v)),(0,u.setAttributesFromProps)(g,t),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),p&&(t=>{if(o.default.preinit)return t.forEach(t=>{o.default.preinit(t,{as:"style"})});{let e=document.head;t.forEach(t=>{let i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=t,e.appendChild(i)})}})(p),document.body.appendChild(g)};function f(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(t))}):p(t)}function m(t){t.forEach(f),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let e=t.id||t.getAttribute("src");d.add(e)})}function g(t){let{id:e,src:i="",onLoad:n=()=>{},onReady:r=null,strategy:u="afterInteractive",onError:c,stylesheets:f,...m}=t,{updateScripts:g,scripts:v,getIsSsr:y,appDir:w,nonce:b}=(0,a.useContext)(l.HeadManagerContext);b=m.nonce||b;let x=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let t=e||i;x.current||(r&&t&&d.has(t)&&r(),x.current=!0)},[r,e,i]);let S=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{if(!S.current){if("afterInteractive"===u)p(t);else"lazyOnload"===u&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>p(t)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(t))}));S.current=!0}},[t,u]),("beforeInteractive"===u||"worker"===u)&&(g?(v[u]=(v[u]||[]).concat([{id:e,src:i,onLoad:n,onReady:r,onError:c,...m,nonce:b}]),g(v)):y&&y()?d.add(e||i):y&&!y()&&p({...t,nonce:b})),w){if(f&&f.forEach(t=>{o.default.preinit(t,{as:"style"})}),"beforeInteractive"===u)if(!i)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:e}])+")"}});else return o.default.preload(i,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin}),(0,s.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([i,{...m,id:e}])+")"}});"afterInteractive"===u&&i&&o.default.preload(i,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let v=g;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},45688:(t,e,i)=>{"use strict";var n=i(87358);i(86340);var r=i(12115),s=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(r),o=void 0!==n&&n.env&&!0,a=function(t){return"[object String]"===Object.prototype.toString.call(t)},l=function(){function t(t){var e=void 0===t?{}:t,i=e.name,n=void 0===i?"stylesheet":i,r=e.optimizeForSpeed,s=void 0===r?o:r;u(a(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var e,i=t.prototype;return i.setOptimizeForSpeed=function(t){u("boolean"==typeof t,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=t,this.inject()},i.isOptimizeForSpeed=function(){return this._optimizeForSpeed},i.inject=function(){var t=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(e,i){return"number"==typeof i?t._serverSheet.cssRules[i]={cssText:e}:t._serverSheet.cssRules.push({cssText:e}),i},deleteRule:function(e){t._serverSheet.cssRules[e]=null}}},i.getSheetForTag=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]},i.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},i.insertRule=function(t,e){if(u(a(t),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof e&&(e=this._serverSheet.cssRules.length),this._serverSheet.insertRule(t,e),this._rulesCount++;if(this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof e&&(e=i.cssRules.length);try{i.insertRule(t,e)}catch(e){return o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[e];this._tags.push(this.makeStyleTag(this._name,t,n))}return this._rulesCount++},i.replaceRule=function(t,e){if(this._optimizeForSpeed||"undefined"==typeof window){var i="undefined"!=typeof window?this.getSheet():this._serverSheet;if(e.trim()||(e=this._deletedRulePlaceholder),!i.cssRules[t])return t;i.deleteRule(t);try{i.insertRule(e,t)}catch(n){o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),i.insertRule(this._deletedRulePlaceholder,t)}}else{var n=this._tags[t];u(n,"old rule at index `"+t+"` not found"),n.textContent=e}return t},i.deleteRule=function(t){if("undefined"==typeof window)return void this._serverSheet.deleteRule(t);if(this._optimizeForSpeed)this.replaceRule(t,"");else{var e=this._tags[t];u(e,"rule at index `"+t+"` not found"),e.parentNode.removeChild(e),this._tags[t]=null}},i.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
1h(function(t){return t&&t.parentNode.removeChild(t)}),this._tags=[]):this._serverSheet.cssRules=[]},i.cssRules=function(){var t=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(e,i){return i?e=e.concat(Array.prototype.map.call(t.getSheetForTag(i).cssRules,function(e){return e.cssText===t._deletedRulePlaceholder?null:e})):e.push(null),e},[])},i.makeStyleTag=function(t,e,i){e&&u(a(e),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+t,""),e&&n.appendChild(document.createTextNode(e));var r=document.head||document.getElementsByTagName("head")[0];return i?r.insertBefore(n,i):r.appendChild(n),n},e=[{key:"length",get:function(){return this._rulesCount}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(t.prototype,e),t}();function u(t,e){if(!t)throw Error("StyleSheet: "+e+".")}var h=function(t){for(var e=5381,i=t.length;i;)e=33*e^t.charCodeAt(--i);return e>>>0},c={};function d(t,e){if(!e)return"jsx-"+t;var i=String(e),n=t+i;return c[n]||(c[n]="jsx-"+h(t+"-"+i)),c[n]}function p(t,e){"undefined"==typeof window&&(e=e.replace(/\/style/gi,"\\/style"));var i=t+e;return c[i]||(c[i]=e.replace(/__jsx-style-dynamic-selector/g,t)),c[i]}var f=function(){function t(t){var e=void 0===t?{}:t,i=e.styleSheet,n=void 0===i?null:i,r=e.optimizeForSpeed,s=void 0!==r&&r;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),n&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var e=t.prototype;return e.add=function(t){var e=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(t.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(t,e){return t[e]=0,t},{}));var i=this.getIdAndRules(t),n=i.styleId,r=i.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var s=r.map(function(t){return e._sheet.insertRule(t)}).filter(function(t){return -1!==t});this._indices[n]=s,this._instancesCounts[n]=1},e.remove=function(t){var e=this,i=this.getIdAndRules(t).styleId;if(function(t,e){if(!t)throw Error("StyleSheetRegistry: "+e+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var n=this._fromServer&&this._fromServer[i];n?(n.parentNode.removeChild(n),delete this._fromServer[i]):(this._indices[i].forEac
1h(function(t){return e._sheet.deleteRule(t)}),delete this._indices[i]),delete this._instancesCounts[i]}},e.update=function(t,e){this.add(e),this.remove(t)},e.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},e.cssRules=function(){var t=this,e=this._fromServer?Object.keys(this._fromServer).map(function(e){return[e,t._fromServer[e]]}):[],i=this._sheet.cssRules();return e.concat(Object.keys(this._indices).map(function(e){return[e,t._indices[e].map(function(t){return i[t].cssText}).join(t._optimizeForSpeed?"":"\n")]}).filter(function(t){return!!t[1]}))},e.styles=function(t){var e,i;return e=this.cssRules(),void 0===(i=t)&&(i={}),e.map(function(t){var e=t[0],n=t[1];return s.default.createElement("style",{id:"__"+e,key:"__"+e,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},e.getIdAndRules=function(t){var e=t.children,i=t.dynamic,n=t.id;if(i){var r=d(n,i);return{styleId:r,rules:Array.isArray(e)?e.map(function(t){return p(r,t)}):[p(r,e)]}}return{styleId:d(n),rules:Array.isArray(e)?e:[e]}},e.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(t,e){return t[e.id.slice(2)]=e,t},{})},t}(),m=r.createContext(null);m.displayName="StyleSheetContext";var g=s.default.useInsertionEffect||s.default.useLayoutEffect,v="undefined"!=typeof window?new f:void 0;function y(t){var e=v||r.useContext(m);return e&&("undefined"==typeof window?e.add(t):g(function(){return e.add(t),function(){e.remove(t)}},[t.id,String(t.dynamic)])),null}y.dynamic=function(t){return t.map(function(t){return d(t[0],t[1])}).join(" ")},e.style=y},52166:(t,e,i)=>{"use strict";i.d(e,{EN:()=>L,_q:()=>O,kS:()=>V});var n,r=i(62088),s=i(96357),o=i(12115),a=i(3538),l=i(53182),u=i(99900),h=i(80490),c=i(17342),d=i(22369),p=i(84931),f=i(55668),m=i(88476),g=i(50025),v=i(20536),y=i(85986),w=i(69159);let b=null!=(n=o.startTransition)?n:function(t){t()};var x=i(88499),S=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(S||{}),P=(t=>(t[t.ToggleDisclosure=0]="ToggleDisclosure",t[t.CloseDisclosure=1]="CloseDisclosure",t[t.SetButtonId=2]="SetButtonId",t[t.SetPanelId=3]="SetPanelId",t[t.SetButtonElement=4]="SetButtonElement",t[t.SetPanelElement=5]="SetPanelElement",t))(P||{});let T={0:t=>({...t,disclosureState:(0,v.Y)(t.disclosureState,{0:1,1:0})}),1:t=>1===t.disclosureState?t:{...t,disclosureState:1},2:(t,e)=>t.buttonId===e.buttonId?t:{...t,buttonId:e.buttonId},3:(t,e)=>t.panelId===e.panelId?t:{...t,panelId:e.panelId},4:(t,e)=>t.buttonElement===e.element?t:{...t,buttonElement:e.element},5:(t,e)=>t.panelElement===e.element?t:{...t,panelElement:e.element}},E=(0,o.createContext)(null);function A(t){let e=(0,o.useContext)(E);if(null===e){let e=Error("<".concat(t," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(e,A),e}return e}E.displayName="DisclosureContext";let C=(0,o.createContext)(null);C.displayName="DisclosureAPIContext";let k=(0,o.createContext)(null);function M(t,e){return(0,v.Y)(e.type,T,t,e)}k.displayName="DisclosurePanelContext";let D=o.Fragment,R=w.Ac.RenderStrategy|w.Ac.Static,j=(0,w.FX)(function(t,e){let{defaultOpen:i=!1,...n}=t,r=(0,o.useRef)(null),s=(0,c.P)(e,(0,c.a)(t=>{r.current=t},void 0===t.as||(0,w.zv)(t.as))),a=(0,o.useReducer)(M,{disclosureState:+!i,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:u,buttonId:d},m]=a,b=(0,l._)(t=>{m({type:1});let e=(0,y.TW)(r.current);if(!e||!d)return;let i=t?g.Lk(t)?t:"current"in t&&g.Lk(t.current)?t.current:e.getElementById(d):e.getElementById(d);null==i||i.focus()}),x=(0,o.useMemo)(()=>({close:b}),[b]),S=(0,h._)({open:0===u,close:b}),P=(0,w.Ci)();return o.createElement(E.Provider,{value:a},o.createElement(C.Provider,{value:x},o.createElement(p.e,{value:b},o.createElement(f.El,{value:(0,v.Y)(u,{0:f.Uw.Open,1:f.Uw.Closed})},P({ourProps:{ref:s},theirProps:n,slot:S,defaultTag:D,name:"Disclosure"})))))}),O=(0,w.FX)(function(t,e){let i=(0,o.useId)(),{id:n="headlessui-disclosure-button-".concat(i),disabled:d=!1,autoFocus:p=!1,...f}=t,[g,v]=A("Disclosure.Button"),y=(0,o.useContext)(k),b=null!==y&&y===g.panelId,S=(0,o.useRef)(null),P=(0,c.P)(S,e,(0,l._)(t=>{if(!b)return v({type:4,element:t})}));(0,o.useEffect)(()=>
1{if(!b)return v({type:2,buttonId:n}),()=>{v({type:2,buttonId:null})}},[n,v,b]);let T=(0,l._)(t=>{var e;if(b){if(1===g.disclosureState)return;switch(t.key){case x.D.Space:case x.D.Enter:t.preventDefault(),t.stopPropagation(),v({type:0}),null==(e=g.buttonElement)||e.focus()}}else switch(t.key){case x.D.Space:case x.D.Enter:t.preventDefault(),t.stopPropagation(),v({type:0})}}),E=(0,l._)(t=>{t.key===x.D.Space&&t.preventDefault()}),C=(0,l._)(t=>{var e;(0,m.l)(t.currentTarget)||d||(b?(v({type:0}),null==(e=g.buttonElement)||e.focus()):v({type:0}))}),{isFocusVisible:M,focusProps:D}=(0,r.o)({autoFocus:p}),{isHovered:R,hoverProps:j}=(0,s.M)({isDisabled:d}),{pressed:O,pressProps:V}=(0,a.Z)({disabled:d}),L=(0,h._)({open:0===g.disclosureState,hover:R,active:O,disabled:d,focus:M,autofocus:p}),F=(0,u.c)(t,g.buttonElement),_=b?(0,w.v6)({ref:P,type:F,disabled:d||void 0,autoFocus:p,onKeyDown:T,onClick:C},D,j,V):(0,w.v6)({ref:P,id:n,type:F,"aria-expanded":0===g.disclosureState,"aria-controls":g.panelElement?g.panelId:void 0,disabled:d||void 0,autoFocus:p,onKeyDown:T,onKeyUp:E,onClick:C},D,j,V);return(0,w.Ci)()({ourProps:_,theirProps:f,slot:L,defaultTag:"button",name:"Disclosure.Button"})}),V=(0,w.FX)(function(t,e){let i=(0,o.useId)(),{id:n="headlessui-disclosure-panel-".concat(i),transition:r=!1,...s}=t,[a,u]=A("Disclosure.Panel"),{close:p}=function t(e){let i=(0,o.useContext)(C);if(null===i){let i=Error("<".concat(e," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return i}("Disclosure.Panel"),[m,g]=(0,o.useState)(null),v=(0,c.P)(e,(0,l._)(t=>{b(()=>u({type:5,element:t}))}),g);(0,o.useEffect)(()=>(u({type:3,panelId:n}),()=>{u({type:3,panelId:null})}),[n,u]);let y=(0,f.O_)(),[x,S]=(0,d.p)(r,m,null!==y?(y&f.Uw.Open)===f.Uw.Open:0===a.disclosureState),P=(0,h._)({open:0===a.disclosureState,close:p}),T={ref:v,id:n,...(0,d.B)(S)},E=(0,w.Ci)();return o.createElement(f.$x,null,o.createElement(k.Provider,{value:a.panelId},E({ourProps:T,theirProps:s,slot:P,defaultTag:"div",features:R,visible:x,name:"Disclosure.Panel"})))}),L=Object.assign(j,{Button:O,Panel:V})},53127:(t,e,i)=>{"use strict";i.d(e,{Q:()=>n});let n=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},54400:t=>{t.exports={style:{fontFamily:"'IBM Plex Sans', 'IBM Plex Sans Fallback'",fontWeight:600,fontStyle:"normal"},className:"__className_5e6821",variable:"__variable_5e6821"}},56724:(t,e,i)=>{"use strict";i.d(e,{k5:()=>h});var n=i(12115),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(r),o=["attr","size","title"];function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function u(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){var n,r,s;n=t,r=e,s=i[e],(r=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(r))in n?Object.defineProperty(n,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[r]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function h(t){return e=>n.createElement(c,a({attr:u({},t.attr)},e),function t(e){return e&&e.map((e,i)=>n.createElement(e.tag,u({key:i},e.attr),t(e.child)))}(t.child))}function c(t){var e=e=>{var i,{attr:r,size:s,title:l}=t,h=function(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;i[n]=t[n]}return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}(t,o),c=s||e.size||"1em";return e.className&&(i=e.className),t.className&&(i=(i?i+" ":"")+t.className),n.createElement("svg",a({stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0"},e.attr,r,h,{className:i,style:u(u({color:t.color||e.color},e.style),t.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&n.createElement("title",null,l),t.children)};return void 0!==s?n.createElement(s.Consumer,null,t=>e(t)):e(r)}},59686:(t,e,i)=>{"use strict";i.d(e,{t:()=>n});let n=(0,i(12115).createContext)(null)},60296:(t,e,i)=>{"use strict";i.d(e,{L:()=>n});let n=(0,i(12115).createContext)({})},64034:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"}))})},66810:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",clipRule:"evenodd"}))})},70642:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.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:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"}))})},71408:(t,e,i)=>{"use strict";i.d(e,{N:()=>v});var n=i(95155),r=i(12115),s=i(60296),o=i(94416),a=i(59686),l=i(53127);class u extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=t instanceof HTMLElement&&t.offsetWidth||0,n=this.props.sizeRef.current;n.height=e.offsetHeight||0,n.width=e.offsetWidth||0,n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function h(t){let{children:e,isPresent:i,anchorX:s}=t,o=(0,r.useId)(),a=(0,r.useRef)(null),h=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,r.useContext)(l.Q);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:r,right:l}=h.current;if(i||!a.current||!t||!e)return;a.current.dataset.motionPopId=o;let u=document.createElement("style");return c&&(u.nonce=c),document.head.appendChild(u),u.sheet&&u.sheet.insertRule('\n [data-motion-pop-id="'.concat(o,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===s?"left: ".concat(r):"right: ".concat(l),"px !important;\n top: ").concat(n,"px !important;\n }\n ")),()=>{document.head.removeChild(u)}},[i]),(0,n.jsx)(u,{isPresent:i,childRef:a,sizeRef:h,children:r.cloneElement(e,{ref:a})})}let c=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:l,custom:u,presenceAffectsLayout:c,mode:p,anchorX:f}=t,m=(0,o.M)(d),g=(0,r.useId)(),v=(0,r.useCallback)(t=>
1{for(let e of(m.set(t,!0),m.values()))if(!e)return;l&&l()},[m,l]),y=(0,r.useMemo)(()=>({id:g,initial:i,isPresent:s,custom:u,onExitComplete:v,register:t=>(m.set(t,!1),()=>m.delete(t))}),c?[Math.random(),v]:[s,v]);return(0,r.useMemo)(()=>{m.forEach((t,e)=>m.set(e,!1))},[s]),r.useEffect(()=>{s||m.size||!l||l()},[s]),"popLayout"===p&&(e=(0,n.jsx)(h,{isPresent:s,anchorX:f,children:e})),(0,n.jsx)(a.t.Provider,{value:y,children:e})};function d(){return new Map}var p=i(75601);let f=t=>t.key||"";function m(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}var g=i(86553);let v=t=>{let{children:e,custom:i,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:d=!1,anchorX:v="left"}=t,[y,w]=(0,p.xQ)(d),b=(0,r.useMemo)(()=>m(e),[e]),x=d&&!y?[]:b.map(f),S=(0,r.useRef)(!0),P=(0,r.useRef)(b),T=(0,o.M)(()=>new Map),[E,A]=(0,r.useState)(b),[C,k]=(0,r.useState)(b);(0,g.E)(()=>{S.current=!1,P.current=b;for(let t=0;t<C.length;t++){let e=f(C[t]);x.includes(e)?T.delete(e):!0!==T.get(e)&&T.set(e,!1)}},[C,x.length,x.join("-")]);let M=[];if(b!==E){let t=[...b];for(let e=0;e<C.length;e++){let i=C[e],n=f(i);x.includes(n)||(t.splice(e,0,i),M.push(i))}"wait"===h&&M.length&&(t=M),k(m(t)),A(b);return}let{forceRender:D}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:C.map(t=>{let e=f(t),r=(!d||!!y)&&(b===C||x.includes(e));return(0,n.jsx)(c,{isPresent:r,initial:(!S.current||!!a)&&void 0,custom:r?void 0:i,presenceAffectsLayout:u,mode:h,onExitComplete:r?void 0:()=>{if(!T.has(e))return;T.set(e,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(null==D||D(),k(P.current),d&&(null==w||w()),l&&l())},anchorX:v,children:t},e)})})}},73687:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{d:"M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"}),n.createElement("path",{d:"M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"}))})},75601:(t,e,i)=>{"use strict";i.d(e,{xQ:()=>s});var n=i(12115),r=i(59686);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{t&&a(l)},[t]);let u=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},76604:(t,e,i)=>{"use strict";function n(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}i.d(e,{A:()=>n})},78207:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.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:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))})},84931:(t,e,i)=>{"use strict";i.d(e,{e:()=>s});var n=i(12115);let r=(0,n.createContext)(()=>{});function s(t){let{value:e,children:i}=t;return n.createElement(r.Provider,{value:e},i)}},86340:()=>{},86553:(t,e,i)=>{"use strict";i.d(e,{E:()=>r});var n=i(12115);let r=i(33577).B?n.useLayoutEffect:n.useEffect},86779:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(33861);function r(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=(0,n.A)(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==(0,n.A)(e)?e:e+""}},87324:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{d:"M12.378 1.602a.75.75 0 0 0-.756 0L3 6.632l9 5.25 9-5.25-8.622-5.03ZM21.75 7.93l-9 5.25v9l8.628-5.032a.75.75 0 0 0 .372-.648V7.93ZM11.25 22.18v-9l-9-5.25v8.57a.75.75 0 0 0 .372.648l8.628 5.033Z"}))})},88661:(t,e,i)=>{"use strict";t.exports=i(45688).style},89500:(t,e,i)=>{"use strict";i.d(e,{E:()=>p});var n=i(34049),r=i(31668),s=i(74268),o=i(38445),a=class extends o.Q{constructor(t={}){super(),this.config=t,this.#n=new Map}#n;build(t,e,i){let s=e.queryKey,o=e.queryHash??(0,n.F$)(s,e),a=this.get(o);return a||(a=new r.X({client:t,queryKey:s,queryHash:o,options:t.defaultQueryOptions(e),state:i,defaultOptions:t.getQueryDefaults(s)}),this.add(a)),a}add(t){this.#n.has(t.queryHash)||(this.#n.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#n.get(t.queryHash);
1e&&(t.destroy(),e===t&&this.#n.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){s.jG.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#n.get(t)}getAll(){return[...this.#n.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,n.MK)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,n.MK)(t,e)):e}notify(t){s.jG.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){s.jG.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){s.jG.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},l=i(34975),u=i(56195),h=i(63122);function c(t){return{onFetch:(e,i)=>{let r=e.options,s=e.fetchOptions?.meta?.fetchMore?.direction,o=e.state.data?.pages||[],a=e.state.data?.pageParams||[],l={pages:[],pageParams:[]},u=0,h=async()=>{let i=!1,h=(0,n.ZM)(e.options,e.fetchOptions),c=async(t,r,s)=>{if(i)return Promise.reject();if(null==r&&t.pages.length)return Promise.resolve(t);let o={client:e.client,queryKey:e.queryKey,pageParam:r,direction:s?"backward":"forward",meta:e.options.meta};Object.defineProperty(o,"signal",{enumerable:!0,get:()=>(e.signal.aborted?i=!0:e.signal.addEventListener("abort",()=>{i=!0}),e.signal)});let a=await h(o),{maxPages:l}=e.options,u=s?n.ZZ:n.y9;return{pages:u(t.pages,a,l),pageParams:u(t.pageParams,r,l)}};if(s&&o.length){let t="backward"===s,e={pages:o,pageParams:a},i=(t?function(t,{pages:e,pageParams:i}){return e.length>0?t.getPreviousPageParam?.(e[0],e,i[0],i):void 0}:d)(r,e);l=await c(e,i,t)}else{let e=t??o.length;do{let t=0===u?a[0]??r.initialPageParam:d(r,l);if(u>0&&null==t)break;l=await c(l,t),u++}while(u<e)}return l};e.options.persister?e.fetchFn=()=>e.options.persister?.(h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},i):e.fetchFn=h}}}function d(t,{pages:e,pageParams:i}){let n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,i[n],i):void 0}var p=class{#r;#s;#o;#a;#l;#u;#h;#c;constructor(t={}){this.#r=t.queryCache||new a,this.#s=t.mutationCache||new l.q,this.#o=t.defaultOptions||{},this.#a=new Map,this.#l=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#h=u.m.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#r.onFocus())}),this.#c=h.t.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#r.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#h?.(),this.#h=void 0,this.#c?.(),this.#c=void 0)}isFetching(t){return this.#r.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#s.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#r.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),i=this.#r.build(this,e),r=i.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime((0,n.d2)(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#r.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,i){let r=this.defaultQueryOptions({queryKey:t}),s=this.#r.get(r.queryHash),o=s?.state.data,a=(0,n.Zw)(e,o);if(void 0!==a)return this.#r.build(this,r).setData(a,{...i,manual:!0})}setQueriesData(t,e,i){return s.jG.batch(()=>this.#r.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,i)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#r.get(e.queryHash)?.state}removeQueries(t){let e=this.#r;s.jG.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let i=this.#r;return s.jG.batch(()=>(i.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){let i={revert:!0,...e};return Promise.all(s.jG.batch(()=>this.#r.findAll(t).map(t=>t.cancel(i)))).then(n.lQ).catch(n.lQ)}invalidateQueries(t,e={}){return s.jG.batch(()=>(this.#r.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,e={}){let i={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(s.jG.batch(()=>this.#r.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,i);return i.throwOnError||(e=e.catch(n.lQ)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(n.lQ)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let i=this.#r.build(this,e);return i.isStaleByTime((0,n.d2)(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(n.lQ).catch(n.lQ)}fetchInfiniteQuery(t){return t.behavior=c(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(n.lQ).catch(n.lQ)}ensureInfiniteQueryData(t){return t.behavior=c(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return h.t.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#r}getMutationCache(){return this.#s}getDefaultOptions(){return this.#o}setDefaultOptions(t){this.#o=t}setQueryDefaults(t,e){this.#a.set((0,n.EN)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#a.values()],i={};
1return e.forEach(e=>{(0,n.Cp)(t,e.queryKey)&&Object.assign(i,e.defaultOptions)}),i}setMutationDefaults(t,e){this.#l.set((0,n.EN)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#l.values()],i={};return e.forEach(e=>{(0,n.Cp)(t,e.mutationKey)&&Object.assign(i,e.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#o.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,n.F$)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===n.hT&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#o.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#r.clear(),this.#s.clear()}}},91557:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM6.262 6.072a8.25 8.25 0 1 0 10.562-.766 4.5 4.5 0 0 1-1.318 1.357L14.25 7.5l.165.33a.809.809 0 0 1-1.086 1.085l-.604-.302a1.125 1.125 0 0 0-1.298.21l-.132.131c-.439.44-.439 1.152 0 1.591l.296.296c.256.257.622.374.98.314l1.17-.195c.323-.054.654.036.905.245l1.33 1.108c.32.267.46.694.358 1.1a8.7 8.7 0 0 1-2.288 4.04l-.723.724a1.125 1.125 0 0 1-1.298.21l-.153-.076a1.125 1.125 0 0 1-.622-1.006v-1.089c0-.298-.119-.585-.33-.796l-1.347-1.347a1.125 1.125 0 0 1-.21-1.298L9.75 12l-1.64-1.64a6 6 0 0 1-1.676-3.257l-.172-1.03Z",clipRule:"evenodd"}))})},91708:(t,e,i)=>{"use strict";i.d(e,{A:()=>P});var n=i(76604),r=i(29460),s=[],o=s.forEach,a=s.slice,l=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,u=function(t,e,i){var n=i||{};n.path=n.path||"/";var r=encodeURIComponent(e),s="".concat(t,"=").concat(r);if(n.maxAge>0){var o=n.maxAge-0;if(Number.isNaN(o))throw Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(o))}if(n.domain){if(!l.test(n.domain))throw TypeError("option domain is invalid");s+="; Domain=".concat(n.domain)}if(n.path){if(!l.test(n.path))throw TypeError("option path is invalid");s+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw TypeError("option expires is invali
1d");s+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s},h={create:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};i&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*i*1e3)),n&&(r.domain=n),document.cookie=u(t,encodeURIComponent(e),r)},read:function(t){for(var e="".concat(t,"="),i=document.cookie.split(";"),n=0;n<i.length;n++){for(var r=i[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(e))return r.substring(e.length,r.length)}return null},remove:function(t){this.create(t,"",-1)}},c={name:"cookie",lookup:function(t){var e;if(t.lookupCookie&&"undefined"!=typeof document){var i=h.read(t.lookupCookie);i&&(e=i)}return e},cacheUserLanguage:function(t,e){e.lookupCookie&&"undefined"!=typeof document&&h.create(e.lookupCookie,t,e.cookieMinutes,e.cookieDomain,e.cookieOptions)}},d={name:"querystring",lookup:function(t){var e;if("undefined"!=typeof window){var i=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=i.substring(1).split("&"),r=0;r<n.length;r++){var s=n[r].indexOf("=");s>0&&n[r].substring(0,s)===t.lookupQuerystring&&(e=n[r].substring(s+1))}}return e}},p=null,f=function(){if(null!==p)return p;try{p="undefined"!==window&&null!==window.localStorage;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch(t){p=!1}return p},m={name:"localStorage",lookup:function(t){var e;if(t.lookupLocalStorage&&f()){var i=window.localStorage.getItem(t.lookupLocalStorage);i&&(e=i)}return e},cacheUserLanguage:function(t,e){e.lookupLocalStorage&&f()&&window.localStorage.setItem(e.lookupLocalStorage,t)}},g=null,v=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.sessionStorage;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch(t){g=!1}return g},y={name:"sessionStorage",lookup:function(t){var e;if(t.lookupSessionStorage&&v()){var i=window.sessionStorage.getItem(t.lookupSessionStorage);i&&(e=i)}return e},cacheUserLanguage:function(t,e){e.lookupSessionStorage&&v()&&window.sessionStorage.setItem(e.lookupSessionStorage,t)}},w={name:"navigator",lookup:function(t){var e=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var i=0;i<navigator.languages.length;i++)e.push(navigator.languages[i]);navigator.userLanguage&&e.push(navigator.userLanguage),navigator.language&&e.push(navigator.language)}return e.length>0?e:void 0}},b={name:"htmlTag",lookup:function(t){var e,i=t.htmlTag||("undefined"!=typeof document?document.documentElement:null);return i&&"function"==typeof i.getAttribute&&(e=i.getAttribute("lang")),e}},x={name:"path",lookup:function(t){var e;if("undefined"!=typeof window){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if("number"==typeof t.lookupFromPathIndex){if("string"!=typeof i[t.lookupFromPathIndex])return;e=i[t.lookupFromPathIndex].replace("/","")}else e=i[0].replace("/","")}return e}},S={name:"subdomain",lookup:function(t){var e="number"==typeof t.lookupFromSubdomainIndex?t.lookupFromSubdomainIndex+1:1,i="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[e]}},P=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.A)(this,t),this.type="languageDetector",this.detectors={},this.init(e,i)}return(0,r.A)(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=t||{languageUtils:{}}
1,this.options=function(t){return o.call(a.call(arguments,1),function(e){if(e)for(var i in e)void 0===t[i]&&(t[i]=e[i])}),t}(e,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(t){return t.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(c),this.addDetector(d),this.addDetector(m),this.addDetector(y),this.addDetector(w),this.addDetector(b),this.addDetector(x),this.addDetector(S)}},{key:"addDetector",value:function(t){this.detectors[t.name]=t}},{key:"detect",value:function(t){var e=this;t||(t=this.options.order);var i=[];return(t.forEach(function(t){if(e.detectors[t]){var n=e.detectors[t].lookup(e.options);n&&"string"==typeof n&&(n=[n]),n&&(i=i.concat(n))}}),i=i.map(function(t){return e.options.convertDetectedLanguage(t)}),this.services.languageUtils.getBestMatchFromCodes)?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(t,e){var i=this;e||(e=this.options.caches),e&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||e.forEach(function(e){i.detectors[e]&&i.detectors[e].cacheUserLanguage(t,i.options)}))}}]),t}();P.type="languageDetector"},92297:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3V6ZM3 15.75a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-2.25Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3v-2.25Z",clipRule:"evenodd"}))})},94416:(t,e,i)=>{"use strict";i.d(e,{M:()=>r});var n=i(12115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},96059:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(12115);let r=n.forwardRef(function(t,e){let{title:i,titleId:r,...s}=t;return n.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:e,"aria-labelledby":r},s),i?n.createElement("title",{id:r},i):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))})}}]);
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.