a(c,t))e[r]=c,e[s]=t,r=s;else break e}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(C),C=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-Ne||125u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(C),C=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},14616:function(e,n,t){e.exports=t(46475)}}]);
+//# sourceMappingURL=framework-0f3330e6efb75f4c.js.map
\ No newline at end of file
diff --git a/a4_se_post_instabox/public/Static_zy/_next/static/chunks/main-8c96dfafccc9fb4f.js b/a4_se_post_instabox/public/Static_zy/_next/static/chunks/main-8c96dfafccc9fb4f.js
new file mode 100644
index 0000000..3905ae1
--- /dev/null
+++ b/a4_se_post_instabox/public/Static_zy/_next/static/chunks/main-8c96dfafccc9fb4f.js
@@ -0,0 +1,2 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{11541:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})})},33890:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(40582),a=r(8314);function o(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92265:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(8314),a=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),o=1;o{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,a="";if(n){let{children:e}=n.props;a="string"==typeof e?e:Array.isArray(e)?e.join(""):""}a!==document.title&&(document.title=a),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),l=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-l.length+s.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74536:function(e,t,r){"use strict";let n,a,o,i,l,u,s,c,f,d,h,p;Object.defineProperty(t,"__esModule",{value:!0});let m=r(16794);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return F},router:function(){return n},emitter:function(){return W},initialize:function(){return V},hydrate:function(){return ei}});let g=r(43219);r(11541);let y=g._(r(2784)),_=g._(r(17029)),v=r(85510),b=g._(r(69491)),P=r(63981),w=r(61418),E=r(87163),S=r(68730),O=r(83342),j=r(38119),x=r(96273),R=g._(r(18458)),C=g._(r(87971)),A=g._(r(28123)),M=r(56248),L=r(16244),T=r(10274),I=r(49910),N=r(75083),k=r(69915),D=r(29950),B=r(58157),H=r(61452),U=g._(r(53863)),F="13.4.4",W=(0,b.default)(),q=e=>[].slice.call(e),z=!1;self.__next_require__=r;class G extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&((0,E.isDynamicRoute)(n.pathname)||location.search,1)||a.props&&a.props.__N_SSG&&(location.search,1))&&n.replace(n.pathname+"?"+String((0,S.assign)((0,S.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!z}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function V(e){void 0===e&&(e={}),a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,p=a.defaultLocale;let t=a.assetPrefix||"";r.p=""+t+"/_next/",(0,O.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=(0,j.getURL)(),(0,k.hasBasePath)(o)&&(o=(0,N.removeBasePath)(o));{let{normalizeLocalePath:e}=r(10245),{detectDomainLocale:t}=r(69451),{parseRelativeUrl:n}=r(35964),{formatUrl:i}=r(42612);if(a.locales){let r=n(o),l=e(r.pathname,a.locales);l.detectedLocale?(r.pathname=l.pathname,o=i(r)):p=a.locale;let u=t(void 0,window.location.hostname);u&&(p=u.defaultLocale)}}if(a.scriptLoader){let{initScriptLoader:e}=r(72568);e(a.scriptLoader)}i=new C.default(a.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(u=(0,R.default)()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:t}}function $(e,t){return y.default.createElement(e,t)}function X(e){var t;let{children:r}=e;return y.default.createElement(G,{fn:e=>K({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e))},y.default.createElement(D.AppRouterContext.Provider,{value:(0,B.adaptForAppRouterInstance)(n)},y.default.createElement(H.SearchParamsContext.Provider,{value:(0,B.adaptForSearchParams)(n)},y.default.createElement(B.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},y.default.createElement(P.RouterContext.Provider,{value:(0,L.makePublicRouterInstance)(n)},y.default.createElement(v.HeadManagerContext.Provider,{value:u},y.default.createElement(I.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}},r)))))))}let Y=e=>t=>{let r={...t,Component:h,err:a.err,router:n};return y.default.createElement(X,null,$(e,r))};function K(e){let{App:t,err:l}=e;return console.error(l),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:a,styleSheets:o}=n;return(null==s?void 0:s.Component)===a?Promise.resolve().then(()=>m._(r(61360))).then(n=>Promise.resolve().then(()=>m._(r(96751))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:a,styleSheets:o}}).then(r=>{var i;let{ErrorComponent:u,styleSheets:s}=r,c=Y(t),f={Component:u,AppTree:c,router:n,ctx:{err:l,pathname:a.page,query:a.query,asPath:o,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,j.loadGetInitialProps)(t,f)).then(t=>ea({...e,err:l,Component:u,styleSheets:s,props:t}))})}function Q(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let J=null,Z=!0;function ee(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(e=>performance.clearMarks(e))}function et(){j.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),d&&performance.getEntriesByName("Next.js-hydration").forEach(d),ee())}function er(){if(!j.ST)return;performance.mark("afterRender");let e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),d&&(performance.getEntriesByName("Next.js-render").forEach(d),performance.getEntriesByName("Next.js-route-change-to-render").forEach(d)),ee(),["Next.js-route-change-to-render","Next.js-render"].forEach(e=>performance.clearMeasures(e)))}function en(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,A.default)(d)},[]),r}function ea(e){let t,{App:r,Component:a,props:o,err:i}=e,u="initial"in e?void 0:e.styleSheets;a=a||s.Component,o=o||s.props;let f={...o,Component:a,err:i,router:n};s=f;let d=!1,h=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function p(){t()}!function(){if(!u)return;let e=q(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");u.forEach(e=>{let{href:r,text:a}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(a))}})}();let m=y.default.createElement(y.default.Fragment,null,y.default.createElement(Q,{callback:function(){if(u&&!d){let e=new Set(u.map(e=>e.href)),t=q(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),q(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,w.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),y.default.createElement(X,null,$(r,f),y.default.createElement(x.Portal,{type:"next-route-announcer"},y.default.createElement(M.RouteAnnouncer,null))));return!function(e,t){j.ST&&performance.mark("beforeRender");let r=t(Z?et:er);if(J){let e=y.default.startTransition;e(()=>{J.render(r)})}else J=_.default.hydrateRoot(e,r,{onRecoverableError:U.default}),Z=!1}(l,e=>y.default.createElement(en,{callbacks:[e,p]},y.default.createElement(y.default.StrictMode,null,m))),h}async function eo(e){if(e.err){await K(e);return}try{await ea(e)}catch(r){let t=(0,T.getProperError)(r);if(t.cancelled)throw t;await K({...e,err:t})}}async function ei(e){let t=a.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:a,startTime:o,value:i,duration:l,entryType:u,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:a,startTime:o||t,value:null==i?l:i,label:"mark"===u||"measure"===u?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;h=n.component}catch(e){t=(0,T.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(a.dynamicIds),n=(0,L.createRouter)(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:f,Component:h,wrapApp:Y,err:t,isFallback:!!a.isFallback,subscription:(e,t,r)=>eo(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:p,domainLocales:a.domainLocales,isPreview:a.isPreview}),z=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:h,props:a.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),eo(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59520:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(74536);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8314:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=r(12929),a=r(67297),o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,a.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+o};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53863:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(83795);function a(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};e.digest!==n.NEXT_DYNAMIC_NO_SSR_CODE&&t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87971:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(43219),a=r(33890),o=r(57030),i=n._(r(61370)),l=r(92265),u=r(87163),s=r(35964),c=r(12929),f=r(15224);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:h}=(0,s.parseRelativeUrl)(r),{pathname:p}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,l.addLocale)(e,n)),".json");return(0,a.addBasePath)("/_next/data/"+this.buildId+t+h,!0)})(e.skipInterpolation?p:(0,u.isDynamicRoute)(m)?(0,o.interpolateAs)(f,p,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28123:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let a=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let o=!1;function i(e){n&&n(e)}let l=e=>{if(n=e,!o)for(let e of(o=!0,a))try{let t;t||(t=r(86590)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96273:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return o}});let n=r(2784),a=r(28316),o=e=>{let{children:t,type:r}=e,[o,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),o?(0,a.createPortal)(t,o):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75083:function(e,t,r){"use strict";function n(e){return(e=e.slice(0)).startsWith("/")||(e="/"+e),e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(69915),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2410:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return a}});let n=r(67297);function a(e,t){{let{pathname:r}=(0,n.parsePath)(e),a=r.toLowerCase(),o=null==t?void 0:t.toLowerCase();return t&&(a.startsWith("/"+o+"/")||a==="/"+o)?(r.length===t.length+1?"/":"")+e.slice(t.length+1):e}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29282:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56248:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(43219),a=n._(r(2784)),o=r(16244),i={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,o.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),a=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(a||e)}}},[e]),a.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:i},t)},u=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15224:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return l},isAssetError:function(){return u},getClientBuildManifest:function(){return f},createRouteLoader:function(){return h}}),r(43219),r(61370);let n=r(74588),a=r(29282);function o(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,a={resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let i=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,i,{})}function u(e){return e&&i in e}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}();function c(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),(0,a.requestIdleCallback)(()=>setTimeout(()=>{i||o(r)},t))})}function f(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return c(e,3800,l(Error("Failed to load client build manifest")))}function d(e,t){return f().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let a=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)),css:a.filter(e=>e.endsWith(".css"))}})}function h(e){let t=new Map,r=new Map,n=new Map,i=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function f(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,n){return o(r,i,()=>{let a;return c(d(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(a.map(f))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then(e=>Promise.all(s?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,a.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16244:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},default:function(){return h},withRouter:function(){return u.default},useRouter:function(){return p},createRouter:function(){return m},makePublicRouterInstance:function(){return g}});let n=r(43219),a=n._(r(2784)),o=n._(r(50822)),i=r(63981),l=n._(r(10274)),u=n._(r(42157)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get(){let t=d();return t[e]}})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function g(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;a{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:s}=e,h=r||t;if(h&&f.has(h))return;if(c.has(t)){f.add(h),c.get(t).then(n,s);return}let p=()=>{a&&a(),f.add(h)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[r,n]of(o?(m.innerHTML=o.__html||"",p()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",p()):t&&(m.src=t,c.set(t,g)),Object.entries(e))){if(void 0===n||d.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),document.body.appendChild(m)};function p(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))}):h(e)}function m(e){e.forEach(p),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}()}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:u="afterInteractive",onError:c,...d}=e,{updateScripts:p,scripts:m,getIsSsr:g,appDir:y,nonce:_}=(0,i.useContext)(l.HeadManagerContext),v=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=t||r;v.current||(a&&e&&f.has(e)&&a(),v.current=!0)},[a,t,r]);let b=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{!b.current&&("afterInteractive"===u?h(e):"lazyOnload"===u&&("complete"===document.readyState?(0,s.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))})),b.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(p?(m[u]=(m[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:c,...d}]),p(m)):g&&g()?f.add(t||r):g&&!g()&&h(e)),y){if("beforeInteractive"===u)return r?(o.default.preload(r,d.integrity?{as:"script",integrity:d.integrity}:{as:"script"}),i.default.createElement("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(d.dangerouslySetInnerHTML&&(d.children=d.dangerouslySetInnerHTML.__html,delete d.dangerouslySetInnerHTML),i.default.createElement("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...d}])+")"}}));"afterInteractive"===u&&r&&o.default.preload(r,d.integrity?{as:"script",integrity:d.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74588:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42157:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(43219),a=n._(r(2784)),o=r(16244);function i(e){function t(t){return a.default.createElement(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96751:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(43219),a=n._(r(2784)),o=r(38119);async function i(e){let{Component:t,ctx:r}=e,n=await (0,o.loadGetInitialProps)(t,r);return{pageProps:n}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return a.default.createElement(e,t)}}l.origGetInitialProps=i,l.getInitialProps=i,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61360:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(43219),a=n._(r(2784)),o=n._(r(30501)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};class s extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return a.default.createElement("div",{style:u.error},a.default.createElement(o.default,null,a.default.createElement("title",null,e?e+": "+r:"Application error: a client-side exception has occurred")),a.default.createElement("div",null,a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?a.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,a.default.createElement("div",{style:u.desc},a.default.createElement("h2",{style:u.h2},this.props.title||e?r:a.default.createElement(a.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}s.displayName="ErrorPage",s.getInitialProps=l,s.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98366:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return o}});let n=r(43219),a=n._(r(2784)),o=a.default.createContext({})},52995:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},29950:function(e,t,r){"use strict";var n,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CacheStates:function(){return n},AppRouterContext:function(){return l},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return s},TemplateContext:function(){return c}});let o=r(43219),i=o._(r(2784));(a=n||(n={})).LAZY_INITIALIZED="LAZYINITIALIZED",a.DATA_FETCH="DATAFETCH",a.READY="READY";let l=i.default.createContext(null),u=i.default.createContext(null),s=i.default.createContext(null),c=i.default.createContext(null)},87586:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=.01);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){let e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){let t=this.getHashValues(e);t.forEach(e=>{this.bitArray[e]=1})}contains(e){let t=this.getHashValues(e);return t.every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477)}return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},81081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},85510:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return o}});let n=r(43219),a=n._(r(2784)),o=a.default.createContext({})},30501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return c},default:function(){return p}});let n=r(43219),a=r(16794),o=a._(r(2784)),i=n._(r(49857)),l=r(98366),u=r(85510),s=r(52995);function c(e){void 0===e&&(e=!1);let t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(70186);let d=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let o=!0,i=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){i=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=d.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:n})})}let p=function(e){let{children:t}=e,r=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,s.isInAmpMode)(r)},t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61452:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return a},PathnameContext:function(){return o}});let n=r(2784),a=(0,n.createContext)(null),o=(0,n.createContext)(null)},69451:function(e,t){"use strict";function r(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var n,a;let e=null==(n=o.domain)?void 0:n.split(":")[0].toLowerCase();if(t===e||r===o.defaultLocale.toLowerCase()||(null==(a=o.locales)?void 0:a.some(e=>e.toLowerCase()===r)))return o}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},10245:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},49910:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(43219),a=n._(r(2784)),o=r(72422),i=a.default.createContext(o.imageConfigDefault)},72422:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},10590:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},83795:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return r}});let r="NEXT_DYNAMIC_NO_SSR_CODE"},69491:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},72364:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(94917),a=r(86062);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},36199:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},86062:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},63981:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return o}});let n=r(43219),a=n._(r(2784)),o=a.default.createContext(null)},58157:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return l},adaptForSearchParams:function(){return u},PathnameContextProviderAdapter:function(){return s}});let n=r(16794),a=n._(r(2784)),o=r(61452),i=r(94917);function l(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t){e.push(t)},replace(t){e.replace(t)},prefetch(t){e.prefetch(t)}}}function u(e){return e.isReady&&e.query?function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,e);else void 0!==n&&t.append(r,n);return t}(e.query):new URLSearchParams}function s(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),u=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,i.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return a.default.createElement(o.PathnameContext.Provider,{value:u},t)}},50822:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return X},matchesMiddleware:function(){return D},createKey:function(){return G}});let n=r(43219),a=r(16794),o=r(12929),i=r(15224),l=r(72568),u=a._(r(10274)),s=r(72364),c=r(10245),f=n._(r(69491)),d=r(38119),h=r(87163),p=r(35964),m=n._(r(2281)),g=r(29784),y=r(80939),_=r(42612),v=r(3570),b=r(67297),P=r(92265),w=r(2410),E=r(75083),S=r(33890),O=r(69915),j=r(74219),x=r(32573),R=r(94529),C=r(19610),A=r(68944),M=r(72240),L=r(72248),T=r(96436),I=r(57030),N=r(61418);function k(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function D(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,b.parsePath)(e.asPath),n=(0,O.hasBasePath)(r)?(0,E.removeBasePath)(r):r,a=(0,S.addBasePath)((0,P.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function B(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,r){let[n,a]=(0,T.resolveHref)(e,t,!0),o=(0,d.getLocationOrigin)(),i=n.startsWith(o),l=a&&a.startsWith(o);n=B(n),a=a?B(a):a;let u=i?n:(0,S.addBasePath)(n),s=r?B((0,T.resolveHref)(e,r)):a||n;return{url:u,as:l?s:(0,S.addBasePath)(s)}}function U(e,t){let r=(0,o.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,h.isDynamicRoute)(t)&&(0,y.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function F(e){let t=await D(e);if(!t||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),l=a||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=(0,p.parseRelativeUrl)(l),u=(0,x.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,o.removeTrailingSlash)(u.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(n=>{let[o,{__rewrites:i}]=n,l=(0,P.addLocale)(u.pathname,u.locale);if((0,h.isDynamicRoute)(l)||!a&&o.includes((0,c.normalizeLocalePath)((0,E.removeBasePath)(l),r.router.locales).pathname)){let r=(0,x.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:void 0,parseData:!0});l=(0,S.addBasePath)(r.pathname),t.pathname=l}{let e=(0,m.default)(l,o,i,t.query,e=>U(e,o),r.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,l=t.pathname,Object.assign(t.query,e.parsedAs.query))}let f=o.includes(s)?s:U((0,c.normalizeLocalePath)((0,E.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,h.isDynamicRoute)(f)){let e=(0,g.getRouteMatcher)((0,y.getRouteRegex)(f))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,b.parsePath)(e),u=(0,R.formatNextPathnameInfo)({...(0,x.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+u+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,b.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,x.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let W=Symbol("SSG_DATA_NOT_FOUND");function q(e){try{return JSON.parse(e)}catch(e){return null}}function z(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:l,parseJSON:u,persistCache:s,isBackground:c,unstable_skipClientCache:f}=e,{href:d}=new URL(r,window.location.href),h=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(r,l?3:1,{headers:Object.assign({},a?{purpose:"prefetch"}:{},a&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=q(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:W},response:t,text:e,cacheKey:d}}let a=Error("Failed to load static props");throw l||(0,i.markAssetError)(a),a}return{dataHref:r,json:u?q(e):null,response:t,text:e,cacheKey:d}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw f||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return f&&s?h({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=h(c?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function V(e){let{url:t,router:r}=e;if(t===(0,S.addBasePath)((0,P.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let $=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class X{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let u=!1,s=!1;for(let c of[e,t])if(c){let t=(0,o.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,S.addBasePath)((0,P.addLocale)(t,r||this.locale));if(t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var a,i,l;for(let e of(u=u||!!(null==(a=this._bfl_s)?void 0:a.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,a){var s,f,j,x,R,M,T,N,B,F;let q,z;if(!(0,A.isLocalURL)(t))return V({url:t,router:this}),!1;let G=1===n._h;G||n.shallow||await this._bfl(r,void 0,n.locale);let $=G||n._shouldResolveHref||(0,b.parsePath)(t).pathname===(0,b.parsePath)(r).pathname,Y={...this.state},K=!0!==this.isReady;this.isReady=!0;let Q=this.isSsr;if(G||(this.isSsr=!1),G&&this.clc)return!1;let J=Y.locale;{Y.locale=!1===n.locale?this.defaultLocale:n.locale||Y.locale,void 0===n.locale&&(n.locale=Y.locale);let e=(0,p.parseRelativeUrl)((0,O.hasBasePath)(r)?(0,E.removeBasePath)(r):r),a=(0,c.normalizeLocalePath)(e.pathname,this.locales);a.detectedLocale&&(Y.locale=a.detectedLocale,e.pathname=(0,S.addBasePath)(e.pathname),r=(0,_.formatWithValidation)(e),t=(0,S.addBasePath)((0,c.normalizeLocalePath)((0,O.hasBasePath)(t)?(0,E.removeBasePath)(t):t,this.locales).pathname));let o=!1;(null==(f=this.locales)?void 0:f.includes(Y.locale))||(e.pathname=(0,P.addLocale)(e.pathname,Y.locale),V({url:(0,_.formatWithValidation)(e),router:this}),o=!0);let i=(0,v.detectDomainLocale)(this.domainLocales,void 0,Y.locale);if(!o&&i&&this.isLocaleDomain&&self.location.hostname!==i.domain){let e=(0,E.removeBasePath)(r);V({url:"http"+(i.http?"":"s")+"://"+i.domain+(0,S.addBasePath)((Y.locale===i.defaultLocale?"":"/"+Y.locale)+("/"===e?"":e)||"/"),router:this}),o=!0}if(o)return new Promise(()=>{})}d.ST&&performance.mark("routeChange");let{shallow:Z=!1,scroll:ee=!0}=n,et={shallow:Z};this._inFlightRoute&&this.clc&&(Q||X.events.emit("routeChangeError",k(),this._inFlightRoute,et),this.clc(),this.clc=null),r=(0,S.addBasePath)((0,P.addLocale)((0,O.hasBasePath)(r)?(0,E.removeBasePath)(r):r,n.locale,this.defaultLocale));let er=(0,w.removeLocale)((0,O.hasBasePath)(r)?(0,E.removeBasePath)(r):r,Y.locale);this._inFlightRoute=r;let en=J!==Y.locale;if(!G&&this.onlyAHashChange(er)&&!en){Y.asPath=er,X.events.emit("hashChangeStart",r,et),this.changeState(e,t,r,{...n,scroll:!1}),ee&&this.scrollToHash(er);try{await this.set(Y,this.components[Y.route],null)}catch(e){throw(0,u.default)(e)&&e.cancelled&&X.events.emit("routeChangeError",e,er,et),e}return X.events.emit("hashChangeComplete",r,et),!0}let ea=(0,p.parseRelativeUrl)(t),{pathname:eo,query:ei}=ea;if(null==(s=this.components[eo])?void 0:s.__appRouter)return V({url:r,router:this}),new Promise(()=>{});try{[q,{__rewrites:z}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return V({url:r,router:this}),!1}this.urlIsNew(er)||en||(e="replaceState");let el=r;eo=eo?(0,o.removeTrailingSlash)((0,E.removeBasePath)(eo)):eo;let eu=(0,o.removeTrailingSlash)(eo),es=r.startsWith("/")&&(0,p.parseRelativeUrl)(r).pathname,ec=!!(es&&eu!==es&&(!(0,h.isDynamicRoute)(eu)||!(0,g.getRouteMatcher)((0,y.getRouteRegex)(eu))(es))),ef=!n.shallow&&await D({asPath:r,locale:Y.locale,router:this});if(G&&ef&&($=!1),$&&"/_error"!==eo){if(n._shouldResolveHref=!0,r.startsWith("/")){let e=(0,m.default)((0,S.addBasePath)((0,P.addLocale)(er,Y.locale),!0),q,z,ei,e=>U(e,q),this.locales);if(e.externalDest)return V({url:r,router:this}),!0;ef||(el=e.asPath),e.matchedPage&&e.resolvedHref&&(eo=e.resolvedHref,ea.pathname=(0,S.addBasePath)(eo),ef||(t=(0,_.formatWithValidation)(ea)))}else ea.pathname=U(eo,q),ea.pathname===eo||(eo=ea.pathname,ea.pathname=(0,S.addBasePath)(eo),ef||(t=(0,_.formatWithValidation)(ea)))}if(!(0,A.isLocalURL)(r))return V({url:r,router:this}),!1;el=(0,w.removeLocale)((0,E.removeBasePath)(el),Y.locale),eu=(0,o.removeTrailingSlash)(eo);let ed=!1;if((0,h.isDynamicRoute)(eu)){let e=(0,p.parseRelativeUrl)(el),n=e.pathname,a=(0,y.getRouteRegex)(eu);ed=(0,g.getRouteMatcher)(a)(n);let o=eu===n,i=o?(0,I.interpolateAs)(eu,n,ei):{};if(ed&&(!o||i.result))o?r=(0,_.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,L.omit)(ei,i.params)})):Object.assign(ei,ed);else{let e=Object.keys(a.groups).filter(e=>!ei[e]&&!a.groups[e].optional);if(e.length>0&&!ef)throw Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eu+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as"))}}G||X.events.emit("routeChangeStart",r,et);let eh="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:eu,pathname:eo,query:ei,as:r,resolvedAs:el,routeProps:et,locale:Y.locale,isPreview:Y.isPreview,hasMiddleware:ef,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:G&&!this.isFallback,isMiddlewareRewrite:ec});if(G||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,Y.locale),"route"in o&&ef){eu=eo=o.route||eu,et.shallow||(ei=Object.assign({},o.query||{},ei));let e=(0,O.hasBasePath)(ea.pathname)?(0,E.removeBasePath)(ea.pathname):ea.pathname;if(ed&&eo!==e&&Object.keys(ed).forEach(e=>{ed&&ei[e]===ed[e]&&delete ei[e]}),(0,h.isDynamicRoute)(eo)){let e=!et.shallow&&o.resolvedAs?o.resolvedAs:(0,S.addBasePath)((0,P.addLocale)(new URL(r,location.href).pathname,Y.locale),!0),t=e;(0,O.hasBasePath)(t)&&(t=(0,E.removeBasePath)(t));{let e=(0,c.normalizeLocalePath)(t,this.locales);Y.locale=e.detectedLocale||Y.locale,t=e.pathname}let n=(0,y.getRouteRegex)(eo),a=(0,g.getRouteMatcher)(n)(new URL(t,location.href).pathname);a&&Object.assign(ei,a)}}if("type"in o){if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);return V({url:o.destination,router:this}),new Promise(()=>{})}let i=o.Component;if(i&&i.unstable_scriptLoader){let e=[].concat(i.unstable_scriptLoader());e.forEach(e=>{(0,l.handleClientScriptLoad)(e.props)})}if((o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,p.parseRelativeUrl)(t);r.pathname=U(r.pathname,q);let{url:a,as:o}=H(this,t,t);return this.change(e,a,o,n)}return V({url:t,router:this}),new Promise(()=>{})}if(Y.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===W){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:ei,as:r,resolvedAs:el,routeProps:{shallow:!1},locale:Y.locale,isPreview:Y.isPreview,isNotFound:!0}),"type"in o)throw Error("Unexpected middleware effect on /404")}}G&&"/_error"===this.pathname&&(null==(j=self.__NEXT_DATA__.props)?void 0:null==(x=j.pageProps)?void 0:x.statusCode)===500&&(null==(R=o.props)?void 0:R.pageProps)&&(o.props.pageProps.statusCode=500);let s=n.shallow&&Y.route===(null!=(M=o.route)?M:eu),f=null!=(T=n.scroll)?T:!G&&!s,d=null!=a?a:f?{x:0,y:0}:null,m={...Y,route:eu,pathname:eo,query:ei,asPath:er,isFallback:!1};if(G&&eh){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:ei,as:r,resolvedAs:el,routeProps:{shallow:!1},locale:Y.locale,isPreview:Y.isPreview,isQueryUpdating:G&&!this.isFallback}),"type"in o)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(N=self.__NEXT_DATA__.props)?void 0:null==(B=N.pageProps)?void 0:B.statusCode)===500&&(null==(F=o.props)?void 0:F.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(m,o,d)}catch(e){throw(0,u.default)(e)&&e.cancelled&&X.events.emit("routeChangeError",e,er,et),e}return!0}X.events.emit("beforeHistoryChange",r,et),this.changeState(e,t,r,n);let _=G&&!d&&!K&&!en&&(0,C.compareRouterStates)(m,this.state);if(!_){try{await this.set(m,o,d)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw G||X.events.emit("routeChangeError",o.error,er,et),o.error;Y.locale&&(document.documentElement.lang=Y.locale),G||X.events.emit("routeChangeComplete",r,et),f&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,u.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,n,a,o){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||o)throw X.events.emit("routeChangeError",e,n,a),V({url:n,router:this}),k();try{let n;let{page:a,styleSheets:o}=await this.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,u.default)(e)?e:Error(e+""),t,r,n,a,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:a,resolvedAs:i,routeProps:l,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:h,isQueryUpdating:p,isMiddlewareRewrite:m,isNotFound:g}=e,y=t;try{var v,b,P,w;let e=$({route:y,router:this}),t=this.components[y];if(l.shallow&&t&&this.route===y)return t;f&&(t=void 0);let u=!t||"initial"in t?void 0:t,S={dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:g?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:h,isBackground:p},O=p&&!m?null:await F({fetchData:()=>z(S),asPath:g?"/404":i,locale:s,router:this}).catch(e=>{if(p)return null;throw e});if(O&&("/_error"===r||"/404"===r)&&(O.effect=void 0),p&&(O?O.json=self.__NEXT_DATA__.props:O={json:self.__NEXT_DATA__.props}),e(),(null==O?void 0:null==(v=O.effect)?void 0:v.type)==="redirect-internal"||(null==O?void 0:null==(b=O.effect)?void 0:b.type)==="redirect-external")return O.effect;if((null==O?void 0:null==(P=O.effect)?void 0:P.type)==="rewrite"){let e=(0,o.removeTrailingSlash)(O.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!p||a.includes(e))&&(y=e,r=O.effect.resolvedHref,n={...n,...O.effect.parsedAs.query},i=(0,E.removeBasePath)((0,c.normalizeLocalePath)(O.effect.parsedAs.pathname,this.locales).pathname),t=this.components[y],l.shallow&&t&&this.route===y&&!f))return{...t,route:y}}if((0,j.isAPIRoute)(y))return V({url:a,router:this}),new Promise(()=>{});let x=u||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),R=null==O?void 0:null==(w=O.response)?void 0:w.headers.get("x-middleware-skip"),C=x.__N_SSG||x.__N_SSP;R&&(null==O?void 0:O.dataHref)&&delete this.sdc[O.dataHref];let{props:A,cacheKey:M}=await this._getData(async()=>{if(C){if((null==O?void 0:O.json)&&!R)return{cacheKey:O.cacheKey,props:O.json};let e=(null==O?void 0:O.dataHref)?O.dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await z({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:R?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(x.Component,{pathname:r,query:n,asPath:a,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return x.__N_SSP&&S.dataHref&&M&&delete this.sdc[M],this.isPreview||!x.__N_SSG||p||z(Object.assign({},S,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),A.pageProps=Object.assign({},A.pageProps),x.props=A,x.route=y,x.query=n,x.resolvedAs=i,this.components[y]=x,x}catch(e){return this.handleRouteInfoError((0,u.getProperError)(e),r,n,a,l)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#");if(""===t||"top"===t){(0,N.handleSmoothScroll)(()=>window.scrollTo(0,0));return}let r=decodeURIComponent(t),n=document.getElementById(r);if(n){(0,N.handleSmoothScroll)(()=>n.scrollIntoView());return}let a=document.getElementsByName(r)[0];a&&(0,N.handleSmoothScroll)(()=>a.scrollIntoView())}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,M.isBot)(window.navigator.userAgent))return;let n=(0,p.parseRelativeUrl)(e),a=n.pathname,{pathname:l,query:u}=n,s=l;if(!1===r.locale){l=(0,c.normalizeLocalePath)(l,this.locales).pathname,n.pathname=l,e=(0,_.formatWithValidation)(n);let a=(0,p.parseRelativeUrl)(t),o=(0,c.normalizeLocalePath)(a.pathname,this.locales);a.pathname=o.pathname,r.locale=o.detectedLocale||this.defaultLocale,t=(0,_.formatWithValidation)(a)}let f=await this.pageLoader.getPageList(),d=t,v=void 0!==r.locale?r.locale||void 0:this.locale,O=await D({asPath:t,locale:v,router:this});if(t.startsWith("/")){let r;({__rewrites:r}=await (0,i.getClientBuildManifest)());let a=(0,m.default)((0,S.addBasePath)((0,P.addLocale)(t,this.locale),!0),f,r,n.query,e=>U(e,f),this.locales);if(a.externalDest)return;O||(d=(0,w.removeLocale)((0,E.removeBasePath)(a.asPath),this.locale)),a.matchedPage&&a.resolvedHref&&(l=a.resolvedHref,n.pathname=l,O||(e=(0,_.formatWithValidation)(n)))}n.pathname=U(n.pathname,f),(0,h.isDynamicRoute)(n.pathname)&&(l=n.pathname,n.pathname=l,Object.assign(u,(0,g.getRouteMatcher)((0,y.getRouteRegex)(n.pathname))((0,b.parsePath)(t).pathname)||{}),O||(e=(0,_.formatWithValidation)(n)));let j=await F({fetchData:()=>z({dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:s,query:u}),skipInterpolation:!0,asPath:d,locale:v}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:v,router:this});if((null==j?void 0:j.effect.type)==="rewrite"&&(n.pathname=j.effect.resolvedHref,l=j.effect.resolvedHref,u={...u,...j.effect.parsedAs.query},d=j.effect.parsedAs.pathname,e=(0,_.formatWithValidation)(n)),(null==j?void 0:j.effect.type)==="redirect-external")return;let x=(0,o.removeTrailingSlash)(l);await this._bfl(t,d,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(x).then(t=>!!t&&z({dataHref:(null==j?void 0:j.json)?null==j?void 0:j.dataHref:this.pageLoader.getDataHref({href:e,asPath:d,locale:v}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](x)])}async fetchComponent(e){let t=$({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return z({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:a,pageLoader:i,App:l,wrapApp:u,Component:s,err:c,subscription:f,isFallback:m,locale:g,locales:y,defaultLocale:b,domainLocales:P,isPreview:w}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,_.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:l}=n;this._key=l;let{pathname:u}=(0,p.parseRelativeUrl)(a);(!this.isSsr||o!==(0,S.addBasePath)(this.asPath)||u!==(0,S.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let E=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:s,initial:!0,props:a,err:c,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]};{let{BloomFilter:e}=r(87586),t={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]},n={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=X.events,this.pageLoader=i;let O=(0,h.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=u,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||(O||self.location.search,0)),this.locales=y,this.defaultLocale=b,this.domainLocales=P,this.isLocaleDomain=!!(0,v.detectDomainLocale)(P,self.location.hostname),this.state={route:E,pathname:e,query:t,asPath:O?e:n,isPreview:!!w,locale:g,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:g},a=(0,d.getURL)();this._initialMatchesMiddlewarePromise=D({router:this,locale:g,asPath:a}).then(o=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",o?a:(0,_.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),a,r),o))}window.addEventListener("popstate",this.onPopState)}}X.events=(0,f.default)()},59278:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(40582),a=r(95971);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},40582:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=r(67297);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+t+r+a+o}},16090:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(67297);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+r+t+a+o}},40754:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscPath:function(){return o}});let n=r(36199);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||t.startsWith("(")&&t.endsWith(")")||t.startsWith("@")||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function o(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},19610:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},94529:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let n=r(12929),a=r(40582),o=r(16090),i=r(59278);function l(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},42612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return i},urlObjectKeys:function(){return l},formatWithValidation:function(){return u}});let n=r(16794),a=n._(r(68730)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+n+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},61370:function(e,t){"use strict";function r(e,t){void 0===t&&(t="");let r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e;return r+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},32573:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(10245),a=r(22245),o=r(95971);function i(e,t){var r,i,l;let{basePath:u,i18n:s,trailingSlash:c}=null!=(r=t.nextConfig)?r:{},f={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):c};if(u&&(0,o.pathHasPrefix)(f.pathname,u)&&(f.pathname=(0,a.removePathPrefix)(f.pathname,u),f.basePath=u),!0===t.parseData&&f.pathname.startsWith("/_next/data/")&&f.pathname.endsWith(".json")){let e=f.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];f.pathname="index"!==e[1]?"/"+e.slice(1).join("/"):"/",f.buildId=t}if(t.i18nProvider){let e=t.i18nProvider.analyze(f.pathname);f.locale=e.detectedLocale,f.pathname=null!=(i=e.pathname)?i:f.pathname}else if(s){let e=(0,n.normalizeLocalePath)(f.pathname,s.locales);f.locale=e.detectedLocale,f.pathname=null!=(l=e.pathname)?l:f.pathname}return f}},61418:function(e,t){"use strict";function r(e,t){void 0===t&&(t={});let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},94917:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});let n=r(97358),a=r(87163)},57030:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(29784),a=r(80939);function o(e,t,r){let o="",i=(0,a.getRouteRegex)(e),l=i.groups,u=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;o=e;let s=Object.keys(l);return s.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=l[e],a="["+(r?"...":"")+e+"]";return n&&(a=(t?"":"/")+"["+a+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:s,result:o}}},72240:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},87163:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},68944:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(38119),a=r(69915);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},72248:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},67297:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},35964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(38119),a=r(68730);function o(e,t){let r=new URL((0,n.getLocationOrigin)()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:u,hash:s,href:c,origin:f}=new URL(e,o);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,a.searchParamsToUrlQuery)(l),search:u,hash:s,href:c.slice(r.origin.length)}}},21479:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return o}});let n=r(68730),a=r(35964);function o(e){if(e.startsWith("/"))return(0,a.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,n.searchParamsToUrlQuery)(t.searchParams),search:t.search}}},95971:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=r(67297);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},25639:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return a}});let n=r(79264);function a(e,t){let r=[],a=(0,n.pathToRegexp)(e,r,{delimiter:"/",sensitive:!1,strict:null==t?void 0:t.strict}),o=(0,n.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(a.source),a.flags):a,r);return(e,n)=>{let a=null!=e&&o(e);if(!a)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete a.params[e.name];return{...n,...a.params}}}},52090:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{matchHas:function(){return u},compileNonPath:function(){return s},prepareDestination:function(){return c}});let n=r(79264),a=r(81081),o=r(21479),i=r(16520);function l(e){return e.replace(/__ESC_COLON_/gi,":")}function u(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let a={},o=r=>{let n;let o=r.key;switch(r.type){case"header":o=o.toLowerCase(),n=e.headers[o];break;case"cookie":n=e.cookies[r.key];break;case"query":n=t[o];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{},r=null==t?void 0:t.split(":")[0].toLowerCase();n=r}}if(!r.value&&n)return a[function(e){let t="";for(let r=0;r64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}(o)]=n,!0;if(n){let e=RegExp("^"+r.value+"$"),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{a[e]=t.groups[e]}):"host"===r.type&&t[0]&&(a.host=t[0])),!0}return!1},i=r.every(e=>o(e))&&!n.some(e=>o(e));return!!i&&a}function s(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,n.compile)("/"+e,{validate:!1})(t).slice(1)}function c(e){let t;let r=Object.assign({},e.query);delete r.__nextLocale,delete r.__nextDefaultLocale,delete r.__nextDataReq,delete r.__nextInferredLocaleFromDefault;let u=e.destination;for(let t of Object.keys({...e.params,...r})){var c,f;c=u,f=t,u=c.replace(RegExp(":"+(0,a.escapeStringRegexp)(f),"g"),"__ESC_COLON_"+f)}let d=(0,o.parseUrl)(u),h=d.query,p=l(""+d.pathname+(d.hash||"")),m=l(d.hostname||""),g=[],y=[];(0,n.pathToRegexp)(p,g),(0,n.pathToRegexp)(m,y);let _=[];g.forEach(e=>_.push(e.name)),y.forEach(e=>_.push(e.name));let v=(0,n.compile)(p,{validate:!1}),b=(0,n.compile)(m,{validate:!1});for(let[t,r]of Object.entries(h))Array.isArray(r)?h[t]=r.map(t=>s(l(t),e.params)):"string"==typeof r&&(h[t]=s(l(r),e.params));let P=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!P.some(e=>_.includes(e)))for(let t of P)t in h||(h[t]=e.params[t]);if((0,i.isInterceptionRouteAppPath)(p))for(let t of p.split("/")){let r=i.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){e.params["0"]=r;break}}try{t=v(e.params);let[r,n]=t.split("#");d.hostname=b(e.params),d.pathname=r,d.hash=(n?"#":"")+(n||""),delete d.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw e}return d.query={...r,...d.query},{newUrl:t,destQuery:h,parsedDestination:d}}},68730:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,a]=e;Array.isArray(a)?a.forEach(e=>t.append(r,n(e))):t.set(r,n(a))}),t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a},assign:function(){return o}})},22245:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(95971);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},12929:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},96436:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(68730),a=r(42612),o=r(72248),i=r(38119),l=r(8314),u=r(68944),s=r(87163),c=r(57030);function f(e,t,r){let f;let d="string"==typeof t?t:(0,a.formatWithValidation)(t),h=d.match(/^[a-zA-Z]{1,}:\/\//),p=h?d.slice(h[0].length):d,m=p.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(p);d=(h?h[0]:"")+t}if(!(0,u.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,a.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(r,l)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}},2281:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(25639),a=r(52090),o=r(12929),i=r(10245),l=r(75083),u=r(35964);function s(e,t,r,s,c,f){let d,h=!1,p=!1,m=(0,u.parseRelativeUrl)(e),g=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,l.removeBasePath)(m.pathname),f).pathname),y=r=>{let u=(0,n.getPathMatch)(r.source+"",{removeUnnamedParams:!0,strict:!0}),y=u(m.pathname);if((r.has||r.missing)&&y){let e=(0,a.matchHas)({headers:{host:document.location.hostname},cookies:document.cookie.split("; ").reduce((e,t)=>{let[r,...n]=t.split("=");return e[r]=n.join("="),e},{})},m.query,r.has,r.missing);e?Object.assign(y,e):y=!1}if(y){if(!r.destination)return p=!0,!0;let n=(0,a.prepareDestination)({appendParamsToQuery:!0,destination:r.destination,params:y,query:s});if(m=n.parsedDestination,e=n.newUrl,Object.assign(s,n.parsedDestination.query),g=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,l.removeBasePath)(e),f).pathname),t.includes(g))return h=!0,d=g,!0;if((d=c(g))!==e&&t.includes(d))return h=!0,!0}},_=!1;for(let e=0;e{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=a[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),i}}},80939:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return c},getNamedMiddlewareRegex:function(){return f}});let n=r(81081),a=r(12929),o="nxtP";function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},o=1;return{parameterizedRoute:t.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,n.escapeStringRegexp)(e);{let{key:t,optional:n,repeat:a}=i(e.slice(1,-1));return r[t]={pos:o++,repeat:a,optional:n},a?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e,t){let r,l;let u=(0,a.removeTrailingSlash)(e).slice(1).split("/"),s=(r=97,l=1,()=>{let e="";for(let t=0;t122&&(l++,r=97);return e}),c={};return{namedParameterizedRoute:u.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,n.escapeStringRegexp)(e);{let{key:r,optional:n,repeat:a}=i(e.slice(1,-1)),l=r.replace(/\W/g,"");t&&(l=""+o+l);let u=!1;return(0===l.length||l.length>30)&&(u=!0),isNaN(parseInt(l.slice(0,1)))||(u=!0),u&&(l=s()),t?c[l]=""+o+r:c[l]=""+r,a?n?"(?:/(?<"+l+">.+?))?":"/(?<"+l+">.+?)":"/(?<"+l+">[^/]+?)"}}).join(""),routeKeys:c}}function c(e,t){let r=s(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function f(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:a}=s(e,!1);return{namedRegex:"^"+a+(n?"(?:(/.*)?)":"")+"$"}}},97358:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');o(this.restSlugName,r),this.restSlugName=r,a="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},83342:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return a}});let n=()=>r;function a(e){r=e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49857:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(16794),a=n._(r(2784)),o=a.useLayoutEffect,i=a.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let n=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},38119:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return o},getLocationOrigin:function(){return i},getURL:function(){return l},getDisplayName:function(){return u},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return h},DecodeError:function(){return p},NormalizeError:function(){return m},PageNotFoundError:function(){return g},MissingStaticPage:function(){return y},MiddlewareNotFoundError:function(){return _}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;oa.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=i();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n){let t='"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,h=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}},70186:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},79264:function(e,t){"use strict";function r(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i){a+=e[o++];continue}break}if(!a)throw TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:a}),r=o;continue}if("("===n){var l=1,u="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '+o);for(;o-1:void 0===v;a||(h+="(?:"+d+"(?="+f+"))?"),b||(h+="(?="+d+"|"+f+")")}return new RegExp(h,i(r))}function u(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},h=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},p=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var a,o;return function(i){var l;t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(l=t.value)>r[1]?"poor":l>r[0]?"needs-improvement":"good",e(t))}},g=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},_=function(){p(function(e){g=e.timeStamp},!0)},v=function(){return g<0&&(g=y(),_(),s(function(){setTimeout(function(){g=y(),_()},0)})),{get firstHiddenTime(){return g}}},b=function(e,t){t=t||{};var r,n=[1800,3e3],a=v(),o=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime-1&&e(t)},o=d("CLS",0),i=0,l=[],u=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=l[0],r=l[l.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,l.push(e)):(i=e.value,l=[e]),i>o.value&&(o.value=i,o.entries=l,n())}})},c=h("layout-shift",u);c&&(n=m(a,o,r,t.reportAllChanges),p(function(){u(c.takeRecords()),n(!0)}),s(function(){i=0,w=-1,n=m(a,o=d("CLS",0),r,t.reportAllChanges)}))},S={passive:!0,capture:!0},O=new Date,j=function(e,t){n||(n=t,a=e,o=new Date,C(removeEventListener),x())},x=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){j(a,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,S),removeEventListener("pointercancel",r,S)},addEventListener("pointerup",t,S),addEventListener("pointercancel",r,S)):j(a,e)}},C=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,R,S)})},A=function(e,t){t=t||{};var r,o=[100,300],l=v(),u=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};U[n.id]=n,H.push(n)}H.sort(function(e,t){return t.latency-e.latency}),H.splice(10).forEach(function(e){delete U[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];k();var n,a=d("INP"),o=function(e){e.forEach(function(e){e.interactionId&&F(e),"first-input"!==e.entryType||H.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||F(e)});var t,r=(t=Math.min(H.length-1,Math.floor(B()/50)),H[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=h("event",o,{durationThreshold:t.durationThreshold||40});n=m(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),p(function(){o(i.takeRecords()),a.value<0&&B()>0&&(a.value=0,a.entries=[]),n(!0)}),s(function(){H=[],D=N(),n=m(e,a=d("INP"),r,t.reportAllChanges)}))},q={},z=function(e,t){t=t||{};var r,n=[2500,4e3],a=v(),o=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[o],a(!0),s(function(){(a=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},74219:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},10274:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return a},getProperError:function(){return o}});let n=r(10590);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return a(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},16520:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return a},isInterceptionRouteAppPath:function(){return o},extractInterceptionRouteInformation:function(){return i}});let n=r(40754),a=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>a.find(t=>e.startsWith(t)))}function i(e){let t,r,o;for(let n of e.split("/"))if(r=a.find(e=>n.startsWith(e))){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=i.slice(0,-2).concat(o).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},43219:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},16794:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(a,i,l):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a}r.r(t),r.d(t,{_:function(){return a},_interop_require_wildcard:function(){return a}})}},function(e){e.O(0,[774],function(){return e(e.s=59520)}),_N_E=e.O()}]);
+//# sourceMappingURL=main-8c96dfafccc9fb4f.js.map
\ No newline at end of file
diff --git a/a4_se_post_instabox/public/Static_zy/_next/static/chunks/pages/[...slug]-824434296ba0efec.js b/a4_se_post_instabox/public/Static_zy/_next/static/chunks/pages/[...slug]-824434296ba0efec.js
new file mode 100644
index 0000000..b12cefe
--- /dev/null
+++ b/a4_se_post_instabox/public/Static_zy/_next/static/chunks/pages/[...slug]-824434296ba0efec.js
@@ -0,0 +1,2 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{25112:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return n(20958)}])},53920:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(52322),r=n(2784),l=n(28066),s=n(57352),o=n(30299),c=e=>{let{children:t,threshold:n,initial:c="hidden",...a}=e,d=(0,l._)(),[u,h]=(0,o.YD)({threshold:n});return(0,r.useEffect)(()=>{h&&d.start("visible")},[d,h]),(0,i.jsx)(s.E.div,{ref:u,animate:d,initial:c,...a,children:t})}},57086:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(52322),r=n(70817),l=n(17051),s=n(38421),o=n.n(s),c=n(39097),a=n.n(c),d=n(5632),u=n(29248),h=n(2784),_=n(72779),g=n.n(_),f=n(10090),x=n.n(f),m=e=>{let{children:t,image:n,background_color:r,fullscreen:l,blend_mode:s,content_position:o}=e,c=(0,h.useRef)(null);return(0,h.useEffect)(()=>{c.current.style.setProperty("--background-image","url(".concat(n,")")),c.current.style.setProperty("--background-color","url(".concat(r,")"))},[n,r]),(0,i.jsx)("div",{className:g()(x().container,l&&x().fullscreen,x()["blendMode_".concat(s)]),ref:c,children:(0,i.jsx)("div",{className:g()(x().content,x()["content_".concat(o)]),children:t})})},v=e=>{let{children:t}=e;return(0,i.jsx)(l.Heading,{fontSize:"xl",color:"white",align:"center",children:t})},j=n(25798),p=e=>{let{content:t,slug:n,fields:s,textsWithImagesLayout:c,richTextAlign:u="left",children:h}=e,{locale:_}=(0,d.useRouter)();return(0,i.jsx)(i.Fragment,{children:null==t?void 0:t.filter(e=>{let{item:t}=e;return!((null==s?void 0:s.length)>0)||s.includes(null==t?void 0:t.__typename)}).map(e=>{let{item:t}=e;switch(null==t?void 0:t.__typename){case"titles":return(0,i.jsx)(v,{children:(0,i.jsx)(a(),{href:"/".concat(n),className:"no-underline",children:(0,r.i0)("title",t.translations,t.title)})},"title-".concat(t.id));case"subtitles":return(0,i.jsx)(l.Heading,{color:"white",as:"h6",align:"center",children:(0,r.i0)("subtitle",t.translations,t.subtitle)},"subtitle-".concat(t.id));case"cards":if(!t.markets.some(e=>{var t;return(null===(t=e.markets_code)||void 0===t?void 0:t.code)===(0,r.Wy)(_)}))return null;return(0,i.jsx)(l.Card,{children:(0,i.jsxs)(l.Stack,{gap:"md",children:[(0,i.jsx)(l.Heading,{as:"h6",children:(0,r.i0)("header",t.translations,t.header)}),(0,i.jsx)(r.UG,{children:(0,r.i0)("text",t.translations,t.text)})]})},"card-".concat(t.id));case"rich_texts":return(0,i.jsx)(r.UG,{color:"white",align:u,children:(0,r.i0)("rich_text",t.translations,t.rich_text)},"rich-text-".concat(t.id));case"texts_with_images":return(0,i.jsx)(j.Z,{...t,layout:c},"texts-with-images-".concat(t.id));case"images":{var s;let{translations:e,image:n}=t;if(!n)return null;let r=(null===(s=e[0])||void 0===s?void 0:s.image)||n;return(0,i.jsx)(o(),{src:w(r.id),alt:null==r?void 0:r.title,width:null==r?void 0:r.width,height:null==r?void 0:r.height},"images-".concat(r.id))}case"heroes":return(0,i.jsx)(m,{image:w(t.background_image.id),blend_mode:t.blend_mode,content_position:t.content_position,fullscreen:t.fullscreen,background_color:t.background_color,children:h},"heroes-".concat(t.id));default:return null}})})};function w(e){return"".concat(u.p.DIRECTUS_URL,"/assets/").concat(e)}},25798:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(52322),r=n(70817),l=n(17051),s=n(72779),o=n.n(s),c=n(38421),a=n.n(c),d=n(29248),u=n(53920),h=n(64373),_=n.n(h),g=e=>{var t;let{image:n,animationData:s,header:c,text:d,image_placement:h,translations:g,layout:m="inline"}=e,v=(null==g?void 0:null===(t=g[0])||void 0===t?void 0:t.image)||n;return"card"===m?(0,i.jsx)(l.Card,{variant:"secondary",children:(0,i.jsxs)(l.Stack,{gap:"lg",className:"mt-4",children:[(0,i.jsx)(a(),{src:x(n.id),alt:null==n?void 0:n.title,width:(null==n?void 0:n.width)||50,height:(null==n?void 0:n.height)||50}),(0,i.jsx)(l.Heading,{color:"white",as:"h6",align:"center",children:(0,r.i0)("header",g,c)}),(0,i.jsx)(r.UG,{color:"white",children:(0,r.i0)("text",g,d)})]})}):"inline"===m?(0,i.jsx)(l.Card,{children:(0,i.jsxs)("div",{className:o()("row","align-items-center","right"===h&&"flex-row-reverse"),children:[(0,i.jsx)("div",{className:"col-12 col-lg-7",children:(0,i.jsx)("div",{className:o()(_().inlineImage),children:(0,i.jsx)(a(),{src:x(v.id),alt:null==v?void 0:v.title,width:null==v?void 0:v.width,height:null==v?void 0:v.height})})}),(0,i.jsx)("div",{className:"col-12 col-lg-5",children:(0,i.jsxs)(l.Stack,{children:[(0,i.jsx)(l.Heading,{color:"really-red",as:"h6",fontSize:"xl",spacing:"sm",children:(0,r.i0)("header",g,c)}),(0,i.jsx)(r.UG,{children:(0,r.i0)("text",g,d)})]})})]})}):(0,i.jsx)("article",{className:o()(_().container),children:(0,i.jsx)(l.Container,{children:(0,i.jsxs)("div",{className:o()("row","align-items-center","right"===h&&"flex-row-reverse"),children:[(0,i.jsxs)("div",{className:"col-12 col-lg-7",children:[n&&(0,i.jsx)(u.Z,{...f("left"===h?"ltr":"rtl",0),threshold:.5,children:(0,i.jsx)("div",{className:o()(_().image,"left"===h?_().ltr:_().rtl),children:(0,i.jsx)(a(),{src:x(v.id),alt:null==v?void 0:v.title,width:null==v?void 0:v.width,height:null==v?void 0:v.height})})}),s&&(0,i.jsx)(u.Z,{...f("left"===h?"ltr":"rtl",0),threshold:.5,children:(0,i.jsx)("div",{className:_().animation,children:(0,i.jsx)(l.Lottie,{options:{animationData:s,autoplay:!0,loop:!0},height:490,speed:.5})})})]}),(0,i.jsx)("div",{className:"col-12 col-lg-5",children:(0,i.jsxs)(l.Stack,{children:[(0,i.jsx)(u.Z,{...f("left"===h?"rtl":"ltr",0),threshold:.5,children:(0,i.jsx)(l.Heading,{color:"really-red",as:"h6",fontSize:"xl",spacing:"sm",children:(0,r.i0)("header",g,c)})}),(0,i.jsx)(u.Z,{...f("left"===h?"rtl":"ltr",.2),children:(0,i.jsx)(r.UG,{children:(0,r.i0)("text",g,d)})})]})})]})})})};let f=(e,t)=>({variants:{visible:{opacity:1,x:"0"},hidden:{opacity:0,x:"ltr"===e?"-100px":"100px"}},transition:{duration:.7,delay:t}});function x(e){return"".concat(d.p.DIRECTUS_URL,"/assets/").concat(e)}},20958:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return s}});var i=n(52322),r=n(17051),l=n(57086),s=!0;t.default=e=>{let{content:t,slug:n}=e;return(0,i.jsx)(r.Stack,{children:(0,i.jsx)(l.Z,{content:t,fields:["cards","images","rich_texts","subtitles","texts_with_images","titles","heroes"],textsWithImagesLayout:"fullBleed",slug:n})})}},10090:function(e){e.exports={container:"heroImage_container__QViEh",blendMode_backDrop:"heroImage_blendMode_backDrop__H_tPu",blendMode_overlay:"heroImage_blendMode_overlay__GiEur",fullscreen:"heroImage_fullscreen__J8_0U",content:"heroImage_content__zz7hO",content_bottom:"heroImage_content_bottom___5hdz",content_top:"heroImage_content_top__Y7Qoj",content_center:"heroImage_content_center__fDbI1"}},64373:function(e){e.exports={container:"textWithImage_container____DpW",image:"textWithImage_image__56j1J",rtl:"textWithImage_rtl__dGREw",inlineImage:"textWithImage_inlineImage__NcNip",animation:"textWithImage_animation__PVYNh"}},28066:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var i=n(57035),r=n(25162),l=n(19209);function s(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,r){(0,i.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let s=[];return t.forEach(e=>{s.push((0,l.d)(e,n,{transitionOverride:r}))}),Promise.all(s)},set:n=>((0,i.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{(0,r.gg)(e,n)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}var o=n(3105),c=n(23617);let a=function(){let e=(0,o.h)(s);return(0,c.L)(e.mount,[]),e}},30299:function(e,t,n){"use strict";let i;n.d(t,{YD:function(){return c}});var r=n(2784);let l=new Map,s=new WeakMap,o=0;function c({threshold:e,delay:t,trackVisibility:n,rootMargin:c,root:a,triggerOnce:d,skip:u,initialInView:h,fallbackInView:_,onChange:g}={}){var f;let[x,m]=r.useState(null),v=r.useRef(),[j,p]=r.useState({inView:!!h,entry:void 0});v.current=g,r.useEffect(()=>{let r;if(!u&&x)return r=function(e,t,n={},r=i){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:c,observer:a,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(s.has(n)||(o+=1,s.set(n,o.toString())),s.get(n)):"0":e[t]}`}).toString(),n=l.get(t);if(!n){let i;let r=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let l=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=l),null==(n=r.get(t.target))||n.forEach(e=>{e(l,t)})})},e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:r},l.set(t,n)}return n}(n),u=d.get(e)||[];return d.has(e)||d.set(e,u),u.push(t),a.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(d.delete(e),a.unobserve(e)),0===d.size&&(a.disconnect(),l.delete(c))}}(x,(e,t)=>{p({inView:e,entry:t}),v.current&&v.current(e,t),t.isIntersecting&&d&&r&&(r(),r=void 0)},{root:a,rootMargin:c,threshold:e,trackVisibility:n,delay:t},_),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,x,a,c,d,u,n,_,t]);let w=null==(f=j.entry)?void 0:f.target,b=r.useRef();x||!w||d||u||b.current===w||(b.current=w,p({inView:!!h,entry:void 0}));let y=[m,j.inView,j.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=25112)}),_N_E=e.O()}]);
+//# sourceMappingURL=[...slug]-824434296ba0efec.js.map
\ No newline at end of file
diff --git a/a4_se_post_instabox/public/Static_zy/_next/static/chunks/pages/_app-413fcac9a15671e2.js b/a4_se_post_instabox/public/Static_zy/_next/static/chunks/pages/_app-413fcac9a15671e2.js
new file mode 100644
index 0000000..d76cb1a
--- /dev/null
+++ b/a4_se_post_instabox/public/Static_zy/_next/static/chunks/pages/_app-413fcac9a15671e2.js
@@ -0,0 +1,58 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{79138:function(S,E,D){"use strict";D.d(E,{Z:function(){return T}});var O=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,T=function(S){var E={};return function(D){return void 0===E[D]&&(E[D]=S(D)),E[D]}}(function(S){return O.test(S)||111===S.charCodeAt(0)&&110===S.charCodeAt(1)&&91>S.charCodeAt(2)})},73731:function(S,E,D){"use strict";function O(S,E,D){if(void 0===D&&(D=Error),!S)throw new D(E)}D.d(E,{kG:function(){return O}})},75413:function(S,E,D){"use strict";function O(S,E){var D=E&&E.cache?E.cache:W,O=E&&E.serializer?E.serializer:N;return(E&&E.strategy?E.strategy:I)(S,{cache:D,serializer:O})}function T(S){return null==S||"number"==typeof S||"boolean"==typeof S}function R(S,E,D,O){var R=T(O)?O:D(O),M=E.get(R);return void 0===M&&(M=S.call(this,O),E.set(R,M)),M}function M(S,E,D){var O=Array.prototype.slice.call(arguments,3),T=D(O),R=E.get(T);return void 0===R&&(R=S.apply(this,O),E.set(T,R)),R}function L(S,E,D,O,T){return D.bind(E,S,O,T)}function I(S,E){var D=1===S.length?R:M;return L(S,this,D,E.cache.create(),E.serializer)}function $(S,E){return L(S,this,M,E.cache.create(),E.serializer)}function V(S,E){return L(S,this,R,E.cache.create(),E.serializer)}D.d(E,{A:function(){return U},H:function(){return O}});var N=function(){return JSON.stringify(arguments)};function G(){this.cache=Object.create(null)}G.prototype.get=function(S){return this.cache[S]},G.prototype.set=function(S,E){this.cache[S]=E};var W={create:function(){return new G}},U={variadic:$,monadic:V}},82614:function(S,E,D){"use strict";D.d(E,{wD:function(){return T},VG:function(){return V},rp:function(){return G},Ii:function(){return X},O4:function(){return $},uf:function(){return N},Wh:function(){return K},Jo:function(){return H},yx:function(){return Y},Wi:function(){return U},HI:function(){return Z},pe:function(){return W},Qc:function(){return eH}});var O,T,R,M,L,I=D(5163);function $(S){return S.type===T.literal}function V(S){return S.type===T.argument}function N(S){return S.type===T.number}function G(S){return S.type===T.date}function W(S){return S.type===T.time}function U(S){return S.type===T.select}function H(S){return S.type===T.plural}function Y(S){return S.type===T.pound}function Z(S){return S.type===T.tag}function K(S){return!!(S&&"object"==typeof S&&S.type===R.number)}function X(S){return!!(S&&"object"==typeof S&&S.type===R.dateTime)}!function(S){S[S.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",S[S.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",S[S.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",S[S.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",S[S.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",S[S.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",S[S.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",S[S.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",S[S.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",S[S.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",S[S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",S[S.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",S[S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",S[S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",S[S.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",S[S.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",S[S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",S[S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",S[S.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",S[S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",S[S.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",S[S.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",S[S.INVALID_TAG=23]="INVALID_TAG",S[S.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",S[S.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",S[S.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(O||(O={})),function(S){S[S.literal=0]="literal",S[S.argument=1]="argument",S[S.number=2]="number",S[S.date=3]="date",S[S.time=4]="time",S[S.select=5]="select",S[S.plural=6]="plural",S[S.pound=7]="pound",S[S.tag=8]="tag"}(T||(T={})),function(S){S[S.number=0]="number",S[S.dateTime=1]="dateTime"}(R||(R={}));var Q=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,J=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ee(S){var E={};return S.replace(J,function(S){var D=S.length;switch(S[0]){case"G":E.era=4===D?"long":5===D?"narrow":"short";break;case"y":E.year=2===D?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":E.month=["numeric","2-digit","short","long","narrow"][D-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":E.day=["numeric","2-digit"][D-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":E.weekday=4===D?"short":5===D?"narrow":"short";break;case"e":if(D<4)throw RangeError("`e..eee` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][D-4];break;case"c":if(D<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][D-4];break;case"a":E.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":E.hourCycle="h12",E.hour=["numeric","2-digit"][D-1];break;case"H":E.hourCycle="h23",E.hour=["numeric","2-digit"][D-1];break;case"K":E.hourCycle="h11",E.hour=["numeric","2-digit"][D-1];break;case"k":E.hourCycle="h24",E.hour=["numeric","2-digit"][D-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":E.minute=["numeric","2-digit"][D-1];break;case"s":E.second=["numeric","2-digit"][D-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":E.timeZoneName=D<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),E}var et=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function er(S){if(0===S.length)throw Error("Number skeleton cannot be empty");for(var E=S.split(et).filter(function(S){return S.length>0}),D=[],O=0,T=E;O1)throw RangeError("integer-width stems only accept a single optional option");T.options[0].replace(eo,function(S,D,O,T,R,M){if(D)E.minimumIntegerDigits=O.length;else if(T&&R)throw Error("We currently do not support maximum integer digits");else if(M)throw Error("We currently do not support exact integer digits");return""});continue}if(es.test(T.stem)){E.minimumIntegerDigits=T.stem.length;continue}if(ei.test(T.stem)){if(T.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");T.stem.replace(ei,function(S,D,O,T,R,M){return"*"===O?E.minimumFractionDigits=D.length:T&&"#"===T[0]?E.maximumFractionDigits=T.length:R&&M?(E.minimumFractionDigits=R.length,E.maximumFractionDigits=R.length+M.length):(E.minimumFractionDigits=D.length,E.maximumFractionDigits=D.length),""});var R=T.options[0];"w"===R?E=(0,I.pi)((0,I.pi)({},E),{trailingZeroDisplay:"stripIfInteger"}):R&&(E=(0,I.pi)((0,I.pi)({},E),eu(R)));continue}if(ea.test(T.stem)){E=(0,I.pi)((0,I.pi)({},E),eu(T.stem));continue}var M=ec(T.stem);M&&(E=(0,I.pi)((0,I.pi)({},E),M));var L=ed(T.stem);L&&(E=(0,I.pi)((0,I.pi)({},E),L))}return E}var ef={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function em(S,E){for(var D="",O=0;O>1),I="a",$=ey(E);for(("H"==$||"k"==$)&&(L=0);L-- >0;)D+=I;for(;M-- >0;)D=$+D}else"J"===T?D+="H":D+=T}return D}function ey(S){var E,D=S.hourCycle;if(void 0===D&&S.hourCycles&&S.hourCycles.length&&(D=S.hourCycles[0]),D)switch(D){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var O=S.language;return"root"!==O&&(E=S.maximize().region),(ef[E||""]||ef[O||""]||ef["".concat(O,"-001")]||ef["001"])[0]}var eg=new RegExp("^".concat(Q.source,"*")),eb=new RegExp("".concat(Q.source,"*$"));function e_(S,E){return{start:S,end:E}}var ek=!!String.prototype.startsWith,ew=!!String.fromCodePoint,eS=!!Object.fromEntries,eC=!!String.prototype.codePointAt,eE=!!String.prototype.trimStart,eP=!!String.prototype.trimEnd,eD=Number.isSafeInteger?Number.isSafeInteger:function(S){return"number"==typeof S&&isFinite(S)&&Math.floor(S)===S&&9007199254740991>=Math.abs(S)},eO=!0;try{var eT=e$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");eO=(null===(M=eT.exec("a"))||void 0===M?void 0:M[0])==="a"}catch(S){eO=!1}var eA=ek?function(S,E,D){return S.startsWith(E,D)}:function(S,E,D){return S.slice(D,D+E.length)===E},eR=ew?String.fromCodePoint:function(){for(var S,E=[],D=0;DR;){if((S=E[R++])>1114111)throw RangeError(S+" is not a valid code point");O+=S<65536?String.fromCharCode(S):String.fromCharCode(((S-=65536)>>10)+55296,S%1024+56320)}return O},ej=eS?Object.fromEntries:function(S){for(var E={},D=0,O=S;D=O)){var T=S.charCodeAt(E);return T<55296||T>56319||E+1===O||(D=S.charCodeAt(E+1))<56320||D>57343?T:(T-55296<<10)+(D-56320)+65536}},eL=eE?function(S){return S.trimStart()}:function(S){return S.replace(eg,"")},eI=eP?function(S){return S.trimEnd()}:function(S){return S.replace(eb,"")};function e$(S,E){return new RegExp(S,E)}if(eO){var eF=e$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");L=function(S,E){var D;return eF.lastIndex=E,null!==(D=eF.exec(S)[1])&&void 0!==D?D:""}}else L=function(S,E){for(var D=[];;){var O=eM(S,E);if(void 0===O||eG(O)||eW(O))break;D.push(O),E+=O>=65536?2:1}return eR.apply(void 0,D)};var eB=function(){function S(S,E){void 0===E&&(E={}),this.message=S,this.position={offset:0,line:1,column:1},this.ignoreTag=!!E.ignoreTag,this.locale=E.locale,this.requiresOtherClause=!!E.requiresOtherClause,this.shouldParseSkeletons=!!E.shouldParseSkeletons}return S.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},S.prototype.parseMessage=function(S,E,D){for(var R=[];!this.isEOF();){var M=this.char();if(123===M){var L=this.parseArgument(S,D);if(L.err)return L;R.push(L.val)}else if(125===M&&S>0)break;else if(35===M&&("plural"===E||"selectordinal"===E)){var I=this.clonePosition();this.bump(),R.push({type:T.pound,location:e_(I,this.clonePosition())})}else if(60!==M||this.ignoreTag||47!==this.peek()){if(60===M&&!this.ignoreTag&&eV(this.peek()||0)){var L=this.parseTag(S,E);if(L.err)return L;R.push(L.val)}else{var L=this.parseLiteral(S,E);if(L.err)return L;R.push(L.val)}}else{if(!D)return this.error(O.UNMATCHED_CLOSING_TAG,e_(this.clonePosition(),this.clonePosition()));break}}return{val:R,err:null}},S.prototype.parseTag=function(S,E){var D=this.clonePosition();this.bump();var R=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:T.literal,value:"<".concat(R,"/>"),location:e_(D,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(O.INVALID_TAG,e_(D,this.clonePosition()));var M=this.parseMessage(S+1,E,!0);if(M.err)return M;var L=M.val,I=this.clonePosition();if(!this.bumpIf(""))return this.error(O.UNCLOSED_TAG,e_(D,this.clonePosition()));if(this.isEOF()||!eV(this.char()))return this.error(O.INVALID_TAG,e_(I,this.clonePosition()));var $=this.clonePosition();return R!==this.parseTagName()?this.error(O.UNMATCHED_CLOSING_TAG,e_($,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:T.tag,value:R,children:L,location:e_(D,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,e_(I,this.clonePosition()))},S.prototype.parseTagName=function(){var S=this.offset();for(this.bump();!this.isEOF()&&ez(this.char());)this.bump();return this.message.slice(S,this.offset())},S.prototype.parseLiteral=function(S,E){for(var D=this.clonePosition(),O="";;){var R=this.tryParseQuote(E);if(R){O+=R;continue}var M=this.tryParseUnquoted(S,E);if(M){O+=M;continue}var L=this.tryParseLeftAngleBracket();if(L){O+=L;continue}break}var I=e_(D,this.clonePosition());return{val:{type:T.literal,value:O,location:I},err:null}},S.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&eN(this.peek()||0)?null:(this.bump(),"<")},S.prototype.tryParseQuote=function(S){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===S||"selectordinal"===S)break;return null;default:return null}this.bump();var E=[this.char()];for(this.bump();!this.isEOF();){var D=this.char();if(39===D){if(39===this.peek())E.push(39),this.bump();else{this.bump();break}}else E.push(D);this.bump()}return eR.apply(void 0,E)},S.prototype.tryParseUnquoted=function(S,E){if(this.isEOF())return null;var D=this.char();return 60===D||123===D||35===D&&("plural"===E||"selectordinal"===E)||125===D&&S>0?null:(this.bump(),eR(D))},S.prototype.parseArgument=function(S,E){var D=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,e_(D,this.clonePosition()));if(125===this.char())return this.bump(),this.error(O.EMPTY_ARGUMENT,e_(D,this.clonePosition()));var R=this.parseIdentifierIfPossible().value;if(!R)return this.error(O.MALFORMED_ARGUMENT,e_(D,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,e_(D,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:T.argument,value:R,location:e_(D,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,e_(D,this.clonePosition()));return this.parseArgumentOptions(S,E,R,D);default:return this.error(O.MALFORMED_ARGUMENT,e_(D,this.clonePosition()))}},S.prototype.parseIdentifierIfPossible=function(){var S=this.clonePosition(),E=this.offset(),D=L(this.message,E),O=E+D.length;return this.bumpTo(O),{value:D,location:e_(S,this.clonePosition())}},S.prototype.parseArgumentOptions=function(S,E,D,M){var L,$=this.clonePosition(),V=this.parseIdentifierIfPossible().value,N=this.clonePosition();switch(V){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,e_($,N));case"number":case"date":case"time":this.bumpSpace();var G=null;if(this.bumpIf(",")){this.bumpSpace();var W=this.clonePosition(),U=this.parseSimpleArgStyleIfPossible();if(U.err)return U;var H=eI(U.val);if(0===H.length)return this.error(O.EXPECT_ARGUMENT_STYLE,e_(this.clonePosition(),this.clonePosition()));G={style:H,styleLocation:e_(W,this.clonePosition())}}var Y=this.tryParseArgumentClose(M);if(Y.err)return Y;var Z=e_(M,this.clonePosition());if(G&&eA(null==G?void 0:G.style,"::",0)){var K=eL(G.style.slice(2));if("number"===V){var U=this.parseNumberSkeletonFromString(K,G.styleLocation);if(U.err)return U;return{val:{type:T.number,value:D,location:Z,style:U.val},err:null}}if(0===K.length)return this.error(O.EXPECT_DATE_TIME_SKELETON,Z);var X=K;this.locale&&(X=em(K,this.locale));var H={type:R.dateTime,pattern:X,location:G.styleLocation,parsedOptions:this.shouldParseSkeletons?ee(X):{}};return{val:{type:"date"===V?T.date:T.time,value:D,location:Z,style:H},err:null}}return{val:{type:"number"===V?T.number:"date"===V?T.date:T.time,value:D,location:Z,style:null!==(L=null==G?void 0:G.style)&&void 0!==L?L:null},err:null};case"plural":case"selectordinal":case"select":var Q=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,e_(Q,(0,I.pi)({},Q)));this.bumpSpace();var J=this.parseIdentifierIfPossible(),et=0;if("select"!==V&&"offset"===J.value){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,e_(this.clonePosition(),this.clonePosition()));this.bumpSpace();var U=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(U.err)return U;this.bumpSpace(),J=this.parseIdentifierIfPossible(),et=U.val}var er=this.tryParsePluralOrSelectOptions(S,V,E,J);if(er.err)return er;var Y=this.tryParseArgumentClose(M);if(Y.err)return Y;var en=e_(M,this.clonePosition());if("select"===V)return{val:{type:T.select,value:D,options:ej(er.val),location:en},err:null};return{val:{type:T.plural,value:D,options:ej(er.val),offset:et,pluralType:"plural"===V?"cardinal":"ordinal",location:en},err:null};default:return this.error(O.INVALID_ARGUMENT_TYPE,e_($,N))}},S.prototype.tryParseArgumentClose=function(S){return this.isEOF()||125!==this.char()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,e_(S,this.clonePosition())):(this.bump(),{val:!0,err:null})},S.prototype.parseSimpleArgStyleIfPossible=function(){for(var S=0,E=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var D=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,e_(D,this.clonePosition()));this.bump();break;case 123:S+=1,this.bump();break;case 125:if(!(S>0))return{val:this.message.slice(E.offset,this.offset()),err:null};S-=1;break;default:this.bump()}return{val:this.message.slice(E.offset,this.offset()),err:null}},S.prototype.parseNumberSkeletonFromString=function(S,E){var D=[];try{D=er(S)}catch(S){return this.error(O.INVALID_NUMBER_SKELETON,E)}return{val:{type:R.number,tokens:D,location:E,parsedOptions:this.shouldParseSkeletons?ep(D):{}},err:null}},S.prototype.tryParsePluralOrSelectOptions=function(S,E,D,T){for(var R,M=!1,L=[],I=new Set,$=T.value,V=T.location;;){if(0===$.length){var N=this.clonePosition();if("select"!==E&&this.bumpIf("=")){var G=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(G.err)return G;V=e_(N,this.clonePosition()),$=this.message.slice(N.offset,this.offset())}else break}if(I.has($))return this.error("select"===E?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,V);"other"===$&&(M=!0),this.bumpSpace();var W=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===E?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,e_(this.clonePosition(),this.clonePosition()));var U=this.parseMessage(S+1,E,D);if(U.err)return U;var H=this.tryParseArgumentClose(W);if(H.err)return H;L.push([$,{value:U.val,location:e_(W,this.clonePosition())}]),I.add($),this.bumpSpace(),$=(R=this.parseIdentifierIfPossible()).value,V=R.location}return 0===L.length?this.error("select"===E?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,e_(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!M?this.error(O.MISSING_OTHER_CLAUSE,e_(this.clonePosition(),this.clonePosition())):{val:L,err:null}},S.prototype.tryParseDecimalInteger=function(S,E){var D=1,O=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(D=-1);for(var T=!1,R=0;!this.isEOF();){var M=this.char();if(M>=48&&M<=57)T=!0,R=10*R+(M-48),this.bump();else break}var L=e_(O,this.clonePosition());return T?eD(R*=D)?{val:R,err:null}:this.error(E,L):this.error(S,L)},S.prototype.offset=function(){return this.position.offset},S.prototype.isEOF=function(){return this.offset()===this.message.length},S.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},S.prototype.char=function(){var S=this.position.offset;if(S>=this.message.length)throw Error("out of bound");var E=eM(this.message,S);if(void 0===E)throw Error("Offset ".concat(S," is at invalid UTF-16 code unit boundary"));return E},S.prototype.error=function(S,E){return{val:null,err:{kind:S,message:this.message,location:E}}},S.prototype.bump=function(){if(!this.isEOF()){var S=this.char();10===S?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=S<65536?1:2)}},S.prototype.bumpIf=function(S){if(eA(this.message,S,this.offset())){for(var E=0;E=0?(this.bumpTo(D),!0):(this.bumpTo(this.message.length),!1)},S.prototype.bumpTo=function(S){if(this.offset()>S)throw Error("targetOffset ".concat(S," must be greater than or equal to the current offset ").concat(this.offset()));for(S=Math.min(S,this.message.length);;){var E=this.offset();if(E===S)break;if(E>S)throw Error("targetOffset ".concat(S," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},S.prototype.bumpSpace=function(){for(;!this.isEOF()&&eG(this.char());)this.bump()},S.prototype.peek=function(){if(this.isEOF())return null;var S=this.char(),E=this.offset(),D=this.message.charCodeAt(E+(S>=65536?2:1));return null!=D?D:null},S}();function eV(S){return S>=97&&S<=122||S>=65&&S<=90}function eN(S){return eV(S)||47===S}function ez(S){return 45===S||46===S||S>=48&&S<=57||95===S||S>=97&&S<=122||S>=65&&S<=90||183==S||S>=192&&S<=214||S>=216&&S<=246||S>=248&&S<=893||S>=895&&S<=8191||S>=8204&&S<=8205||S>=8255&&S<=8256||S>=8304&&S<=8591||S>=11264&&S<=12271||S>=12289&&S<=55295||S>=63744&&S<=64975||S>=65008&&S<=65533||S>=65536&&S<=983039}function eG(S){return S>=9&&S<=13||32===S||133===S||S>=8206&&S<=8207||8232===S||8233===S}function eW(S){return S>=33&&S<=35||36===S||S>=37&&S<=39||40===S||41===S||42===S||43===S||44===S||45===S||S>=46&&S<=47||S>=58&&S<=59||S>=60&&S<=62||S>=63&&S<=64||91===S||92===S||93===S||94===S||96===S||123===S||124===S||125===S||126===S||161===S||S>=162&&S<=165||166===S||167===S||169===S||171===S||172===S||174===S||176===S||177===S||182===S||187===S||191===S||215===S||247===S||S>=8208&&S<=8213||S>=8214&&S<=8215||8216===S||8217===S||8218===S||S>=8219&&S<=8220||8221===S||8222===S||8223===S||S>=8224&&S<=8231||S>=8240&&S<=8248||8249===S||8250===S||S>=8251&&S<=8254||S>=8257&&S<=8259||8260===S||8261===S||8262===S||S>=8263&&S<=8273||8274===S||8275===S||S>=8277&&S<=8286||S>=8592&&S<=8596||S>=8597&&S<=8601||S>=8602&&S<=8603||S>=8604&&S<=8607||8608===S||S>=8609&&S<=8610||8611===S||S>=8612&&S<=8613||8614===S||S>=8615&&S<=8621||8622===S||S>=8623&&S<=8653||S>=8654&&S<=8655||S>=8656&&S<=8657||8658===S||8659===S||8660===S||S>=8661&&S<=8691||S>=8692&&S<=8959||S>=8960&&S<=8967||8968===S||8969===S||8970===S||8971===S||S>=8972&&S<=8991||S>=8992&&S<=8993||S>=8994&&S<=9e3||9001===S||9002===S||S>=9003&&S<=9083||9084===S||S>=9085&&S<=9114||S>=9115&&S<=9139||S>=9140&&S<=9179||S>=9180&&S<=9185||S>=9186&&S<=9254||S>=9255&&S<=9279||S>=9280&&S<=9290||S>=9291&&S<=9311||S>=9472&&S<=9654||9655===S||S>=9656&&S<=9664||9665===S||S>=9666&&S<=9719||S>=9720&&S<=9727||S>=9728&&S<=9838||9839===S||S>=9840&&S<=10087||10088===S||10089===S||10090===S||10091===S||10092===S||10093===S||10094===S||10095===S||10096===S||10097===S||10098===S||10099===S||10100===S||10101===S||S>=10132&&S<=10175||S>=10176&&S<=10180||10181===S||10182===S||S>=10183&&S<=10213||10214===S||10215===S||10216===S||10217===S||10218===S||10219===S||10220===S||10221===S||10222===S||10223===S||S>=10224&&S<=10239||S>=10240&&S<=10495||S>=10496&&S<=10626||10627===S||10628===S||10629===S||10630===S||10631===S||10632===S||10633===S||10634===S||10635===S||10636===S||10637===S||10638===S||10639===S||10640===S||10641===S||10642===S||10643===S||10644===S||10645===S||10646===S||10647===S||10648===S||S>=10649&&S<=10711||10712===S||10713===S||10714===S||10715===S||S>=10716&&S<=10747||10748===S||10749===S||S>=10750&&S<=11007||S>=11008&&S<=11055||S>=11056&&S<=11076||S>=11077&&S<=11078||S>=11079&&S<=11084||S>=11085&&S<=11123||S>=11124&&S<=11125||S>=11126&&S<=11157||11158===S||S>=11159&&S<=11263||S>=11776&&S<=11777||11778===S||11779===S||11780===S||11781===S||S>=11782&&S<=11784||11785===S||11786===S||11787===S||11788===S||11789===S||S>=11790&&S<=11798||11799===S||S>=11800&&S<=11801||11802===S||11803===S||11804===S||11805===S||S>=11806&&S<=11807||11808===S||11809===S||11810===S||11811===S||11812===S||11813===S||11814===S||11815===S||11816===S||11817===S||S>=11818&&S<=11822||11823===S||S>=11824&&S<=11833||S>=11834&&S<=11835||S>=11836&&S<=11839||11840===S||11841===S||11842===S||S>=11843&&S<=11855||S>=11856&&S<=11857||11858===S||S>=11859&&S<=11903||S>=12289&&S<=12291||12296===S||12297===S||12298===S||12299===S||12300===S||12301===S||12302===S||12303===S||12304===S||12305===S||S>=12306&&S<=12307||12308===S||12309===S||12310===S||12311===S||12312===S||12313===S||12314===S||12315===S||12316===S||12317===S||S>=12318&&S<=12319||12320===S||12336===S||64830===S||64831===S||S>=65093&&S<=65094}function eU(S){S.forEach(function(S){if(delete S.location,U(S)||H(S))for(var E in S.options)delete S.options[E].location,eU(S.options[E].value);else N(S)&&K(S.style)?delete S.style.location:(G(S)||W(S))&&X(S.style)?delete S.style.location:Z(S)&&eU(S.children)})}function eH(S,E){void 0===E&&(E={}),E=(0,I.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},E);var D=new eB(S,E).parse();if(D.err){var T=SyntaxError(O[D.err.kind]);throw T.location=D.err.location,T.originalMessage=D.err.message,T}return(null==E?void 0:E.captureLocation)||eU(D.val),D.val}},40283:function(S,E,D){"use strict";D.d(E,{$6:function(){return N},OV:function(){return L},Qe:function(){return $},X9:function(){return V},gb:function(){return I},wI:function(){return M}});var O,T=D(5163);!function(S){S.FORMAT_ERROR="FORMAT_ERROR",S.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",S.INVALID_CONFIG="INVALID_CONFIG",S.MISSING_DATA="MISSING_DATA",S.MISSING_TRANSLATION="MISSING_TRANSLATION"}(O||(O={}));var R=function(S){function E(D,O,T){var R=this,M=T?T instanceof Error?T:Error(String(T)):void 0;return(R=S.call(this,"[@formatjs/intl Error ".concat(D,"] ").concat(O,"\n").concat(M?"\n".concat(M.message,"\n").concat(M.stack):""))||this).code=D,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(R,E),R}return(0,T.ZT)(E,S),E}(Error),M=function(S){function E(E,D){return S.call(this,O.UNSUPPORTED_FORMATTER,E,D)||this}return(0,T.ZT)(E,S),E}(R),L=function(S){function E(E,D){return S.call(this,O.INVALID_CONFIG,E,D)||this}return(0,T.ZT)(E,S),E}(R),I=function(S){function E(E,D){return S.call(this,O.MISSING_DATA,E,D)||this}return(0,T.ZT)(E,S),E}(R),$=function(S){function E(E,D,T){var R=S.call(this,O.FORMAT_ERROR,"".concat(E,"\nLocale: ").concat(D,"\n"),T)||this;return R.locale=D,R}return(0,T.ZT)(E,S),E}(R),V=function(S){function E(E,D,O,T){var R=S.call(this,"".concat(E,"\nMessageID: ").concat(null==O?void 0:O.id,"\nDefault Message: ").concat(null==O?void 0:O.defaultMessage,"\nDescription: ").concat(null==O?void 0:O.description,"\n"),D,T)||this;return R.descriptor=O,R.locale=D,R}return(0,T.ZT)(E,S),E}($),N=function(S){function E(E,D){var T=S.call(this,O.MISSING_TRANSLATION,'Missing message: "'.concat(E.id,'" for locale "').concat(D,'", using ').concat(E.defaultMessage?"default message (".concat("string"==typeof E.defaultMessage?E.defaultMessage:E.defaultMessage.map(function(S){var E;return null!==(E=S.value)&&void 0!==E?E:JSON.stringify(S)}).join(),")"):"id"," as fallback."))||this;return T.descriptor=E,T}return(0,T.ZT)(E,S),E}(R)},32428:function(S,E,D){"use strict";D.d(E,{L6:function(){return L},Sn:function(){return $},TB:function(){return G},Z0:function(){return I},ax:function(){return N}});var O=D(5163),T=D(77481),R=D(75413),M=D(40283);function L(S,E,D){return void 0===D&&(D={}),E.reduce(function(E,O){return O in S?E[O]=S[O]:O in D&&(E[O]=D[O]),E},{})}var I={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(S){},onWarn:function(S){}};function $(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function V(S){return{create:function(){return{get:function(E){return S[E]},set:function(E,D){S[E]=D}}}}}function N(S){void 0===S&&(S=$());var E=Intl.RelativeTimeFormat,D=Intl.ListFormat,M=Intl.DisplayNames,L=(0,R.H)(function(){for(var S,E=[],D=0;DE.indexOf(O)&&(D[O]=S[O]);if(null!=S&&"function"==typeof Object.getOwnPropertySymbols)for(var T=0,O=Object.getOwnPropertySymbols(S);TE.indexOf(O[T])&&Object.prototype.propertyIsEnumerable.call(S,O[T])&&(D[O[T]]=S[O[T]]);return D};Object.defineProperty(E,"__esModule",{value:!0}),E.hideNotifications=E.onUserEmailSupplied=E.showConversation=E.showTicket=E.startChecklist=E.startSurvey=E.showNews=E.showArticle=E.startTour=E.whoami=E.getVisitorId=E.trackEvent=E.onUnreadCountChange=E.onShow=E.onHide=E.showNewMessage=E.showMessages=E.showSpace=E.show=E.hide=E.update=E.shutdown=E.boot=E.Intercom=void 0;let T=D(5799),R=D(13866),M=(S,...E)=>{if(window,window.Intercom)return window.Intercom(S,...E);console.warn("Please ensure Intercom is setup and running on client-side!")},L=S=>{if("object"!=typeof S){console.warn("Intercom initialiser called with invalid parameters.");return}let{region:E="us",widgetUrl:D}=S,M=O(S,["region","widgetUrl"]);"undefined"==typeof window||R.ref||(window.intercomSettings=Object.assign(Object.assign({},M),{api_base:T.regionAPIs.get(E)}),(0,R.init)({widgetUrl:D}))};E.Intercom=L,E.default=E.Intercom;let I=S=>M("boot",S);E.boot=I;let $=()=>M("shutdown");E.shutdown=$;let V=S=>M("update",S);E.update=V;let N=()=>M("hide");E.hide=N;let G=()=>M("show");E.show=G;let W=S=>M("showSpace",S);E.showSpace=W;let U=()=>M("showMessages");E.showMessages=U;let H=S=>M("showNewMessage",S);E.showNewMessage=H;let Y=S=>M("onHide",S);E.onHide=Y;let Z=S=>M("onShow",S);E.onShow=Z;let K=S=>M("onUnreadCountChange",S);E.onUnreadCountChange=K;let X=(...S)=>M("trackEvent",...S);E.trackEvent=X;let Q=()=>M("getVisitorId");E.getVisitorId=Q;let J=()=>M("whoami");E.whoami=J;let ee=S=>M("startTour",S);E.startTour=ee;let et=S=>M("showArticle",S);E.showArticle=et;let er=S=>M("showNews",S);E.showNews=er;let en=S=>M("startSurvey",S);E.startSurvey=en;let ei=S=>M("startChecklist",S);E.startChecklist=ei;let ea=S=>M("showTicket",S);E.showTicket=ea;let eo=S=>M("showConversation",S);E.showConversation=eo;let es=S=>M("onUserEmailSupplied",S);E.onUserEmailSupplied=es;let eu=S=>M("hideNotifications",S);E.hideNotifications=eu},13866:function(S,E){"use strict";var D=this&&this.__awaiter||function(S,E,D,O){function T(S){return S instanceof D?S:new D(function(E){E(S)})}return new(D||(D=Promise))(function(D,R){function M(S){try{I(O.next(S))}catch(S){R(S)}}function L(S){try{I(O.throw(S))}catch(S){R(S)}}function I(S){S.done?D(S.value):T(S.value).then(M,L)}I((O=O.apply(S,E||[])).next())})};Object.defineProperty(E,"__esModule",{value:!0}),E.ref=E.init=void 0;let O="_intercom_npm_loader",T=function(){T.loaderQueue(arguments)};T.q=[],T.loaderQueue=function(S){T.q.push(S)};let R=function(S){var E,D,T=document;if(!T.getElementById(O)){var R=T.createElement("script");R.type="text/javascript",R.async=!0,R.id=O,R.src=S||"https://widget.intercom.io/widget/"+(null===(E=window.intercomSettings)||void 0===E?void 0:E.app_id);var M=T.getElementsByTagName("script")[0];null===(D=M.parentNode)||void 0===D||D.insertBefore(R,M)}},M=()=>"complete"===document.readyState||"interactive"===document.readyState,L=(...S)=>D(void 0,[...S],void 0,function*(S={}){var E=window,D=E.Intercom;E.intercomSettings&&(E.intercomSettings.installation_type="npm-package"),"function"==typeof D?(D("reattach_activator"),D("update",E.intercomSettings)):(E.Intercom=T,M()?R(S.widgetUrl):(document.addEventListener("readystatechange",function(){M()&&R(S.widgetUrl)}),E.attachEvent?E.attachEvent("onload",()=>R(S.widgetUrl)):E.addEventListener("load",()=>R(S.widgetUrl),!1)))});E.init=L,E.ref=void 0},12634:function(S,E,D){"use strict";D.d(E,{Wz:function(){return $},m9:function(){return L},re:function(){return N}});var O=D(92642),T=D(90063),R=D(21995),M=D(63699);let L=T.n2,I=0;function $(){return I>0}function V(){I++,setTimeout(()=>{I--})}function N(S,E={},D){if("function"!=typeof S)return S;try{let E=S.__sentry_wrapped__;if(E)return E;if((0,R.HK)(S))return S}catch(E){return S}let T=function(){let T=Array.prototype.slice.call(arguments);try{D&&"function"==typeof D&&D.apply(this,arguments);let O=T.map(S=>N(S,E));return S.apply(this,O)}catch(S){throw V(),(0,O.$e)(D=>{D.addEventProcessor(S=>(E.mechanism&&((0,M.Db)(S,void 0,void 0),(0,M.EG)(S,E.mechanism)),S.extra={...S.extra,arguments:T},S)),(0,O.Tb)(S)}),S}};try{for(let E in S)Object.prototype.hasOwnProperty.call(S,E)&&(T[E]=S[E])}catch(S){}(0,R.$Q)(T,S),(0,R.xp)(S,"__sentry_wrapped__",T);try{let E=Object.getOwnPropertyDescriptor(T,"name");E.configurable&&Object.defineProperty(T,"name",{get:()=>S.name})}catch(S){}return T}},3925:function(S,E,D){"use strict";let O,T;D.d(E,{yl:function(){return rW},S1:function(){return rG}});var R=D(58536),M=D(63699),L=D(39660);let I=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],$=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class V{static __initStatic(){this.id="InboundFilters"}__init(){this.name=V.id}constructor(S={}){this._options=S,V.prototype.__init.call(this)}setupOnce(S,E){let D=S=>{let D=E();if(D){let E=D.getIntegration(V);if(E){let O=D.getClient(),T=O?O.getOptions():{},R=N(E._options,T);return G(S,R)?null:S}}return S};D.id=this.name,S(D)}}function N(S={},E={}){return{allowUrls:[...S.allowUrls||[],...E.allowUrls||[]],denyUrls:[...S.denyUrls||[],...E.denyUrls||[]],ignoreErrors:[...S.ignoreErrors||[],...E.ignoreErrors||[],...S.disableErrorDefaults?[]:I],ignoreTransactions:[...S.ignoreTransactions||[],...E.ignoreTransactions||[],...S.disableTransactionDefaults?[]:$],ignoreInternal:void 0===S.ignoreInternal||S.ignoreInternal}}function G(S,E){return E.ignoreInternal&&K(S)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Event dropped due to being internal Sentry Error.
+Event: ${(0,M.jH)(S)}`),!0):W(S,E.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
+Event: ${(0,M.jH)(S)}`),!0):U(S,E.ignoreTransactions)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
+Event: ${(0,M.jH)(S)}`),!0):H(S,E.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.
+Event: ${(0,M.jH)(S)}.
+Url: ${Q(S)}`),!0):!Y(S,E.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.
+Event: ${(0,M.jH)(S)}.
+Url: ${Q(S)}`),!0)}function W(S,E){return!S.type&&!!E&&!!E.length&&Z(S).some(S=>(0,L.U0)(S,E))}function U(S,E){if("transaction"!==S.type||!E||!E.length)return!1;let D=S.transaction;return!!D&&(0,L.U0)(D,E)}function H(S,E){if(!E||!E.length)return!1;let D=Q(S);return!!D&&(0,L.U0)(D,E)}function Y(S,E){if(!E||!E.length)return!0;let D=Q(S);return!D||(0,L.U0)(D,E)}function Z(S){if(S.message)return[S.message];if(S.exception){let{values:E}=S.exception;try{let{type:S="",value:D=""}=E&&E[E.length-1]||{};return[`${D}`,`${S}: ${D}`]}catch(E){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.error(`Cannot extract message for event ${(0,M.jH)(S)}`)}}return[]}function K(S){try{return"SentryError"===S.exception.values[0].type}catch(S){}return!1}function X(S=[]){for(let E=S.length-1;E>=0;E--){let D=S[E];if(D&&""!==D.filename&&"[native code]"!==D.filename)return D.filename||null}return null}function Q(S){try{let E;try{E=S.exception.values[0].stacktrace.frames}catch(S){}return E?X(E):null}catch(E){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.error(`Cannot extract url for event ${(0,M.jH)(S)}`),null}}V.__initStatic();var J=D(21995);class ee{constructor(){ee.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=ee.id}setupOnce(){O=Function.prototype.toString;try{Function.prototype.toString=function(...S){let E=(0,J.HK)(this)||this;return O.apply(E,S)}}catch(S){}}}ee.__initStatic();var et=D(66465),er=D(51877);let en=[];function ei(S){let E={};return S.forEach(S=>{let{name:D}=S,O=E[D];O&&!O.isDefaultInstance&&S.isDefaultInstance||(E[D]=S)}),Object.keys(E).map(S=>E[S])}function ea(S){let E;let D=S.defaultIntegrations||[],O=S.integrations;D.forEach(S=>{S.isDefaultInstance=!0}),E=Array.isArray(O)?[...D,...O]:"function"==typeof O?(0,M.lE)(O(D)):D;let T=ei(E),R=eu(T,S=>"Debug"===S.name);if(-1!==R){let[S]=T.splice(R,1);T.push(S)}return T}function eo(S){let E={};return S.forEach(S=>{S&&es(S,E)}),E}function es(S,E){E[S.name]=S,-1===en.indexOf(S.name)&&(S.setupOnce(er.c,et.Gd),en.push(S.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log(`Integration installed: ${S.name}`))}function eu(S,E){for(let D=0;DD?e_(S,E-1,D):O}function ek(S,E,D=Infinity,O=Infinity,T=eg()){let[R,M]=T;if(null==E||["number","boolean","string"].includes(typeof E)&&!(0,ey.i2)(E))return E;let L=ew(S,E);if(!L.startsWith("[object "))return L;if(E.__sentry_skip_normalization__)return E;let I="number"==typeof E.__sentry_override_normalization_depth__?E.__sentry_override_normalization_depth__:D;if(0===I)return L.replace("object ","");if(R(E))return"[Circular ~]";let $=E;if($&&"function"==typeof $.toJSON)try{let S=$.toJSON();return ek("",S,I-1,O,T)}catch(S){}let V=Array.isArray(E)?[]:{},N=0,G=(0,J.Sh)(E);for(let S in G){if(!Object.prototype.hasOwnProperty.call(G,S))continue;if(N>=O){V[S]="[MaxProperties ~]";break}let E=G[S];V[S]=ek(S,E,I-1,O,T),N++}return M(E),V}function ew(S,E){try{if("domain"===S&&E&&"object"==typeof E&&E._events)return"[Domain]";if("domainEmitter"===S)return"[DomainEmitter]";if(void 0!==D.g&&E===D.g)return"[Global]";if("undefined"!=typeof window&&E===window)return"[Window]";if("undefined"!=typeof document&&E===document)return"[Document]";if((0,ey.Cy)(E))return"[SyntheticEvent]";if("number"==typeof E&&E!=E)return"[NaN]";if("function"==typeof E)return`[Function: ${(0,ed.$P)(E)}]`;if("symbol"==typeof E)return`[${String(E)}]`;if("bigint"==typeof E)return`[BigInt: ${String(E)}]`;let O=eS(E);if(/^HTML(\w*)Element$/.test(O))return`[HTMLElement: ${O}]`;return`[object ${O}]`}catch(S){return`**non-serializable** (${S})`}}function eS(S){let E=Object.getPrototypeOf(S);return E?E.constructor.name:"null prototype"}function eC(S){return~-encodeURI(S).split(/%..|./).length}function eE(S){return eC(JSON.stringify(S))}function eP(S,E=[]){return[S,E]}function eD(S,E){let[D,O]=S;return[D,[...O,E]]}function eO(S,E){let D=S[1];for(let S of D){let D=S[0].type,O=E(S,D);if(O)return!0}return!1}function eT(S,E){let D=E||new TextEncoder;return D.encode(S)}function eA(S,E){let[D,O]=S,T=JSON.stringify(D);function R(S){"string"==typeof T?T="string"==typeof S?T+S:[eT(T,E),S]:T.push("string"==typeof S?eT(S,E):S)}for(let S of O){let[E,D]=S;if(R(`
+${JSON.stringify(E)}
+`),"string"==typeof D||D instanceof Uint8Array)R(D);else{let S;try{S=JSON.stringify(D)}catch(E){S=JSON.stringify(eb(D))}R(S)}}return"string"==typeof T?T:eR(T)}function eR(S){let E=S.reduce((S,E)=>S+E.length,0),D=new Uint8Array(E),O=0;for(let E of S)D.set(E,O),O+=E.length;return D}function ej(S,E){let D="string"==typeof S.data?eT(S.data,E):S.data;return[(0,J.Jr)({type:"attachment",length:D.length,filename:S.filename,content_type:S.contentType,attachment_type:S.attachmentType}),D]}let eM={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function eL(S){return eM[S]}function eI(S){if(!S||!S.sdk)return;let{name:E,version:D}=S.sdk;return{name:E,version:D}}function e$(S,E,D,O){let T=S.sdkProcessingMetadata&&S.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:S.event_id,sent_at:new Date().toISOString(),...E&&{sdk:E},...!!D&&{dsn:(0,em.RA)(O)},...T&&{trace:(0,J.Jr)({...T})}}}class eF extends Error{constructor(S,E="warn"){super(S),this.message=S,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=E}}let eB="7";function eV(S){let E=S.protocol?`${S.protocol}:`:"",D=S.port?`:${S.port}`:"";return`${E}//${S.host}${D}${S.path?`/${S.path}`:""}/api/`}function eN(S){return`${eV(S)}${S.projectId}/envelope/`}function ez(S,E){return(0,J._j)({sentry_key:S.publicKey,sentry_version:eB,...E&&{sentry_client:`${E.name}/${E.version}`}})}function eG(S,E={}){let D="string"==typeof E?E:E.tunnel,O="string"!=typeof E&&E._metadata?E._metadata.sdk:void 0;return D||`${eN(S)}?${ez(S,O)}`}function eW(S,E){return E&&(S.sdk=S.sdk||{},S.sdk.name=S.sdk.name||E.name,S.sdk.version=S.sdk.version||E.version,S.sdk.integrations=[...S.sdk.integrations||[],...E.integrations||[]],S.sdk.packages=[...S.sdk.packages||[],...E.packages||[]]),S}function eU(S,E,D,O){let T=eI(D),R={sent_at:new Date().toISOString(),...T&&{sdk:T},...!!O&&{dsn:(0,em.RA)(E)}},M="aggregates"in S?[{type:"sessions"},S]:[{type:"session"},S.toJSON()];return eP(R,[M])}function eH(S,E,D,O){let T=eI(D),R=S.type&&"replay_event"!==S.type?S.type:"event";eW(S,D&&D.sdk);let M=e$(S,T,O,E);delete S.sdkProcessingMetadata;let L=[{type:R},S];return eP(M,[L])}var eq=D(48364),eY=D(7790),eZ=D(90063),eK=D(66417);function eX(S,E,D,O){let{normalizeDepth:T=3,normalizeMaxBreadth:R=1e3}=S,L={...E,event_id:E.event_id||D.event_id||(0,M.DM)(),timestamp:E.timestamp||(0,eY.yW)()},I=D.integrations||S.integrations.map(S=>S.name);eQ(L,S),e3(L,I),void 0===E.type&&e0(L,S.stackParser);let $=O;D.captureContext&&($=er.s.clone($).update(D.captureContext));let V=(0,ep.WD)(L);if($){if($.getAttachments){let S=[...D.attachments||[],...$.getAttachments()];S.length&&(D.attachments=S)}V=$.applyToEvent(L,D)}return V.then(S=>"number"==typeof T&&T>0?e4(S,T,R):S)}function eQ(S,E){let{environment:D,release:O,dist:T,maxValueLength:R=250}=E;"environment"in S||(S.environment="environment"in E?D:eK.J),void 0===S.release&&void 0!==O&&(S.release=O),void 0===S.dist&&void 0!==T&&(S.dist=T),S.message&&(S.message=(0,L.$G)(S.message,R));let M=S.exception&&S.exception.values&&S.exception.values[0];M&&M.value&&(M.value=(0,L.$G)(M.value,R));let I=S.request;I&&I.url&&(I.url=(0,L.$G)(I.url,R))}let eJ=new WeakMap;function e0(S,E){let D;let O=eZ.n2._sentryDebugIds;if(!O)return;let T=eJ.get(E);T?D=T:(D=new Map,eJ.set(E,D));let R=Object.keys(O).reduce((S,T)=>{let R;let M=D.get(T);M?R=M:(R=E(T),D.set(T,R));for(let E=R.length-1;E>=0;E--){let D=R[E];if(D.filename){S[D.filename]=O[T];break}}return S},{}),M=new Set;try{S.exception.values.forEach(S=>{S.stacktrace.frames.forEach(S=>{S.filename&&M.add(S.filename)})})}catch(S){}S.debug_meta=S.debug_meta||{},S.debug_meta.images=S.debug_meta.images||[];let L=S.debug_meta.images;M.forEach(S=>{R[S]&&L.push({type:"sourcemap",code_file:S,debug_id:R[S]})})}function e3(S,E){E.length>0&&(S.sdk=S.sdk||{},S.sdk.integrations=[...S.sdk.integrations||[],...E])}function e4(S,E,D){if(!S)return null;let O={...S,...S.breadcrumbs&&{breadcrumbs:S.breadcrumbs.map(S=>({...S,...S.data&&{data:eb(S.data,E,D)}}))},...S.user&&{user:eb(S.user,E,D)},...S.contexts&&{contexts:eb(S.contexts,E,D)},...S.extra&&{extra:eb(S.extra,E,D)}};return S.contexts&&S.contexts.trace&&O.contexts&&(O.contexts.trace=S.contexts.trace,S.contexts.trace.data&&(O.contexts.trace.data=eb(S.contexts.trace.data,E,D))),S.spans&&(O.spans=S.spans.map(S=>(S.data&&(S.data=eb(S.data,E,D)),S))),O}let e5="Not capturing exception because it's already been captured.";class e6{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(S){if(e6.prototype.__init.call(this),e6.prototype.__init2.call(this),e6.prototype.__init3.call(this),e6.prototype.__init4.call(this),e6.prototype.__init5.call(this),this._options=S,S.dsn?this._dsn=(0,em.vK)(S.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("No DSN provided, client will not do anything."),this._dsn){let E=eG(this._dsn,S);this._transport=S.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...S.transportOptions,url:E})}}captureException(S,E,D){if((0,M.YO)(S)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log(e5);return}let O=E&&E.event_id;return this._process(this.eventFromException(S,E).then(S=>this._captureEvent(S,E,D)).then(S=>{O=S})),O}captureMessage(S,E,D,O){let T=D&&D.event_id,R=(0,ey.pt)(S)?this.eventFromMessage(String(S),E,D):this.eventFromException(S,D);return this._process(R.then(S=>this._captureEvent(S,D,O)).then(S=>{T=S})),T}captureEvent(S,E,D){if(E&&E.originalException&&(0,M.YO)(E.originalException)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log(e5);return}let O=E&&E.event_id;return this._process(this._captureEvent(S,E,D).then(S=>{O=S})),O}captureSession(S){if(!this._isEnabled()){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("SDK not enabled, will not capture session.");return}"string"!=typeof S.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(S),(0,eq.CT)(S,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(S){let E=this._transport;return E?this._isClientDoneProcessing(S).then(D=>E.flush(S).then(S=>D&&S)):(0,ep.WD)(!0)}close(S){return this.flush(S).then(S=>(this.getOptions().enabled=!1,S))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=eo(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(S){return this._integrations[S]}getIntegration(S){try{return this._integrations[S.id]||null}catch(E){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Cannot retrieve integration ${S.id} from the current Client`),null}}addIntegration(S){es(S,this._integrations)}sendEvent(S,E={}){if(this._dsn){let D=eH(S,this._dsn,this._options._metadata,this._options.tunnel);for(let S of E.attachments||[])D=eD(D,ej(S,this._options.transportOptions&&this._options.transportOptions.textEncoder));let O=this._sendEnvelope(D);O&&O.then(E=>this.emit("afterSendEvent",S,E),null)}}sendSession(S){if(this._dsn){let E=eU(S,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(E)}}recordDroppedEvent(S,E,D){if(this._options.sendClientReports){let D=`${S}:${E}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log(`Adding outcome: "${D}"`),this._outcomes[D]=this._outcomes[D]+1||1}}on(S,E){this._hooks[S]||(this._hooks[S]=[]),this._hooks[S].push(E)}emit(S,...E){this._hooks[S]&&this._hooks[S].forEach(S=>S(...E))}_updateSessionFromEvent(S,E){let D=!1,O=!1,T=E.exception&&E.exception.values;if(T)for(let S of(O=!0,T)){let E=S.mechanism;if(E&&!1===E.handled){D=!0;break}}let R="ok"===S.status,M=R&&0===S.errors||R&&D;M&&((0,eq.CT)(S,{...D&&{status:"crashed"},errors:S.errors||Number(O||D)}),this.captureSession(S))}_isClientDoneProcessing(S){return new ep.cW(E=>{let D=0,O=1,T=setInterval(()=>{0==this._numProcessing?(clearInterval(T),E(!0)):(D+=O,S&&D>=S&&(clearInterval(T),E(!1)))},O)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(S,E,D){let O=this.getOptions(),T=Object.keys(this._integrations);return!E.integrations&&T.length>0&&(E.integrations=T),eX(O,S,E,D)}_captureEvent(S,E={},D){return this._processEvent(S,E,D).then(S=>S.event_id,S=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){let E=S;"log"===E.logLevel?R.kg.log(E.message):R.kg.warn(E)}})}_processEvent(S,E,D){let O=this.getOptions(),{sampleRate:T}=O;if(!this._isEnabled())return(0,ep.$2)(new eF("SDK not enabled, will not capture event.","log"));let R=te(S),M=e7(S),L=S.type||"error",I=`before send for type \`${L}\``;if(M&&"number"==typeof T&&Math.random()>T)return this.recordDroppedEvent("sample_rate","error",S),(0,ep.$2)(new eF(`Discarding event because it's not included in the random sample (sampling rate = ${T})`,"log"));let $="replay_event"===L?"replay":L;return this._prepareEvent(S,E,D).then(D=>{if(null===D)throw this.recordDroppedEvent("event_processor",$,S),new eF("An event processor returned `null`, will not send event.","log");let T=E.data&&!0===E.data.__sentry__;if(T)return D;let R=e8(O,D,E);return e9(R,I)}).then(O=>{if(null===O)throw this.recordDroppedEvent("before_send",$,S),new eF(`${I} returned \`null\`, will not send event.`,"log");let T=D&&D.getSession();!R&&T&&this._updateSessionFromEvent(T,O);let M=O.transaction_info;if(R&&M&&O.transaction!==S.transaction){let S="custom";O.transaction_info={...M,source:S}}return this.sendEvent(O,E),O}).then(null,S=>{if(S instanceof eF)throw S;throw this.captureException(S,{data:{__sentry__:!0},originalException:S}),new eF(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
+Reason: ${S}`)})}_process(S){this._numProcessing++,S.then(S=>(this._numProcessing--,S),S=>(this._numProcessing--,S))}_sendEnvelope(S){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",S),this._transport.send(S).then(null,S=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.error("Error while sending event:",S)});("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.error("Transport disabled")}_clearOutcomes(){let S=this._outcomes;return this._outcomes={},Object.keys(S).map(E=>{let[D,O]=E.split(":");return{reason:D,category:O,quantity:S[E]}})}}function e9(S,E){let D=`${E} must return \`null\` or a valid event.`;if((0,ey.J8)(S))return S.then(S=>{if(!(0,ey.PO)(S)&&null!==S)throw new eF(D);return S},S=>{throw new eF(`${E} rejected with ${S}`)});if(!(0,ey.PO)(S)&&null!==S)throw new eF(D);return S}function e8(S,E,D){let{beforeSend:O,beforeSendTransaction:T}=S;return e7(E)&&O?O(E,D):te(E)&&T?T(E,D):E}function e7(S){return void 0===S.type}function te(S){return"transaction"===S.type}var tt=D(91476),tr=D(4285);function tn(S,E,D){let O=[{type:"client_report"},{timestamp:D||(0,eY.yW)(),discarded_events:S}];return eP(E?{dsn:E}:{},[O])}function ta(S,E){let D=tu(S,E),O={type:E&&E.name,value:th(E)};return D.length&&(O.stacktrace={frames:D}),void 0===O.type&&""===O.value&&(O.value="Unrecoverable error caught"),O}function ts(S,E,D,O){let T=(0,et.Gd)(),R=T.getClient(),M=R&&R.getOptions().normalizeDepth,L={exception:{values:[{type:(0,ey.cO)(E)?E.constructor.name:O?"UnhandledRejection":"Error",value:`Non-Error ${O?"promise rejection":"exception"} captured with keys: ${(0,J.zf)(E)}`}]},extra:{__serialized__:e_(E,M)}};if(D){let E=tu(S,D);E.length&&(L.exception.values[0].stacktrace={frames:E})}return L}function tl(S,E){return{exception:{values:[ta(S,E)]}}}function tu(S,E){let D=E.stacktrace||E.stack||"",O=td(E);try{return S(D,O)}catch(S){}return[]}let tc=/Minified React error #\d+;/i;function td(S){if(S){if("number"==typeof S.framesToPop)return S.framesToPop;if(tc.test(S.message))return 1}return 0}function th(S){let E=S&&S.message;return E?E.error&&"string"==typeof E.error.message?E.error.message:E:"No error message"}function tp(S,E,D,O){let T=D&&D.syntheticException||void 0,R=tm(S,E,T,O);return(0,M.EG)(R),R.level="error",D&&D.event_id&&(R.event_id=D.event_id),(0,ep.WD)(R)}function tf(S,E,D="info",O,T){let R=O&&O.syntheticException||void 0,M=tv(S,E,R,T);return M.level=D,O&&O.event_id&&(M.event_id=O.event_id),(0,ep.WD)(M)}function tm(S,E,D,O,T){let R;if((0,ey.VW)(E)&&E.error){let D=E;return tl(S,D.error)}if((0,ey.TX)(E)||(0,ey.fm)(E)){let T=E;if("stack"in E)R=tl(S,E);else{let E=T.name||((0,ey.TX)(T)?"DOMError":"DOMException"),L=T.message?`${E}: ${T.message}`:E;R=tv(S,L,D,O),(0,M.Db)(R,L)}return"code"in T&&(R.tags={...R.tags,"DOMException.code":`${T.code}`}),R}if((0,ey.VZ)(E))return tl(S,E);if((0,ey.PO)(E)||(0,ey.cO)(E)){let O=E;return R=ts(S,O,D,T),(0,M.EG)(R,{synthetic:!0}),R}return R=tv(S,E,D,O),(0,M.Db)(R,`${E}`,void 0),(0,M.EG)(R,{synthetic:!0}),R}function tv(S,E,D,O){let T={message:E};if(O&&D){let O=tu(S,D);O.length&&(T.exception={values:[{value:E,stacktrace:{frames:O}}]})}return T}var tg=D(12634),tb=D(54194);let t_=["fatal","error","warning","log","info","debug"];function tk(S){return"warn"===S?"warning":t_.includes(S)?S:"log"}var tw=D(33483);let tS=1024,tC="Breadcrumbs";class tE{static __initStatic(){this.id=tC}__init(){this.name=tE.id}constructor(S){tE.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...S}}setupOnce(){this.options.console&&(0,ef.oq)("console",tD),this.options.dom&&(0,ef.oq)("dom",tP(this.options.dom)),this.options.xhr&&(0,ef.oq)("xhr",tO),this.options.fetch&&(0,ef.oq)("fetch",tT),this.options.history&&(0,ef.oq)("history",tA)}addSentryBreadcrumb(S){this.options.sentry&&(0,et.Gd)().addBreadcrumb({category:`sentry.${"transaction"===S.type?"transaction":"event"}`,event_id:S.event_id,level:S.level,message:(0,M.jH)(S)},{event:S})}}function tP(S){return function(E){let D;let O="object"==typeof S?S.serializeAttribute:void 0,T="object"==typeof S&&"number"==typeof S.maxStringLength?S.maxStringLength:void 0;T&&T>tS&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`\`dom.maxStringLength\` cannot exceed ${tS}, but a value of ${T} was configured. Sentry will use ${tS} instead.`),T=tS),"string"==typeof O&&(O=[O]);try{let S=E.event;D=tR(S)?(0,tb.Rt)(S.target,{keyAttrs:O,maxStringLength:T}):(0,tb.Rt)(S,{keyAttrs:O,maxStringLength:T})}catch(S){D=""}0!==D.length&&(0,et.Gd)().addBreadcrumb({category:`ui.${E.name}`,message:D},{event:E.event,name:E.name,global:E.global})}}function tD(S){for(let E=0;E{"hidden"===tg.m9.document.visibilityState&&this._flushOutcomes()})}eventFromException(S,E){return tp(this._options.stackParser,S,E,this._options.attachStacktrace)}eventFromMessage(S,E="info",D){return tf(this._options.stackParser,S,E,D,this._options.attachStacktrace)}sendEvent(S,E){let D=this.getIntegrationById(tC);D&&D.addSentryBreadcrumb&&D.addSentryBreadcrumb(S),super.sendEvent(S,E)}captureUserFeedback(S){if(!this._isEnabled()){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("SDK not enabled, will not capture user feedback.");return}let E=tj(S,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(E)}_prepareEvent(S,E,D){return S.platform=S.platform||"javascript",super._prepareEvent(S,E,D)}_flushOutcomes(){let S=this._clearOutcomes();if(0===S.length){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log("No outcomes to send");return}if(!this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log("No dsn provided, will not send outcomes");return}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log("Sending outcomes:",S);let E=tn(S,this._options.tunnel&&(0,em.RA)(this._dsn));this._sendEnvelope(E)}}class tI{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=tI.id}__init2(){this._installFunc={onerror:t$,onunhandledrejection:tF}}constructor(S){tI.prototype.__init.call(this),tI.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...S}}setupOnce(){Error.stackTraceLimit=50;let S=this._options;for(let E in S){let D=this._installFunc[E];D&&S[E]&&(tG(E),D(),this._installFunc[E]=void 0)}}}function t$(){(0,ef.oq)("error",S=>{let[E,D,O]=tU();if(!E.getIntegration(tI))return;let{msg:T,url:R,line:M,column:L,error:I}=S;if((0,tg.Wz)()||I&&I.__sentry_own_request__)return;let $=void 0===I&&(0,ey.HD)(T)?tV(T,R,M,L):tN(tm(D,I||T,void 0,O,!1),R,M,L);$.level="error",tW(E,I,$,"onerror")})}function tF(){(0,ef.oq)("unhandledrejection",S=>{let[E,D,O]=tU();if(!E.getIntegration(tI))return;let T=S;try{"reason"in S?T=S.reason:"detail"in S&&"reason"in S.detail&&(T=S.detail.reason)}catch(S){}if((0,tg.Wz)()||T&&T.__sentry_own_request__)return!0;let R=(0,ey.pt)(T)?tB(T):tm(D,T,void 0,O,!0);R.level="error",tW(E,T,R,"onunhandledrejection")})}function tB(S){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(S)}`}]}}}function tV(S,E,D,O){let T=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,R=(0,ey.VW)(S)?S.message:S,M="Error",L=R.match(T);L&&(M=L[1],R=L[2]);let I={exception:{values:[{type:M,value:R}]}};return tN(I,E,D,O)}function tN(S,E,D,O){let T=S.exception=S.exception||{},R=T.values=T.values||[],M=R[0]=R[0]||{},L=M.stacktrace=M.stacktrace||{},I=L.frames=L.frames||[],$=isNaN(parseInt(O,10))?void 0:O,V=isNaN(parseInt(D,10))?void 0:D,N=(0,ey.HD)(E)&&E.length>0?E:(0,tb.l4)();return 0===I.length&&I.push({colno:$,filename:N,function:"?",in_app:!0,lineno:V}),S}function tG(S){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.log(`Global Handler attached: ${S}`)}function tW(S,E,D,O){(0,M.EG)(D,{handled:!1,type:O}),S.captureEvent(D,{originalException:E})}function tU(){let S=(0,et.Gd)(),E=S.getClient(),D=E&&E.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[S,D.stackParser,D.attachStacktrace]}tI.__initStatic();let tH=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class tq{static __initStatic(){this.id="TryCatch"}__init(){this.name=tq.id}constructor(S){tq.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...S}}setupOnce(){this._options.setTimeout&&(0,J.hl)(tg.m9,"setTimeout",tY),this._options.setInterval&&(0,J.hl)(tg.m9,"setInterval",tY),this._options.requestAnimationFrame&&(0,J.hl)(tg.m9,"requestAnimationFrame",tZ),this._options.XMLHttpRequest&&"XMLHttpRequest"in tg.m9&&(0,J.hl)(XMLHttpRequest.prototype,"send",tK);let S=this._options.eventTarget;if(S){let E=Array.isArray(S)?S:tH;E.forEach(tX)}}}function tY(S){return function(...E){let D=E[0];return E[0]=(0,tg.re)(D,{mechanism:{data:{function:(0,ed.$P)(S)},handled:!0,type:"instrument"}}),S.apply(this,E)}}function tZ(S){return function(E){return S.apply(this,[(0,tg.re)(E,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,ed.$P)(S)},handled:!0,type:"instrument"}})])}}function tK(S){return function(...E){let D=this,O=["onload","onerror","onprogress","onreadystatechange"];return O.forEach(S=>{S in D&&"function"==typeof D[S]&&(0,J.hl)(D,S,function(E){let D={mechanism:{data:{function:S,handler:(0,ed.$P)(E)},handled:!0,type:"instrument"}},O=(0,J.HK)(E);return O&&(D.mechanism.data.handler=(0,ed.$P)(O)),(0,tg.re)(E,D)})}),S.apply(this,E)}}function tX(S){let E=tg.m9,D=E[S]&&E[S].prototype;D&&D.hasOwnProperty&&D.hasOwnProperty("addEventListener")&&((0,J.hl)(D,"addEventListener",function(E){return function(D,O,T){try{"function"==typeof O.handleEvent&&(O.handleEvent=(0,tg.re)(O.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,ed.$P)(O),target:S},handled:!0,type:"instrument"}}))}catch(S){}return E.apply(this,[D,(0,tg.re)(O,{mechanism:{data:{function:"addEventListener",handler:(0,ed.$P)(O),target:S},handled:!0,type:"instrument"}}),T])}}),(0,J.hl)(D,"removeEventListener",function(S){return function(E,D,O){let T=D;try{let D=T&&T.__sentry_wrapped__;D&&S.call(this,E,D,O)}catch(S){}return S.call(this,E,T,O)}}))}tq.__initStatic();let tQ="cause",tJ=5;class t3{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=t3.id}constructor(S={}){t3.prototype.__init.call(this),this._key=S.key||tQ,this._limit=S.limit||tJ}setupOnce(){let S=(0,et.Gd)().getClient();S&&(0,er.c)((E,D)=>{let O=(0,et.Gd)().getIntegration(t3);return O?t4(S.getOptions().stackParser,O._key,O._limit,E,D):E})}}function t4(S,E,D,O,T){if(!O.exception||!O.exception.values||!T||!(0,ey.V9)(T.originalException,Error))return O;let R=t5(S,D,T.originalException,E);return O.exception.values=[...R,...O.exception.values],O}function t5(S,E,D,O,T=[]){if(!(0,ey.V9)(D[O],Error)||T.length+1>=E)return T;let R=ta(S,D[O]);return t5(S,E,D[O],O,[R,...T])}t3.__initStatic();class t6{constructor(){t6.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=t6.id}setupOnce(){(0,er.c)(S=>{if((0,et.Gd)().getIntegration(t6)){if(!tg.m9.navigator&&!tg.m9.location&&!tg.m9.document)return S;let E=S.request&&S.request.url||tg.m9.location&&tg.m9.location.href,{referrer:D}=tg.m9.document||{},{userAgent:O}=tg.m9.navigator||{},T={...S.request&&S.request.headers,...D&&{Referer:D},...O&&{"User-Agent":O}},R={...S.request,...E&&{url:E},headers:T};return{...S,request:R}}return S})}}t6.__initStatic();class t9{constructor(){t9.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=t9.id}setupOnce(S,E){let D=S=>{if(S.type)return S;let D=E().getIntegration(t9);if(D){try{if(t8(S,D._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(S){}return D._previousEvent=S}return S};D.id=this.name,S(D)}}function t8(S,E){return!!E&&!!(t7(S,E)||rr(S,E))}function t7(S,E){let D=S.message,O=E.message;return!!((D||O)&&(!D||O)&&(D||!O)&&D===O&&ri(S,E)&&rn(S,E))}function rr(S,E){let D=ra(E),O=ra(S);return!!(D&&O&&D.type===O.type&&D.value===O.value&&ri(S,E)&&rn(S,E))}function rn(S,E){let D=ro(S),O=ro(E);if(!D&&!O)return!0;if(D&&!O||!D&&O||O.length!==D.length)return!1;for(let S=0;S|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,rf=/\((\S*)(?::(\d+))(?::(\d+))\)/,rm=S=>{let E=rp.exec(S);if(E){let S=E[2]&&0===E[2].indexOf("eval");if(S){let S=rf.exec(E[2]);S&&(E[2]=S[1],E[3]=S[2],E[4]=S[3])}let[D,O]=rP(E[1]||rs,E[2]);return rh(O,D,E[3]?+E[3]:void 0,E[4]?+E[4]:void 0)}},ry=[rl,rm],rg=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,rb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,rx=S=>{let E=rg.exec(S);if(E){let S=E[3]&&E[3].indexOf(" > eval")>-1;if(S){let S=rb.exec(E[3]);S&&(E[1]=E[1]||"eval",E[3]=S[1],E[4]=S[2],E[5]="")}let D=E[3],O=E[1]||rs;return[O,D]=rP(O,D),rh(D,O,E[4]?+E[4]:void 0,E[5]?+E[5]:void 0)}},r_=[rc,rx],rk=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,rw=S=>{let E=rk.exec(S);return E?rh(E[2],E[1]||rs,+E[3],E[4]?+E[4]:void 0):void 0},rS=[ru,rw],rC=[ry,r_,rS],rE=(0,ed.pE)(...rC),rP=(S,E)=>{let D=-1!==S.indexOf("safari-extension"),O=-1!==S.indexOf("safari-web-extension");return D||O?[-1!==S.indexOf("@")?S.split("@")[0]:rs,D?`safari-extension:${E}`:`safari-web-extension:${E}`]:[S,E]};function rD(S){let E=[];function D(){return void 0===S||E.lengthO(T)).then(null,()=>O(T).then(null,()=>{})),T}function R(S){return new ep.cW((D,O)=>{let T=E.length;if(!T)return D(!0);let R=setTimeout(()=>{S&&S>0&&D(!1)},S);E.forEach(S=>{(0,ep.WD)(S).then(()=>{--T||(clearTimeout(R),D(!0))},O)})})}return{$:E,add:T,drain:R}}let rO=6e4;function rT(S,E=Date.now()){let D=parseInt(`${S}`,10);if(!isNaN(D))return 1e3*D;let O=Date.parse(`${S}`);return isNaN(O)?rO:O-E}function rA(S,E){return S[E]||S.all||0}function rR(S,E,D=Date.now()){return rA(S,E)>D}function rj(S,{statusCode:E,headers:D},O=Date.now()){let T={...S},R=D&&D["x-sentry-rate-limits"],M=D&&D["retry-after"];if(R)for(let S of R.trim().split(",")){let[E,D]=S.split(":",2),R=parseInt(E,10),M=(isNaN(R)?60:R)*1e3;if(D)for(let S of D.split(";"))T[S]=O+M;else T.all=O+M}else M?T.all=O+rT(M,O):429===E&&(T.all=O+6e4);return T}let rM=30;function rL(S,E,D=rD(S.bufferSize||rM)){let O={},T=S=>D.drain(S);function M(T){let M=[];if(eO(T,(E,D)=>{let T=eL(D);if(rR(O,T)){let O=rI(E,D);S.recordDroppedEvent("ratelimit_backoff",T,O)}else M.push(E)}),0===M.length)return(0,ep.WD)();let L=eP(T[0],M),I=E=>{eO(L,(D,O)=>{let T=rI(D,O);S.recordDroppedEvent(E,eL(O),T)})},$=()=>E({body:eA(L,S.textEncoder)}).then(S=>(void 0!==S.statusCode&&(S.statusCode<200||S.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Sentry responded with status code ${S.statusCode} to sent event.`),O=rj(O,S),S),S=>{throw I("network_error"),S});return D.add($).then(S=>S,S=>{if(S instanceof eF)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.error("Skipped sending event because buffer is full."),I("queue_overflow"),(0,ep.WD)();throw S})}return M.__sentry__baseTransport__=!0,{send:M,flush:T}}function rI(S,E){if("event"===E||"transaction"===E)return Array.isArray(S)?S[1]:void 0}function r$(){if(T)return T;if((0,eh.Du)(tg.m9.fetch))return T=tg.m9.fetch.bind(tg.m9);let S=tg.m9.document,E=tg.m9.fetch;if(S&&"function"==typeof S.createElement)try{let D=S.createElement("iframe");D.hidden=!0,S.head.appendChild(D);let O=D.contentWindow;O&&O.fetch&&(E=O.fetch),S.head.removeChild(D)}catch(S){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",S)}return T=E.bind(tg.m9)}function rF(){T=void 0}function rB(S,E=r$()){let D=0,O=0;function T(T){let R=T.body.length;D+=R,O++;let M={body:T.body,method:"POST",referrerPolicy:"origin",headers:S.headers,keepalive:D<=6e4&&O<15,...S.fetchOptions};try{return E(S.url,M).then(S=>(D-=R,O--,{statusCode:S.status,headers:{"x-sentry-rate-limits":S.headers.get("X-Sentry-Rate-Limits"),"retry-after":S.headers.get("Retry-After")}}))}catch(S){return rF(),D-=R,O--,(0,ep.$2)(S)}}return rL(S,T)}let rV=4;function rN(S){function E(E){return new ep.cW((D,O)=>{let T=new XMLHttpRequest;for(let E in T.onerror=O,T.onreadystatechange=()=>{T.readyState===rV&&D({statusCode:T.status,headers:{"x-sentry-rate-limits":T.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":T.getResponseHeader("Retry-After")}})},T.open("POST",S.url),S.headers)Object.prototype.hasOwnProperty.call(S.headers,E)&&T.setRequestHeader(E,S.headers[E]);T.send(E.body)})}return rL(S,E)}let rz=[new V,new ee,new tq,new tE,new tI,new t3,new t9,new t6];function rG(S={}){void 0===S.defaultIntegrations&&(S.defaultIntegrations=rz),void 0===S.release&&("string"==typeof __SENTRY_RELEASE__&&(S.release=__SENTRY_RELEASE__),tg.m9.SENTRY_RELEASE&&tg.m9.SENTRY_RELEASE.id&&(S.release=tg.m9.SENTRY_RELEASE.id)),void 0===S.autoSessionTracking&&(S.autoSessionTracking=!0),void 0===S.sendClientReports&&(S.sendClientReports=!0);let E={...S,stackParser:(0,ed.Sq)(S.stackParser||rE),integrations:ea(S),transport:S.transport||((0,eh.Ak)()?rB:rN)};ec(tL,E),S.autoSessionTracking&&rH()}function rW(S){let E=(0,et.Gd)().getClient();return E?E.flush(S):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("Cannot flush events. No client defined."),(0,ep.WD)(!1))}function rU(S){S.startSession({ignoreDuration:!0}),S.captureSession()}function rH(){if(void 0===tg.m9.document){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}let S=(0,et.Gd)();S.captureSession&&(rU(S),(0,ef.oq)("history",({from:S,to:E})=>{void 0===S||S===E||rU((0,et.Gd)())}))}},66417:function(S,E,D){"use strict";D.d(E,{J:function(){return O}});let O="production"},92642:function(S,E,D){"use strict";D.d(E,{$e:function(){return M},Tb:function(){return T},e:function(){return R}});var O=D(66465);function T(S,E){return(0,O.Gd)().captureException(S,{captureContext:E})}function R(S){(0,O.Gd)().configureScope(S)}function M(S){(0,O.Gd)().withScope(S)}},66465:function(S,E,D){"use strict";D.d(E,{Gd:function(){return H},cu:function(){return W}});var O=D(63699),T=D(7790),R=D(58536),M=D(90063),L=D(66417),I=D(51877),$=D(48364);let V=4,N=100;class G{constructor(S,E=new I.s,D=V){this._version=D,this._stack=[{scope:E}],S&&this.bindClient(S)}isOlderThan(S){return this._version{O.captureException(S,{originalException:S,syntheticException:T,...E,event_id:D},R)}),D}captureMessage(S,E,D){let T=this._lastEventId=D&&D.event_id?D.event_id:(0,O.DM)(),R=Error(S);return this._withClient((O,M)=>{O.captureMessage(S,E,{originalException:S,syntheticException:R,...D,event_id:T},M)}),T}captureEvent(S,E){let D=E&&E.event_id?E.event_id:(0,O.DM)();return S.type||(this._lastEventId=D),this._withClient((O,T)=>{O.captureEvent(S,{...E,event_id:D},T)}),D}lastEventId(){return this._lastEventId}addBreadcrumb(S,E){let{scope:D,client:O}=this.getStackTop();if(!O)return;let{beforeBreadcrumb:M=null,maxBreadcrumbs:L=N}=O.getOptions&&O.getOptions()||{};if(L<=0)return;let I=(0,T.yW)(),$={timestamp:I,...S},V=M?(0,R.Cf)(()=>M($,E)):$;null!==V&&(O.emit&&O.emit("beforeAddBreadcrumb",V,E),D.addBreadcrumb(V,L))}setUser(S){this.getScope().setUser(S)}setTags(S){this.getScope().setTags(S)}setExtras(S){this.getScope().setExtras(S)}setTag(S,E){this.getScope().setTag(S,E)}setExtra(S,E){this.getScope().setExtra(S,E)}setContext(S,E){this.getScope().setContext(S,E)}configureScope(S){let{scope:E,client:D}=this.getStackTop();D&&S(E)}run(S){let E=U(this);try{S(this)}finally{U(E)}}getIntegration(S){let E=this.getClient();if(!E)return null;try{return E.getIntegration(S)}catch(E){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Cannot retrieve integration ${S.id} from the current Hub`),null}}startTransaction(S,E){let D=this._callExtensionMethod("startTransaction",S,E);return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!D&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
+Sentry.addTracingExtensions();
+Sentry.init({...});
+`),D}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(S=!1){if(S)return this.endSession();this._sendSessionUpdate()}endSession(){let S=this.getStackTop(),E=S.scope,D=E.getSession();D&&(0,$.RJ)(D),this._sendSessionUpdate(),E.setSession()}startSession(S){let{scope:E,client:D}=this.getStackTop(),{release:O,environment:T=L.J}=D&&D.getOptions()||{},{userAgent:R}=M.n2.navigator||{},I=(0,$.Hv)({release:O,environment:T,user:E.getUser(),...R&&{userAgent:R},...S}),V=E.getSession&&E.getSession();return V&&"ok"===V.status&&(0,$.CT)(V,{status:"exited"}),this.endSession(),E.setSession(I),I}shouldSendDefaultPii(){let S=this.getClient(),E=S&&S.getOptions();return!!(E&&E.sendDefaultPii)}_sendSessionUpdate(){let{scope:S,client:E}=this.getStackTop(),D=S.getSession();D&&E&&E.captureSession&&E.captureSession(D)}_withClient(S){let{scope:E,client:D}=this.getStackTop();D&&S(D,E)}_callExtensionMethod(S,...E){let D=W(),O=D.__SENTRY__;if(O&&O.extensions&&"function"==typeof O.extensions[S])return O.extensions[S].apply(this,E);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&R.kg.warn(`Extension method ${S} couldn't be found, doing nothing.`)}}function W(){return M.n2.__SENTRY__=M.n2.__SENTRY__||{extensions:{},hub:void 0},M.n2}function U(S){let E=W(),D=K(E);return X(E,S),D}function H(){let S=W();if(S.__SENTRY__&&S.__SENTRY__.acs){let E=S.__SENTRY__.acs.getCurrentHub();if(E)return E}return Y(S)}function Y(S=W()){return(!Z(S)||K(S).isOlderThan(V))&&X(S,new G),K(S)}function Z(S){return!!(S&&S.__SENTRY__&&S.__SENTRY__.hub)}function K(S){return(0,M.YO)("hub",()=>new G,S)}function X(S,E){if(!S)return!1;let D=S.__SENTRY__=S.__SENTRY__||{};return D.hub=E,!0}},51877:function(S,E,D){"use strict";D.d(E,{c:function(){return W},s:function(){return N}});var O=D(81757),T=D(7790),R=D(97946),M=D(58536),L=D(63699),I=D(90063),$=D(48364);let V=100;class N{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(S){let E=new N;return S&&(E._breadcrumbs=[...S._breadcrumbs],E._tags={...S._tags},E._extra={...S._extra},E._contexts={...S._contexts},E._user=S._user,E._level=S._level,E._span=S._span,E._session=S._session,E._transactionName=S._transactionName,E._fingerprint=S._fingerprint,E._eventProcessors=[...S._eventProcessors],E._requestSession=S._requestSession,E._attachments=[...S._attachments],E._sdkProcessingMetadata={...S._sdkProcessingMetadata}),E}addScopeListener(S){this._scopeListeners.push(S)}addEventProcessor(S){return this._eventProcessors.push(S),this}setUser(S){return this._user=S||{},this._session&&(0,$.CT)(this._session,{user:S}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(S){return this._requestSession=S,this}setTags(S){return this._tags={...this._tags,...S},this._notifyScopeListeners(),this}setTag(S,E){return this._tags={...this._tags,[S]:E},this._notifyScopeListeners(),this}setExtras(S){return this._extra={...this._extra,...S},this._notifyScopeListeners(),this}setExtra(S,E){return this._extra={...this._extra,[S]:E},this._notifyScopeListeners(),this}setFingerprint(S){return this._fingerprint=S,this._notifyScopeListeners(),this}setLevel(S){return this._level=S,this._notifyScopeListeners(),this}setTransactionName(S){return this._transactionName=S,this._notifyScopeListeners(),this}setContext(S,E){return null===E?delete this._contexts[S]:this._contexts[S]=E,this._notifyScopeListeners(),this}setSpan(S){return this._span=S,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let S=this.getSpan();return S&&S.transaction}setSession(S){return S?this._session=S:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(S){if(!S)return this;if("function"==typeof S){let E=S(this);return E instanceof N?E:this}return S instanceof N?(this._tags={...this._tags,...S._tags},this._extra={...this._extra,...S._extra},this._contexts={...this._contexts,...S._contexts},S._user&&Object.keys(S._user).length&&(this._user=S._user),S._level&&(this._level=S._level),S._fingerprint&&(this._fingerprint=S._fingerprint),S._requestSession&&(this._requestSession=S._requestSession)):(0,O.PO)(S)&&(this._tags={...this._tags,...S.tags},this._extra={...this._extra,...S.extra},this._contexts={...this._contexts,...S.contexts},S.user&&(this._user=S.user),S.level&&(this._level=S.level),S.fingerprint&&(this._fingerprint=S.fingerprint),S.requestSession&&(this._requestSession=S.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(S,E){let D="number"==typeof E?E:V;if(D<=0)return this;let O={timestamp:(0,T.yW)(),...S};return this._breadcrumbs=[...this._breadcrumbs,O].slice(-D),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(S){return this._attachments.push(S),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(S,E={}){if(this._extra&&Object.keys(this._extra).length&&(S.extra={...this._extra,...S.extra}),this._tags&&Object.keys(this._tags).length&&(S.tags={...this._tags,...S.tags}),this._user&&Object.keys(this._user).length&&(S.user={...this._user,...S.user}),this._contexts&&Object.keys(this._contexts).length&&(S.contexts={...this._contexts,...S.contexts}),this._level&&(S.level=this._level),this._transactionName&&(S.transaction=this._transactionName),this._span){S.contexts={trace:this._span.getTraceContext(),...S.contexts};let E=this._span.transaction;if(E){S.sdkProcessingMetadata={dynamicSamplingContext:E.getDynamicSamplingContext(),...S.sdkProcessingMetadata};let D=E.name;D&&(S.tags={transaction:D,...S.tags})}}return this._applyFingerprint(S),S.breadcrumbs=[...S.breadcrumbs||[],...this._breadcrumbs],S.breadcrumbs=S.breadcrumbs.length>0?S.breadcrumbs:void 0,S.sdkProcessingMetadata={...S.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...G(),...this._eventProcessors],S,E)}setSDKProcessingMetadata(S){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...S},this}_notifyEventProcessors(S,E,D,T=0){return new R.cW((R,L)=>{let I=S[T];if(null===E||"function"!=typeof I)R(E);else{let $=I({...E},D);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&I.id&&null===$&&M.kg.log(`Event processor "${I.id}" dropped event`),(0,O.J8)($)?$.then(E=>this._notifyEventProcessors(S,E,D,T+1).then(R)).then(null,L):this._notifyEventProcessors(S,$,D,T+1).then(R).then(null,L)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(S=>{S(this)}),this._notifyingListeners=!1)}_applyFingerprint(S){S.fingerprint=S.fingerprint?(0,L.lE)(S.fingerprint):[],this._fingerprint&&(S.fingerprint=S.fingerprint.concat(this._fingerprint)),S.fingerprint&&!S.fingerprint.length&&delete S.fingerprint}}function G(){return(0,I.YO)("globalEventProcessors",()=>[])}function W(S){G().push(S)}},48364:function(S,E,D){"use strict";D.d(E,{CT:function(){return L},Hv:function(){return M},RJ:function(){return I}});var O=D(7790),T=D(63699),R=D(21995);function M(S){let E=(0,O.ph)(),D={sid:(0,T.DM)(),init:!0,timestamp:E,started:E,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>$(D)};return S&&L(D,S),D}function L(S,E={}){if(!E.user||(!S.ipAddress&&E.user.ip_address&&(S.ipAddress=E.user.ip_address),S.did||E.did||(S.did=E.user.id||E.user.email||E.user.username)),S.timestamp=E.timestamp||(0,O.ph)(),E.ignoreDuration&&(S.ignoreDuration=E.ignoreDuration),E.sid&&(S.sid=32===E.sid.length?E.sid:(0,T.DM)()),void 0!==E.init&&(S.init=E.init),!S.did&&E.did&&(S.did=`${E.did}`),"number"==typeof E.started&&(S.started=E.started),S.ignoreDuration)S.duration=void 0;else if("number"==typeof E.duration)S.duration=E.duration;else{let E=S.timestamp-S.started;S.duration=E>=0?E:0}E.release&&(S.release=E.release),E.environment&&(S.environment=E.environment),!S.ipAddress&&E.ipAddress&&(S.ipAddress=E.ipAddress),!S.userAgent&&E.userAgent&&(S.userAgent=E.userAgent),"number"==typeof E.errors&&(S.errors=E.errors),E.status&&(S.status=E.status)}function I(S,E){let D={};E?D={status:E}:"ok"===S.status&&(D={status:"exited"}),L(S,D)}function $(S){return(0,R.Jr)({sid:`${S.sid}`,init:S.init,started:new Date(1e3*S.started).toISOString(),timestamp:new Date(1e3*S.timestamp).toISOString(),status:S.status,errors:S.errors,did:"number"==typeof S.did||"string"==typeof S.did?`${S.did}`:void 0,duration:S.duration,attrs:{release:S.release,environment:S.environment,ip_address:S.ipAddress,user_agent:S.userAgent}})}},91476:function(S,E,D){"use strict";D.d(E,{J:function(){return O}});let O="7.54.0"},54194:function(S,E,D){"use strict";D.d(E,{Rt:function(){return L},l4:function(){return $},qT:function(){return V}});var O=D(81757),T=D(90063);let R=(0,T.Rf)(),M=80;function L(S,E={}){try{let D,O=S,T=5,R=[],L=0,$=0,V=" > ",N=V.length,G=Array.isArray(E)?E:E.keyAttrs,W=!Array.isArray(E)&&E.maxStringLength||M;for(;O&&L++1)||!($+R.length*N+D.length>=W)));)R.push(D),$+=D.length,O=O.parentNode;return R.reverse().join(V)}catch(S){return""}}function I(S,E){let D,T,R,M,L;let I=S,$=[];if(!I||!I.tagName)return"";$.push(I.tagName.toLowerCase());let V=E&&E.length?E.filter(S=>I.getAttribute(S)).map(S=>[S,I.getAttribute(S)]):null;if(V&&V.length)V.forEach(S=>{$.push(`[${S[0]}="${S[1]}"]`)});else if(I.id&&$.push(`#${I.id}`),(D=I.className)&&(0,O.HD)(D))for(L=0,T=D.split(/\s+/);L1&&(V=G.slice(0,-1).join("/"),N=G.pop()),N){let S=N.match(/^\d+/);S&&(N=S[0])}return I({host:M,pass:R,path:V,projectId:N,port:L,protocol:D,publicKey:O})}function I(S){return{protocol:S.protocol,publicKey:S.publicKey||"",pass:S.pass||"",host:S.host,port:S.port||"",path:S.path||"",projectId:S.projectId}}function $(S){if(!("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__))return!0;let{port:E,projectId:D,protocol:T}=S,M=["protocol","publicKey","host","projectId"],L=M.find(E=>!S[E]&&(O.kg.error(`Invalid Sentry Dsn: ${E} missing`),!0));return!L&&(D.match(/^\d+$/)?R(T)?!(E&&isNaN(parseInt(E,10)))||(O.kg.error(`Invalid Sentry Dsn: Invalid port ${E}`),!1):(O.kg.error(`Invalid Sentry Dsn: Invalid protocol ${T}`),!1):(O.kg.error(`Invalid Sentry Dsn: Invalid projectId ${D}`),!1))}function V(S){let E="string"==typeof S?L(S):I(S);if(E&&$(E))return E}},4285:function(S,E,D){"use strict";function O(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function T(){return"npm"}D.d(E,{S:function(){return T},n:function(){return O}})},29518:function(S,E,D){"use strict";let O,T,R;D.d(E,{xU:function(){return H},oq:function(){return X}});var M=D(81757),L=D(58536),I=D(21995),$=D(69038),V=D(49798),N=D(90063);let G=(0,N.Rf)();function W(){let S=G.chrome,E=S&&S.app&&S.app.runtime,D="history"in G&&!!G.history.pushState&&!!G.history.replaceState;return!E&&D}let U=(0,N.Rf)(),H="__sentry_xhr_v2__",Y={},Z={};function K(S){if(!Z[S])switch(Z[S]=!0,S){case"console":J();break;case"dom":ed();break;case"xhr":ei();break;case"fetch":ee();break;case"history":ea();break;case"error":ep();break;case"unhandledrejection":em();break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.kg.warn("unknown instrumentation type:",S);return}}function X(S,E){Y[S]=Y[S]||[],Y[S].push(E),K(S)}function Q(S,E){if(S&&Y[S])for(let D of Y[S]||[])try{D(E)}catch(E){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.kg.error(`Error while triggering instrumentation handler.
+Type: ${S}
+Name: ${(0,$.$P)(D)}
+Error:`,E)}}function J(){"console"in U&&L.RU.forEach(function(S){S in U.console&&(0,I.hl)(U.console,S,function(E){return function(...D){Q("console",{args:D,level:S}),E&&E.apply(U.console,D)}})})}function ee(){(0,V.t$)()&&(0,I.hl)(U,"fetch",function(S){return function(...E){let{method:D,url:O}=en(E),T={args:E,fetchData:{method:D,url:O},startTimestamp:Date.now()};return Q("fetch",{...T}),S.apply(U,E).then(S=>(Q("fetch",{...T,endTimestamp:Date.now(),response:S}),S),S=>{throw Q("fetch",{...T,endTimestamp:Date.now(),error:S}),S})}})}function et(S,E){return!!S&&"object"==typeof S&&!!S[E]}function er(S){return"string"==typeof S?S:S?et(S,"url")?S.url:S.toString?S.toString():"":""}function en(S){if(0===S.length)return{method:"GET",url:""};if(2===S.length){let[E,D]=S;return{url:er(E),method:et(D,"method")?String(D.method).toUpperCase():"GET"}}let E=S[0];return{url:er(E),method:et(E,"method")?String(E.method).toUpperCase():"GET"}}function ei(){if(!("XMLHttpRequest"in U))return;let S=XMLHttpRequest.prototype;(0,I.hl)(S,"open",function(S){return function(...E){let D=E[1],O=this[H]={method:(0,M.HD)(E[0])?E[0].toUpperCase():E[0],url:E[1],request_headers:{}};(0,M.HD)(D)&&"POST"===O.method&&D.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let T=()=>{let S=this[H];if(S&&4===this.readyState){try{S.status_code=this.status}catch(S){}Q("xhr",{args:E,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,I.hl)(this,"onreadystatechange",function(S){return function(...E){return T(),S.apply(this,E)}}):this.addEventListener("readystatechange",T),(0,I.hl)(this,"setRequestHeader",function(S){return function(...E){let[D,O]=E,T=this[H];return T&&(T.request_headers[D.toLowerCase()]=O),S.apply(this,E)}}),S.apply(this,E)}}),(0,I.hl)(S,"send",function(S){return function(...E){let D=this[H];return D&&void 0!==E[0]&&(D.body=E[0]),Q("xhr",{args:E,startTimestamp:Date.now(),xhr:this}),S.apply(this,E)}})}function ea(){if(!W())return;let S=U.onpopstate;function E(S){return function(...E){let D=E.length>2?E[2]:void 0;if(D){let S=O,E=String(D);O=E,Q("history",{from:S,to:E})}return S.apply(this,E)}}U.onpopstate=function(...E){let D=U.location.href,T=O;if(O=D,Q("history",{from:T,to:D}),S)try{return S.apply(this,E)}catch(S){}},(0,I.hl)(U.history,"pushState",E),(0,I.hl)(U.history,"replaceState",E)}let eo=1e3;function es(S,E){if(!S||S.type!==E.type)return!0;try{if(S.target!==E.target)return!0}catch(S){}return!1}function eu(S){if("keypress"!==S.type)return!1;try{let E=S.target;if(!E||!E.tagName)return!0;if("INPUT"===E.tagName||"TEXTAREA"===E.tagName||E.isContentEditable)return!1}catch(S){}return!0}function ec(S,E=!1){return D=>{if(!D||R===D||eu(D))return;let O="keypress"===D.type?"input":D.type;void 0===T?(S({event:D,name:O,global:E}),R=D):es(R,D)&&(S({event:D,name:O,global:E}),R=D),clearTimeout(T),T=U.setTimeout(()=>{T=void 0},eo)}}function ed(){if(!("document"in U))return;let S=Q.bind(null,"dom"),E=ec(S,!0);U.document.addEventListener("click",E,!1),U.document.addEventListener("keypress",E,!1),["EventTarget","Node"].forEach(E=>{let D=U[E]&&U[E].prototype;D&&D.hasOwnProperty&&D.hasOwnProperty("addEventListener")&&((0,I.hl)(D,"addEventListener",function(E){return function(D,O,T){if("click"===D||"keypress"==D)try{let O=this,R=O.__sentry_instrumentation_handlers__=O.__sentry_instrumentation_handlers__||{},M=R[D]=R[D]||{refCount:0};if(!M.handler){let O=ec(S);M.handler=O,E.call(this,D,O,T)}M.refCount++}catch(S){}return E.call(this,D,O,T)}}),(0,I.hl)(D,"removeEventListener",function(S){return function(E,D,O){if("click"===E||"keypress"==E)try{let D=this,T=D.__sentry_instrumentation_handlers__||{},R=T[E];R&&(R.refCount--,R.refCount<=0&&(S.call(this,E,R.handler,O),R.handler=void 0,delete T[E]),0===Object.keys(T).length&&delete D.__sentry_instrumentation_handlers__)}catch(S){}return S.call(this,E,D,O)}}))})}let eh=null;function ep(){eh=U.onerror,U.onerror=function(S,E,D,O,T){return Q("error",{column:O,error:T,line:D,msg:S,url:E}),!!eh&&!eh.__SENTRY_LOADER__&&eh.apply(this,arguments)},U.onerror.__SENTRY_INSTRUMENTED__=!0}let ef=null;function em(){ef=U.onunhandledrejection,U.onunhandledrejection=function(S){return Q("unhandledrejection",S),!ef||!!ef.__SENTRY_LOADER__||ef.apply(this,arguments)},U.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},81757:function(S,E,D){"use strict";D.d(E,{Cy:function(){return Y},HD:function(){return $},J8:function(){return H},Kj:function(){return U},PO:function(){return N},TX:function(){return L},V9:function(){return K},VW:function(){return M},VZ:function(){return T},cO:function(){return G},fm:function(){return I},i2:function(){return Z},kK:function(){return W},pt:function(){return V}});let O=Object.prototype.toString;function T(S){switch(O.call(S)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return K(S,Error)}}function R(S,E){return O.call(S)===`[object ${E}]`}function M(S){return R(S,"ErrorEvent")}function L(S){return R(S,"DOMError")}function I(S){return R(S,"DOMException")}function $(S){return R(S,"String")}function V(S){return null===S||"object"!=typeof S&&"function"!=typeof S}function N(S){return R(S,"Object")}function G(S){return"undefined"!=typeof Event&&K(S,Event)}function W(S){return"undefined"!=typeof Element&&K(S,Element)}function U(S){return R(S,"RegExp")}function H(S){return!!(S&&S.then&&"function"==typeof S.then)}function Y(S){return N(S)&&"nativeEvent"in S&&"preventDefault"in S&&"stopPropagation"in S}function Z(S){return"number"==typeof S&&S!=S}function K(S,E){try{return S instanceof E}catch(S){return!1}}},58536:function(S,E,D){"use strict";let O;D.d(E,{Cf:function(){return L},RU:function(){return M},kg:function(){return O}});var T=D(90063);let R="Sentry Logger ",M=["debug","info","warn","error","log","assert","trace"];function L(S){if(!("console"in T.n2))return S();let E=T.n2.console,D={};M.forEach(S=>{let O=E[S]&&E[S].__sentry_original__;S in E&&O&&(D[S]=E[S],E[S]=O)});try{return S()}finally{Object.keys(D).forEach(S=>{E[S]=D[S]})}}function I(){let S=!1,E={enable:()=>{S=!0},disable:()=>{S=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?M.forEach(D=>{E[D]=(...E)=>{S&&L(()=>{T.n2.console[D](`${R}[${D}]:`,...E)})}}):M.forEach(S=>{E[S]=()=>void 0}),E}O="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,T.YO)("logger",I):I()},63699:function(S,E,D){"use strict";D.d(E,{DM:function(){return R},Db:function(){return I},EG:function(){return $},YO:function(){return V},jH:function(){return L},lE:function(){return N}});var O=D(21995),T=D(90063);function R(){let S=T.n2,E=S.crypto||S.msCrypto;if(E&&E.randomUUID)return E.randomUUID().replace(/-/g,"");let D=E&&E.getRandomValues?()=>E.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,S=>(S^(15&D())>>S/4).toString(16))}function M(S){return S.exception&&S.exception.values?S.exception.values[0]:void 0}function L(S){let{message:E,event_id:D}=S;if(E)return E;let O=M(S);return O?O.type&&O.value?`${O.type}: ${O.value}`:O.type||O.value||D||"":D||""}function I(S,E,D){let O=S.exception=S.exception||{},T=O.values=O.values||[],R=T[0]=T[0]||{};R.value||(R.value=E||""),R.type||(R.type=D||"Error")}function $(S,E){let D=M(S);if(!D)return;let O={type:"generic",handled:!0},T=D.mechanism;if(D.mechanism={...O,...T,...E},E&&"data"in E){let S={...T&&T.data,...E.data};D.mechanism.data=S}}function V(S){if(S&&S.__sentry_captured__)return!0;try{(0,O.xp)(S,"__sentry_captured__",!0)}catch(S){}return!1}function N(S){return Array.isArray(S)?S:[S]}},37392:function(S,E,D){"use strict";D.d(E,{KV:function(){return R},l$:function(){return M}});var O=D(4285);S=D.hmd(S);var T=D(34406);function R(){return!(0,O.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==T?T:0)}function M(S,E){return S.require(E)}},21995:function(S,E,D){"use strict";D.d(E,{$Q:function(){return I},HK:function(){return $},Jr:function(){return H},Sh:function(){return N},_j:function(){return V},hl:function(){return M},xp:function(){return L},zf:function(){return U}});var O=D(54194),T=D(81757),R=D(39660);function M(S,E,D){if(!(E in S))return;let O=S[E],T=D(O);if("function"==typeof T)try{I(T,O)}catch(S){}S[E]=T}function L(S,E,D){Object.defineProperty(S,E,{value:D,writable:!0,configurable:!0})}function I(S,E){let D=E.prototype||{};S.prototype=E.prototype=D,L(S,"__sentry_original__",E)}function $(S){return S.__sentry_original__}function V(S){return Object.keys(S).map(E=>`${encodeURIComponent(E)}=${encodeURIComponent(S[E])}`).join("&")}function N(S){if((0,T.VZ)(S))return{message:S.message,name:S.name,stack:S.stack,...W(S)};if(!(0,T.cO)(S))return S;{let E={type:S.type,target:G(S.target),currentTarget:G(S.currentTarget),...W(S)};return"undefined"!=typeof CustomEvent&&(0,T.V9)(S,CustomEvent)&&(E.detail=S.detail),E}}function G(S){try{return(0,T.kK)(S)?(0,O.Rt)(S):Object.prototype.toString.call(S)}catch(S){return""}}function W(S){if("object"!=typeof S||null===S)return{};{let E={};for(let D in S)Object.prototype.hasOwnProperty.call(S,D)&&(E[D]=S[D]);return E}}function U(S,E=40){let D=Object.keys(N(S));if(D.sort(),!D.length)return"[object has no keys]";if(D[0].length>=E)return(0,R.$G)(D[0],E);for(let S=D.length;S>0;S--){let O=D.slice(0,S).join(", ");if(!(O.length>E)){if(S===D.length)return O;return(0,R.$G)(O,E)}}return""}function H(S){let E=new Map;return Y(S,E)}function Y(S,E){if((0,T.PO)(S)){let D=E.get(S);if(void 0!==D)return D;let O={};for(let D of(E.set(S,O),Object.keys(S)))void 0!==S[D]&&(O[D]=Y(S[D],E));return O}if(Array.isArray(S)){let D=E.get(S);if(void 0!==D)return D;let O=[];return E.set(S,O),S.forEach(S=>{O.push(Y(S,E))}),O}return S}},69038:function(S,E,D){"use strict";D.d(E,{$P:function(){return $},Sq:function(){return M},pE:function(){return R}});let O=50,T=/\(error: (.*)\)/;function R(...S){let E=S.sort((S,E)=>S[0]-E[0]).map(S=>S[1]);return(S,D=0)=>{let R=[],M=S.split("\n");for(let S=D;S1024)continue;let L=T.test(D)?D.replace(T,"$1"):D;if(!L.match(/\S*Error: /)){for(let S of E){let E=S(L);if(E){R.push(E);break}}if(R.length>=O)break}}return L(R)}}function M(S){return Array.isArray(S)?R(...S):S}function L(S){if(!S.length)return[];let E=S.slice(0,O),D=E[E.length-1].function;D&&/sentryWrapped/.test(D)&&E.pop(),E.reverse();let T=E[E.length-1].function;return T&&/captureMessage|captureException/.test(T)&&E.pop(),E.map(S=>({...S,filename:S.filename||E[E.length-1].filename,function:S.function||"?"}))}let I="";function $(S){try{if(!S||"function"!=typeof S)return I;return S.name||I}catch(S){return I}}},39660:function(S,E,D){"use strict";D.d(E,{$G:function(){return T},U0:function(){return L},nK:function(){return R}});var O=D(81757);function T(S,E=0){return"string"!=typeof S||0===E?S:S.length<=E?S:`${S.slice(0,E)}...`}function R(S,E){if(!Array.isArray(S))return"";let D=[];for(let E=0;EM(S,E,D))}},49798:function(S,E,D){"use strict";D.d(E,{Ak:function(){return M},Du:function(){return L},t$:function(){return I}});var O=D(58536),T=D(90063);let R=(0,T.Rf)();function M(){if(!("fetch"in R))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(S){return!1}}function L(S){return S&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(S.toString())}function I(){if(!M())return!1;if(L(R.fetch))return!0;let S=!1,E=R.document;if(E&&"function"==typeof E.createElement)try{let D=E.createElement("iframe");D.hidden=!0,E.head.appendChild(D),D.contentWindow&&D.contentWindow.fetch&&(S=L(D.contentWindow.fetch)),E.head.removeChild(D)}catch(S){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&O.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",S)}return S}},97946:function(S,E,D){"use strict";D.d(E,{$2:function(){return M},WD:function(){return R},cW:function(){return L}});var O,T=D(81757);function R(S){return new L(E=>{E(S)})}function M(S){return new L((E,D)=>{D(S)})}!function(S){let E=0;S[S.PENDING=E]="PENDING";let D=1;S[S.RESOLVED=D]="RESOLVED";let O=2;S[S.REJECTED=O]="REJECTED"}(O||(O={}));class L{__init(){this._state=O.PENDING}__init2(){this._handlers=[]}constructor(S){L.prototype.__init.call(this),L.prototype.__init2.call(this),L.prototype.__init3.call(this),L.prototype.__init4.call(this),L.prototype.__init5.call(this),L.prototype.__init6.call(this);try{S(this._resolve,this._reject)}catch(S){this._reject(S)}}then(S,E){return new L((D,O)=>{this._handlers.push([!1,E=>{if(S)try{D(S(E))}catch(S){O(S)}else D(E)},S=>{if(E)try{D(E(S))}catch(S){O(S)}else O(S)}]),this._executeHandlers()})}catch(S){return this.then(S=>S,S)}finally(S){return new L((E,D)=>{let O,T;return this.then(E=>{T=!1,O=E,S&&S()},E=>{T=!0,O=E,S&&S()}).then(()=>{if(T){D(O);return}E(O)})})}__init3(){this._resolve=S=>{this._setResult(O.RESOLVED,S)}}__init4(){this._reject=S=>{this._setResult(O.REJECTED,S)}}__init5(){this._setResult=(S,E)=>{if(this._state===O.PENDING){if((0,T.J8)(E)){E.then(this._resolve,this._reject);return}this._state=S,this._value=E,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===O.PENDING)return;let S=this._handlers.slice();this._handlers=[],S.forEach(S=>{S[0]||(this._state===O.RESOLVED&&S[1](this._value),this._state===O.REJECTED&&S[2](this._value),S[0]=!0)})}}}},7790:function(S,E,D){"use strict";let O;D.d(E,{Z1:function(){return U},ph:function(){return W},yW:function(){return G}});var T=D(37392),R=D(90063);S=D.hmd(S);let M=(0,R.Rf)(),L={nowSeconds:()=>Date.now()/1e3};function I(){let{performance:S}=M;if(!S||!S.now)return;let E=Date.now()-S.now();return{now:()=>S.now(),timeOrigin:E}}function $(){try{let E=(0,T.l$)(S,"perf_hooks");return E.performance}catch(S){return}}let V=(0,T.KV)()?$():I(),N=void 0===V?L:{nowSeconds:()=>(V.timeOrigin+V.now())/1e3},G=L.nowSeconds.bind(L),W=N.nowSeconds.bind(N),U=(()=>{let{performance:S}=M;if(!S||!S.now){O="none";return}let E=36e5,D=S.now(),T=Date.now(),R=S.timeOrigin?Math.abs(S.timeOrigin+D-T):E,L=R0)throw Error("Invalid string. Length must be a multiple of 4");var D=S.indexOf("=");-1===D&&(D=E);var O=D===E?0:4-D%4;return[D,O]}function $(S){var E=I(S),D=E[0],O=E[1];return(D+O)*3/4-O}function V(S,E,D){return(E+D)*3/4-D}function N(S){var E,D,R=I(S),M=R[0],L=R[1],$=new T(V(S,M,L)),N=0,G=L>0?M-4:M;for(D=0;D>16&255,$[N++]=E>>8&255,$[N++]=255&E;return 2===L&&(E=O[S.charCodeAt(D)]<<2|O[S.charCodeAt(D+1)]>>4,$[N++]=255&E),1===L&&(E=O[S.charCodeAt(D)]<<10|O[S.charCodeAt(D+1)]<<4|O[S.charCodeAt(D+2)]>>2,$[N++]=E>>8&255,$[N++]=255&E),$}function G(S){return D[S>>18&63]+D[S>>12&63]+D[S>>6&63]+D[63&S]}function W(S,E,D){for(var O=[],T=E;TI?I:L+M));return 1===T?R.push(D[(E=S[O-1])>>2]+D[E<<4&63]+"=="):2===T&&R.push(D[(E=(S[O-2]<<8)+S[O-1])>>10]+D[E>>4&63]+D[E<<2&63]+"="),R.join("")}O["-".charCodeAt(0)]=62,O["_".charCodeAt(0)]=63},48834:function(S,E,D){"use strict";/*!
+ * The buffer module from node.js, for the browser.
+ *
+ * @author Feross Aboukhadijeh
+ * @license MIT
+ */var O,T=D(95766),R=D(62333),M="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;E.lW=V,O=J,E.h2=50;var L=2147483647;function I(){try{var S=new Uint8Array(1),E={foo:function(){return 42}};return Object.setPrototypeOf(E,Uint8Array.prototype),Object.setPrototypeOf(S,E),42===S.foo()}catch(S){return!1}}function $(S){if(S>L)throw RangeError('The value "'+S+'" is invalid for option "size"');var E=new Uint8Array(S);return Object.setPrototypeOf(E,V.prototype),E}function V(S,E,D){if("number"==typeof S){if("string"==typeof E)throw TypeError('The "string" argument must be of type string. Received type number');return U(S)}return N(S,E,D)}function N(S,E,D){if("string"==typeof S)return H(S,E);if(ArrayBuffer.isView(S))return Z(S);if(null==S)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S);if(ej(S,ArrayBuffer)||S&&ej(S.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(ej(S,SharedArrayBuffer)||S&&ej(S.buffer,SharedArrayBuffer)))return K(S,E,D);if("number"==typeof S)throw TypeError('The "value" argument must not be of type number. Received type number');var O=S.valueOf&&S.valueOf();if(null!=O&&O!==S)return V.from(O,E,D);var T=X(S);if(T)return T;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof S[Symbol.toPrimitive])return V.from(S[Symbol.toPrimitive]("string"),E,D);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S)}function G(S){if("number"!=typeof S)throw TypeError('"size" argument must be of type number');if(S<0)throw RangeError('The value "'+S+'" is invalid for option "size"')}function W(S,E,D){return(G(S),S<=0)?$(S):void 0!==E?"string"==typeof D?$(S).fill(E,D):$(S).fill(E):$(S)}function U(S){return G(S),$(S<0?0:0|Q(S))}function H(S,E){if(("string"!=typeof E||""===E)&&(E="utf8"),!V.isEncoding(E))throw TypeError("Unknown encoding: "+E);var D=0|ee(S,E),O=$(D),T=O.write(S,E);return T!==D&&(O=O.slice(0,T)),O}function Y(S){for(var E=S.length<0?0:0|Q(S.length),D=$(E),O=0;O=L)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+L.toString(16)+" bytes");return 0|S}function J(S){return+S!=S&&(S=0),V.alloc(+S)}function ee(S,E){if(V.isBuffer(S))return S.length;if(ArrayBuffer.isView(S)||ej(S,ArrayBuffer))return S.byteLength;if("string"!=typeof S)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof S);var D=S.length,O=arguments.length>2&&!0===arguments[2];if(!O&&0===D)return 0;for(var T=!1;;)switch(E){case"ascii":case"latin1":case"binary":return D;case"utf8":case"utf-8":return eD(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*D;case"hex":return D>>>1;case"base64":return eA(S).length;default:if(T)return O?-1:eD(S).length;E=(""+E).toLowerCase(),T=!0}}function et(S,E,D){var O=!1;if((void 0===E||E<0)&&(E=0),E>this.length||((void 0===D||D>this.length)&&(D=this.length),D<=0||(D>>>=0)<=(E>>>=0)))return"";for(S||(S="utf8");;)switch(S){case"hex":return eg(this,E,D);case"utf8":case"utf-8":return eh(this,E,D);case"ascii":return em(this,E,D);case"latin1":case"binary":return ey(this,E,D);case"base64":return ed(this,E,D);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eb(this,E,D);default:if(O)throw TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),O=!0}}function er(S,E,D){var O=S[E];S[E]=S[D],S[D]=O}function en(S,E,D,O,T){if(0===S.length)return -1;if("string"==typeof D?(O=D,D=0):D>2147483647?D=2147483647:D<-2147483648&&(D=-2147483648),eM(D=+D)&&(D=T?0:S.length-1),D<0&&(D=S.length+D),D>=S.length){if(T)return -1;D=S.length-1}else if(D<0){if(!T)return -1;D=0}if("string"==typeof E&&(E=V.from(E,O)),V.isBuffer(E))return 0===E.length?-1:ei(S,E,D,O,T);if("number"==typeof E)return(E&=255,"function"==typeof Uint8Array.prototype.indexOf)?T?Uint8Array.prototype.indexOf.call(S,E,D):Uint8Array.prototype.lastIndexOf.call(S,E,D):ei(S,[E],D,O,T);throw TypeError("val must be string, number or Buffer")}function ei(S,E,D,O,T){var R,M=1,L=S.length,I=E.length;if(void 0!==O&&("ucs2"===(O=String(O).toLowerCase())||"ucs-2"===O||"utf16le"===O||"utf-16le"===O)){if(S.length<2||E.length<2)return -1;M=2,L/=2,I/=2,D/=2}function $(S,E){return 1===M?S[E]:S.readUInt16BE(E*M)}if(T){var V=-1;for(R=D;RL&&(D=L-I),R=D;R>=0;R--){for(var N=!0,G=0;GT&&(O=T):O=T;var R=E.length;O>R/2&&(O=R/2);for(var M=0;M239?4:$>223?3:$>191?2:1;if(T+N<=D)switch(N){case 1:$<128&&(V=$);break;case 2:(192&(R=S[T+1]))==128&&(I=(31&$)<<6|63&R)>127&&(V=I);break;case 3:R=S[T+1],M=S[T+2],(192&R)==128&&(192&M)==128&&(I=(15&$)<<12|(63&R)<<6|63&M)>2047&&(I<55296||I>57343)&&(V=I);break;case 4:R=S[T+1],M=S[T+2],L=S[T+3],(192&R)==128&&(192&M)==128&&(192&L)==128&&(I=(15&$)<<18|(63&R)<<12|(63&M)<<6|63&L)>65535&&I<1114112&&(V=I)}null===V?(V=65533,N=1):V>65535&&(V-=65536,O.push(V>>>10&1023|55296),V=56320|1023&V),O.push(V),T+=N}return ef(O)}O=2147483647,V.TYPED_ARRAY_SUPPORT=I(),V.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(V.prototype,"parent",{enumerable:!0,get:function(){if(V.isBuffer(this))return this.buffer}}),Object.defineProperty(V.prototype,"offset",{enumerable:!0,get:function(){if(V.isBuffer(this))return this.byteOffset}}),V.poolSize=8192,V.from=function(S,E,D){return N(S,E,D)},Object.setPrototypeOf(V.prototype,Uint8Array.prototype),Object.setPrototypeOf(V,Uint8Array),V.alloc=function(S,E,D){return W(S,E,D)},V.allocUnsafe=function(S){return U(S)},V.allocUnsafeSlow=function(S){return U(S)},V.isBuffer=function(S){return null!=S&&!0===S._isBuffer&&S!==V.prototype},V.compare=function(S,E){if(ej(S,Uint8Array)&&(S=V.from(S,S.offset,S.byteLength)),ej(E,Uint8Array)&&(E=V.from(E,E.offset,E.byteLength)),!V.isBuffer(S)||!V.isBuffer(E))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(S===E)return 0;for(var D=S.length,O=E.length,T=0,R=Math.min(D,O);TO.length?V.from(R).copy(O,T):Uint8Array.prototype.set.call(O,R,T);else if(V.isBuffer(R))R.copy(O,T);else throw TypeError('"list" argument must be an Array of Buffers');T+=R.length}return O},V.byteLength=ee,V.prototype._isBuffer=!0,V.prototype.swap16=function(){var S=this.length;if(S%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var E=0;ED&&(S+=" ... "),""},M&&(V.prototype[M]=V.prototype.inspect),V.prototype.compare=function(S,E,D,O,T){if(ej(S,Uint8Array)&&(S=V.from(S,S.offset,S.byteLength)),!V.isBuffer(S))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof S);if(void 0===E&&(E=0),void 0===D&&(D=S?S.length:0),void 0===O&&(O=0),void 0===T&&(T=this.length),E<0||D>S.length||O<0||T>this.length)throw RangeError("out of range index");if(O>=T&&E>=D)return 0;if(O>=T)return -1;if(E>=D)return 1;if(E>>>=0,D>>>=0,O>>>=0,T>>>=0,this===S)return 0;for(var R=T-O,M=D-E,L=Math.min(R,M),I=this.slice(O,T),$=S.slice(E,D),N=0;N>>=0,isFinite(D)?(D>>>=0,void 0===O&&(O="utf8")):(O=D,D=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var T=this.length-E;if((void 0===D||D>T)&&(D=T),S.length>0&&(D<0||E<0)||E>this.length)throw RangeError("Attempt to write outside buffer bounds");O||(O="utf8");for(var R=!1;;)switch(O){case"hex":return ea(this,S,E,D);case"utf8":case"utf-8":return eo(this,S,E,D);case"ascii":case"latin1":case"binary":return es(this,S,E,D);case"base64":return eu(this,S,E,D);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ec(this,S,E,D);default:if(R)throw TypeError("Unknown encoding: "+O);O=(""+O).toLowerCase(),R=!0}},V.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ep=4096;function ef(S){var E=S.length;if(E<=ep)return String.fromCharCode.apply(String,S);for(var D="",O=0;OO)&&(D=O);for(var T="",R=E;RD)throw RangeError("Trying to access beyond buffer length")}function ek(S,E,D,O,T,R){if(!V.isBuffer(S))throw TypeError('"buffer" argument must be a Buffer instance');if(E>T||ES.length)throw RangeError("Index out of range")}function ew(S,E,D,O,T,R){if(D+O>S.length||D<0)throw RangeError("Index out of range")}function eS(S,E,D,O,T){return E=+E,D>>>=0,T||ew(S,E,D,4,34028234663852886e22,-34028234663852886e22),R.write(S,E,D,O,23,4),D+4}function eC(S,E,D,O,T){return E=+E,D>>>=0,T||ew(S,E,D,8,17976931348623157e292,-17976931348623157e292),R.write(S,E,D,O,52,8),D+8}V.prototype.slice=function(S,E){var D=this.length;S=~~S,E=void 0===E?D:~~E,S<0?(S+=D)<0&&(S=0):S>D&&(S=D),E<0?(E+=D)<0&&(E=0):E>D&&(E=D),E>>=0,E>>>=0,D||e_(S,E,this.length);for(var O=this[S],T=1,R=0;++R>>=0,E>>>=0,D||e_(S,E,this.length);for(var O=this[S+--E],T=1;E>0&&(T*=256);)O+=this[S+--E]*T;return O},V.prototype.readUint8=V.prototype.readUInt8=function(S,E){return S>>>=0,E||e_(S,1,this.length),this[S]},V.prototype.readUint16LE=V.prototype.readUInt16LE=function(S,E){return S>>>=0,E||e_(S,2,this.length),this[S]|this[S+1]<<8},V.prototype.readUint16BE=V.prototype.readUInt16BE=function(S,E){return S>>>=0,E||e_(S,2,this.length),this[S]<<8|this[S+1]},V.prototype.readUint32LE=V.prototype.readUInt32LE=function(S,E){return S>>>=0,E||e_(S,4,this.length),(this[S]|this[S+1]<<8|this[S+2]<<16)+16777216*this[S+3]},V.prototype.readUint32BE=V.prototype.readUInt32BE=function(S,E){return S>>>=0,E||e_(S,4,this.length),16777216*this[S]+(this[S+1]<<16|this[S+2]<<8|this[S+3])},V.prototype.readIntLE=function(S,E,D){S>>>=0,E>>>=0,D||e_(S,E,this.length);for(var O=this[S],T=1,R=0;++R=(T*=128)&&(O-=Math.pow(2,8*E)),O},V.prototype.readIntBE=function(S,E,D){S>>>=0,E>>>=0,D||e_(S,E,this.length);for(var O=E,T=1,R=this[S+--O];O>0&&(T*=256);)R+=this[S+--O]*T;return R>=(T*=128)&&(R-=Math.pow(2,8*E)),R},V.prototype.readInt8=function(S,E){return(S>>>=0,E||e_(S,1,this.length),128&this[S])?-((255-this[S]+1)*1):this[S]},V.prototype.readInt16LE=function(S,E){S>>>=0,E||e_(S,2,this.length);var D=this[S]|this[S+1]<<8;return 32768&D?4294901760|D:D},V.prototype.readInt16BE=function(S,E){S>>>=0,E||e_(S,2,this.length);var D=this[S+1]|this[S]<<8;return 32768&D?4294901760|D:D},V.prototype.readInt32LE=function(S,E){return S>>>=0,E||e_(S,4,this.length),this[S]|this[S+1]<<8|this[S+2]<<16|this[S+3]<<24},V.prototype.readInt32BE=function(S,E){return S>>>=0,E||e_(S,4,this.length),this[S]<<24|this[S+1]<<16|this[S+2]<<8|this[S+3]},V.prototype.readFloatLE=function(S,E){return S>>>=0,E||e_(S,4,this.length),R.read(this,S,!0,23,4)},V.prototype.readFloatBE=function(S,E){return S>>>=0,E||e_(S,4,this.length),R.read(this,S,!1,23,4)},V.prototype.readDoubleLE=function(S,E){return S>>>=0,E||e_(S,8,this.length),R.read(this,S,!0,52,8)},V.prototype.readDoubleBE=function(S,E){return S>>>=0,E||e_(S,8,this.length),R.read(this,S,!1,52,8)},V.prototype.writeUintLE=V.prototype.writeUIntLE=function(S,E,D,O){if(S=+S,E>>>=0,D>>>=0,!O){var T=Math.pow(2,8*D)-1;ek(this,S,E,D,T,0)}var R=1,M=0;for(this[E]=255&S;++M>>=0,D>>>=0,!O){var T=Math.pow(2,8*D)-1;ek(this,S,E,D,T,0)}var R=D-1,M=1;for(this[E+R]=255&S;--R>=0&&(M*=256);)this[E+R]=S/M&255;return E+D},V.prototype.writeUint8=V.prototype.writeUInt8=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,1,255,0),this[E]=255&S,E+1},V.prototype.writeUint16LE=V.prototype.writeUInt16LE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,2,65535,0),this[E]=255&S,this[E+1]=S>>>8,E+2},V.prototype.writeUint16BE=V.prototype.writeUInt16BE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,2,65535,0),this[E]=S>>>8,this[E+1]=255&S,E+2},V.prototype.writeUint32LE=V.prototype.writeUInt32LE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,4,4294967295,0),this[E+3]=S>>>24,this[E+2]=S>>>16,this[E+1]=S>>>8,this[E]=255&S,E+4},V.prototype.writeUint32BE=V.prototype.writeUInt32BE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,4,4294967295,0),this[E]=S>>>24,this[E+1]=S>>>16,this[E+2]=S>>>8,this[E+3]=255&S,E+4},V.prototype.writeIntLE=function(S,E,D,O){if(S=+S,E>>>=0,!O){var T=Math.pow(2,8*D-1);ek(this,S,E,D,T-1,-T)}var R=0,M=1,L=0;for(this[E]=255&S;++R>0)-L&255;return E+D},V.prototype.writeIntBE=function(S,E,D,O){if(S=+S,E>>>=0,!O){var T=Math.pow(2,8*D-1);ek(this,S,E,D,T-1,-T)}var R=D-1,M=1,L=0;for(this[E+R]=255&S;--R>=0&&(M*=256);)S<0&&0===L&&0!==this[E+R+1]&&(L=1),this[E+R]=(S/M>>0)-L&255;return E+D},V.prototype.writeInt8=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,1,127,-128),S<0&&(S=255+S+1),this[E]=255&S,E+1},V.prototype.writeInt16LE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,2,32767,-32768),this[E]=255&S,this[E+1]=S>>>8,E+2},V.prototype.writeInt16BE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,2,32767,-32768),this[E]=S>>>8,this[E+1]=255&S,E+2},V.prototype.writeInt32LE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,4,2147483647,-2147483648),this[E]=255&S,this[E+1]=S>>>8,this[E+2]=S>>>16,this[E+3]=S>>>24,E+4},V.prototype.writeInt32BE=function(S,E,D){return S=+S,E>>>=0,D||ek(this,S,E,4,2147483647,-2147483648),S<0&&(S=4294967295+S+1),this[E]=S>>>24,this[E+1]=S>>>16,this[E+2]=S>>>8,this[E+3]=255&S,E+4},V.prototype.writeFloatLE=function(S,E,D){return eS(this,S,E,!0,D)},V.prototype.writeFloatBE=function(S,E,D){return eS(this,S,E,!1,D)},V.prototype.writeDoubleLE=function(S,E,D){return eC(this,S,E,!0,D)},V.prototype.writeDoubleBE=function(S,E,D){return eC(this,S,E,!1,D)},V.prototype.copy=function(S,E,D,O){if(!V.isBuffer(S))throw TypeError("argument should be a Buffer");if(D||(D=0),O||0===O||(O=this.length),E>=S.length&&(E=S.length),E||(E=0),O>0&&O=this.length)throw RangeError("Index out of range");if(O<0)throw RangeError("sourceEnd out of bounds");O>this.length&&(O=this.length),S.length-E>>=0,D=void 0===D?this.length:D>>>0,S||(S=0),"number"==typeof S)for(T=E;T55295&&D<57344){if(!T){if(D>56319||M+1===O){(E-=3)>-1&&R.push(239,191,189);continue}T=D;continue}if(D<56320){(E-=3)>-1&&R.push(239,191,189),T=D;continue}D=(T-55296<<10|D-56320)+65536}else T&&(E-=3)>-1&&R.push(239,191,189);if(T=null,D<128){if((E-=1)<0)break;R.push(D)}else if(D<2048){if((E-=2)<0)break;R.push(D>>6|192,63&D|128)}else if(D<65536){if((E-=3)<0)break;R.push(D>>12|224,D>>6&63|128,63&D|128)}else if(D<1114112){if((E-=4)<0)break;R.push(D>>18|240,D>>12&63|128,D>>6&63|128,63&D|128)}else throw Error("Invalid code point")}return R}function eO(S){for(var E=[],D=0;D>8,T.push(D%256),T.push(O);return T}function eA(S){return T.toByteArray(eP(S))}function eR(S,E,D,O){for(var T=0;T=E.length)&&!(T>=S.length);++T)E[T+D]=S[T];return T}function ej(S,E){return S instanceof E||null!=S&&null!=S.constructor&&null!=S.constructor.name&&S.constructor.name===E.name}function eM(S){return S!=S}var eL=function(){for(var S="0123456789abcdef",E=Array(256),D=0;D<16;++D)for(var O=16*D,T=0;T<16;++T)E[O+T]=S[D]+S[T];return E}()},72779:function(S,E){var D;/*!
+ Copyright (c) 2018 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+*/!function(){"use strict";var O={}.hasOwnProperty;function T(){for(var S=[],E=0;E0?"in "+T:T+" ago":T};function R(S){return function(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},D=E.width?String(E.width):S.defaultWidth;return S.formats[D]||S.formats[S.defaultWidth]}}var M={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},L={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},I={date:R({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:R({formats:M,defaultWidth:"full"}),dateTime:R({formats:L,defaultWidth:"full"})},$={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},V=function(S,E,D,O){return $[S]};function N(S){return function(E,D){var O;if("formatting"===(null!=D&&D.context?String(D.context):"standalone")&&S.formattingValues){var T=S.defaultFormattingWidth||S.defaultWidth,R=null!=D&&D.width?String(D.width):T;O=S.formattingValues[R]||S.formattingValues[T]}else{var M=S.defaultWidth,L=null!=D&&D.width?String(D.width):S.defaultWidth;O=S.values[L]||S.values[M]}return O[S.argumentCallback?S.argumentCallback(E):E]}}var G={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},W={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},U={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},H={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Y={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Z={ordinalNumber:function(S,E){var D=Number(S),O=D%100;if(O>20||O<10)switch(O%10){case 1:return D+"st";case 2:return D+"nd";case 3:return D+"rd"}return D+"th"},era:N({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:N({values:G,defaultWidth:"wide",argumentCallback:function(S){return S-1}}),month:N({values:W,defaultWidth:"wide"}),day:N({values:U,defaultWidth:"wide"}),dayPeriod:N({values:H,defaultWidth:"wide",formattingValues:Y,defaultFormattingWidth:"wide"})};function K(S){return function(E){var D,O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},T=O.width,R=T&&S.matchPatterns[T]||S.matchPatterns[S.defaultMatchWidth],M=E.match(R);if(!M)return null;var L=M[0],I=T&&S.parsePatterns[T]||S.parsePatterns[S.defaultParseWidth],$=Array.isArray(I)?Q(I,function(S){return S.test(L)}):X(I,function(S){return S.test(L)});return D=S.valueCallback?S.valueCallback($):$,{value:D=O.valueCallback?O.valueCallback(D):D,rest:E.slice(L.length)}}}function X(S,E){for(var D in S)if(S.hasOwnProperty(D)&&E(S[D]))return D}function Q(S,E){for(var D=0;D1&&void 0!==arguments[1]?arguments[1]:{},O=E.match(S.matchPattern);if(!O)return null;var T=O[0],R=E.match(S.parsePattern);if(!R)return null;var M=S.valueCallback?S.valueCallback(R[0]):R[0];return{value:M=D.valueCallback?D.valueCallback(M):M,rest:E.slice(T.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(S){return parseInt(S,10)}}),era:K({matchPatterns:J,defaultMatchWidth:"wide",parsePatterns:ee,defaultParseWidth:"any"}),quarter:K({matchPatterns:et,defaultMatchWidth:"wide",parsePatterns:er,defaultParseWidth:"any",valueCallback:function(S){return S+1}}),month:K({matchPatterns:en,defaultMatchWidth:"wide",parsePatterns:ei,defaultParseWidth:"any"}),day:K({matchPatterns:ea,defaultMatchWidth:"wide",parsePatterns:eo,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:es,defaultMatchWidth:"any",parsePatterns:eu,defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},18667:function(S,E,D){"use strict";D.d(E,{j:function(){return T}});var O={};function T(){return O}},60429:function(S,E){"use strict";var D=function(S,E){switch(S){case"P":return E.date({width:"short"});case"PP":return E.date({width:"medium"});case"PPP":return E.date({width:"long"});default:return E.date({width:"full"})}},O=function(S,E){switch(S){case"p":return E.time({width:"short"});case"pp":return E.time({width:"medium"});case"ppp":return E.time({width:"long"});default:return E.time({width:"full"})}},T=function(S,E){var T,R=S.match(/(P+)(p+)?/)||[],M=R[1],L=R[2];if(!L)return D(S,E);switch(M){case"P":T=E.dateTime({width:"short"});break;case"PP":T=E.dateTime({width:"medium"});break;case"PPP":T=E.dateTime({width:"long"});break;default:T=E.dateTime({width:"full"})}return T.replace("{{date}}",D(M,E)).replace("{{time}}",O(L,E))},R={p:O,P:T};E.Z=R},1645:function(S,E,D){"use strict";function O(S){var E=new Date(Date.UTC(S.getFullYear(),S.getMonth(),S.getDate(),S.getHours(),S.getMinutes(),S.getSeconds(),S.getMilliseconds()));return E.setUTCFullYear(S.getFullYear()),S.getTime()-E.getTime()}D.d(E,{Z:function(){return O}})},17898:function(S,E,D){"use strict";D.d(E,{Z:function(){return $}});var O=D(66700),T=D(55143),R=D(90257),M=D(19785);function L(S){(0,M.Z)(1,arguments);var E=(0,R.Z)(S),D=new Date(0);return D.setUTCFullYear(E,0,4),D.setUTCHours(0,0,0,0),(0,T.Z)(D)}var I=6048e5;function $(S){(0,M.Z)(1,arguments);var E=(0,O.Z)(S);return Math.round(((0,T.Z)(E).getTime()-L(E).getTime())/I)+1}},90257:function(S,E,D){"use strict";D.d(E,{Z:function(){return M}});var O=D(66700),T=D(19785),R=D(55143);function M(S){(0,T.Z)(1,arguments);var E=(0,O.Z)(S),D=E.getUTCFullYear(),M=new Date(0);M.setUTCFullYear(D+1,0,4),M.setUTCHours(0,0,0,0);var L=(0,R.Z)(M),I=new Date(0);I.setUTCFullYear(D,0,4),I.setUTCHours(0,0,0,0);var $=(0,R.Z)(I);return E.getTime()>=L.getTime()?D+1:E.getTime()>=$.getTime()?D:D-1}},10663:function(S,E,D){"use strict";D.d(E,{Z:function(){return N}});var O=D(66700),T=D(52329),R=D(72763),M=D(19785),L=D(42765),I=D(18667);function $(S,E){(0,M.Z)(1,arguments);var D,O,$,V,N,G,W,U,H=(0,I.j)(),Y=(0,L.Z)(null!==(D=null!==(O=null!==($=null!==(V=null==E?void 0:E.firstWeekContainsDate)&&void 0!==V?V:null==E?void 0:null===(N=E.locale)||void 0===N?void 0:null===(G=N.options)||void 0===G?void 0:G.firstWeekContainsDate)&&void 0!==$?$:H.firstWeekContainsDate)&&void 0!==O?O:null===(W=H.locale)||void 0===W?void 0:null===(U=W.options)||void 0===U?void 0:U.firstWeekContainsDate)&&void 0!==D?D:1),Z=(0,R.Z)(S,E),K=new Date(0);return K.setUTCFullYear(Z,0,Y),K.setUTCHours(0,0,0,0),(0,T.Z)(K,E)}var V=6048e5;function N(S,E){(0,M.Z)(1,arguments);var D=(0,O.Z)(S);return Math.round(((0,T.Z)(D,E).getTime()-$(D,E).getTime())/V)+1}},72763:function(S,E,D){"use strict";D.d(E,{Z:function(){return I}});var O=D(66700),T=D(19785),R=D(52329),M=D(42765),L=D(18667);function I(S,E){(0,T.Z)(1,arguments);var D,I,$,V,N,G,W,U,H=(0,O.Z)(S),Y=H.getUTCFullYear(),Z=(0,L.j)(),K=(0,M.Z)(null!==(D=null!==(I=null!==($=null!==(V=null==E?void 0:E.firstWeekContainsDate)&&void 0!==V?V:null==E?void 0:null===(N=E.locale)||void 0===N?void 0:null===(G=N.options)||void 0===G?void 0:G.firstWeekContainsDate)&&void 0!==$?$:Z.firstWeekContainsDate)&&void 0!==I?I:null===(W=Z.locale)||void 0===W?void 0:null===(U=W.options)||void 0===U?void 0:U.firstWeekContainsDate)&&void 0!==D?D:1);if(!(K>=1&&K<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var X=new Date(0);X.setUTCFullYear(Y+1,0,K),X.setUTCHours(0,0,0,0);var Q=(0,R.Z)(X,E),J=new Date(0);J.setUTCFullYear(Y,0,K),J.setUTCHours(0,0,0,0);var ee=(0,R.Z)(J,E);return H.getTime()>=Q.getTime()?Y+1:H.getTime()>=ee.getTime()?Y:Y-1}},13503:function(S,E,D){"use strict";D.d(E,{Do:function(){return M},Iu:function(){return R},qp:function(){return L}});var O=["D","DD"],T=["YY","YYYY"];function R(S){return -1!==O.indexOf(S)}function M(S){return -1!==T.indexOf(S)}function L(S,E,D){if("YYYY"===S)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(E,"`) for formatting years to the input `").concat(D,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===S)throw RangeError("Use `yy` instead of `YY` (in `".concat(E,"`) for formatting years to the input `").concat(D,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===S)throw RangeError("Use `d` instead of `D` (in `".concat(E,"`) for formatting days of the month to the input `").concat(D,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===S)throw RangeError("Use `dd` instead of `DD` (in `".concat(E,"`) for formatting days of the month to the input `").concat(D,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},19785:function(S,E,D){"use strict";function O(S,E){if(E.length1?"s":"")+" required, but only "+E.length+" present")}D.d(E,{Z:function(){return O}})},55143:function(S,E,D){"use strict";D.d(E,{Z:function(){return R}});var O=D(66700),T=D(19785);function R(S){(0,T.Z)(1,arguments);var E=1,D=(0,O.Z)(S),R=D.getUTCDay(),M=(R=0&&H<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var Y=(0,O.Z)(S),Z=Y.getUTCDay(),K=(ZM(S[E]))}function N(S){return!!(V(S)||S.variants)}let G={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},W={};for(let S in G)W[S]={isEnabled:E=>G[S].some(S=>!!E[S])};let U={};function H(S){Object.assign(U,S)}let Y=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Z=new Set(Y);function K(S,{layout:E,layoutId:D}){return Z.has(S)||S.startsWith("origin")||(E||void 0!==D)&&(!!U[S]||"opacity"===S)}let X=S=>!!(S&&S.getVelocity),Q={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},J=Y.length;function ee(S,{enableHardwareAcceleration:E=!0,allowTransformNone:D=!0},O,T){let R="";for(let E=0;EE=>"string"==typeof E&&E.startsWith(S),er=et("--"),en=et("var(--"),ei=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,ea=(S,E)=>E&&"number"==typeof S?E.transform(S):S,eo=(S,E,D)=>Math.min(Math.max(D,S),E),es={test:S=>"number"==typeof S,parse:parseFloat,transform:S=>S},eu={...es,transform:S=>eo(0,1,S)},ec={...es,default:1},ed=S=>Math.round(1e5*S)/1e5,eh=/(-)?([\d]*\.?[\d])+/g,ep=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,ef=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function em(S){return"string"==typeof S}let ey=S=>({test:E=>em(E)&&E.endsWith(S)&&1===E.split(" ").length,parse:parseFloat,transform:E=>`${E}${S}`}),eg=ey("deg"),eb=ey("%"),e_=ey("px"),ek=ey("vh"),ew=ey("vw"),eS={...eb,parse:S=>eb.parse(S)/100,transform:S=>eb.transform(100*S)},eC={...es,transform:Math.round},eE={borderWidth:e_,borderTopWidth:e_,borderRightWidth:e_,borderBottomWidth:e_,borderLeftWidth:e_,borderRadius:e_,radius:e_,borderTopLeftRadius:e_,borderTopRightRadius:e_,borderBottomRightRadius:e_,borderBottomLeftRadius:e_,width:e_,maxWidth:e_,height:e_,maxHeight:e_,size:e_,top:e_,right:e_,bottom:e_,left:e_,padding:e_,paddingTop:e_,paddingRight:e_,paddingBottom:e_,paddingLeft:e_,margin:e_,marginTop:e_,marginRight:e_,marginBottom:e_,marginLeft:e_,rotate:eg,rotateX:eg,rotateY:eg,rotateZ:eg,scale:ec,scaleX:ec,scaleY:ec,scaleZ:ec,skew:eg,skewX:eg,skewY:eg,distance:e_,translateX:e_,translateY:e_,translateZ:e_,x:e_,y:e_,z:e_,perspective:e_,transformPerspective:e_,opacity:eu,originX:eS,originY:eS,originZ:e_,zIndex:eC,fillOpacity:eu,strokeOpacity:eu,numOctaves:eC};function eP(S,E,D,O){let{style:T,vars:R,transform:M,transformOrigin:L}=S,I=!1,$=!1,V=!0;for(let S in E){let D=E[S];if(er(S)){R[S]=D;continue}let O=eE[S],N=ea(D,O);if(Z.has(S)){if(I=!0,M[S]=N,!V)continue;D!==(O.default||0)&&(V=!1)}else S.startsWith("origin")?($=!0,L[S]=N):T[S]=N}if(!E.transform&&(I||O?T.transform=ee(S.transform,D,V,O):T.transform&&(T.transform="none")),$){let{originX:S="50%",originY:E="50%",originZ:D=0}=L;T.transformOrigin=`${S} ${E} ${D}`}}function eD(S,E,D){return"string"==typeof S?S:e_.transform(E+D*S)}function eO(S,E,D){let O=eD(E,S.x,S.width),T=eD(D,S.y,S.height);return`${O} ${T}`}let eT={offset:"stroke-dashoffset",array:"stroke-dasharray"},eA={offset:"strokeDashoffset",array:"strokeDasharray"};function eR(S,E,D=1,O=0,T=!0){S.pathLength=1;let R=T?eT:eA;S[R.offset]=e_.transform(-O);let M=e_.transform(E),L=e_.transform(D);S[R.array]=`${M} ${L}`}function ej(S,{attrX:E,attrY:D,attrScale:O,originX:T,originY:R,pathLength:M,pathSpacing:L=1,pathOffset:I=0,...$},V,N,G){if(eP(S,$,V,G),N){S.style.viewBox&&(S.attrs.viewBox=S.style.viewBox);return}S.attrs=S.style,S.style={};let{attrs:W,style:U,dimensions:H}=S;W.transform&&(H&&(U.transform=W.transform),delete W.transform),H&&(void 0!==T||void 0!==R||U.transform)&&(U.transformOrigin=eO(H,void 0!==T?T:.5,void 0!==R?R:.5)),void 0!==E&&(W.x=E),void 0!==D&&(W.y=D),void 0!==O&&(W.scale=O),void 0!==M&&eR(W,M,L,I,!1)}let eM=S=>"string"==typeof S&&"svg"===S.toLowerCase(),eL=S=>S.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function eI(S,{style:E,vars:D},O,T){for(let R in Object.assign(S.style,E,T&&T.getProjectionStyles(O)),D)S.style.setProperty(R,D[R])}let e$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function eF(S,E,D,O){for(let D in eI(S,E,void 0,O),E.attrs)S.setAttribute(e$.has(D)?D:eL(D),E.attrs[D])}function eB(S,E){let{style:D}=S,O={};for(let T in D)(X(D[T])||E.style&&X(E.style[T])||K(T,S))&&(O[T]=D[T]);return O}function eV(S,E){let D=eB(S,E);for(let O in S)if(X(S[O])||X(E[O])){let E=-1!==Y.indexOf(O)?"attr"+O.charAt(0).toUpperCase()+O.substring(1):O;D[E]=S[O]}return D}function eN(S,E,D,O={},T={}){return"function"==typeof E&&(E=E(void 0!==D?D:S.custom,O,T)),"string"==typeof E&&(E=S.variants&&S.variants[E]),"function"==typeof E&&(E=E(void 0!==D?D:S.custom,O,T)),E}let ez=S=>Array.isArray(S),eG=S=>!!(S&&"object"==typeof S&&S.mix&&S.toValue),eW=S=>ez(S)?S[S.length-1]||0:S,eU=(S,E)=>D=>E(S(D)),eH=(...S)=>S.reduce(eU);function eq(S){let E=[],D=[],O=0,T=!1,R=!1,M=new WeakSet,L={schedule:(S,R=!1,L=!1)=>{let I=L&&T,$=I?E:D;return R&&M.add(S),-1===$.indexOf(S)&&($.push(S),I&&T&&(O=E.length)),S},cancel:S=>{let E=D.indexOf(S);-1!==E&&D.splice(E,1),M.delete(S)},process:I=>{if(T){R=!0;return}if(T=!0,[E,D]=[D,E],D.length=0,O=E.length)for(let D=0;D(S[E]=eq(()=>eX=!0),S),{}),e0=S=>eJ[S].process(eY),e3=S=>{eX=!1,eY.delta=eK?1e3/60:Math.max(Math.min(S-eY.timestamp,eZ),1),eY.timestamp=S,eY.isProcessing=!0,eQ.forEach(e0),eY.isProcessing=!1,eX&&(eK=!1,requestAnimationFrame(e3))},e4=()=>{eX=!0,eK=!0,eY.isProcessing||requestAnimationFrame(e3)},e5=eQ.reduce((S,E)=>{let D=eJ[E];return S[E]=(S,E=!1,O=!1)=>(eX||e4(),D.schedule(S,E,O)),S},{});function e6(S){eQ.forEach(E=>eJ[E].cancel(S))}let e9=S=>S;function e8(S){let E={};return S.values.forEach((S,D)=>E[D]=S.get()),E}function e7(S){let E={};return S.values.forEach((S,D)=>E[D]=S.getVelocity()),E}function te(S,E,D){let O=S.getProps();return eN(O,E,void 0!==D?D:O.custom,e8(S),e7(S))}let tt="framerAppearId",tr="data-"+eL(tt);E.warning=e9,E.invariant=e9;let tn=S=>1e3*S,ta=S=>S/1e3,ts={current:!1},tl=S=>Array.isArray(S)&&"number"==typeof S[0];function tu(S){return!!(!S||"string"==typeof S&&td[S]||tl(S)||Array.isArray(S)&&S.every(tu))}let tc=([S,E,D,O])=>`cubic-bezier(${S}, ${E}, ${D}, ${O})`,td={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tc([0,.65,.55,1]),circOut:tc([.55,0,1,.45]),backIn:tc([.31,.01,.66,-.59]),backOut:tc([.33,1.53,.69,.99])};function th(S){if(S)return tl(S)?tc(S):Array.isArray(S)?S.map(th):td[S]}function tp(S,E,D,{delay:O=0,duration:T,repeat:R=0,repeatType:M="loop",ease:L,times:I}={}){let $={[E]:D};I&&($.offset=I);let V=th(L);return Array.isArray(V)&&($.easing=V),S.animate($,{delay:O,duration:T,easing:Array.isArray(V)?"linear":V,fill:"both",iterations:R+1,direction:"reverse"===M?"alternate":"normal"})}let tf={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},tm={},tv={};for(let S in tf)tv[S]=()=>(void 0===tm[S]&&(tm[S]=tf[S]()),tm[S]);function tg(S,{repeat:E,repeatType:D="loop"}){let O=E&&"loop"!==D&&E%2==1?0:S.length-1;return S[O]}let tb=(S,E,D)=>(((1-3*D+3*E)*S+(3*D-6*E))*S+3*E)*S,t_=1e-7,tk=12;function tw(S,E,D,O,T){let R,M;let L=0;do(R=tb(M=E+(D-E)/2,O,T)-S)>0?D=M:E=M;while(Math.abs(R)>t_&&++Ltw(E,0,1,S,D);return S=>0===S||1===S?S:tb(T(S),E,O)}let tC=tS(.42,0,1,1),tE=tS(0,0,.58,1),tP=tS(.42,0,.58,1),tD=S=>Array.isArray(S)&&"number"!=typeof S[0],tO=S=>E=>E<=.5?S(2*E)/2:(2-S(2*(1-E)))/2,tT=S=>E=>1-S(1-E),tA=S=>1-Math.sin(Math.acos(S)),tR=tT(tA),tj=tO(tR),tM=tS(.33,1.53,.69,.99),tL=tT(tM),tI=tO(tL),t$=S=>(S*=2)<1?.5*tL(S):.5*(2-Math.pow(2,-10*(S-1))),tF={linear:e9,easeIn:tC,easeInOut:tP,easeOut:tE,circIn:tA,circInOut:tj,circOut:tR,backIn:tL,backInOut:tI,backOut:tM,anticipate:t$},tB=S=>{if(Array.isArray(S)){E.invariant(4===S.length,"Cubic bezier arrays must contain four numerical values.");let[D,O,T,R]=S;return tS(D,O,T,R)}return"string"==typeof S?(E.invariant(void 0!==tF[S],`Invalid easing type '${S}'`),tF[S]):S},tV=(S,E)=>D=>!!(em(D)&&ef.test(D)&&D.startsWith(S)||E&&Object.prototype.hasOwnProperty.call(D,E)),tN=(S,E,D)=>O=>{if(!em(O))return O;let[T,R,M,L]=O.match(eh);return{[S]:parseFloat(T),[E]:parseFloat(R),[D]:parseFloat(M),alpha:void 0!==L?parseFloat(L):1}},tG=S=>eo(0,255,S),tW={...es,transform:S=>Math.round(tG(S))},tU={test:tV("rgb","red"),parse:tN("red","green","blue"),transform:({red:S,green:E,blue:D,alpha:O=1})=>"rgba("+tW.transform(S)+", "+tW.transform(E)+", "+tW.transform(D)+", "+ed(eu.transform(O))+")"};function tH(S){let E="",D="",O="",T="";return S.length>5?(E=S.substring(1,3),D=S.substring(3,5),O=S.substring(5,7),T=S.substring(7,9)):(E=S.substring(1,2),D=S.substring(2,3),O=S.substring(3,4),T=S.substring(4,5),E+=E,D+=D,O+=O,T+=T),{red:parseInt(E,16),green:parseInt(D,16),blue:parseInt(O,16),alpha:T?parseInt(T,16)/255:1}}let tq={test:tV("#"),parse:tH,transform:tU.transform},tY={test:tV("hsl","hue"),parse:tN("hue","saturation","lightness"),transform:({hue:S,saturation:E,lightness:D,alpha:O=1})=>"hsla("+Math.round(S)+", "+eb.transform(ed(E))+", "+eb.transform(ed(D))+", "+ed(eu.transform(O))+")"},tZ={test:S=>tU.test(S)||tq.test(S)||tY.test(S),parse:S=>tU.test(S)?tU.parse(S):tY.test(S)?tY.parse(S):tq.parse(S),transform:S=>em(S)?S:S.hasOwnProperty("red")?tU.transform(S):tY.transform(S)},tK=(S,E,D)=>-D*S+D*E+S;function tX(S,E,D){return(D<0&&(D+=1),D>1&&(D-=1),D<1/6)?S+(E-S)*6*D:D<.5?E:D<2/3?S+(E-S)*(2/3-D)*6:S}function tQ({hue:S,saturation:E,lightness:D,alpha:O}){S/=360,D/=100;let T=0,R=0,M=0;if(E/=100){let O=D<.5?D*(1+E):D+E-D*E,L=2*D-O;T=tX(L,O,S+1/3),R=tX(L,O,S),M=tX(L,O,S-1/3)}else T=R=M=D;return{red:Math.round(255*T),green:Math.round(255*R),blue:Math.round(255*M),alpha:O}}let tJ=(S,E,D)=>{let O=S*S;return Math.sqrt(Math.max(0,D*(E*E-O)+O))},t3=[tq,tU,tY],t4=S=>t3.find(E=>E.test(S));function t5(S){let D=t4(S);E.invariant(!!D,`'${S}' is not an animatable color. Use the equivalent color code instead.`);let O=D.parse(S);return D===tY&&(O=tQ(O)),O}let t6=(S,E)=>{let D=t5(S),O=t5(E),T={...D};return S=>(T.red=tJ(D.red,O.red,S),T.green=tJ(D.green,O.green,S),T.blue=tJ(D.blue,O.blue,S),T.alpha=tK(D.alpha,O.alpha,S),tU.transform(T))};function t9(S){var E,D;return isNaN(S)&&em(S)&&((null===(E=S.match(eh))||void 0===E?void 0:E.length)||0)+((null===(D=S.match(ep))||void 0===D?void 0:D.length)||0)>0}let t8={regex:ei,countKey:"Vars",token:"${v}",parse:e9},t7={regex:ep,countKey:"Colors",token:"${c}",parse:tZ.parse},rr={regex:eh,countKey:"Numbers",token:"${n}",parse:es.parse};function rn(S,{regex:E,countKey:D,token:O,parse:T}){let R=S.tokenised.match(E);R&&(S["num"+D]=R.length,S.tokenised=S.tokenised.replace(E,O),S.values.push(...R.map(T)))}function ri(S){let E=S.toString(),D={value:E,tokenised:E,values:[],numVars:0,numColors:0,numNumbers:0};return D.value.includes("var(--")&&rn(D,t8),rn(D,t7),rn(D,rr),D}function ra(S){return ri(S).values}function ro(S){let{values:E,numColors:D,numVars:O,tokenised:T}=ri(S),R=E.length;return S=>{let E=T;for(let T=0;T"number"==typeof S?0:S;function rl(S){let E=ra(S),D=ro(S);return D(E.map(rs))}let ru={test:t9,parse:ra,createTransformer:ro,getAnimatableNone:rl},rc=(S,E)=>D=>`${D>0?E:S}`;function rh(S,E){return"number"==typeof S?D=>tK(S,E,D):tZ.test(S)?t6(S,E):S.startsWith("var(")?rc(S,E):rm(S,E)}let rp=(S,E)=>{let D=[...S],O=D.length,T=S.map((S,D)=>rh(S,E[D]));return S=>{for(let E=0;E{let D={...S,...E},O={};for(let T in D)void 0!==S[T]&&void 0!==E[T]&&(O[T]=rh(S[T],E[T]));return S=>{for(let E in O)D[E]=O[E](S);return D}},rm=(S,D)=>{let O=ru.createTransformer(D),T=ri(S),R=ri(D),M=T.numVars===R.numVars&&T.numColors===R.numColors&&T.numNumbers>=R.numNumbers;return M?eH(rp(T.values,R.values),O):(E.warning(!0,`Complex values '${S}' and '${D}' 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.`),rc(S,D))},ry=(S,E,D)=>{let O=E-S;return 0===O?1:(D-S)/O},rg=(S,E)=>D=>tK(S,E,D);function rb(S){if("number"==typeof S);else if("string"==typeof S)return tZ.test(S)?t6:rm;else if(Array.isArray(S))return rp;else if("object"==typeof S)return rf;return rg}function rx(S,E,D){let O=[],T=D||rb(S[0]),R=S.length-1;for(let D=0;DD[0];S[0]>S[M-1]&&(S=[...S].reverse(),D=[...D].reverse());let L=rx(D,T,R),I=L.length,$=E=>{let D=0;if(I>1)for(;D$(eo(S[0],S[M-1],E)):$}function rk(S,E){let D=S[S.length-1];for(let O=1;O<=E;O++){let T=ry(0,E,O);S.push(tK(D,1,T))}}function rw(S){let E=[0];return rk(E,S.length-1),E}function rS(S,E){return S.map(S=>S*E)}function rC(S,E){return S.map(()=>E||tP).splice(0,S.length-1)}function rE({duration:S=300,keyframes:E,times:D,ease:O="easeInOut"}){let T=tD(O)?O.map(tB):tB(O),R={done:!1,value:E[0]},M=rS(D&&D.length===E.length?D:rw(E),S),L=r_(M,E,{ease:Array.isArray(T)?T:rC(E,T)});return{calculatedDuration:S,next:E=>(R.value=L(E),R.done=E>=S,R)}}function rP(S,E){return E?S*(1e3/E):0}let rD=5;function rO(S,E,D){let O=Math.max(E-rD,0);return rP(D-S(O),E-O)}let rT=.001,rA=.01,rR=10,rj=.05,rM=1;function rL({duration:S=800,bounce:D=.25,velocity:O=0,mass:T=1}){let R,M;E.warning(S<=tn(rR),"Spring duration must be 10 seconds or less");let L=1-D;L=eo(rj,rM,L),S=eo(rA,rR,ta(S)),L<1?(R=E=>{let D=E*L,T=D*S,R=D-O,M=rF(E,L),I=Math.exp(-T);return rT-R/M*I},M=E=>{let D=E*L,T=D*S,M=T*O+O,I=Math.pow(L,2)*Math.pow(E,2)*S,$=Math.exp(-T),V=rF(Math.pow(E,2),L),N=-R(E)+rT>0?-1:1;return N*((M-I)*$)/V}):(R=E=>{let D=Math.exp(-E*S),T=(E-O)*S+1;return-rT+D*T},M=E=>{let D=Math.exp(-E*S),T=(O-E)*(S*S);return D*T});let I=5/S,$=r$(R,M,I);if(S=tn(S),isNaN($))return{stiffness:100,damping:10,duration:S};{let E=Math.pow($,2)*T;return{stiffness:E,damping:2*L*Math.sqrt(T*E),duration:S}}}let rI=12;function r$(S,E,D){let O=D;for(let D=1;Dvoid 0!==S[E])}function rz(S){let E={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...S};if(!rN(S,rV)&&rN(S,rB)){let D=rL(S);(E={...E,...D,velocity:0,mass:1}).isResolvedFromDuration=!0}return E}function rG({keyframes:S,restDelta:E,restSpeed:D,...O}){let T;let R=S[0],M=S[S.length-1],L={done:!1,value:R},{stiffness:I,damping:$,mass:V,velocity:N,duration:G,isResolvedFromDuration:W}=rz(O),U=N?-ta(N):0,H=$/(2*Math.sqrt(I*V)),Y=M-R,Z=ta(Math.sqrt(I/V)),K=5>Math.abs(Y);if(D||(D=K?.01:2),E||(E=K?.005:.5),H<1){let S=rF(Z,H);T=E=>{let D=Math.exp(-H*Z*E);return M-D*((U+H*Z*Y)/S*Math.sin(S*E)+Y*Math.cos(S*E))}}else if(1===H)T=S=>M-Math.exp(-Z*S)*(Y+(U+Z*Y)*S);else{let S=Z*Math.sqrt(H*H-1);T=E=>{let D=Math.exp(-H*Z*E),O=Math.min(S*E,300);return M-D*((U+H*Z*Y)*Math.sinh(O)+S*Y*Math.cosh(O))/S}}return{calculatedDuration:W&&G||null,next:S=>{let O=T(S);if(W)L.done=S>=G;else{let R=U;0!==S&&(R=H<1?rO(T,S,O):0);let I=Math.abs(R)<=D,$=Math.abs(M-O)<=E;L.done=I&&$}return L.value=L.done?M:O,L}}}function rW({keyframes:S,velocity:E=0,power:D=.8,timeConstant:O=325,bounceDamping:T=10,bounceStiffness:R=500,modifyTarget:M,min:L,max:I,restDelta:$=.5,restSpeed:V}){let N,G;let W=S[0],U={done:!1,value:W},H=S=>void 0!==L&&SI,Y=S=>void 0===L?I:void 0===I?L:Math.abs(L-S)-Z*Math.exp(-S/O),J=S=>X+Q(S),ee=S=>{let E=Q(S),D=J(S);U.done=Math.abs(E)<=$,U.value=U.done?X:D},et=S=>{H(U.value)&&(N=S,G=rG({keyframes:[U.value,Y(U.value)],velocity:rO(J,S,U.value),damping:T,stiffness:R,restDelta:$,restSpeed:V}))};return et(0),{calculatedDuration:null,next:S=>{let E=!1;return(G||void 0!==N||(E=!0,ee(S),et(S)),void 0!==N&&S>N)?G.next(S-N):(E||ee(S),U)}}}let rU=S=>{let E=({timestamp:E})=>S(E);return{start:()=>e5.update(E,!0),stop:()=>e6(E),now:()=>eY.isProcessing?eY.timestamp:performance.now()}},rH=2e4;function rq(S){let E=0,D=50,O=S.next(E);for(;!O.done&&E=rH?1/0:E}let rY={decay:rW,inertia:rW,tween:rE,keyframes:rE,spring:rG};function rZ({autoplay:S=!0,delay:E=0,driver:D=rU,keyframes:O,type:T="keyframes",repeat:R=0,repeatDelay:M=0,repeatType:L="loop",onPlay:I,onStop:$,onComplete:V,onUpdate:N,...G}){let W,U,H,Y,Z,K=1,X=!1,Q=()=>{W&&W(),U=new Promise(S=>{W=S})};Q();let J=rY[T]||rE;J!==rE&&"number"!=typeof O[0]&&(Y=r_([0,100],O,{clamp:!1}),O=[0,100]);let ee=J({...G,keyframes:O});"mirror"===L&&(Z=J({...G,keyframes:[...O].reverse(),velocity:-(G.velocity||0)}));let et="idle",er=null,en=null,ei=null;null===ee.calculatedDuration&&R&&(ee.calculatedDuration=rq(ee));let{calculatedDuration:ea}=ee,es=1/0,eu=1/0;null!==ea&&(eu=(es=ea+M)*(R+1)-M);let ec=0,ed=S=>{if(null===en)return;K>0&&(en=Math.min(en,S)),ec=null!==er?er:(S-en)*K;let D=ec-E,T=D<0;ec=Math.max(D,0),"finished"===et&&null===er&&(ec=eu);let I=ec,$=ee;if(R){let S=ec/es,E=Math.floor(S),D=S%1;!D&&S>=1&&(D=1),1===D&&E--,E=Math.min(E,R+1);let O=!!(E%2);O&&("reverse"===L?(D=1-D,M&&(D-=M/es)):"mirror"===L&&($=Z));let T=eo(0,1,D);ec>eu&&(T="reverse"===L&&O?1:0),I=T*es}let V=T?{done:!1,value:O[0]}:$.next(I);Y&&(V.value=Y(V.value));let{done:G}=V;T||null===ea||(G=ec>=eu);let W=null===er&&("finished"===et||"running"===et&&G||K<0&&ec<=0);return N&&N(V.value),W&&ef(),V},eh=()=>{H&&H.stop(),H=void 0},ep=()=>{et="idle",eh(),Q(),en=ei=null},ef=()=>{et="finished",V&&V(),eh(),Q()},em=()=>{if(X)return;H||(H=D(ed));let S=H.now();I&&I(),null!==er?en=S-er:en&&"finished"!==et||(en=S),ei=en,er=null,et="running",H.start()};S&&em();let ey={then:(S,E)=>U.then(S,E),get time(){return ta(ec)},set time(newTime){ec=newTime=tn(newTime),null===er&&H&&0!==K?en=H.now()-newTime/K:er=newTime},get duration(){let S=null===ee.calculatedDuration?rq(ee):ee.calculatedDuration;return ta(S)},get speed(){return K},set speed(newSpeed){if(newSpeed===K||!H)return;K=newSpeed,ey.time=ta(ec)},get state(){return et},play:em,pause:()=>{et="paused",er=ec},stop:()=>{X=!0,"idle"!==et&&(et="idle",$&&$(),ep())},cancel:()=>{null!==ei&&ed(ei),ep()},complete:()=>{et="finished"},sample:S=>(en=0,ed(S))};return ey}let rK=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),rX=10,rQ=2e4,rJ=(S,E)=>"spring"===E.type||"backgroundColor"===S||!tu(E.ease);function r0(S,E,{onUpdate:D,onComplete:O,...T}){let R,M;let L=tv.waapi()&&rK.has(E)&&!T.repeatDelay&&"mirror"!==T.repeatType&&0!==T.damping&&"inertia"!==T.type;if(!L)return!1;let I=!1,$=()=>{M=new Promise(S=>{R=S})};$();let{keyframes:V,duration:N=300,ease:G,times:W}=T;if(rJ(E,T)){let S=rZ({...T,repeat:0,delay:0}),E={done:!1,value:V[0]},D=[],O=0;for(;!E.done&&OU.cancel(),Y=()=>{e5.update(H),R(),$()};return U.onfinish=()=>{S.set(tg(V,T)),O&&O(),Y()},{then:(S,E)=>M.then(S,E),get time(){return ta(U.currentTime||0)},set time(newTime){U.currentTime=tn(newTime)},get speed(){return U.playbackRate},set speed(newSpeed){U.playbackRate=newSpeed},get duration(){return ta(N)},play:()=>{I||(U.play(),e6(H))},pause:()=>U.pause(),stop:()=>{if(I=!0,"idle"===U.playState)return;let{currentTime:E}=U;if(E){let D=rZ({...T,autoplay:!1});S.setWithVelocity(D.sample(E-rX).value,D.sample(E).value,rX)}Y()},complete:()=>U.finish(),cancel:Y}}function r1({keyframes:S,delay:E,onUpdate:D,onComplete:O}){let T=()=>(D&&D(S[S.length-1]),O&&O(),{time:0,speed:1,duration:0,play:e9,pause:e9,stop:e9,then:S=>(S(),Promise.resolve()),cancel:e9,complete:e9});return E?rZ({keyframes:[0,1],duration:0,delay:E,onComplete:T}):T()}let r2={type:"spring",stiffness:500,damping:25,restSpeed:10},r3=S=>({type:"spring",stiffness:550,damping:0===S?2*Math.sqrt(550):30,restSpeed:10}),r4={type:"keyframes",duration:.8},r5={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},r6=(S,{keyframes:E})=>E.length>2?r4:Z.has(S)?S.startsWith("scale")?r3(E[1]):r2:r5,r9=(S,E)=>"zIndex"!==S&&!!("number"==typeof E||Array.isArray(E)||"string"==typeof E&&(ru.test(E)||"0"===E)&&!E.startsWith("url(")),r8=new Set(["brightness","contrast","saturate","opacity"]);function r7(S){let[E,D]=S.slice(0,-1).split("(");if("drop-shadow"===E)return S;let[O]=D.match(eh)||[];if(!O)return S;let T=D.replace(O,""),R=r8.has(E)?1:0;return O!==D&&(R*=100),E+"("+R+T+")"}let ne=/([a-z-]*)\(.*?\)/g,nt={...ru,getAnimatableNone:S=>{let E=S.match(ne);return E?E.map(r7).join(" "):S}},nr={...eE,color:tZ,backgroundColor:tZ,outlineColor:tZ,fill:tZ,stroke:tZ,borderColor:tZ,borderTopColor:tZ,borderRightColor:tZ,borderBottomColor:tZ,borderLeftColor:tZ,filter:nt,WebkitFilter:nt},nn=S=>nr[S];function ni(S,E){let D=nn(S);return D!==nt&&(D=ru),D.getAnimatableNone?D.getAnimatableNone(E):void 0}let na=S=>/^0[^.\s]+$/.test(S);function ns(S){return"number"==typeof S?0===S:null!==S?"none"===S||"0"===S||na(S):void 0}function nl(S,E,D,O){let T,R;let M=r9(E,D);T=Array.isArray(D)?[...D]:[null,D];let L=void 0!==O.from?O.from:S.get(),I=[];for(let S=0;SR=>{let M=nc(T,S)||{},L=M.delay||T.delay||0,{elapsed:I=0}=T;I-=tn(L);let $=nl(D,S,O,M),V=$[0],N=$[$.length-1],G=r9(S,V),W=r9(S,N);E.warning(G===W,`You are trying to animate ${S} from "${V}" to "${N}". ${V} is not an animatable value - to enable this animation set ${V} to a value animatable to ${N} via the \`style\` property.`);let U={keyframes:$,velocity:D.getVelocity(),ease:"easeOut",...M,delay:-I,onUpdate:S=>{D.set(S),M.onUpdate&&M.onUpdate(S)},onComplete:()=>{R(),M.onComplete&&M.onComplete()}};if(nu(M)||(U={...U,...r6(S,U)}),U.duration&&(U.duration=tn(U.duration)),U.repeatDelay&&(U.repeatDelay=tn(U.repeatDelay)),!G||!W||ts.current||!1===M.type)return r1(U);if(D.owner&&D.owner.current instanceof HTMLElement&&!D.owner.getProps().onUpdate){let E=r0(D,S,U);if(E)return E}return rZ(U)};function nh(S){return!!(X(S)&&S.add)}let np=S=>/^\-?\d*\.?\d+$/.test(S);function nf(S,E){-1===S.indexOf(E)&&S.push(E)}function nv(S,E){let D=S.indexOf(E);D>-1&&S.splice(D,1)}function ny([...S],E,D){let O=E<0?S.length+E:E;if(O>=0&&Onv(this.subscriptions,S)}notify(S,E,D){let O=this.subscriptions.length;if(O){if(1===O)this.subscriptions[0](S,E,D);else for(let T=0;T!isNaN(parseFloat(S));class nk{constructor(S,E={}){this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(S,E=!0)=>{this.prev=this.current,this.current=S;let{delta:D,timestamp:O}=eY;this.lastUpdated!==O&&(this.timeDelta=D,this.lastUpdated=O,e5.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),E&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>e5.postRender(this.velocityCheck),this.velocityCheck=({timestamp:S})=>{S!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=S,this.canTrackVelocity=n_(this.current),this.owner=E.owner}onChange(S){return this.on("change",S)}on(S,E){this.events[S]||(this.events[S]=new ng);let D=this.events[S].add(E);return"change"===S?()=>{D(),e5.read(()=>{this.events.change.getSize()||this.stop()})}:D}clearListeners(){for(let S in this.events)this.events[S].clear()}attach(S,E){this.passiveEffect=S,this.stopPassiveEffect=E}set(S,E=!0){E&&this.passiveEffect?this.passiveEffect(S,this.updateAndNotify):this.updateAndNotify(S,E)}setWithVelocity(S,E,D){this.set(E),this.prev=S,this.timeDelta=D}jump(S){this.updateAndNotify(S),this.prev=S,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?rP(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(S){return this.stop(),new Promise(E=>{this.hasAnimated=!0,this.animation=S(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 nw(S,E){return new nk(S,E)}let nS=S=>E=>E.test(S),nC={test:S=>"auto"===S,parse:S=>S},nE=[es,e_,eb,eg,ew,ek,nC],nP=S=>nE.find(nS(S)),nD=[...nE,tZ,ru],nO=S=>nD.find(nS(S));function nT(S,E,D){S.hasValue(E)?S.getValue(E).set(D):S.addValue(E,nw(D))}function nA(S,E){let D=te(S,E),{transitionEnd:O={},transition:T={},...R}=D?S.makeTargetAnimatable(D,!1):{};for(let E in R={...R,...O}){let D=eW(R[E]);nT(S,E,D)}}function nR(S,E){let D=[...E].reverse();D.forEach(D=>{let O=S.getVariant(D);O&&nA(S,O),S.variantChildren&&S.variantChildren.forEach(S=>{nR(S,E)})})}function nj(S,E){return Array.isArray(E)?nR(S,E):"string"==typeof E?nR(S,[E]):void nA(S,E)}function nM(S,E,D){var O,T;let R=Object.keys(E).filter(E=>!S.hasValue(E)),M=R.length;if(M)for(let L=0;LI.remove(E))),$.push(N)}return M&&Promise.all($).then(()=>{M&&nA(S,M)}),$}let nB=(S,E)=>Math.abs(S-E);function nV(S,E){let D=nB(S.x,E.x),O=nB(S.y,E.y);return Math.sqrt(D**2+O**2)}let nN=()=>({translate:0,scale:1,origin:0,originPoint:0}),nz=()=>({x:nN(),y:nN()}),nG=()=>({min:0,max:0}),nW=()=>({x:nG(),y:nG()});function nU({top:S,left:E,right:D,bottom:O}){return{x:{min:E,max:D},y:{min:S,max:O}}}function nH({x:S,y:E}){return{top:E.min,right:S.max,bottom:E.max,left:S.min}}function nq(S,E){if(!E)return S;let D=E({x:S.left,y:S.top}),O=E({x:S.right,y:S.bottom});return{top:D.y,left:D.x,bottom:O.y,right:O.x}}function nY(S){return void 0===S||1===S}function nZ({scale:S,scaleX:E,scaleY:D}){return!nY(S)||!nY(E)||!nY(D)}function nK(S){return nZ(S)||nX(S)||S.z||S.rotate||S.rotateX||S.rotateY}function nX(S){return nQ(S.x)||nQ(S.y)}function nQ(S){return S&&"0%"!==S}function nJ(S,E,D){let O=S-D,T=E*O;return D+T}function n0(S,E,D,O,T){return void 0!==T&&(S=nJ(S,T,O)),nJ(S,D,O)+E}function n3(S,E=0,D=1,O,T){S.min=n0(S.min,E,D,O,T),S.max=n0(S.max,E,D,O,T)}function n4(S,{x:E,y:D}){n3(S.x,E.translate,E.scale,E.originPoint),n3(S.y,D.translate,D.scale,D.originPoint)}function n5(S,E,D,O=!1){let T,R;let M=D.length;if(M){E.x=E.y=1;for(let L=0;L1.0000000000001||S<.999999999999?S:1}function n9(S,E){S.min=S.min+E,S.max=S.max+E}function n8(S,E,[D,O,T]){let R=void 0!==E[T]?E[T]:.5,M=tK(S.min,S.max,R);n3(S,E[D],E[O],M,E.scale)}let n7=["x","scaleX","originX"],ie=["y","scaleY","originY"];function ir(S,E){n8(S.x,E,n7),n8(S.y,E,ie)}function ii(S,E){return nU(nq(S.getBoundingClientRect(),E))}function ia(S,E,D){let O=ii(S,D),{scroll:T}=E;return T&&(n9(O.x,T.offset.x),n9(O.y,T.offset.y)),O}function io(S,E){let D=performance.now(),O=({timestamp:T})=>{let R=T-D;R>=E&&(e6(O),S(R-E))};return e5.read(O,!0),()=>e6(O)}function il(S,D,O){var T;if("string"==typeof S){let R=document;D&&(E.invariant(!!D.current,"Scope provided, but no element detected."),R=D.current),O?(null!==(T=O[S])&&void 0!==T||(O[S]=R.querySelectorAll(S)),S=O[S]):S=R.querySelectorAll(S)}else S instanceof Element&&(S=[S]);return Array.from(S||[])}let iu=new WeakMap;class ih{constructor(S){this.animations=S.filter(Boolean)}then(S,E){return Promise.all(this.animations).then(S).catch(E)}getAll(S){return this.animations[0][S]}setAll(S,E){for(let D=0;DE[S]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function ip(S){return"object"==typeof S&&!Array.isArray(S)}function im(S){return S instanceof SVGElement&&"svg"!==S.tagName}let iv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function iy(S){let E=iv.exec(S);if(!E)return[,];let[,D,O]=E;return[D,O]}let ig=4;function ib(S,D,O=1){E.invariant(O<=ig,`Max CSS variable fallback depth detected in property "${S}". This may indicate a circular fallback dependency.`);let[T,R]=iy(S);if(!T)return;let M=window.getComputedStyle(D).getPropertyValue(T);return M?M.trim():en(R)?ib(R,D,O+1):R}function ix(S,{...E},D){let O=S.current;if(!(O instanceof Element))return{target:E,transitionEnd:D};for(let T in D&&(D={...D}),S.values.forEach(S=>{let E=S.get();if(!en(E))return;let D=ib(E,O);D&&S.set(D)}),E){let S=E[T];if(!en(S))continue;let R=ib(S,O);R&&(E[T]=R,D||(D={}),void 0===D[T]&&(D[T]=S))}return{target:E,transitionEnd:D}}let i_=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ik=S=>i_.has(S),iw=S=>Object.keys(S).some(ik),iS=S=>S===es||S===e_,iC=(S,E)=>parseFloat(S.split(", ")[E]),iE=(S,E)=>(D,{transform:O})=>{if("none"===O||!O)return 0;let T=O.match(/^matrix3d\((.+)\)$/);if(T)return iC(T[1],E);{let E=O.match(/^matrix\((.+)\)$/);return E?iC(E[1],S):0}},iP=new Set(["x","y","z"]),iD=Y.filter(S=>!iP.has(S));function iO(S){let E=[];return iD.forEach(D=>{let O=S.getValue(D);void 0!==O&&(E.push([D,O.get()]),O.set(D.startsWith("scale")?1:0))}),E.length&&S.render(),E}let iT={width:({x:S},{paddingLeft:E="0",paddingRight:D="0"})=>S.max-S.min-parseFloat(E)-parseFloat(D),height:({y:S},{paddingTop:E="0",paddingBottom:D="0"})=>S.max-S.min-parseFloat(E)-parseFloat(D),top:(S,{top:E})=>parseFloat(E),left:(S,{left:E})=>parseFloat(E),bottom:({y:S},{top:E})=>parseFloat(E)+(S.max-S.min),right:({x:S},{left:E})=>parseFloat(E)+(S.max-S.min),x:iE(4,13),y:iE(5,14)},iA=(S,E,D)=>{let O=E.measureViewportBox(),T=E.current,R=getComputedStyle(T),{display:M}=R,L={};"none"===M&&E.setStaticValue("display",S.display||"block"),D.forEach(S=>{L[S]=iT[S](O,R)}),E.render();let I=E.measureViewportBox();return D.forEach(D=>{let O=E.getValue(D);O&&O.jump(L[D]),S[D]=iT[D](I,R)}),S},iR=(S,D,O={},R={})=>{D={...D},R={...R};let M=Object.keys(D).filter(ik),L=[],I=!1,$=[];if(M.forEach(T=>{let M;let V=S.getValue(T);if(!S.hasValue(T))return;let N=O[T],G=nP(N),W=D[T];if(ez(W)){let S=W.length,D=null===W[0]?1:0;G=nP(N=W[D]);for(let O=D;O=0?window.pageYOffset:null,O=iA(D,S,$);return L.length&&L.forEach(([E,D])=>{S.getValue(E).set(D)}),S.render(),T&&null!==E&&window.scrollTo({top:E}),{target:O,transitionEnd:R}}};function ij(S,E,D,O){return iw(E)?iR(S,E,D,O):{target:E,transitionEnd:O}}let iM=(S,E,D,O)=>{let T=ix(S,E,O);return E=T.target,O=T.transitionEnd,ij(S,E,D,O)},iL={current:null},iI={current:!1};function i$(){if(iI.current=!0,T){if(window.matchMedia){let S=window.matchMedia("(prefers-reduced-motion)"),E=()=>iL.current=S.matches;S.addListener(E),E()}else iL.current=!1}}function iF(S,E,D){let{willChange:O}=E;for(let T in E){let R=E[T],M=D[T];if(X(R))S.addValue(T,R),nh(O)&&O.add(T);else if(X(M))S.addValue(T,nw(R,{owner:S})),nh(O)&&O.remove(T);else if(M!==R){if(S.hasValue(T)){let E=S.getValue(T);E.hasAnimated||E.set(R)}else{let E=S.getStaticValue(T);S.addValue(T,nw(void 0!==E?E:R,{owner:S}))}}}for(let O in D)void 0===E[O]&&S.removeValue(O);return E}let iB=Object.keys(W),iV=iB.length,iN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iz=$.length;class iG{constructor({parent:S,props:E,presenceContext:D,reducedMotionConfig:O,visualState:T},R={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>e5.render(this.render,!1,!0);let{latestValues:M,renderState:L}=T;this.latestValues=M,this.baseTarget={...M},this.initialValues=E.initial?{...M}:{},this.renderState=L,this.parent=S,this.props=E,this.presenceContext=D,this.depth=S?S.depth+1:0,this.reducedMotionConfig=O,this.options=R,this.isControllingVariants=V(E),this.isVariantNode=N(E),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(S&&S.current);let{willChange:I,...$}=this.scrapeMotionValuesFromProps(E,{});for(let S in $){let E=$[S];void 0!==M[S]&&X(E)&&(E.set(M[S],!1),nh(I)&&I.add(S))}}scrapeMotionValuesFromProps(S,E){return{}}mount(S){this.current=S,iu.set(S,this),this.projection&&!this.projection.instance&&this.projection.mount(S),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((S,E)=>this.bindToMotionValue(E,S)),iI.current||i$(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iL.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let S in iu.delete(this.current),this.projection&&this.projection.unmount(),e6(this.notifyUpdate),e6(this.render),this.valueSubscriptions.forEach(S=>S()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[S].clear();for(let S in this.features)this.features[S].unmount();this.current=null}bindToMotionValue(S,E){let D=Z.has(S),O=E.on("change",E=>{this.latestValues[S]=E,this.props.onUpdate&&e5.update(this.notifyUpdate,!1,!0),D&&this.projection&&(this.projection.isTransformDirty=!0)}),T=E.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(S,()=>{O(),T()})}sortNodePosition(S){return this.current&&this.sortInstanceNodePosition&&this.type===S.type?this.sortInstanceNodePosition(this.current,S.current):0}loadFeatures({children:S,...E},D,O,T){let M,L;for(let S=0;Sthis.scheduleRender(),animationType:"string"==typeof D?D:"both",initialPromotionConfig:T,layoutScroll:I,layoutRoot:$})}return L}updateFeatures(){for(let S in this.features){let E=this.features[S];E.isMounted?E.update():(E.mount(),E.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nW()}getStaticValue(S){return this.latestValues[S]}setStaticValue(S,E){this.latestValues[S]=E}makeTargetAnimatable(S,E=!0){return this.makeTargetAnimatableFromInstance(S,this.props,E)}update(S,E){(S.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=S,this.prevPresenceContext=this.presenceContext,this.presenceContext=E;for(let E=0;EE.variantChildren.delete(S)}addValue(S,E){E!==this.values.get(S)&&(this.removeValue(S),this.bindToMotionValue(S,E)),this.values.set(S,E),this.latestValues[S]=E.get()}removeValue(S){this.values.delete(S);let E=this.valueSubscriptions.get(S);E&&(E(),this.valueSubscriptions.delete(S)),delete this.latestValues[S],this.removeValueFromRenderState(S,this.renderState)}hasValue(S){return this.values.has(S)}getValue(S,E){if(this.props.values&&this.props.values[S])return this.props.values[S];let D=this.values.get(S);return void 0===D&&void 0!==E&&(D=nw(E,{owner:this}),this.addValue(S,D)),D}readValue(S){return void 0===this.latestValues[S]&&this.current?this.readValueFromInstance(this.current,S,this.options):this.latestValues[S]}setBaseTarget(S,E){this.baseTarget[S]=E}getBaseTarget(S){var E;let{initial:D}=this.props,O="string"==typeof D||"object"==typeof D?null===(E=eN(this.props,D))||void 0===E?void 0:E[S]:void 0;if(D&&void 0!==O)return O;let T=this.getBaseTargetFromProps(this.props,S);return void 0===T||X(T)?void 0!==this.initialValues[S]&&void 0===O?void 0:this.baseTarget[S]:T}on(S,E){return this.events[S]||(this.events[S]=new ng),this.events[S].add(E)}notify(S,...E){this.events[S]&&this.events[S].notify(...E)}}class iW extends iG{sortInstanceNodePosition(S,E){return 2&S.compareDocumentPosition(E)?1:-1}getBaseTargetFromProps(S,E){return S.style?S.style[E]:void 0}removeValueFromRenderState(S,{vars:E,style:D}){delete E[S],delete D[S]}makeTargetAnimatableFromInstance({transition:S,transitionEnd:E,...D},{transformValues:O},T){let R=nI(D,S||{},this);if(O&&(E&&(E=O(E)),D&&(D=O(D)),R&&(R=O(R))),T){nM(this,D,R);let S=iM(this,D,R,E);E=S.transitionEnd,D=S.target}return{transition:S,transitionEnd:E,...D}}}class iU extends iW{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(S,E){return S[E]}readValueFromInstance(S,E){if(Z.has(E)){let S=nn(E);return S&&S.default||0}return E=e$.has(E)?E:eL(E),S.getAttribute(E)}measureInstanceViewportBox(){return nW()}scrapeMotionValuesFromProps(S,E){return eV(S,E)}build(S,E,D,O){ej(S,E,D,this.isSVGTag,O.transformTemplate)}renderInstance(S,E,D,O){eF(S,E,D,O)}mount(S){this.isSVGTag=eM(S.tagName),super.mount(S)}}function iH(S){return window.getComputedStyle(S)}class iq extends iW{readValueFromInstance(S,E){if(Z.has(E)){let S=nn(E);return S&&S.default||0}{let D=iH(S),O=(er(E)?D.getPropertyValue(E):D[E])||0;return"string"==typeof O?O.trim():O}}measureInstanceViewportBox(S,{transformPagePoint:E}){return ii(S,E)}build(S,E,D,O){eP(S,E,D,O.transformTemplate)}scrapeMotionValuesFromProps(S,E){return eB(S,E)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:S}=this.props;X(S)&&(this.childSubscription=S.on("change",S=>{this.current&&(this.current.textContent=`${S}`)}))}renderInstance(S,E,D,O){eI(S,E,D,O)}}function iZ(S){let E={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},D=im(S)?new iU(E,{enableHardwareAcceleration:!1}):new iq(E,{enableHardwareAcceleration:!0});D.mount(S),iu.set(S,D)}function iK(S,E,D){let O=X(S)?S:nw(S);return O.start(nd("",O,E,D)),O.animation}function iQ(S,E=100){let D=rG({keyframes:[0,E],...S}),O=Math.min(rq(D),rH);return{type:"keyframes",ease:S=>D.next(O*S).value/E,duration:ta(O)}}function iJ(S,E,D,O){var T;return"number"==typeof E?E:E.startsWith("-")||E.startsWith("+")?Math.max(0,S+parseFloat(E)):"<"===E?D:null!==(T=O.get(E))&&void 0!==T?T:S}let i0=(S,E,D)=>{let O=E-S;return((D-S)%O+O)%O+S};function i3(S,E){return tD(S)?S[i0(0,S.length,E)]:S}function i4(S,E,D){for(let O=0;OE&&T.at{let L=an(S),{delay:I=0,times:$=rw(L),type:G="keyframes",...W}=D,{ease:U=E.ease||"easeOut",duration:Y}=D,Z="function"==typeof I?I(R,M):I,K=L.length;if(K<=2&&"spring"===G){let S=100;if(2===K&&ao(L)){let E=L[1]-L[0];S=Math.abs(E)}let E={...W};void 0!==Y&&(E.duration=tn(Y));let D=iQ(E,S);U=D.ease,Y=D.duration}null!=Y||(Y=T);let X=V+Z,Q=X+Y;1===$.length&&0===$[0]&&($[1]=1);let J=$.length-L.length;J>0&&rk($,J),1===L.length&&L.unshift(null),i5(O,L,U,$,X,Q),H=Math.max(Z+Y,H),N=Math.max(Q,N)};if(X(G)){let S=i7(G,M);Y(W,U,ae("default",S))}else{let S=il(G,O,L),E=S.length;for(let D=0;D{for(let T in S){let M=S[T];M.sort(i6);let L=[],I=[],$=[];for(let S=0;S"number"==typeof S,ao=S=>S.every(aa);function al(S,D,O,T){let R=il(S,T),M=R.length;E.invariant(!!M,"No valid element provided.");let L=[];for(let S=0;SArray.isArray(S)&&Array.isArray(S[0]);function ac(S,E,D){let O=[],T=i8(S,E,D);return T.forEach(({keyframes:S,transition:E},D)=>{let T;T=X(D)?iK(D,S.default,E.default):al(D,S,E),O.push(T)}),new ih(O)}let ad=S=>function(E,D,O){let T;return T=au(E)?ac(E,D,S):ip(D)?al(E,D,O,S):iK(E,D,O),S&&S.animations.push(T),T},ah=ad(),ap=new WeakMap;function af(S,E){if(E){let{inlineSize:S,blockSize:D}=E[0];return{width:S,height:D}}return S instanceof SVGElement&&"getBBox"in S?S.getBBox():{width:S.offsetWidth,height:S.offsetHeight}}function am({target:S,contentRect:E,borderBoxSize:D}){var O;null===(O=ap.get(S))||void 0===O||O.forEach(O=>{O({target:S,contentSize:E,get size(){return af(S,D)}})})}function av(S){S.forEach(am)}function ag(){"undefined"!=typeof ResizeObserver&&(D=new ResizeObserver(av))}function ab(S,E){D||ag();let O=il(S);return O.forEach(S=>{let O=ap.get(S);O||(O=new Set,ap.set(S,O)),O.add(E),null==D||D.observe(S)}),()=>{O.forEach(S=>{let O=ap.get(S);null==O||O.delete(E),(null==O?void 0:O.size)||null==D||D.unobserve(S)})}}let a_=new Set;function ak(){O=()=>{let S={width:window.innerWidth,height:window.innerHeight},E={target:window,size:S,contentSize:S};a_.forEach(S=>S(E))},window.addEventListener("resize",O)}function aS(S){return a_.add(S),O||ak(),()=>{a_.delete(S),!a_.size&&O&&(O=void 0)}}function aC(S,E){return"function"==typeof S?aS(S):ab(S,E)}let aE=50,aP=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),aD=()=>({time:0,x:aP(),y:aP()}),aO={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function aR(S,E,D,O){let T=D[E],{length:R,position:M}=aO[E],L=T.current,I=D.time;T.current=S["scroll"+M],T.scrollLength=S["scroll"+R]-S["client"+R],T.offset.length=0,T.offset[0]=0,T.offset[1]=T.scrollLength,T.progress=ry(0,T.scrollLength,T.current);let $=O-I;T.velocity=$>aE?0:rP(T.current-L,$)}function aj(S,E,D){aR(S,"x",E,D),aR(S,"y",E,D),E.time=D}function aM(S,E){let D={x:0,y:0},O=S;for(;O&&O!==E;)if(O instanceof HTMLElement)D.x+=O.offsetLeft,D.y+=O.offsetTop,O=O.offsetParent;else if(O instanceof SVGGraphicsElement&&"getBBox"in O){let{top:S,left:E}=O.getBBox();for(D.x+=E,D.y+=S;O&&"svg"!==O.tagName;)O=O.parentNode}return D}let aL={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},aI={start:0,center:.5,end:1};function a$(S,E,D=0){let O=0;if(void 0!==aI[S]&&(S=aI[S]),"string"==typeof S){let E=parseFloat(S);S.endsWith("px")?O=E:S.endsWith("%")?S=E/100:S.endsWith("vw")?O=E/100*document.documentElement.clientWidth:S.endsWith("vh")?O=E/100*document.documentElement.clientHeight:S=E}return"number"==typeof S&&(O=E*S),D+O}let aF=[0,0];function aV(S,E,D,O){let T=Array.isArray(S)?S:aF,R=0,M=0;return"number"==typeof S?T=[S,S]:"string"==typeof S&&(T=(S=S.trim()).includes(" ")?S.split(" "):[S,aI[S]?S:"0"]),(R=a$(T[0],D,O))-(M=a$(T[1],E))}let aN={x:0,y:0};function aG(S,E,D){let{offset:O=aL.All}=D,{target:T=S,axis:R="y"}=D,M="y"===R?"height":"width",L=T!==S?aM(T,S):aN,I=T===S?{width:S.scrollWidth,height:S.scrollHeight}:{width:T.clientWidth,height:T.clientHeight},$={width:S.clientWidth,height:S.clientHeight};E[R].offset.length=0;let V=!E[R].interpolate,N=O.length;for(let S=0;SaW(S,O.target,D),update:E=>{aj(S,D,E),(O.offset||O.target)&&aG(S,D,O)},notify:()=>E(D)}}let aH=new WeakMap,aq=new WeakMap,aY=new WeakMap,aZ=S=>S===document.documentElement?window:S;function aK(S,{container:E=document.documentElement,...D}={}){let O=aY.get(E);O||(O=new Set,aY.set(E,O));let T=aD(),R=aU(E,S,T,D);if(O.add(R),!aH.has(E)){let S=()=>{for(let S of O)S.measure()},D=()=>{for(let S of O)S.update(eY.timestamp)},T=()=>{for(let S of O)S.notify()},R=()=>{e5.read(S,!1,!0),e5.update(D,!1,!0),e5.update(T,!1,!0)};aH.set(E,R);let M=aZ(E);window.addEventListener("resize",R,{passive:!0}),E!==document.documentElement&&aq.set(E,aC(E,R)),M.addEventListener("scroll",R,{passive:!0})}let M=aH.get(E);return e5.read(M,!1,!0),()=>{var S;e6(M);let D=aY.get(E);if(!D||(D.delete(R),D.size))return;let O=aH.get(E);aH.delete(E),O&&(aZ(E).removeEventListener("scroll",O),null===(S=aq.get(E))||void 0===S||S(),window.removeEventListener("resize",O))}}let aQ={any:0,all:1};function aJ(S,E,{root:D,margin:O,amount:T="any"}={}){let R=il(S),M=new WeakMap,L=S=>{S.forEach(S=>{let D=M.get(S.target);if(!!D!==S.isIntersecting){if(S.isIntersecting){let D=E(S);"function"==typeof D?M.set(S.target,D):I.unobserve(S.target)}else D&&(D(S),M.delete(S.target))}})},I=new IntersectionObserver(L,{root:D,rootMargin:O,threshold:"number"==typeof T?T:aQ[T]});return R.forEach(S=>I.observe(S)),()=>I.disconnect()}function a0(S,E){if("first"===S)return 0;{let D=E-1;return"last"===S?D:D/2}}function a3(S=.1,{startDelay:E=0,from:D=0,ease:O}={}){return(T,R)=>{let M="number"==typeof D?D:a0(D,R),L=Math.abs(M-T),I=S*L;if(O){let E=R*S,D=tB(O);I=D(I/E)*E}return E+I}}let a4=S=>"object"==typeof S&&S.mix,a5=S=>a4(S)?S.mix:void 0;function a6(...S){let E=!Array.isArray(S[0]),D=E?0:-1,O=S[0+D],T=S[1+D],R=S[2+D],M=S[3+D],L=r_(T,R,{mixer:a5(R[0]),...M});return E?L(O):L}let a9=e5,a8=eQ.reduce((S,E)=>(S[E]=S=>e6(S),S),{});E.HTMLVisualElement=iq,E.MotionValue=nk,E.SVGVisualElement=iU,E.SubscriptionManager=ng,E.VisualElement=iG,E.addScaleCorrector=H,E.addUniqueItem=nf,E.animate=ah,E.animateMotionValue=nd,E.animateSingleValue=iK,E.animateStyle=tp,E.animateTarget=nF,E.animateValue=rZ,E.anticipate=t$,E.applyBoxDelta=n4,E.applyTreeDeltas=n5,E.backIn=tL,E.backInOut=tI,E.backOut=tM,E.buildHTMLStyles=eP,E.buildSVGAttrs=ej,E.buildTransform=ee,E.camelToDash=eL,E.cancelFrame=e6,E.cancelSync=a8,E.checkTargetForNewValues=nM,E.circIn=tA,E.circInOut=tj,E.circOut=tR,E.clamp=eo,E.color=tZ,E.complex=ru,E.convertBoundingBoxToBox=nU,E.convertBoxToBoundingBox=nH,E.createBox=nW,E.createDelta=nz,E.createScopedAnimate=ad,E.cubicBezier=tS,E.delay=io,E.distance=nB,E.distance2D=nV,E.easeIn=tC,E.easeInOut=tP,E.easeOut=tE,E.featureDefinitions=W,E.frame=e5,E.frameData=eY,E.getOrigin=nI,E.getValueTransition=nc,E.has2DTranslate=nX,E.hasReducedMotionListener=iI,E.hasScale=nZ,E.hasTransform=nK,E.inView=aJ,E.initPrefersReducedMotion=i$,E.instantAnimationState=ts,E.interpolate=r_,E.isAnimationControls=L,E.isBrowser=T,E.isCSSVariableName=er,E.isControllingVariants=V,E.isCustomValue=eG,E.isForcedMotionValue=K,E.isKeyframesTarget=ez,E.isMotionValue=X,E.isRefObject=R,E.isSVGElement=im,E.isSVGTag=eM,E.isVariantLabel=M,E.isVariantNode=N,E.measurePageBox=ia,E.millisecondsToSeconds=ta,E.mirrorEasing=tO,E.mix=tK,E.motionValue=nw,E.moveItem=ny,E.noop=e9,E.optimizedAppearDataAttribute=tr,E.optimizedAppearDataId=tt,E.percent=eb,E.pipe=eH,E.prefersReducedMotion=iL,E.progress=ry,E.px=e_,E.removeItem=nv,E.renderSVG=eF,E.resolveVariant=te,E.resolveVariantFromProps=eN,E.reverseEasing=tT,E.scaleCorrectors=U,E.scalePoint=nJ,E.scrapeMotionValuesFromProps=eV,E.scrapeMotionValuesFromProps$1=eB,E.scroll=aK,E.secondsToMilliseconds=tn,E.setValues=nj,E.spring=rG,E.stagger=a3,E.steps=eJ,E.stepsOrder=eQ,E.sync=a9,E.transform=a6,E.transformBox=ir,E.transformProps=Z,E.translateAxis=n9,E.variantPriorityOrder=I,E.visualElementStore=iu,E.warnOnce=nx,E.wrap=i0},53316:function(S,E,D){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var O=D(2784),T=D(37450);function R(S){return S&&"object"==typeof S&&"default"in S?S:{default:S}}var M=function(S){if(S&&S.__esModule)return S;var E=Object.create(null);return S&&Object.keys(S).forEach(function(D){if("default"!==D){var O=Object.getOwnPropertyDescriptor(S,D);Object.defineProperty(E,D,O.get?O:{enumerable:!0,get:function(){return S[D]}})}}),E.default=S,Object.freeze(E)}(O),L=R(O);let I=O.createContext({transformPagePoint:S=>S,isStatic:!1,reducedMotion:"never"}),$=O.createContext({}),V=O.createContext(null),N=T.isBrowser?O.useLayoutEffect:O.useEffect,G=O.createContext({strict:!1});function W(S,E,D,T){let{visualElement:R}=O.useContext($),M=O.useContext(G),L=O.useContext(V),W=O.useContext(I).reducedMotion,U=O.useRef();T=T||M.renderer,!U.current&&T&&(U.current=T(S,{visualState:E,parent:R,props:D,presenceContext:L,blockInitialAnimation:!!L&&!1===L.initial,reducedMotionConfig:W}));let H=U.current;O.useInsertionEffect(()=>{H&&H.update(D,L)}),N(()=>{H&&H.render()}),O.useEffect(()=>{H&&H.updateFeatures()});let Y=window.HandoffAppearAnimations?N:O.useEffect;return Y(()=>{H&&H.animationState&&H.animationState.animateChanges()}),H}function U(S,E,D){return O.useCallback(O=>{O&&S.mount&&S.mount(O),E&&(O?E.mount(O):E.unmount()),D&&("function"==typeof D?D(O):T.isRefObject(D)&&(D.current=O))},[E])}function H(S,E){if(T.isControllingVariants(S)){let{initial:E,animate:D}=S;return{initial:!1===E||T.isVariantLabel(E)?E:void 0,animate:T.isVariantLabel(D)?D:void 0}}return!1!==S.inherit?E:{}}function Y(S){let{initial:E,animate:D}=H(S,O.useContext($));return O.useMemo(()=>({initial:E,animate:D}),[Z(E),Z(D)])}function Z(S){return Array.isArray(S)?S.join(" "):S}function K(S){for(let E in S)T.featureDefinitions[E]={...T.featureDefinitions[E],...S[E]}}let X=O.createContext({}),Q=O.createContext({}),J=Symbol.for("motionComponentSymbol");function ee({preloadedFeatures:S,createVisualElement:E,useRender:D,useVisualState:R,Component:L}){function V(V,N){let H;let Z={...O.useContext(I),...V,layoutId:et(V)},{isStatic:K}=Z,X=Y(V),J=R(V,K);if(!K&&T.isBrowser){X.visualElement=W(L,J,Z,E);let D=O.useContext(Q),T=O.useContext(G).strict;X.visualElement&&(H=X.visualElement.loadFeatures(Z,T,S,D))}return M.createElement($.Provider,{value:X},H&&X.visualElement?M.createElement(H,{visualElement:X.visualElement,...Z}):null,D(L,V,U(J,X.visualElement,N),J,K,X.visualElement))}S&&K(S);let N=O.forwardRef(V);return N[J]=L,N}function et({layoutId:S}){let E=O.useContext(X).id;return E&&void 0!==S?E+"-"+S:S}function er(S){function E(E,D={}){return ee(S(E,D))}if("undefined"==typeof Proxy)return E;let D=new Map;return new Proxy(E,{get:(S,O)=>(D.has(O)||D.set(O,E(O)),D.get(O))})}let en=["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 ei(S){if("string"!=typeof S||S.includes("-"));else if(en.indexOf(S)>-1||/[A-Z]/.test(S))return!0;return!1}let ea=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eo(S,E,D){for(let O in E)T.isMotionValue(E[O])||T.isForcedMotionValue(O,D)||(S[O]=E[O])}function es({transformTemplate:S},E,D){return O.useMemo(()=>{let O=ea();return T.buildHTMLStyles(O,E,{enableHardwareAcceleration:!D},S),Object.assign({},O.vars,O.style)},[E])}function eu(S,E,D){let O=S.style||{},T={};return eo(T,O,S),Object.assign(T,es(S,E,D)),S.transformValues?S.transformValues(T):T}function ec(S,E,D){let O={},T=eu(S,E,D);return S.drag&&!1!==S.dragListener&&(O.draggable=!1,T.userSelect=T.WebkitUserSelect=T.WebkitTouchCallout="none",T.touchAction=!0===S.drag?"none":`pan-${"x"===S.drag?"y":"x"}`),void 0===S.tabIndex&&(S.onTap||S.onTapStart||S.whileTap)&&(O.tabIndex=0),O.style=T,O}let ed=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function eh(S){return S.startsWith("while")||S.startsWith("drag")&&"draggable"!==S||S.startsWith("layout")||S.startsWith("onTap")||S.startsWith("onPan")||ed.has(S)}let ep=S=>!eh(S);function ef(S){S&&(ep=E=>E.startsWith("on")?!eh(E):S(E))}try{ef(D(79138).Z)}catch(S){}function em(S,E,D){let O={};for(let T in S)("values"!==T||"object"!=typeof S.values)&&(ep(T)||!0===D&&eh(T)||!E&&!eh(T)||S.draggable&&T.startsWith("onDrag"))&&(O[T]=S[T]);return O}let ey=()=>({...ea(),attrs:{}});function eg(S,E,D,R){let M=O.useMemo(()=>{let D=ey();return T.buildSVGAttrs(D,E,{enableHardwareAcceleration:!1},T.isSVGTag(R),S.transformTemplate),{...D.attrs,style:{...D.style}}},[E]);if(S.style){let E={};eo(E,S.style,S),M.style={...E,...M.style}}return M}function eb(S=!1){let E=(E,D,R,{latestValues:M},L)=>{let I=ei(E)?eg:ec,$=I(D,M,L,E),V=em(D,"string"==typeof E,S),N={...V,...$,ref:R},{children:G}=D,W=O.useMemo(()=>T.isMotionValue(G)?G.get():G,[G]);return O.createElement(E,{...N,children:W})};return E}function e_(S){let E=O.useRef(null);return null===E.current&&(E.current=S()),E.current}function ek(S){let E=T.isMotionValue(S)?S.get():S;return T.isCustomValue(E)?E.toValue():E}function ew({scrapeMotionValuesFromProps:S,createRenderState:E,onMount:D},O,T,R){let M={latestValues:eC(O,T,R,S),renderState:E()};return D&&(M.mount=S=>D(O,S,M)),M}let eS=S=>(E,D)=>{let T=O.useContext($),R=O.useContext(V),M=()=>ew(S,E,T,R);return D?M():e_(M)};function eC(S,E,D,O){let R={},M=O(S,{});for(let S in M)R[S]=ek(M[S]);let{initial:L,animate:I}=S,$=T.isControllingVariants(S),V=T.isVariantNode(S);E&&V&&!$&&!1!==S.inherit&&(void 0===L&&(L=E.initial),void 0===I&&(I=E.animate));let N=!!D&&!1===D.initial;N=N||!1===L;let G=N?I:L;if(G&&"boolean"!=typeof G&&!T.isAnimationControls(G)){let E=Array.isArray(G)?G:[G];E.forEach(E=>{let D=T.resolveVariantFromProps(S,E);if(!D)return;let{transitionEnd:O,transition:M,...L}=D;for(let S in L){let E=L[S];if(Array.isArray(E)){let S=N?E.length-1:0;E=E[S]}null!==E&&(R[S]=E)}for(let S in O)R[S]=O[S]})}return R}let eE={useVisualState:eS({scrapeMotionValuesFromProps:T.scrapeMotionValuesFromProps,createRenderState:ey,onMount:(S,E,{renderState:D,latestValues:O})=>{try{D.dimensions="function"==typeof E.getBBox?E.getBBox():E.getBoundingClientRect()}catch(S){D.dimensions={x:0,y:0,width:0,height:0}}T.buildSVGAttrs(D,O,{enableHardwareAcceleration:!1},T.isSVGTag(E.tagName),S.transformTemplate),T.renderSVG(E,D)}})},eP={useVisualState:eS({scrapeMotionValuesFromProps:T.scrapeMotionValuesFromProps$1,createRenderState:ea})};function eD(S,{forwardMotionProps:E=!1},D,O){let T=ei(S)?eE:eP;return{...T,preloadedFeatures:D,useRender:eb(E),createVisualElement:O,Component:S}}function eO(S,E,D,O={passive:!0}){return S.addEventListener(E,D,O),()=>S.removeEventListener(E,D)}let eT=S=>"mouse"===S.pointerType?"number"!=typeof S.button||S.button<=0:!1!==S.isPrimary;function eA(S,E="page"){return{point:{x:S[E+"X"],y:S[E+"Y"]}}}let eR=S=>E=>eT(E)&&S(E,eA(E));function ej(S,E,D,O){return eO(S,E,eR(D),O)}function eM(S){let E=null;return()=>{let D=()=>{E=null};return null===E&&(E=S,D)}}let eL=eM("dragHorizontal"),eI=eM("dragVertical");function e$(S){let E=!1;if("y"===S)E=eI();else if("x"===S)E=eL();else{let S=eL(),D=eI();S&&D?E=()=>{S(),D()}:(S&&S(),D&&D())}return E}function eF(){let S=e$(!0);return!S||(S(),!1)}class eB{constructor(S){this.isMounted=!1,this.node=S}update(){}}function eV(S,E){let D="pointer"+(E?"enter":"leave"),O="onHover"+(E?"Start":"End"),R=(D,R)=>{if("touch"===D.type||eF())return;let M=S.getProps();S.animationState&&M.whileHover&&S.animationState.setActive("whileHover",E),M[O]&&T.frame.update(()=>M[O](D,R))};return ej(S.current,D,R,{passive:!S.getProps()[O]})}class eN extends eB{mount(){this.unmount=T.pipe(eV(this.node,!0),eV(this.node,!1))}unmount(){}}class ez extends eB{constructor(){super(...arguments),this.isActive=!1}onFocus(){let S=!1;try{S=this.node.current.matches(":focus-visible")}catch(E){S=!0}S&&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=T.pipe(eO(this.node.current,"focus",()=>this.onFocus()),eO(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eG=(S,E)=>!!E&&(S===E||eG(S,E.parentElement));function eW(S,E){if(!E)return;let D=new PointerEvent("pointer"+S);E(D,eA(D))}class eU extends eB{constructor(){super(...arguments),this.removeStartListeners=T.noop,this.removeEndListeners=T.noop,this.removeAccessibleListeners=T.noop,this.startPointerPress=(S,E)=>{if(this.removeEndListeners(),this.isPressing)return;let D=this.node.getProps(),O=(S,E)=>{if(!this.checkPressEnd())return;let{onTap:D,onTapCancel:O}=this.node.getProps();T.frame.update(()=>{eG(this.node.current,S.target)?D&&D(S,E):O&&O(S,E)})},R=ej(window,"pointerup",O,{passive:!(D.onTap||D.onPointerUp)}),M=ej(window,"pointercancel",(S,E)=>this.cancelPress(S,E),{passive:!(D.onTapCancel||D.onPointerCancel)});this.removeEndListeners=T.pipe(R,M),this.startPress(S,E)},this.startAccessiblePress=()=>{let S=S=>{if("Enter"!==S.key||this.isPressing)return;let E=S=>{"Enter"===S.key&&this.checkPressEnd()&&eW("up",(S,E)=>{let{onTap:D}=this.node.getProps();D&&T.frame.update(()=>D(S,E))})};this.removeEndListeners(),this.removeEndListeners=eO(this.node.current,"keyup",E),eW("down",(S,E)=>{this.startPress(S,E)})},E=eO(this.node.current,"keydown",S),D=()=>{this.isPressing&&eW("cancel",(S,E)=>this.cancelPress(S,E))},O=eO(this.node.current,"blur",D);this.removeAccessibleListeners=T.pipe(E,O)}}startPress(S,E){this.isPressing=!0;let{onTapStart:D,whileTap:O}=this.node.getProps();O&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),D&&T.frame.update(()=>D(S,E))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let S=this.node.getProps();return S.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eF()}cancelPress(S,E){if(!this.checkPressEnd())return;let{onTapCancel:D}=this.node.getProps();D&&T.frame.update(()=>D(S,E))}mount(){let S=this.node.getProps(),E=ej(this.node.current,"pointerdown",this.startPointerPress,{passive:!(S.onTapStart||S.onPointerStart)}),D=eO(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=T.pipe(E,D)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eH=new WeakMap,eq=new WeakMap,eY=S=>{let E=eH.get(S.target);E&&E(S)},eZ=S=>{S.forEach(eY)};function eK({root:S,...E}){let D=S||document;eq.has(D)||eq.set(D,{});let O=eq.get(D),T=JSON.stringify(E);return O[T]||(O[T]=new IntersectionObserver(eZ,{root:S,...E})),O[T]}function eX(S,E,D){let O=eK(E);return eH.set(S,D),O.observe(S),()=>{eH.delete(S),O.unobserve(S)}}let eQ={some:0,all:1};class eJ extends eB{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:S={}}=this.node.getProps(),{root:E,margin:D,amount:O="some",once:T}=S,R={root:E?E.current:void 0,rootMargin:D,threshold:"number"==typeof O?O:eQ[O]},M=S=>{let{isIntersecting:E}=S;if(this.isInView===E||(this.isInView=E,T&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);let{onViewportEnter:D,onViewportLeave:O}=this.node.getProps(),R=E?D:O;R&&R(S)};return eX(this.node.current,R,M)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:S,prevProps:E}=this.node,D=["amount","margin","root"].some(e0(S,E));D&&this.startObserver()}unmount(){}}function e0({viewport:S={}},{viewport:E={}}={}){return D=>S[D]!==E[D]}let e3={inView:{Feature:eJ},tap:{Feature:eU},focus:{Feature:ez},hover:{Feature:eN}};function e4(S,E){if(!Array.isArray(E))return!1;let D=E.length;if(D!==S.length)return!1;for(let O=0;OPromise.all(T.animateTarget(S,O,D)):()=>Promise.resolve(),L=S.variantChildren&&S.variantChildren.size?(O=0)=>{let{delayChildren:T=0,staggerChildren:M,staggerDirection:L}=R;return e6(S,E,T+O,M,L,D)}:()=>Promise.resolve(),{when:I}=R;if(!I)return Promise.all([M(),L(D.delay)]);{let[S,E]="beforeChildren"===I?[M,L]:[L,M];return S().then(()=>E())}}function e6(S,E,D=0,O=0,T=1,R){let M=[],L=(S.variantChildren.size-1)*O,I=1===T?(S=0)=>S*O:(S=0)=>L-S*O;return Array.from(S.variantChildren).sort(e9).forEach((S,O)=>{S.notify("AnimationStart",E),M.push(e5(S,E,{...R,delay:D+I(O)}).then(()=>S.notify("AnimationComplete",E)))}),Promise.all(M)}function e9(S,E){return S.sortNodePosition(E)}function e8(S,E,D={}){let O;if(S.notify("AnimationStart",E),Array.isArray(E)){let T=E.map(E=>e5(S,E,D));O=Promise.all(T)}else if("string"==typeof E)O=e5(S,E,D);else{let R="function"==typeof E?T.resolveVariant(S,E,D.custom):E;O=Promise.all(T.animateTarget(S,R,D))}return O.then(()=>S.notify("AnimationComplete",E))}let e7=[...T.variantPriorityOrder].reverse(),te=T.variantPriorityOrder.length;function tt(S){return E=>Promise.all(E.map(({animation:E,options:D})=>e8(S,E,D)))}function tr(S){let E=tt(S),D=ts(),O=!0,R=(E,D)=>{let O=T.resolveVariant(S,D);if(O){let{transition:S,transitionEnd:D,...T}=O;E={...E,...T,...D}}return E};function M(M,L){let I=S.getProps(),$=S.getVariantContext(!0)||{},V=[],N=new Set,G={},W=1/0;for(let E=0;EW&&Z,ee=Array.isArray(Y)?Y:[Y],et=ee.reduce(R,{});!1===K&&(et={});let{prevResolvedValues:er={}}=H,en={...er,...et},ei=S=>{J=!0,N.delete(S),H.needsAnimating[S]=!0};for(let S in en){let E=et[S],D=er[S];G.hasOwnProperty(S)||(E!==D?T.isKeyframesTarget(E)&&T.isKeyframesTarget(D)?!e4(E,D)||Q?ei(S):H.protectedKeys[S]=!0:void 0!==E?ei(S):N.add(S):void 0!==E&&N.has(S)?ei(S):H.protectedKeys[S]=!0)}H.prevProp=Y,H.prevResolvedValues=et,H.isActive&&(G={...G,...et}),O&&S.blockInitialAnimation&&(J=!1),J&&!X&&V.push(...ee.map(S=>({animation:S,options:{type:U,...M}})))}if(N.size){let E={};N.forEach(D=>{let O=S.getBaseTarget(D);void 0!==O&&(E[D]=O)}),V.push({animation:E})}let U=!!V.length;return O&&!1===I.initial&&!S.manuallyAnimateOnMount&&(U=!1),O=!1,U?E(V):Promise.resolve()}return{animateChanges:M,setActive:function(E,O,T){var R;if(D[E].isActive===O)return Promise.resolve();null===(R=S.variantChildren)||void 0===R||R.forEach(S=>{var D;return null===(D=S.animationState)||void 0===D?void 0:D.setActive(E,O)}),D[E].isActive=O;let L=M(T,E);for(let S in D)D[S].protectedKeys={};return L},setAnimateFunction:function(D){E=D(S)},getState:()=>D}}function tn(S,E){return"string"==typeof E?E!==S:!!Array.isArray(E)&&!e4(E,S)}function ta(S=!1){return{isActive:S,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ts(){return{animate:ta(!0),whileInView:ta(),whileHover:ta(),whileTap:ta(),whileDrag:ta(),whileFocus:ta(),exit:ta()}}class tl extends eB{constructor(S){super(S),S.animationState||(S.animationState=tr(S))}updateAnimationControlsSubscription(){let{animate:S}=this.node.getProps();this.unmount(),T.isAnimationControls(S)&&(this.unmount=S.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:S}=this.node.getProps(),{animate:E}=this.node.prevProps||{};S!==E&&this.updateAnimationControlsSubscription()}unmount(){}}let tu=0;class tc extends eB{constructor(){super(...arguments),this.id=tu++}update(){if(!this.node.presenceContext)return;let{isPresent:S,onExitComplete:E,custom:D}=this.node.presenceContext,{isPresent:O}=this.node.prevPresenceContext||{};if(!this.node.animationState||S===O)return;let T=this.node.animationState.setActive("exit",!S,{custom:null!=D?D:this.node.getProps().custom});E&&!S&&T.then(()=>E(this.id))}mount(){let{register:S}=this.node.presenceContext||{};S&&(this.unmount=S(this.id))}unmount(){}}let td={animation:{Feature:tl},exit:{Feature:tc}};class th{constructor(S,E,{transformPagePoint:D}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let S=tm(this.lastMoveEventInfo,this.history),E=null!==this.startEvent,D=T.distance2D(S.offset,{x:0,y:0})>=3;if(!E&&!D)return;let{point:O}=S,{timestamp:R}=T.frameData;this.history.push({...O,timestamp:R});let{onStart:M,onMove:L}=this.handlers;E||(M&&M(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),L&&L(this.lastMoveEvent,S)},this.handlePointerMove=(S,E)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=tp(E,this.transformPagePoint),T.frame.update(this.updatePoint,!0)},this.handlePointerUp=(S,E)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:D,onSessionEnd:O}=this.handlers,T=tm("pointercancel"===S.type?this.lastMoveEventInfo:tp(E,this.transformPagePoint),this.history);this.startEvent&&D&&D(S,T),O&&O(S,T)},!eT(S))return;this.handlers=E,this.transformPagePoint=D;let O=eA(S),R=tp(O,this.transformPagePoint),{point:M}=R,{timestamp:L}=T.frameData;this.history=[{...M,timestamp:L}];let{onSessionStart:I}=E;I&&I(S,tm(R,this.history)),this.removeListeners=T.pipe(ej(window,"pointermove",this.handlePointerMove),ej(window,"pointerup",this.handlePointerUp),ej(window,"pointercancel",this.handlePointerUp))}updateHandlers(S){this.handlers=S}end(){this.removeListeners&&this.removeListeners(),T.cancelFrame(this.updatePoint)}}function tp(S,E){return E?{point:E(S.point)}:S}function tf(S,E){return{x:S.x-E.x,y:S.y-E.y}}function tm({point:S},E){return{point:S,delta:tf(S,tg(E)),offset:tf(S,tv(E)),velocity:tb(E,.1)}}function tv(S){return S[0]}function tg(S){return S[S.length-1]}function tb(S,E){if(S.length<2)return{x:0,y:0};let D=S.length-1,O=null,R=tg(S);for(;D>=0&&(O=S[D],!(R.timestamp-O.timestamp>T.secondsToMilliseconds(E)));)D--;if(!O)return{x:0,y:0};let M=T.millisecondsToSeconds(R.timestamp-O.timestamp);if(0===M)return{x:0,y:0};let L={x:(R.x-O.x)/M,y:(R.y-O.y)/M};return L.x===1/0&&(L.x=0),L.y===1/0&&(L.y=0),L}function t_(S){return S.max-S.min}function tk(S,E=0,D=.01){return Math.abs(S-E)<=D}function tw(S,E,D,O=.5){S.origin=O,S.originPoint=T.mix(E.min,E.max,S.origin),S.scale=t_(D)/t_(E),(tk(S.scale,1,1e-4)||isNaN(S.scale))&&(S.scale=1),S.translate=T.mix(D.min,D.max,S.origin)-S.originPoint,(tk(S.translate)||isNaN(S.translate))&&(S.translate=0)}function tS(S,E,D,O){tw(S.x,E.x,D.x,O?O.originX:void 0),tw(S.y,E.y,D.y,O?O.originY:void 0)}function tC(S,E,D){S.min=D.min+E.min,S.max=S.min+t_(E)}function tE(S,E,D){tC(S.x,E.x,D.x),tC(S.y,E.y,D.y)}function tP(S,E,D){S.min=E.min-D.min,S.max=S.min+t_(E)}function tD(S,E,D){tP(S.x,E.x,D.x),tP(S.y,E.y,D.y)}function tO(S,{min:E,max:D},O){return void 0!==E&&SD&&(S=O?T.mix(D,S,O.max):Math.min(S,D)),S}function tT(S,E,D){return{min:void 0!==E?S.min+E:void 0,max:void 0!==D?S.max+D-(S.max-S.min):void 0}}function tA(S,{top:E,left:D,bottom:O,right:T}){return{x:tT(S.x,D,T),y:tT(S.y,E,O)}}function tR(S,E){let D=E.min-S.min,O=E.max-S.max;return E.max-E.minO?D=T.progress(E.min,E.max-O,S.min):O>R&&(D=T.progress(S.min,S.max-R,E.min)),T.clamp(0,1,D)}function tL(S,E){let D={};return void 0!==E.min&&(D.min=E.min-S.min),void 0!==E.max&&(D.max=E.max-S.min),D}let tI=.35;function t$(S=tI){return!1===S?S=0:!0===S&&(S=tI),{x:tF(S,"left","right"),y:tF(S,"top","bottom")}}function tF(S,E,D){return{min:tB(S,E),max:tB(S,D)}}function tB(S,E){return"number"==typeof S?S:S[E]||0}function tV(S){return[S("x"),S("y")]}let tN=new WeakMap;class tG{constructor(S){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=T.createBox(),this.visualElement=S}start(S,{snapToCursor:E=!1}={}){let{presenceContext:D}=this.visualElement;if(D&&!1===D.isPresent)return;let O=S=>{this.stopAnimation(),E&&this.snapToCursor(eA(S,"page").point)},R=(S,E)=>{let{drag:D,dragPropagation:O,onDragStart:R}=this.getProps();if(D&&!O&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=e$(D),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tV(S=>{let E=this.getAxisMotionValue(S).get()||0;if(T.percent.test(E)){let{projection:D}=this.visualElement;if(D&&D.layout){let O=D.layout.layoutBox[S];if(O){let S=t_(O);E=S*(parseFloat(E)/100)}}}this.originPoint[S]=E}),R&&T.frame.update(()=>R(S,E),!1,!0);let{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},M=(S,E)=>{let{dragPropagation:D,dragDirectionLock:O,onDirectionLock:T,onDrag:R}=this.getProps();if(!D&&!this.openGlobalLock)return;let{offset:M}=E;if(O&&null===this.currentDirection){this.currentDirection=tU(M),null!==this.currentDirection&&T&&T(this.currentDirection);return}this.updateAxis("x",E.point,M),this.updateAxis("y",E.point,M),this.visualElement.render(),R&&R(S,E)},L=(S,E)=>this.stop(S,E);this.panSession=new th(S,{onSessionStart:O,onStart:R,onMove:M,onSessionEnd:L},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(S,E){let D=this.isDragging;if(this.cancel(),!D)return;let{velocity:O}=E;this.startAnimation(O);let{onDragEnd:R}=this.getProps();R&&T.frame.update(()=>R(S,E))}cancel(){this.isDragging=!1;let{projection:S,animationState:E}=this.visualElement;S&&(S.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:D}=this.getProps();!D&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),E&&E.setActive("whileDrag",!1)}updateAxis(S,E,D){let{drag:O}=this.getProps();if(!D||!tW(S,O,this.currentDirection))return;let T=this.getAxisMotionValue(S),R=this.originPoint[S]+D[S];this.constraints&&this.constraints[S]&&(R=tO(R,this.constraints[S],this.elastic[S])),T.set(R)}resolveConstraints(){let{dragConstraints:S,dragElastic:E}=this.getProps(),{layout:D}=this.visualElement.projection||{},O=this.constraints;S&&T.isRefObject(S)?this.constraints||(this.constraints=this.resolveRefConstraints()):S&&D?this.constraints=tA(D.layoutBox,S):this.constraints=!1,this.elastic=t$(E),O!==this.constraints&&D&&this.constraints&&!this.hasMutatedConstraints&&tV(S=>{this.getAxisMotionValue(S)&&(this.constraints[S]=tL(D.layoutBox[S],this.constraints[S]))})}resolveRefConstraints(){let{dragConstraints:S,onMeasureDragConstraints:E}=this.getProps();if(!S||!T.isRefObject(S))return!1;let D=S.current;T.invariant(null!==D,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:O}=this.visualElement;if(!O||!O.layout)return!1;let R=T.measurePageBox(D,O.root,this.visualElement.getTransformPagePoint()),M=tj(O.layout.layoutBox,R);if(E){let S=E(T.convertBoxToBoundingBox(M));this.hasMutatedConstraints=!!S,S&&(M=T.convertBoundingBoxToBox(S))}return M}startAnimation(S){let{drag:E,dragMomentum:D,dragElastic:O,dragTransition:T,dragSnapToOrigin:R,onDragTransitionEnd:M}=this.getProps(),L=this.constraints||{},I=tV(M=>{if(!tW(M,E,this.currentDirection))return;let I=L&&L[M]||{};R&&(I={min:0,max:0});let $=O?200:1e6,V=O?40:1e7,N={type:"inertia",velocity:D?S[M]:0,bounceStiffness:$,bounceDamping:V,timeConstant:750,restDelta:1,restSpeed:10,...T,...I};return this.startAxisValueAnimation(M,N)});return Promise.all(I).then(M)}startAxisValueAnimation(S,E){let D=this.getAxisMotionValue(S);return D.start(T.animateMotionValue(S,D,0,E))}stopAnimation(){tV(S=>this.getAxisMotionValue(S).stop())}getAxisMotionValue(S){let E="_drag"+S.toUpperCase(),D=this.visualElement.getProps(),O=D[E];return O||this.visualElement.getValue(S,(D.initial?D.initial[S]:void 0)||0)}snapToCursor(S){tV(E=>{let{drag:D}=this.getProps();if(!tW(E,D,this.currentDirection))return;let{projection:O}=this.visualElement,R=this.getAxisMotionValue(E);if(O&&O.layout){let{min:D,max:M}=O.layout.layoutBox[E];R.set(S[E]-T.mix(D,M,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:S,dragConstraints:E}=this.getProps(),{projection:D}=this.visualElement;if(!T.isRefObject(E)||!D||!this.constraints)return;this.stopAnimation();let O={x:0,y:0};tV(S=>{let E=this.getAxisMotionValue(S);if(E){let D=E.get();O[S]=tM({min:D,max:D},this.constraints[S])}});let{transformTemplate:R}=this.visualElement.getProps();this.visualElement.current.style.transform=R?R({},""):"none",D.root&&D.root.updateScroll(),D.updateLayout(),this.resolveConstraints(),tV(E=>{if(!tW(E,S,null))return;let D=this.getAxisMotionValue(E),{min:R,max:M}=this.constraints[E];D.set(T.mix(R,M,O[E]))})}addListeners(){if(!this.visualElement.current)return;tN.set(this.visualElement,this);let S=this.visualElement.current,E=ej(S,"pointerdown",S=>{let{drag:E,dragListener:D=!0}=this.getProps();E&&D&&this.start(S)}),D=()=>{let{dragConstraints:S}=this.getProps();T.isRefObject(S)&&(this.constraints=this.resolveRefConstraints())},{projection:O}=this.visualElement,R=O.addEventListener("measure",D);O&&!O.layout&&(O.root&&O.root.updateScroll(),O.updateLayout()),D();let M=eO(window,"resize",()=>this.scalePositionWithinConstraints()),L=O.addEventListener("didUpdate",({delta:S,hasLayoutChanged:E})=>{this.isDragging&&E&&(tV(E=>{let D=this.getAxisMotionValue(E);D&&(this.originPoint[E]+=S[E].translate,D.set(D.get()+S[E].translate))}),this.visualElement.render())});return()=>{M(),E(),R(),L&&L()}}getProps(){let S=this.visualElement.getProps(),{drag:E=!1,dragDirectionLock:D=!1,dragPropagation:O=!1,dragConstraints:T=!1,dragElastic:R=tI,dragMomentum:M=!0}=S;return{...S,drag:E,dragDirectionLock:D,dragPropagation:O,dragConstraints:T,dragElastic:R,dragMomentum:M}}}function tW(S,E,D){return(!0===E||E===S)&&(null===D||D===S)}function tU(S,E=10){let D=null;return Math.abs(S.y)>E?D="y":Math.abs(S.x)>E&&(D="x"),D}class tH extends eB{constructor(S){super(S),this.removeGroupControls=T.noop,this.removeListeners=T.noop,this.controls=new tG(S)}mount(){let{dragControls:S}=this.node.getProps();S&&(this.removeGroupControls=S.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||T.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}let tq=S=>(E,D)=>{S&&T.frame.update(()=>S(E,D))};class tY extends eB{constructor(){super(...arguments),this.removePointerDownListener=T.noop}onPointerDown(S){this.session=new th(S,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:S,onPanStart:E,onPan:D,onPanEnd:O}=this.node.getProps();return{onSessionStart:tq(S),onStart:tq(E),onMove:D,onEnd:(S,E)=>{delete this.session,O&&T.frame.update(()=>O(S,E))}}}mount(){this.removePointerDownListener=ej(this.node.current,"pointerdown",S=>this.onPointerDown(S))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tZ=["TopLeft","TopRight","BottomLeft","BottomRight"],tK=tZ.length,tX=S=>"string"==typeof S?parseFloat(S):S,tQ=S=>"number"==typeof S||T.px.test(S);function tJ(S,E,D,O,R,M){R?(S.opacity=T.mix(0,void 0!==D.opacity?D.opacity:1,t4(O)),S.opacityExit=T.mix(void 0!==E.opacity?E.opacity:1,0,t5(O))):M&&(S.opacity=T.mix(void 0!==E.opacity?E.opacity:1,void 0!==D.opacity?D.opacity:1,O));for(let R=0;ROE?1:D(T.progress(S,E,O))}function t9(S,E){S.min=E.min,S.max=E.max}function t8(S,E){t9(S.x,E.x),t9(S.y,E.y)}function t7(S,E,D,O,R){return S-=E,S=T.scalePoint(S,1/D,O),void 0!==R&&(S=T.scalePoint(S,1/R,O)),S}function rr(S,E=0,D=1,O=.5,R,M=S,L=S){if(T.percent.test(E)){E=parseFloat(E);let S=T.mix(L.min,L.max,E/100);E=S-L.min}if("number"!=typeof E)return;let I=T.mix(M.min,M.max,O);S===M&&(I-=E),S.min=t7(S.min,E,D,I,R),S.max=t7(S.max,E,D,I,R)}function rn(S,E,[D,O,T],R,M){rr(S,E[D],E[O],E[T],E.scale,R,M)}let ri=["x","scaleX","originX"],ra=["y","scaleY","originY"];function ro(S,E,D,O){rn(S.x,E,ri,D?D.x:void 0,O?O.x:void 0),rn(S.y,E,ra,D?D.y:void 0,O?O.y:void 0)}function rs(S){return 0===S.translate&&1===S.scale}function rl(S){return rs(S.x)&&rs(S.y)}function ru(S,E){return S.x.min===E.x.min&&S.x.max===E.x.max&&S.y.min===E.y.min&&S.y.max===E.y.max}function rc(S){return t_(S.x)/t_(S.y)}class rh{constructor(){this.members=[]}add(S){T.addUniqueItem(this.members,S),S.scheduleRender()}remove(S){if(T.removeItem(this.members,S),S===this.prevLead&&(this.prevLead=void 0),S===this.lead){let S=this.members[this.members.length-1];S&&this.promote(S)}}relegate(S){let E;let D=this.members.findIndex(E=>S===E);if(0===D)return!1;for(let S=D;S>=0;S--){let D=this.members[S];if(!1!==D.isPresent){E=D;break}}return!!E&&(this.promote(E),!0)}promote(S,E){let D=this.lead;if(S!==D&&(this.prevLead=D,this.lead=S,S.show(),D)){D.instance&&D.scheduleRender(),S.scheduleRender(),S.resumeFrom=D,E&&(S.resumeFrom.preserveOpacity=!0),D.snapshot&&(S.snapshot=D.snapshot,S.snapshot.latestValues=D.animationValues||D.latestValues),S.root&&S.root.isUpdating&&(S.isLayoutDirty=!0);let{crossfade:O}=S.options;!1===O&&D.hide()}}exitAnimationComplete(){this.members.forEach(S=>{let{options:E,resumingFrom:D}=S;E.onExitComplete&&E.onExitComplete(),D&&D.options.onExitComplete&&D.options.onExitComplete()})}scheduleRender(){this.members.forEach(S=>{S.instance&&S.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rp(S,E,D){let O="",T=S.x.translate/E.x,R=S.y.translate/E.y;if((T||R)&&(O=`translate3d(${T}px, ${R}px, 0) `),(1!==E.x||1!==E.y)&&(O+=`scale(${1/E.x}, ${1/E.y}) `),D){let{rotate:S,rotateX:E,rotateY:T}=D;S&&(O+=`rotate(${S}deg) `),E&&(O+=`rotateX(${E}deg) `),T&&(O+=`rotateY(${T}deg) `)}let M=S.x.scale*E.x,L=S.y.scale*E.y;return(1!==M||1!==L)&&(O+=`scale(${M}, ${L})`),O||"none"}let rf=(S,E)=>S.depth-E.depth;class rm{constructor(){this.children=[],this.isDirty=!1}add(S){T.addUniqueItem(this.children,S),this.isDirty=!0}remove(S){T.removeItem(this.children,S),this.isDirty=!0}forEach(S){this.isDirty&&this.children.sort(rf),this.isDirty=!1,this.children.forEach(S)}}let ry={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rg(S){window.MotionDebug&&window.MotionDebug.record(S)}let rb=["","X","Y","Z"],rx=1e3,r_=0,rk={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function rw({attachResizeListener:S,defaultParent:E,measureScroll:D,checkIsScrollRoot:O,resetTransform:R}){return class{constructor(S={},D=null==E?void 0:E()){this.id=r_++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{rk.totalNodes=rk.resolvedTargetDeltas=rk.recalculatedProjection=0,this.nodes.forEach(rE),this.nodes.forEach(rj),this.nodes.forEach(rM),this.nodes.forEach(rP),rg(rk)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=S,this.root=D?D.root||D:this,this.path=D?[...D.path,D]:[],this.parent=D,this.depth=D?D.depth+1:0;for(let S=0;Sthis.root.updateBlockedByResize=!1;S(E,()=>{this.root.updateBlockedByResize=!0,D&&D(),D=T.delay(O,250),ry.hasAnimatedSinceResize&&(ry.hasAnimatedSinceResize=!1,this.nodes.forEach(rR))})}O&&this.root.registerSharedNode(O,this),!1!==this.options.animate&&M&&(O||R)&&this.addEventListener("didUpdate",({delta:S,hasLayoutChanged:E,hasRelativeTargetChanged:D,layout:O})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let R=this.options.transition||M.getDefaultTransition()||rN,{onLayoutAnimationStart:L,onLayoutAnimationComplete:I}=M.getProps(),$=!this.targetLayout||!ru(this.targetLayout,O)||D,V=!E&&D;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||V||E&&($||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(S,V);let E={...T.getValueTransition(R,"layout"),onPlay:L,onComplete:I};(M.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E)}else E||rR(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=O})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let S=this.getStack();S&&S.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,T.cancelFrame(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(rL),this.animationId++)}getTransformTemplate(){let{visualElement:S}=this.options;return S&&S.getProps().transformTemplate}willUpdate(S=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let S=0;Sthis.update()))}clearAllSnapshots(){this.nodes.forEach(rD),this.sharedNodes.forEach(rI)}scheduleUpdateProjection(){T.frame.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){T.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let S=0;S{let O=E/1e3;r$(L.x,S.x,O),r$(L.y,S.y,O),this.setTargetDelta(L),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tD(I,this.layout.layoutBox,this.relativeParent.layout.layoutBox),rB(this.relativeTarget,this.relativeTargetOrigin,I,O),D&&ru(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=T.createBox()),t8(D,this.relativeTarget)),N&&(this.animationValues=M,tJ(M,R,this.latestValues,O,U,W)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(S){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(T.cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=T.frame.update(()=>{ry.hasAnimatedSinceResize=!0,this.currentAnimation=T.animateSingleValue(0,rx,{...S,onUpdate:E=>{this.mixTargetDelta(E),S.onUpdate&&S.onUpdate(E)},onComplete:()=>{S.onComplete&&S.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 S=this.getStack();S&&S.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let S=this.getLead(),{targetWithTransforms:E,target:D,layout:O,latestValues:R}=S;if(E&&D&&O){if(this!==S&&this.layout&&O&&rW(this.options.animationType,this.layout.layoutBox,O.layoutBox)){D=this.target||T.createBox();let E=t_(this.layout.layoutBox.x);D.x.min=S.target.x.min,D.x.max=D.x.min+E;let O=t_(this.layout.layoutBox.y);D.y.min=S.target.y.min,D.y.max=D.y.min+O}t8(E,D),T.transformBox(E,R),tS(this.projectionDeltaWithTransform,this.layoutCorrected,E,R)}}registerSharedNode(S,E){this.sharedNodes.has(S)||this.sharedNodes.set(S,new rh);let D=this.sharedNodes.get(S);D.add(E);let O=E.options.initialPromotionConfig;E.promote({transition:O?O.transition:void 0,preserveFollowOpacity:O&&O.shouldPreserveFollowOpacity?O.shouldPreserveFollowOpacity(E):void 0})}isLead(){let S=this.getStack();return!S||S.lead===this}getLead(){var S;let{layoutId:E}=this.options;return E&&(null===(S=this.getStack())||void 0===S?void 0:S.lead)||this}getPrevLead(){var S;let{layoutId:E}=this.options;return E?null===(S=this.getStack())||void 0===S?void 0:S.prevLead:void 0}getStack(){let{layoutId:S}=this.options;if(S)return this.root.sharedNodes.get(S)}promote({needsReset:S,transition:E,preserveFollowOpacity:D}={}){let O=this.getStack();O&&O.promote(this,D),S&&(this.projectionDelta=void 0,this.needsReset=!0),E&&this.setOptions({transition:E})}relegate(){let S=this.getStack();return!!S&&S.relegate(this)}resetRotation(){let{visualElement:S}=this.options;if(!S)return;let E=!1,{latestValues:D}=S;if((D.rotate||D.rotateX||D.rotateY||D.rotateZ)&&(E=!0),!E)return;let O={};for(let E=0;E{var E;return null===(E=S.currentAnimation)||void 0===E?void 0:E.stop()}),this.root.nodes.forEach(rO),this.root.sharedNodes.clear()}}}function rS(S){S.updateLayout()}function rC(S){var E;let D=(null===(E=S.resumeFrom)||void 0===E?void 0:E.snapshot)||S.snapshot;if(S.isLead()&&S.layout&&D&&S.hasListeners("didUpdate")){let{layoutBox:E,measuredBox:O}=S.layout,{animationType:R}=S.options,M=D.source!==S.layout.source;"size"===R?tV(S=>{let O=M?D.measuredBox[S]:D.layoutBox[S],T=t_(O);O.min=E[S].min,O.max=O.min+T}):rW(R,D.layoutBox,E)&&tV(O=>{let T=M?D.measuredBox[O]:D.layoutBox[O],R=t_(E[O]);T.max=T.min+R,S.relativeTarget&&!S.currentAnimation&&(S.isProjectionDirty=!0,S.relativeTarget[O].max=S.relativeTarget[O].min+R)});let L=T.createDelta();tS(L,E,D.layoutBox);let I=T.createDelta();M?tS(I,S.applyTransform(O,!0),D.measuredBox):tS(I,E,D.layoutBox);let $=!rl(L),V=!1;if(!S.resumeFrom){let O=S.getClosestProjectingParent();if(O&&!O.resumeFrom){let{snapshot:R,layout:M}=O;if(R&&M){let L=T.createBox();tD(L,D.layoutBox,R.layoutBox);let I=T.createBox();tD(I,E,M.layoutBox),ru(L,I)||(V=!0),O.options.layoutRoot&&(S.relativeTarget=I,S.relativeTargetOrigin=L,S.relativeParent=O)}}}S.notifyListeners("didUpdate",{layout:E,snapshot:D,delta:I,layoutDelta:L,hasLayoutChanged:$,hasRelativeTargetChanged:V})}else if(S.isLead()){let{onExitComplete:E}=S.options;E&&E()}S.options.transition=void 0}function rE(S){rk.totalNodes++,S.parent&&(S.isProjecting()||(S.isProjectionDirty=S.parent.isProjectionDirty),S.isSharedProjectionDirty||(S.isSharedProjectionDirty=!!(S.isProjectionDirty||S.parent.isProjectionDirty||S.parent.isSharedProjectionDirty)),S.isTransformDirty||(S.isTransformDirty=S.parent.isTransformDirty))}function rP(S){S.isProjectionDirty=S.isSharedProjectionDirty=S.isTransformDirty=!1}function rD(S){S.clearSnapshot()}function rO(S){S.clearMeasurements()}function rT(S){S.isLayoutDirty=!1}function rA(S){let{visualElement:E}=S.options;E&&E.getProps().onBeforeLayoutMeasure&&E.notify("BeforeLayoutMeasure"),S.resetTransform()}function rR(S){S.finishAnimation(),S.targetDelta=S.relativeTarget=S.target=void 0,S.isProjectionDirty=!0}function rj(S){S.resolveTargetDelta()}function rM(S){S.calcProjection()}function rL(S){S.resetRotation()}function rI(S){S.removeLeadSnapshot()}function r$(S,E,D){S.translate=T.mix(E.translate,0,D),S.scale=T.mix(E.scale,1,D),S.origin=E.origin,S.originPoint=E.originPoint}function rF(S,E,D,O){S.min=T.mix(E.min,D.min,O),S.max=T.mix(E.max,D.max,O)}function rB(S,E,D,O){rF(S.x,E.x,D.x,O),rF(S.y,E.y,D.y,O)}function rV(S){return S.animationValues&&void 0!==S.animationValues.opacityExit}let rN={duration:.45,ease:[.4,0,.1,1]};function rz(S){S.min=Math.round(S.min),S.max=Math.round(S.max)}function rG(S){rz(S.x),rz(S.y)}function rW(S,E,D){return"position"===S||"preserve-aspect"===S&&!tk(rc(E),rc(D),.2)}let rU=rw({attachResizeListener:(S,E)=>eO(S,"resize",E),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rH={current:void 0},rq=rw({measureScroll:S=>({x:S.scrollLeft,y:S.scrollTop}),defaultParent:()=>{if(!rH.current){let S=new rU({});S.mount(window),S.setOptions({layoutScroll:!0}),rH.current=S}return rH.current},resetTransform:(S,E)=>{S.style.transform=void 0!==E?E:"none"},checkIsScrollRoot:S=>"fixed"===window.getComputedStyle(S).position}),rY=S=>!S.isLayoutDirty&&S.willUpdate(!1);function rZ(){let S=new Set,E=new WeakMap,D=()=>S.forEach(rY);return{add:O=>{S.add(O),E.set(O,O.addEventListener("willUpdate",D))},remove:O=>{S.delete(O);let T=E.get(O);T&&(T(),E.delete(O)),D()},dirty:D}}function rK(S,E){return E.max===E.min?0:S/(E.max-E.min)*100}let rX={correct:(S,E)=>{if(!E.target)return S;if("string"==typeof S){if(!T.px.test(S))return S;S=parseFloat(S)}let D=rK(S,E.target.x),O=rK(S,E.target.y);return`${D}% ${O}%`}},rQ={correct:(S,{treeScale:E,projectionDelta:D})=>{let O=S,R=T.complex.parse(S);if(R.length>5)return O;let M=T.complex.createTransformer(S),L="number"!=typeof R[0]?1:0,I=D.x.scale*E.x,$=D.y.scale*E.y;R[0+L]/=I,R[1+L]/=$;let V=T.mix(I,$,.5);return"number"==typeof R[2+L]&&(R[2+L]/=V),"number"==typeof R[3+L]&&(R[3+L]/=V),M(R)}};function rJ(){let S=O.useContext(V);if(null===S)return[!0,null];let{isPresent:E,onExitComplete:D,register:T}=S,R=O.useId();O.useEffect(()=>T(R),[]);let M=()=>D&&D(R);return!E&&D?[!1,M]:[!0]}function r0(){return r1(O.useContext(V))}function r1(S){return null===S||S.isPresent}class r2 extends L.default.Component{componentDidMount(){let{visualElement:S,layoutGroup:E,switchLayoutGroup:D,layoutId:O}=this.props,{projection:R}=S;T.addScaleCorrector(r4),R&&(E.group&&E.group.add(R),D&&D.register&&O&&D.register(R),R.root.didUpdate(),R.addEventListener("animationComplete",()=>{this.safeToRemove()}),R.setOptions({...R.options,onExitComplete:()=>this.safeToRemove()})),ry.hasEverUpdated=!0}getSnapshotBeforeUpdate(S){let{layoutDependency:E,visualElement:D,drag:O,isPresent:R}=this.props,M=D.projection;return M&&(M.isPresent=R,O||S.layoutDependency!==E||void 0===E?M.willUpdate():this.safeToRemove(),S.isPresent===R||(R?M.promote():M.relegate()||T.frame.postRender(()=>{let S=M.getStack();S&&S.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:S}=this.props.visualElement;S&&(S.root.didUpdate(),queueMicrotask(()=>{!S.currentAnimation&&S.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:S,layoutGroup:E,switchLayoutGroup:D}=this.props,{projection:O}=S;O&&(O.scheduleCheckAfterUnmount(),E&&E.group&&E.group.remove(O),D&&D.deregister&&D.deregister(O))}safeToRemove(){let{safeToRemove:S}=this.props;S&&S()}render(){return null}}function r3(S){let[E,D]=rJ(),T=O.useContext(X);return L.default.createElement(r2,{...S,layoutGroup:T,switchLayoutGroup:O.useContext(Q),isPresent:E,safeToRemove:D})}let r4={borderRadius:{...rX,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rX,borderTopRightRadius:rX,borderBottomLeftRadius:rX,borderBottomRightRadius:rX,boxShadow:rQ},r5={pan:{Feature:tY},drag:{Feature:tH,ProjectionNode:rq,MeasureLayout:r3}},r6=(S,E)=>ei(S)?new T.SVGVisualElement(E,{enableHardwareAcceleration:!1}):new T.HTMLVisualElement(E,{enableHardwareAcceleration:!0}),r9={layout:{ProjectionNode:rq,MeasureLayout:r3}},r8={...td,...e3,...r5,...r9},r7=er((S,E)=>eD(S,E,r8,r6));function ne(S){return ee(eD(S,{forwardMotionProps:!1},r8,r6))}let nt=er(eD);function nr(){let S=O.useRef(!1);return N(()=>(S.current=!0,()=>{S.current=!1}),[]),S}function nn(){let S=nr(),[E,D]=O.useState(0),R=O.useCallback(()=>{S.current&&D(E+1)},[E]),M=O.useCallback(()=>T.frame.postRender(R),[R]);return[M,E]}class ni extends M.Component{getSnapshotBeforeUpdate(S){let E=this.props.childRef.current;if(E&&S.isPresent&&!this.props.isPresent){let S=this.props.sizeRef.current;S.height=E.offsetHeight||0,S.width=E.offsetWidth||0,S.top=E.offsetTop,S.left=E.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function na({children:S,isPresent:E}){let D=O.useId(),T=O.useRef(null),R=O.useRef({width:0,height:0,top:0,left:0});return O.useInsertionEffect(()=>{let{width:S,height:O,top:M,left:L}=R.current;if(E||!T.current||!S||!O)return;T.current.dataset.motionPopId=D;let I=document.createElement("style");return document.head.appendChild(I),I.sheet&&I.sheet.insertRule(`
+ [data-motion-pop-id="${D}"] {
+ position: absolute !important;
+ width: ${S}px !important;
+ height: ${O}px !important;
+ top: ${M}px !important;
+ left: ${L}px !important;
+ }
+ `),()=>{document.head.removeChild(I)}},[E]),M.createElement(ni,{isPresent:E,childRef:T,sizeRef:R},M.cloneElement(S,{ref:T}))}let ns=({children:S,initial:E,isPresent:D,onExitComplete:T,custom:R,presenceAffectsLayout:L,mode:I})=>{let $=e_(nl),N=O.useId(),G=O.useMemo(()=>({id:N,initial:E,isPresent:D,custom:R,onExitComplete:S=>{for(let E of($.set(S,!0),$.values()))if(!E)return;T&&T()},register:S=>($.set(S,!1),()=>$.delete(S))}),L?void 0:[D]);return O.useMemo(()=>{$.forEach((S,E)=>$.set(E,!1))},[D]),M.useEffect(()=>{D||$.size||!T||T()},[D]),"popLayout"===I&&(S=M.createElement(na,{isPresent:D},S)),M.createElement(V.Provider,{value:G},S)};function nl(){return new Map}function nu(S){return O.useEffect(()=>()=>S(),[])}let nc=S=>S.key||"";function nd(S,E){S.forEach(S=>{let D=nc(S);E.set(D,S)})}function nh(S){let E=[];return O.Children.forEach(S,S=>{O.isValidElement(S)&&E.push(S)}),E}let np=({children:S,custom:E,initial:D=!0,onExitComplete:R,exitBeforeEnter:L,presenceAffectsLayout:I=!0,mode:$="sync"})=>{T.invariant(!L,"Replace exitBeforeEnter with mode='wait'");let V=O.useContext(X).forceRender||nn()[0],G=nr(),W=nh(S),U=W,H=O.useRef(new Map).current,Y=O.useRef(U),Z=O.useRef(new Map).current,K=O.useRef(!0);if(N(()=>{K.current=!1,nd(W,Z),Y.current=U}),nu(()=>{K.current=!0,Z.clear(),H.clear()}),K.current)return M.createElement(M.Fragment,null,U.map(S=>M.createElement(ns,{key:nc(S),isPresent:!0,initial:!!D&&void 0,presenceAffectsLayout:I,mode:$},S)));U=[...U];let Q=Y.current.map(nc),J=W.map(nc),ee=Q.length;for(let S=0;S{if(-1!==J.indexOf(D))return;let O=Z.get(D);if(!O)return;let T=Q.indexOf(D),L=S;if(!L){let S=()=>{Z.delete(D),H.delete(D);let S=Y.current.findIndex(S=>S.key===D);if(Y.current.splice(S,1),!H.size){if(Y.current=W,!1===G.current)return;V(),R&&R()}};L=M.createElement(ns,{key:nc(O),isPresent:!1,onExitComplete:S,custom:E,presenceAffectsLayout:I,mode:$},O),H.set(D,L)}U.splice(T,0,L)}),U=U.map(S=>{let E=S.key;return H.has(E)?S:M.createElement(ns,{key:nc(S),isPresent:!0,presenceAffectsLayout:I,mode:$},S)}),M.createElement(M.Fragment,null,H.size?U:U.map(S=>O.cloneElement(S)))};function nf({children:S,isValidProp:E,...D}){E&&ef(E),(D={...O.useContext(I),...D}).isStatic=e_(()=>D.isStatic);let T=O.useMemo(()=>D,[JSON.stringify(D.transition),D.transformPagePoint,D.reducedMotion]);return M.createElement(I.Provider,{value:T},S)}function nv({children:S,features:E,strict:D=!1}){let[,T]=O.useState(!ny(E)),R=O.useRef(void 0);if(!ny(E)){let{renderer:S,...D}=E;R.current=S,K(D)}return O.useEffect(()=>{ny(E)&&E().then(({renderer:S,...E})=>{K(E),R.current=S,T(!0)})},[]),M.createElement(G.Provider,{value:{renderer:R.current,strict:D}},S)}function ny(S){return"function"==typeof S}let ng=O.createContext(null),nb=S=>!0===S,nx=S=>nb(!0===S)||"id"===S,n_=({children:S,id:E,inherit:D=!0})=>{let T=O.useContext(X),R=O.useContext(ng),[L,I]=nn(),$=O.useRef(null),V=T.id||R;null===$.current&&(nx(D)&&V&&(E=E?V+"-"+E:V),$.current={id:E,group:nb(D)&&T.group||rZ()});let N=O.useMemo(()=>({...$.current,forceRender:L}),[I]);return M.createElement(X.Provider,{value:N},S)},nk=O.createContext(null);function nw(S,E,D,O){if(!O)return S;let R=S.findIndex(S=>S.value===E);if(-1===R)return S;let M=O>0?1:-1,L=S[R+M];if(!L)return S;let I=S[R],$=L.layout,V=T.mix($.min,$.max,.5);return 1===M&&I.layout.max+D>V||-1===M&&I.layout.min+Dr7(E)),N=[],G=O.useRef(!1);T.invariant(!!L,"Reorder.Group must be provided a values prop");let W={axis:D,registerItem:(S,E)=>{E&&-1===N.findIndex(E=>S===E.value)&&(N.push({value:S,layout:E[D]}),N.sort(nP))},updateOrder:(S,E,D)=>{if(G.current)return;let O=nw(N,S,E,D);N!==O&&(G.current=!0,R(O.map(nE).filter(S=>-1!==L.indexOf(S))))}};return O.useEffect(()=>{G.current=!1}),M.createElement(V,{...I,ref:$,ignoreStrict:!0},M.createElement(nk.Provider,{value:W},S))}let nC=O.forwardRef(nS);function nE(S){return S.value}function nP(S,E){return S.layout.min-E.layout.min}function nD(S){let E=e_(()=>T.motionValue(S)),{isStatic:D}=O.useContext(I);if(D){let[,D]=O.useState(S);O.useEffect(()=>E.on("change",D),[])}return E}function nO(S,E){let D=nD(E()),O=()=>D.set(E());return O(),N(()=>{let E=()=>T.frame.update(O,!1,!0),D=S.map(S=>S.on("change",E));return()=>{D.forEach(S=>S()),T.cancelFrame(O)}}),D}function nT(S,E,D,O){let R="function"==typeof E?E:T.transform(E,D,O);return Array.isArray(S)?nA(S,R):nA([S],([S])=>R(S))}function nA(S,E){let D=e_(()=>[]);return nO(S,()=>{D.length=0;let O=S.length;for(let E=0;Er7(R)),G=O.useContext(nk),W={x:nR(E.x),y:nR(E.y)},U=nT([W.x,W.y],([S,E])=>S||E?1:"unset"),H=O.useRef(null);T.invariant(!!G,"Reorder.Item must be a child of Reorder.Group");let{axis:Y,registerItem:Z,updateOrder:K}=G;return O.useEffect(()=>{Z(D,H.current)},[G]),M.createElement(N,{drag:Y,...$,dragSnapToOrigin:!0,style:{...E,x:W.x,y:W.y,zIndex:U},layout:I,onDrag:(S,E)=>{let{velocity:O}=E;O[Y]&&K(D,W[Y].get(),O[Y]),L&&L(S,E)},onLayoutMeasure:S=>{H.current=S},ref:V,ignoreStrict:!0},S)}let nM=O.forwardRef(nj),nL={Group:nC,Item:nM},nI={renderer:r6,...td,...e3},n$={...nI,...r5,...r9};function nF(S,...E){let D=S.length;function O(){let O="";for(let R=0;R{R.current&&R.current.stop()};return O.useInsertionEffect(()=>M.attach((S,O)=>{if(D)return O(S);if(L(),R.current=T.animateValue({keyframes:[M.get(),S],velocity:M.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...E,onUpdate:O}),!T.frameData.isProcessing){let S=performance.now()-T.frameData.timestamp;S<30&&(R.current.time=T.millisecondsToSeconds(S))}return M.get()},L),[JSON.stringify(E)]),N(()=>{if(T.isMotionValue(S))return S.on("change",S=>M.set(parseFloat(S)))},[M]),M}function nV(S,E,D){O.useInsertionEffect(()=>S.on(E,D),[S,E,D])}function nN(S){let E=nD(S.getVelocity());return nV(S,"velocityChange",S=>{E.set(S)}),E}function nz(S,E){T.warning(!!(!E||E.current),`You have defined a ${S} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let nG=()=>({scrollX:T.motionValue(0),scrollY:T.motionValue(0),scrollXProgress:T.motionValue(0),scrollYProgress:T.motionValue(0)});function nW({container:S,target:E,layoutEffect:D=!0,...R}={}){let M=e_(nG),L=D?N:O.useEffect;return L(()=>(nz("target",E),nz("container",S),T.scroll(({x:S,y:E})=>{M.scrollX.set(S.current),M.scrollXProgress.set(S.progress),M.scrollY.set(E.current),M.scrollYProgress.set(E.progress)},{...R,container:(null==S?void 0:S.current)||void 0,target:(null==E?void 0:E.current)||void 0})),[]),M}function nU(S){return nW({container:S})}function nH(){return nW()}function nq(S){let E=O.useRef(0),{isStatic:D}=O.useContext(I);O.useEffect(()=>{if(D)return;let O=({timestamp:D,delta:O})=>{E.current||(E.current=D),S(D-E.current,O)};return T.frame.update(O,!0),()=>T.cancelFrame(O)},[S])}function nY(){let S=nD(0);return nq(E=>S.set(E)),S}class nZ extends T.MotionValue{constructor(){super(...arguments),this.members=[],this.transforms=new Set}add(S){let E;T.transformProps.has(S)?(this.transforms.add(S),E="transform"):S.startsWith("origin")||T.isCSSVariableName(S)||"willChange"===S||(E=T.camelToDash(S)),E&&(T.addUniqueItem(this.members,E),this.update())}remove(S){T.transformProps.has(S)?(this.transforms.delete(S),this.transforms.size||T.removeItem(this.members,"transform")):T.removeItem(this.members,T.camelToDash(S)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}}function nK(){return e_(()=>new nZ("auto"))}function nX(){T.hasReducedMotionListener.current||T.initPrefersReducedMotion();let[S]=O.useState(T.prefersReducedMotion.current);return S}function nQ(){let S=nX(),{reducedMotion:E}=O.useContext(I);return"never"!==E&&("always"===E||S)}function nJ(S){S.values.forEach(S=>S.stop())}function n0(){let S=!1,E=new Set,D={subscribe:S=>(E.add(S),()=>void E.delete(S)),start(D,O){T.invariant(S,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let R=[];return E.forEach(S=>{R.push(e8(S,D,{transitionOverride:O}))}),Promise.all(R)},set:D=>(T.invariant(S,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),E.forEach(S=>{T.setValues(S,D)})),stop(){E.forEach(S=>{nJ(S)})},mount:()=>(S=!0,()=>{S=!1,D.stop()})};return D}function n3(){let S=e_(()=>({current:null,animations:[]})),E=e_(()=>T.createScopedAnimate(S));return nu(()=>{S.animations.forEach(S=>S.stop())}),[S,E]}function n4(){let S=e_(n0);return N(S.mount,[]),S}let n5=n4;function n6(...S){let E=O.useRef(0),[D,R]=O.useState(S[E.current]),M=O.useCallback(D=>{E.current="number"!=typeof D?T.wrap(0,S.length,E.current+1):D,R(S[E.current])},[S.length,...S]);return[D,M]}function n9(S,{root:E,margin:D,amount:R,once:M=!1}={}){let[L,I]=O.useState(!1);return O.useEffect(()=>{if(!S.current||M&&L)return;let O=()=>(I(!0),M?void 0:()=>I(!1)),$={root:E&&E.current||void 0,margin:D,amount:"some"===R?"any":R};return T.inView(S.current,O,$)},[E,S,D,M]),L}class n8{constructor(){this.componentControls=new Set}subscribe(S){return this.componentControls.add(S),()=>this.componentControls.delete(S)}start(S,E){this.componentControls.forEach(D=>{D.start(S.nativeEvent||S,E)})}}let n7=()=>new n8;function ie(){return e_(n7)}function ir(S,E,D,T){O.useEffect(()=>{let O=S.current;if(D&&O)return eO(O,E,D,T)},[S,E,D,T])}function ii(S){return null!==S&&"object"==typeof S&&J in S}function ia(S){if(ii(S))return S[J]}function io(){return il}function il(S){rH.current&&(rH.current.isUpdating=!1,rH.current.blockUpdate(),S&&S())}function iu(){let[S,E]=nn(),D=io();return O.useEffect(()=>{T.frame.postRender(()=>T.frame.postRender(()=>T.instantAnimationState.current=!1))},[E]),E=>{D(()=>{T.instantAnimationState.current=!0,S(),E()})}}function ih(){let S=M.useCallback(()=>{let S=rH.current;S&&S.resetTree()},[]);return S}let ip=(S,E)=>`${S}: ${E}`,im=new Map;function iv(S,E,D,O){let R=ip(S,T.transformProps.has(E)?"transform":E),M=im.get(R);if(!M)return 0;let{animation:L,startTime:I}=M,$=()=>{im.delete(R);try{L.cancel()}catch(S){}};if(null===I)return $(),0;{let S=performance.now();return O.update(()=>{D.animation&&(D.animation.time=T.millisecondsToSeconds(performance.now()-S))}),O.render($),S-I||0}}function iy(S,E,D,O,R){let M=S.dataset[T.optimizedAppearDataId];if(!M)return;window.HandoffAppearAnimations=iv;let L=ip(M,E),I=T.animateStyle(S,E,[D[0],D[0]],{duration:1e4,ease:"linear"});im.set(L,{animation:I,startTime:null});let $=()=>{I.cancel();let M=T.animateStyle(S,E,D,O);document.timeline&&(M.startTime=document.timeline.currentTime),im.set(L,{animation:M,startTime:performance.now()}),R&&R(M)};I.ready?I.ready.then($).catch(T.noop):$()}let ig=()=>({});class ib extends T.VisualElement{build(){}measureInstanceViewportBox(){return T.createBox()}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return ig()}getBaseTargetFromProps(){}readValueFromInstance(S,E,D){return D.initialState[E]||0}sortInstanceNodePosition(){return 0}makeTargetAnimatableFromInstance({transition:S,transitionEnd:E,...D}){let O=T.getOrigin(D,S||{},this);return T.checkTargetForNewValues(this,D,O),{transition:S,transitionEnd:E,...D}}}let ix=eS({scrapeMotionValuesFromProps:ig,createRenderState:ig});function i_(S){let[E,D]=O.useState(S),T=ix({},!1),R=e_(()=>new ib({props:{},visualState:T,presenceContext:null},{initialState:S}));O.useEffect(()=>(R.mount({}),()=>R.unmount()),[R]),O.useEffect(()=>{R.update({onUpdate:S=>{D({...S})}},null)},[D,R]);let M=e_(()=>S=>e8(R,S));return[E,M]}let ik=1e5,iw=S=>S>.001?1/S:ik,iS=!1;function iC(S){let E=nD(1),D=nD(1),{visualElement:R}=O.useContext($);T.invariant(!!(S||R),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),T.warning(iS,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),iS=!0,S?(E=S.scaleX||E,D=S.scaleY||D):R&&(E=R.getValue("scaleX",1),D=R.getValue("scaleY",1));let M=nT(E,iw),L=nT(D,iw);return{scaleX:M,scaleY:L}}let iE=0,iP=({children:S})=>(M.useEffect(()=>{T.invariant(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),M.createElement(n_,{id:e_(()=>`asl-${iE++}`)},S));E.MotionValue=T.MotionValue,E.VisualElement=T.VisualElement,E.addScaleCorrector=T.addScaleCorrector,E.animate=T.animate,E.animateValue=T.animateValue,E.anticipate=T.anticipate,E.backIn=T.backIn,E.backInOut=T.backInOut,E.backOut=T.backOut,E.buildTransform=T.buildTransform,E.cancelFrame=T.cancelFrame,E.cancelSync=T.cancelSync,E.checkTargetForNewValues=T.checkTargetForNewValues,E.circIn=T.circIn,E.circInOut=T.circInOut,E.circOut=T.circOut,E.clamp=T.clamp,E.color=T.color,E.complex=T.complex,E.createBox=T.createBox,E.createScopedAnimate=T.createScopedAnimate,E.cubicBezier=T.cubicBezier,E.delay=T.delay,E.distance=T.distance,E.distance2D=T.distance2D,E.easeIn=T.easeIn,E.easeInOut=T.easeInOut,E.easeOut=T.easeOut,E.frame=T.frame,E.frameData=T.frameData,E.inView=T.inView,E.interpolate=T.interpolate,Object.defineProperty(E,"invariant",{enumerable:!0,get:function(){return T.invariant}}),E.isBrowser=T.isBrowser,E.isMotionValue=T.isMotionValue,E.mirrorEasing=T.mirrorEasing,E.mix=T.mix,E.motionValue=T.motionValue,E.optimizedAppearDataAttribute=T.optimizedAppearDataAttribute,E.pipe=T.pipe,E.progress=T.progress,E.px=T.px,E.reverseEasing=T.reverseEasing,E.scroll=T.scroll,E.spring=T.spring,E.stagger=T.stagger,E.steps=T.steps,E.stepsOrder=T.stepsOrder,E.sync=T.sync,E.transform=T.transform,E.visualElementStore=T.visualElementStore,Object.defineProperty(E,"warning",{enumerable:!0,get:function(){return T.warning}}),E.wrap=T.wrap,E.AnimatePresence=np,E.AnimateSharedLayout=iP,E.DeprecatedLayoutGroupContext=ng,E.DragControls=n8,E.FlatTree=rm,E.LayoutGroup=n_,E.LayoutGroupContext=X,E.LazyMotion=nv,E.MotionConfig=nf,E.MotionConfigContext=I,E.MotionContext=$,E.PresenceContext=V,E.Reorder=nL,E.SwitchLayoutGroupContext=Q,E.addPointerEvent=ej,E.addPointerInfo=eR,E.animateVisualElement=e8,E.animationControls=n0,E.animations=td,E.calcLength=t_,E.createDomMotionComponent=ne,E.createMotionComponent=ee,E.domAnimation=nI,E.domMax=n$,E.filterProps=em,E.isDragActive=eF,E.isMotionComponent=ii,E.isValidMotionProp=eh,E.m=nt,E.makeUseVisualState=eS,E.motion=r7,E.resolveMotionValue=ek,E.startOptimizedAppearAnimation=iy,E.unwrapMotionComponent=ia,E.useAnimate=n3,E.useAnimation=n5,E.useAnimationControls=n4,E.useAnimationFrame=nq,E.useCycle=n6,E.useDeprecatedAnimatedState=i_,E.useDeprecatedInvertedScale=iC,E.useDomEvent=ir,E.useDragControls=ie,E.useElementScroll=nU,E.useForceUpdate=nn,E.useInView=n9,E.useInstantLayoutTransition=io,E.useInstantTransition=iu,E.useIsPresent=r0,E.useIsomorphicLayoutEffect=N,E.useMotionTemplate=nF,E.useMotionValue=nD,E.useMotionValueEvent=nV,E.usePresence=rJ,E.useReducedMotion=nX,E.useReducedMotionConfig=nQ,E.useResetProjection=ih,E.useScroll=nW,E.useSpring=nB,E.useTime=nY,E.useTransform=nT,E.useUnmountEffect=nu,E.useVelocity=nN,E.useViewportScroll=nH,E.useWillChange=nK},73463:function(S,E,D){"use strict";var O=D(73887),T={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},R={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},L={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I={};function $(S){return O.isMemo(S)?L:I[S.$$typeof]||T}I[O.ForwardRef]=M,I[O.Memo]=L;var V=Object.defineProperty,N=Object.getOwnPropertyNames,G=Object.getOwnPropertySymbols,W=Object.getOwnPropertyDescriptor,U=Object.getPrototypeOf,H=Object.prototype;function Y(S,E,D){if("string"!=typeof E){if(H){var O=U(E);O&&O!==H&&Y(S,O,D)}var T=N(E);G&&(T=T.concat(G(E)));for(var M=$(S),L=$(E),I=0;I */E.read=function(S,E,D,O,T){var R,M,L=8*T-O-1,I=(1<>1,V=-7,N=D?T-1:0,G=D?-1:1,W=S[E+N];for(N+=G,R=W&(1<<-V)-1,W>>=-V,V+=L;V>0;R=256*R+S[E+N],N+=G,V-=8);for(M=R&(1<<-V)-1,R>>=-V,V+=O;V>0;M=256*M+S[E+N],N+=G,V-=8);if(0===R)R=1-$;else{if(R===I)return M?NaN:(W?-1:1)*(1/0);M+=Math.pow(2,O),R-=$}return(W?-1:1)*M*Math.pow(2,R-O)},E.write=function(S,E,D,O,T,R){var M,L,I,$=8*R-T-1,V=(1<<$)-1,N=V>>1,G=23===T?5960464477539062e-23:0,W=O?0:R-1,U=O?1:-1,H=E<0||0===E&&1/E<0?1:0;for(isNaN(E=Math.abs(E))||E===1/0?(L=isNaN(E)?1:0,M=V):(M=Math.floor(Math.log(E)/Math.LN2),E*(I=Math.pow(2,-M))<1&&(M--,I*=2),M+N>=1?E+=G/I:E+=G*Math.pow(2,1-N),E*I>=2&&(M++,I/=2),M+N>=V?(L=0,M=V):M+N>=1?(L=(E*I-1)*Math.pow(2,T),M+=N):(L=E*Math.pow(2,N-1)*Math.pow(2,T),M=0));T>=8;S[D+W]=255&L,W+=U,L/=256,T-=8);for(M=M<0;S[D+W]=255&M,W+=U,M/=256,$-=8);S[D+W-U]|=128*H}},6299:function(S){var E=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,D=/\n/g,O=/^\s*/,T=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,R=/^:\s*/,M=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,L=/^[;\s]*/,I=/^\s+|\s+$/g,$="\n",V="/",N="*",G="",W="comment",U="declaration";function H(S){return S?S.replace(I,G):G}S.exports=function(S,I){if("string"!=typeof S)throw TypeError("First argument must be a string");if(!S)return[];I=I||{};var Y=1,Z=1;function K(S){var E=S.match(D);E&&(Y+=E.length);var O=S.lastIndexOf($);Z=~O?S.length-O:Z+S.length}function X(){var S={line:Y,column:Z};return function(E){return E.position=new Q(S),er(),E}}function Q(S){this.start=S,this.end={line:Y,column:Z},this.source=I.source}Q.prototype.content=S;var J=[];function ee(E){var D=Error(I.source+":"+Y+":"+Z+": "+E);if(D.reason=E,D.filename=I.source,D.line=Y,D.column=Z,D.source=S,I.silent)J.push(D);else throw D}function et(E){var D=E.exec(S);if(D){var O=D[0];return K(O),S=S.slice(O.length),D}}function er(){et(O)}function en(S){var E;for(S=S||[];E=ei();)!1!==E&&S.push(E);return S}function ei(){var E=X();if(V==S.charAt(0)&&N==S.charAt(1)){for(var D=2;G!=S.charAt(D)&&(N!=S.charAt(D)||V!=S.charAt(D+1));)++D;if(D+=2,G===S.charAt(D-1))return ee("End of comment missing");var O=S.slice(2,D-2);return Z+=2,K(O),S=S.slice(D),Z+=2,E({type:W,comment:O})}}function ea(){var S=X(),D=et(T);if(D){if(ei(),!et(R))return ee("property missing ':'");var O=et(M),I=S({type:U,property:H(D[0].replace(E,G)),value:O?H(O[0].replace(E,G)):G});return et(L),I}}function eo(){var S,E=[];for(en(E);S=ea();)!1!==S&&(E.push(S),en(E));return E}return er(),eo()}},77481:function(S,E,D){"use strict";D.d(E,{C:function(){return N}});var O=D(5163),T=D(82614),R=D(75413),M=D(30087);function L(S,E){return E?(0,O.pi)((0,O.pi)((0,O.pi)({},S||{}),E||{}),Object.keys(S).reduce(function(D,T){return D[T]=(0,O.pi)((0,O.pi)({},S[T]),E[T]||{}),D},{})):S}function I(S,E){return E?Object.keys(S).reduce(function(D,O){return D[O]=L(S[O],E[O]),D},(0,O.pi)({},S)):S}function $(S){return{create:function(){return{get:function(E){return S[E]},set:function(E,D){S[E]=D}}}}}function V(S){return void 0===S&&(S={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,R.H)(function(){for(var S,E=[],D=0;D0?E[0]:"string"==typeof S?S:S[0])}},S.__parse=T.Qc,S.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},S}()},56313:function(S,E,D){"use strict";D.d(E,{C8:function(){return M},HR:function(){return I},YR:function(){return L},jK:function(){return O},u_:function(){return R}});var O,T=D(5163);!function(S){S.MISSING_VALUE="MISSING_VALUE",S.INVALID_VALUE="INVALID_VALUE",S.MISSING_INTL_API="MISSING_INTL_API"}(O||(O={}));var R=function(S){function E(E,D,O){var T=S.call(this,E)||this;return T.code=D,T.originalMessage=O,T}return(0,T.ZT)(E,S),E.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},E}(Error),M=function(S){function E(E,D,T,R){return S.call(this,'Invalid values for "'.concat(E,'": "').concat(D,'". Options are "').concat(Object.keys(T).join('", "'),'"'),O.INVALID_VALUE,R)||this}return(0,T.ZT)(E,S),E}(R),L=function(S){function E(E,D,T){return S.call(this,'Value for "'.concat(E,'" must be of type ').concat(D),O.INVALID_VALUE,T)||this}return(0,T.ZT)(E,S),E}(R),I=function(S){function E(E,D){return S.call(this,'The intl string context variable "'.concat(E,'" was not provided to the string "').concat(D,'"'),O.MISSING_VALUE,D)||this}return(0,T.ZT)(E,S),E}(R)},30087:function(S,E,D){"use strict";D.d(E,{FK:function(){return I},Gt:function(){return L},du:function(){return O}});var O,T=D(82614),R=D(56313);function M(S){return S.length<2?S:S.reduce(function(S,E){var D=S[S.length-1];return D&&D.type===O.literal&&E.type===O.literal?D.value+=E.value:S.push(E),S},[])}function L(S){return"function"==typeof S}function I(S,E,D,$,V,N,G){if(1===S.length&&(0,T.O4)(S[0]))return[{type:O.literal,value:S[0].value}];for(var W=[],U=0,H=S;U
+ * @license MIT
+ */S.exports=function(S){return null!=S&&null!=S.constructor&&"function"==typeof S.constructor.isBuffer&&S.constructor.isBuffer(S)}},12039:function(module,exports,__webpack_require__){"undefined"!=typeof document&&"undefined"!=typeof navigator&&function(S,E){module.exports=E()}(0,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(S){_useWebWorker=!!S},getWebWorker=function(){return _useWebWorker},setLocationHref=function(S){locationHref=S},getLocationHref=function(){return locationHref};function createTag(S){return document.createElement(S)}function extendPrototype(S,E){var D,O,T=S.length;for(D=0;D1?D[1]=1:D[1]<=0&&(D[1]=0),HSVtoRGB(D[0],D[1],D[2])}function addBrightnessToRGB(S,E){var D=RGBtoHSV(255*S[0],255*S[1],255*S[2]);return D[2]+=E,D[2]>1?D[2]=1:D[2]<0&&(D[2]=0),HSVtoRGB(D[0],D[1],D[2])}function addHueToRGB(S,E){var D=RGBtoHSV(255*S[0],255*S[1],255*S[2]);return D[0]+=E/360,D[0]>1?D[0]-=1:D[0]<0&&(D[0]+=1),HSVtoRGB(D[0],D[1],D[2])}var rgbToHex=function(){var S,E,D=[];for(S=0;S<256;S+=1)E=S.toString(16),D[S]=1===E.length?"0"+E:E;return function(S,E,O){return S<0&&(S=0),E<0&&(E=0),O<0&&(O=0),"#"+D[S]+D[E]+D[O]}}(),setSubframeEnabled=function(S){subframeEnabled=!!S},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(S){expressionsPlugin=S},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(S){expressionsInterfaces=S},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(S){defaultCurveSegments=S},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(S){idPrefix$1=S},getIdPrefix=function(){return idPrefix$1};function createNS(S){return document.createElementNS(svgNS,S)}function _typeof$5(S){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(S){return typeof S}:function(S){return S&&"function"==typeof Symbol&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(S)}var dataManager=function(){var S,E,D=1,O=[],T={onmessage:function(){},postMessage:function(E){S({data:E})}},R={postMessage:function(S){T.onmessage({data:S})}};function M(E){if(window.Worker&&window.Blob&&getWebWorker()){var D=new Blob(["var _workerSelf = self; self.onmessage = ",E.toString()],{type:"text/javascript"}),O=URL.createObjectURL(D);return new Worker(O)}return S=E,T}function L(){E||((E=M(function(S){function E(){function S(E,D){var M,L,I,$,V,N,G=E.length;for(L=0;L=0;E-=1)if("sh"===S[E].ty){if(S[E].ks.k.i)R(S[E].ks.k);else for(D=0,O=S[E].ks.k.length;DD[0]||!(D[0]>S[0])&&(S[1]>D[1]||!(D[1]>S[1])&&(S[2]>D[2]||!(D[2]>S[2])&&null))}var L=function(){var S=[4,4,14];function E(S){var E=S.t.d;S.t.d={k:[{s:E,t:0}]}}function D(S){var D,O=S.length;for(D=0;D=0;D-=1)if("sh"===S[D].ty){if(S[D].ks.k.i)S[D].ks.k.c=S[D].closed;else for(O=0,T=S[D].ks.k.length;O500)&&(this._imageLoaded(),clearInterval(D)),E+=1}).bind(this),50)}function R(E){var D=O(E,this.assetsPath,this.path),T=createNS("image");isSafari?this.testImageLoaded(T):T.addEventListener("load",this._imageLoaded,!1),T.addEventListener("error",(function(){R.img=S,this._imageLoaded()}).bind(this),!1),T.setAttributeNS("http://www.w3.org/1999/xlink","href",D),this._elementHelper.append?this._elementHelper.append(T):this._elementHelper.appendChild(T);var R={img:T,assetData:E};return R}function M(E){var D=O(E,this.assetsPath,this.path),T=createTag("img");T.crossOrigin="anonymous",T.addEventListener("load",this._imageLoaded,!1),T.addEventListener("error",(function(){R.img=S,this._imageLoaded()}).bind(this),!1),T.src=D;var R={img:T,assetData:E};return R}function L(S){var E={assetData:S},D=O(S,this.assetsPath,this.path);return dataManager.loadData(D,(function(S){E.img=S,this._footageLoaded()}).bind(this),(function(){E.img={},this._footageLoaded()}).bind(this)),E}function I(S,E){this.imagesLoadedCb=E;var D,O=S.length;for(D=0;Dthis.animationData.op&&(this.animationData.op=S.op,this.totalFrames=Math.floor(S.op-this.animationData.ip));var E,D,O=this.animationData.layers,T=O.length,R=S.layers,M=R.length;for(D=0;Dthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(S){this.triggerRenderFrameError(S)}},AnimationItem.prototype.play=function(S){(!S||this.name===S)&&!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(S){S&&this.name!==S||!1!==this.isPaused||(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(S){S&&this.name!==S||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(S){S&&this.name!==S||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(S){for(var E,D=0;D=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?E>=this.totalFrames?(this.playCount+=1,this.checkSegments(E%this.totalFrames)||(this.setCurrentRawFrameValue(E%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(E):this.checkSegments(E>this.totalFrames?E%this.totalFrames:0)||(D=!0,E=this.totalFrames-1):E<0?this.checkSegments(E%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&!0!==this.loop)?(this.setCurrentRawFrameValue(this.totalFrames+E%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(D=!0,E=0)):this.setCurrentRawFrameValue(E),D&&(this.setCurrentRawFrameValue(E),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(S,E){this.playCount=0,S[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=S[0]-S[1],this.timeCompleted=this.totalFrames,this.firstFrame=S[1],this.setCurrentRawFrameValue(this.totalFrames-.001-E)):S[1]>S[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=S[1]-S[0],this.timeCompleted=this.totalFrames,this.firstFrame=S[0],this.setCurrentRawFrameValue(.001+E)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(S,E){var D=-1;this.isPaused&&(this.currentRawFrame+this.firstFrameE&&(D=E-S)),this.firstFrame=S,this.totalFrames=E-S,this.timeCompleted=this.totalFrames,-1!==D&&this.goToAndStop(D,!0)},AnimationItem.prototype.playSegments=function(S,E){if(E&&(this.segments.length=0),"object"===_typeof$4(S[0])){var D,O=S.length;for(D=0;D=0;D-=1)E[D].animation.destroy(S)}function er(S,E,D){var O,T=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),R=T.length;for(O=0;O0?D=I:E=I;while(Math.abs(L)>R&&++$=T?Y(S,V,E,D):0===N?V:H(S,R,R+I,E,D)}},S}(),pooling=function(){return{double:function(S){return S.concat(createSizedArray(S.length))}}}(),poolFactory=function(){return function(S,E,D){var O=0,T=S,R=createSizedArray(T);return{newElement:function(){var S;return O?(O-=1,S=R[O]):S=E(),S},release:function(S){O===T&&(R=pooling.double(R),T*=2),D&&D(S),R[O]=S,O+=1}}}}(),bezierLengthPool=function(){return poolFactory(8,function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})}(),segmentsLengthPool=function(){function S(S){var E,D=S.lengths.length;for(E=0;E-.001&&M<.001}function D(D,O,T,R,M,L,I,$,V){if(0===T&&0===L&&0===V)return E(D,O,R,M,I,$);var N,G=S.sqrt(S.pow(R-D,2)+S.pow(M-O,2)+S.pow(L-T,2)),W=S.sqrt(S.pow(I-D,2)+S.pow($-O,2)+S.pow(V-T,2)),U=S.sqrt(S.pow(I-R,2)+S.pow($-M,2)+S.pow(V-L,2));return(N=G>W?G>U?G-W-U:U-W-G:U>W?U-W-G:W-G-U)>-.0001&&N<1e-4}var O=function(){return function(S,E,D,O){var T,R,M,L,I,$,V=getDefaultCurveSegments(),N=0,G=[],W=[],U=bezierLengthPool.newElement();for(T=0,M=D.length;TM?-1:1,$=!0;$;)if(O[R]<=M&&O[R+1]>M?(L=(M-O[R])/(O[R+1]-O[R]),$=!1):R+=I,R<0||R>=T-1){if(R===T-1)return D[R];$=!1}return D[R]+(D[R+1]-D[R])*L}function $(E,D,O,T,R,M){var L=I(R,M),$=1-L;return[S.round(($*$*$*E[0]+(L*$*$+$*L*$+$*$*L)*O[0]+(L*L*$+$*L*L+L*$*L)*T[0]+L*L*L*D[0])*1e3)/1e3,S.round(($*$*$*E[1]+(L*$*$+$*L*$+$*$*L)*O[1]+(L*L*$+$*L*L+L*$*L)*T[1]+L*L*L*D[1])*1e3)/1e3]}var V=createTypedArray("float32",8);return{getSegmentsLength:T,getNewSegment:function(E,D,O,T,R,M,L){R<0?R=0:R>1&&(R=1);var $,N=I(R,L),G=I(M=M>1?1:M,L),W=E.length,U=1-N,H=1-G,Y=U*U*U,Z=N*U*U*3,K=N*N*U*3,X=N*N*N,Q=U*U*H,J=N*U*H+U*N*H+U*U*G,ee=N*N*H+U*N*G+N*U*G,et=N*N*G,er=U*H*H,en=N*H*H+U*G*H+U*H*G,ei=N*G*H+U*G*G+N*H*G,ea=N*G*G,eo=H*H*H,es=G*H*H+H*G*H+H*H*G,eu=G*G*H+H*G*G+G*H*G,ec=G*G*G;for($=0;$=K.t-L){Z.h&&(Z=K),I=0;break}if(K.t-L>S){I=$;break}$=G||S=G?U.points.length-1:0;for(Q=0,J=U.points[H].point.length;Q=es&&eo=G?(Y[0]=ei[0],Y[1]=ei[1],Y[2]=ei[2]):S<=W?(Y[0]=Z.s[0],Y[1]=Z.s[1],Y[2]=Z.s[2]):quaternionToEuler(Y,slerp(createQuaternion(Z.s),createQuaternion(ei),(S-W)/(G-W)));else for($=0;$=G?ee=1:S1e-6?(R=Math.sin(O=Math.acos(T)),M=Math.sin((1-D)*O)/R,L=Math.sin(D*O)/R):(M=1-D,L=D),I[0]=M*$+L*W,I[1]=M*V+L*U,I[2]=M*N+L*H,I[3]=M*G+L*Y,I}function quaternionToEuler(S,E){var D=E[0],O=E[1],T=E[2],R=E[3],M=Math.atan2(2*O*R-2*D*T,1-2*O*O-2*T*T),L=Math.asin(2*D*O+2*T*R),I=Math.atan2(2*D*R-2*O*T,1-2*D*D-2*T*T);S[0]=M/degToRads,S[1]=L/degToRads,S[2]=I/degToRads}function createQuaternion(S){var E=S[0]*degToRads,D=S[1]*degToRads,O=S[2]*degToRads,T=Math.cos(E/2),R=Math.cos(D/2),M=Math.cos(O/2),L=Math.sin(E/2),I=Math.sin(D/2),$=Math.sin(O/2),V=T*R*M-L*I*$;return[L*I*M+T*R*$,L*R*M+T*I*$,T*I*M-L*R*$,V]}function getValueAtCurrentTime(){var S=this.comp.renderedFrame-this.offsetTime,E=this.keyframes[0].t-this.offsetTime,D=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(S===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=D&&S>=D||this._caching.lastFrame=S&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var O=this.interpolateValue(S,this._caching);this.pv=O}return this._caching.lastFrame=S,this.pv}function setVValue(S){var E;if("unidimensional"===this.propType)E=S*this.mult,mathAbs(this.v-E)>1e-5&&(this.v=E,this._mdf=!0);else for(var D=0,O=this.v.length;D1e-5&&(this.v[D]=E,this._mdf=!0),D+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var S,E=this.effectsSequence.length,D=this.kf?this.pv:this.data.k;for(S=0;S=this._maxLength&&this.doubleArrayLength(),D){case"v":R=this.v;break;case"i":R=this.i;break;case"o":R=this.o;break;default:R=[]}R[O]&&(!R[O]||T)||(R[O]=pointPool.newElement()),R[O][0]=S,R[O][1]=E},ShapePath.prototype.setTripleAt=function(S,E,D,O,T,R,M,L){this.setXYAt(S,E,"v",M,L),this.setXYAt(D,O,"o",M,L),this.setXYAt(T,R,"i",M,L)},ShapePath.prototype.reverse=function(){var S,E=new ShapePath;E.setPathData(this.c,this._length);var D=this.v,O=this.o,T=this.i,R=0;this.c&&(E.setTripleAt(D[0][0],D[0][1],T[0][0],T[0][1],O[0][0],O[0][1],0,!1),R=1);var M=this._length-1,L=this._length;for(S=R;S=T[T.length-1].t-this.offsetTime)R=T[T.length-1].s?T[T.length-1].s[0]:T[T.length-2].e[0],L=!0;else{for(var R,M,L,I,$,V,N,G,W,U,H,Y,Z,K=O,X=T.length-1,Q=!0;Q&&(U=T[K],!((H=T[K+1]).t-this.offsetTime>S));)K=H.t-this.offsetTime?G=1:SO&&E>O)||(this._caching.lastIndex=T0||S>-.000001&&S<0?O(S*E)/E:S}function eh(){var S=this.props;return"matrix("+ed(S[0])+","+ed(S[1])+","+ed(S[4])+","+ed(S[5])+","+ed(S[12])+","+ed(S[13])+")"}return function(){this.reset=T,this.rotate=R,this.rotateX=M,this.rotateY=L,this.rotateZ=I,this.skew=V,this.skewFromAxis=N,this.shear=$,this.scale=G,this.setTransform=W,this.translate=U,this.transform=H,this.multiply=Y,this.applyToPoint=J,this.applyToX=ee,this.applyToY=et,this.applyToZ=er,this.applyToPointArray=es,this.applyToTriplePoints=eo,this.applyToPointStringified=eu,this.toCSS=ec,this.to2dCSS=eh,this.clone=X,this.cloneFromProps=Q,this.equals=K,this.inversePoints=ea,this.inversePoint=ei,this.getInverseMatrix=en,this._t=this.transform,this.isIdentity=Z,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(S){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(S){return typeof S}:function(S){return S&&"function"==typeof Symbol&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(S)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(S){setLocationHref(S)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(S){setSubframeEnabled(S)}function setPrefix(S){setIdPrefix(S)}function loadAnimation(S){return!0===standalone&&(S.animationData=JSON.parse(animationData)),animationManager.loadAnimation(S)}function setQuality(S){if("string"==typeof S)switch(S){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(S)&&S>1&&setDefaultCurveSegments(S);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(S,E){"expressions"===S&&setExpressionsPlugin(E)}function getFactory(S){switch(S){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(S){for(var E=queryString.split("&"),D=0;D=1?L.push({s:S-1,e:E-1}):(L.push({s:S,e:1}),L.push({s:0,e:E-1}));var I=[],$=L.length;for(R=0;R<$;R+=1)(M=L[R]).e*TO+D||I.push([M.s*T<=O?0:(M.s*T-O)/D,M.e*T>=O+D?1:(M.e*T-O)/D]);return I.length||I.push([0,0]),I},TrimModifier.prototype.releasePathsData=function(S){var E,D=S.length;for(E=0;E1?1+E:this.s.v<0?0+E:this.s.v+E)>(M=this.e.v>1?1+E:this.e.v<0?0+E:this.e.v+E)){var D=R;R=M,M=D}R=1e-4*Math.round(1e4*R),M=1e-4*Math.round(1e4*M),this.sValue=R,this.eValue=M}else R=this.sValue,M=this.eValue;var O=this.shapes.length,T=0;if(M===R)for(I=0;I=0;I-=1)if((U=this.shapes[I]).shape._mdf){for((H=U.localShapeCollection).releaseShapes(),2===this.m&&O>1?(Y=this.calculateShapeEdges(R,M,U.totalShapeLength,Q,T),Q+=U.totalShapeLength):Y=[[K,X]],V=Y.length,$=0;$=1?Z.push({s:U.totalShapeLength*(K-1),e:U.totalShapeLength*(X-1)}):(Z.push({s:U.totalShapeLength*K,e:U.totalShapeLength}),Z.push({s:0,e:U.totalShapeLength*(X-1)}));var J=this.addShapes(U,Z[0]);if(Z[0].s!==Z[0].e){if(Z.length>1){if(U.shape.paths.shapes[U.shape.paths._length-1].c){var ee=J.pop();this.addPaths(J,H),J=this.addShapes(U,Z[1],ee)}else this.addPaths(J,H),J=this.addShapes(U,Z[1])}this.addPaths(J,H)}}U.shape.paths=H}}},TrimModifier.prototype.addPaths=function(S,E){var D,O=S.length;for(D=0;DE.e){D.c=!1;break}else E.s<=U&&E.e>=U+M.addedLength?(this.addSegment(G[O].v[T-1],G[O].o[T-1],G[O].i[T],G[O].v[T],D,L,Y),Y=!1):($=bez.getNewSegment(G[O].v[T-1],G[O].v[T],G[O].o[T-1],G[O].i[T],(E.s-U)/M.addedLength,(E.e-U)/M.addedLength,I[T-1]),this.addSegmentFromArray($,D,L,Y),Y=!1,D.c=!1),U+=M.addedLength,L+=1;if(G[O].c&&I.length){if(M=I[T-1],U<=E.e){var Z=I[T-1].addedLength;E.s<=U&&E.e>=U+Z?(this.addSegment(G[O].v[T-1],G[O].o[T-1],G[O].i[0],G[O].v[0],D,L,Y),Y=!1):($=bez.getNewSegment(G[O].v[T-1],G[O].v[0],G[O].o[T-1],G[O].i[0],(E.s-U)/Z,(E.e-U)/Z,I[T-1]),this.addSegmentFromArray($,D,L,Y),Y=!1,D.c=!1)}else D.c=!1;U+=M.addedLength,L+=1}if(D._length&&(D.setXYAt(D.v[V][0],D.v[V][1],"i",V),D.setXYAt(D.v[D._length-1][0],D.v[D._length-1][1],"o",D._length-1)),U>E.e)break;O=this.p.keyframes[this.p.keyframes.length-1].t?(O=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/D,0),T=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/D,0)):(O=this.p.pv,T=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/D,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){O=[],T=[];var O,T,R=this.px,M=this.py;R._caching.lastFrame+R.offsetTime<=R.keyframes[0].t?(O[0]=R.getValueAtTime((R.keyframes[0].t+.01)/D,0),O[1]=M.getValueAtTime((M.keyframes[0].t+.01)/D,0),T[0]=R.getValueAtTime(R.keyframes[0].t/D,0),T[1]=M.getValueAtTime(M.keyframes[0].t/D,0)):R._caching.lastFrame+R.offsetTime>=R.keyframes[R.keyframes.length-1].t?(O[0]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/D,0),O[1]=M.getValueAtTime(M.keyframes[M.keyframes.length-1].t/D,0),T[0]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/D,0),T[1]=M.getValueAtTime((M.keyframes[M.keyframes.length-1].t-.01)/D,0)):(O=[R.pv,M.pv],T[0]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/D,R.offsetTime),T[1]=M.getValueAtTime((M._caching.lastFrame+M.offsetTime-.01)/D,M.offsetTime))}else O=T=S;this.v.rotate(-Math.atan2(O[1]-T[1],O[0]-T[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function O(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function T(){}function R(S){this._addDynamicProperty(S),this.elem.addDynamicProperty(S),this._isDirty=!0}function M(S,E,D){if(this.elem=S,this.frameId=-1,this.propType="transform",this.data=E,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(D||S),E.p&&E.p.s?(this.px=PropertyFactory.getProp(S,E.p.x,0,0,this),this.py=PropertyFactory.getProp(S,E.p.y,0,0,this),E.p.z&&(this.pz=PropertyFactory.getProp(S,E.p.z,0,0,this))):this.p=PropertyFactory.getProp(S,E.p||{k:[0,0,0]},1,0,this),E.rx){if(this.rx=PropertyFactory.getProp(S,E.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(S,E.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(S,E.rz,0,degToRads,this),E.or.k[0].ti){var O,T=E.or.k.length;for(O=0;O=Math.abs(S)}function lerp(S,E,D){return S*(1-D)+E*D}function lerpPoint(S,E,D){return[lerp(S[0],E[0],D),lerp(S[1],E[1],D)]}function quadRoots(S,E,D){if(0===S)return[];var O=E*E-4*S*D;if(O<0)return[];var T=-E/(2*S);if(0===O)return[T];var R=Math.sqrt(O)/(2*S);return[T-R,T+R]}function polynomialCoefficients(S,E,D,O){return[-S+3*E-3*D+O,3*S-6*E+3*D,-3*S+3*E,S]}function singlePoint(S){return new PolynomialBezier(S,S,S,S,!1)}function PolynomialBezier(S,E,D,O,T){T&&pointEqual(S,E)&&(E=lerpPoint(S,O,1/3)),T&&pointEqual(D,O)&&(D=lerpPoint(S,O,2/3));var R=polynomialCoefficients(S[0],E[0],D[0],O[0]),M=polynomialCoefficients(S[1],E[1],D[1],O[1]);this.a=[R[0],M[0]],this.b=[R[1],M[1]],this.c=[R[2],M[2]],this.d=[R[3],M[3]],this.points=[S,E,D,O]}function extrema(S,E){var D=S.points[0][E],O=S.points[S.points.length-1][E];if(D>O){var T=O;O=D,D=T}for(var R=quadRoots(3*S.a[E],2*S.b[E],S.c[E]),M=0;M0&&R[M]<1){var L=S.point(R[M])[E];LO&&(O=L)}return{min:D,max:O}}function intersectData(S,E,D){var O=S.boundingBox();return{cx:O.cx,cy:O.cy,width:O.width,height:O.height,bez:S,t:(E+D)/2,t1:E,t2:D}}function splitData(S){var E=S.bez.split(.5);return[intersectData(E[0],S.t1,S.t),intersectData(E[1],S.t,S.t2)]}function boxIntersect(S,E){return 2*Math.abs(S.cx-E.cx)=R||S.width<=O&&S.height<=O&&E.width<=O&&E.height<=O){T.push([S.t,E.t]);return}var M=splitData(S),L=splitData(E);intersectsImpl(M[0],L[0],D+1,O,T,R),intersectsImpl(M[0],L[1],D+1,O,T,R),intersectsImpl(M[1],L[0],D+1,O,T,R),intersectsImpl(M[1],L[1],D+1,O,T,R)}}function crossProduct(S,E){return[S[1]*E[2]-S[2]*E[1],S[2]*E[0]-S[0]*E[2],S[0]*E[1]-S[1]*E[0]]}function lineIntersection(S,E,D,O){var T=[S[0],S[1],1],R=[E[0],E[1],1],M=[D[0],D[1],1],L=[O[0],O[1],1],I=crossProduct(crossProduct(T,R),crossProduct(M,L));return floatZero(I[2])?null:[I[0]/I[2],I[1]/I[2]]}function polarOffset(S,E,D){return[S[0]+Math.cos(E)*D,S[1]-Math.sin(E)*D]}function pointDistance(S,E){return Math.hypot(S[0]-E[0],S[1]-E[1])}function pointEqual(S,E){return floatEqual(S[0],E[0])&&floatEqual(S[1],E[1])}function ZigZagModifier(){}function setPoint(S,E,D,O,T,R,M){var L=D-Math.PI/2,I=D+Math.PI/2,$=E[0]+Math.cos(D)*O*T,V=E[1]-Math.sin(D)*O*T;S.setTripleAt($,V,$+Math.cos(L)*R,V-Math.sin(L)*R,$+Math.cos(I)*M,V-Math.sin(I)*M,S.length())}function getPerpendicularVector(S,E){var D=[E[0]-S[0],E[1]-S[1]],O=-(.5*Math.PI);return[Math.cos(O)*D[0]-Math.sin(O)*D[1],Math.sin(O)*D[0]+Math.cos(O)*D[1]]}function getProjectingAngle(S,E){var D=0===E?S.length()-1:E-1,O=(E+1)%S.length(),T=getPerpendicularVector(S.v[D],S.v[O]);return Math.atan2(0,1)-Math.atan2(T[1],T[0])}function zigZagCorner(S,E,D,O,T,R,M){var L=getProjectingAngle(E,D),I=E.v[D%E._length],$=E.v[0===D?E._length-1:D-1],V=E.v[(D+1)%E._length],N=2===R?Math.sqrt(Math.pow(I[0]-$[0],2)+Math.pow(I[1]-$[1],2)):0,G=2===R?Math.sqrt(Math.pow(I[0]-V[0],2)+Math.pow(I[1]-V[1],2)):0;setPoint(S,E.v[D%E._length],L,M,O,G/((T+1)*2),N/((T+1)*2),R)}function zigZagSegment(S,E,D,O,T,R){for(var M=0;M1&&E.length>1&&(T=getIntersection(S[0],E[E.length-1])))?[[S[0].split(T[0])[0]],[E[E.length-1].split(T[1])[1]]]:[D,O]}function pruneIntersections(S){for(var E,D=1;D1&&(E=pruneSegmentIntersection(S[S.length-1],S[0]),S[S.length-1]=E[0],S[0]=E[1]),S}function offsetSegmentSplit(S,E){var D,O,T,R,M=S.inflectionPoints();if(0===M.length)return[offsetSegment(S,E)];if(1===M.length||floatEqual(M[1],1))return D=(T=S.split(M[0]))[0],O=T[1],[offsetSegment(D,E),offsetSegment(O,E)];D=(T=S.split(M[0]))[0];var L=(M[1]-M[0])/(1-M[0]);return R=(T=T[1].split(L))[0],O=T[1],[offsetSegment(D,E),offsetSegment(R,E),offsetSegment(O,E)]}function OffsetPathModifier(){}function getFontProperties(S){for(var E=S.fStyle?S.fStyle.split(" "):[],D="normal",O="normal",T=E.length,R=0;R0;)D-=1,this._elements.unshift(E[D]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(S){var E,D=S.length;for(E=0;E0?Math.floor(U):Math.ceil(U),Z=this.pMatrix.props,K=this.rMatrix.props,X=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var Q=0;if(U>0){for(;QY;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),Q-=1;H&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-H,!0),Q-=H)}for(T=1===this.data.m?0:this._currentCopies-1,R=1===this.data.m?1:-1,M=this._currentCopies;M;){if($=(O=(D=this.elemsData[T].it)[D.length-1].transform.mProps.v.props).length,D[D.length-1].transform.mProps._mdf=!0,D[D.length-1].transform.op._mdf=!0,D[D.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(T/(this._currentCopies-1)),0!==Q){for((0!==T&&1===R||T!==this._currentCopies-1&&-1===R)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(K[0],K[1],K[2],K[3],K[4],K[5],K[6],K[7],K[8],K[9],K[10],K[11],K[12],K[13],K[14],K[15]),this.matrix.transform(X[0],X[1],X[2],X[3],X[4],X[5],X[6],X[7],X[8],X[9],X[10],X[11],X[12],X[13],X[14],X[15]),this.matrix.transform(Z[0],Z[1],Z[2],Z[3],Z[4],Z[5],Z[6],Z[7],Z[8],Z[9],Z[10],Z[11],Z[12],Z[13],Z[14],Z[15]),I=0;I<$;I+=1)O[I]=this.matrix.props[I];this.matrix.reset()}else for(this.matrix.reset(),I=0;I<$;I+=1)O[I]=this.matrix.props[I];Q+=1,M-=1,T+=R}}else for(M=this._currentCopies,T=0,R=1;M;)O=(D=this.elemsData[T].it)[D.length-1].transform.mProps.v.props,D[D.length-1].transform.mProps._mdf=!1,D[D.length-1].transform.op._mdf=!1,M-=1,T+=R;return E},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(S,E){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(S,E.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(S,E){var D,O,T,R,M,L,I,$,V,N,G,W,U,H=shapePool.newElement();H.c=S.c;var Y=S._length,Z=0;for(D=0;D0&&O<1?[E]:[]:[E-O,E+O].filter(function(S){return S>0&&S<1})},PolynomialBezier.prototype.split=function(S){if(S<=0)return[singlePoint(this.points[0]),this];if(S>=1)return[this,singlePoint(this.points[this.points.length-1])];var E=lerpPoint(this.points[0],this.points[1],S),D=lerpPoint(this.points[1],this.points[2],S),O=lerpPoint(this.points[2],this.points[3],S),T=lerpPoint(E,D,S),R=lerpPoint(D,O,S),M=lerpPoint(T,R,S);return[new PolynomialBezier(this.points[0],E,T,M,!0),new PolynomialBezier(M,R,O,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var S=this.bounds();return{left:S.x.min,right:S.x.max,top:S.y.min,bottom:S.y.max,width:S.x.max-S.x.min,height:S.y.max-S.y.min,cx:(S.x.max+S.x.min)/2,cy:(S.y.max+S.y.min)/2}},PolynomialBezier.prototype.intersections=function(S,E,D){void 0===E&&(E=2),void 0===D&&(D=7);var O=[];return intersectsImpl(intersectData(this,0,1),intersectData(S,0,1),0,E,O,D),O},PolynomialBezier.shapeSegment=function(S,E){var D=(E+1)%S.length();return new PolynomialBezier(S.v[E],S.o[E],S.i[D],S.v[D],!0)},PolynomialBezier.shapeSegmentInverted=function(S,E){var D=(E+1)%S.length();return new PolynomialBezier(S.v[D],S.i[D],S.o[E],S.v[E],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(S,E){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(S,E.s,0,null,this),this.frequency=PropertyFactory.getProp(S,E.r,0,null,this),this.pointsType=PropertyFactory.getProp(S,E.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(S,E,D,O){var T=S._length,R=shapePool.newElement();if(R.c=S.c,S.c||(T-=1),0===T)return R;var M=-1,L=PolynomialBezier.shapeSegment(S,0);zigZagCorner(R,S,0,E,D,O,M);for(var I=0;I=0;T-=1)M=PolynomialBezier.shapeSegmentInverted(S,T),$.push(offsetSegmentSplit(M,E));$=pruneIntersections($);var V=null,N=null;for(T=0;T<$.length;T+=1){var G=$[T];for(N&&(V=joinLines(L,N,G[0],D,O)),N=G[G.length-1],R=0;R0&&(I=!1),I){var $=createTag("style");$.setAttribute("f-forigin",D[R].fOrigin),$.setAttribute("f-origin",D[R].origin),$.setAttribute("f-family",D[R].fFamily),$.type="text/css",$.innerText="@font-face {font-family: "+D[R].fFamily+"; font-style: normal; src: url('"+D[R].fPath+"');}",E.appendChild($)}}else if("g"===D[R].fOrigin||1===D[R].origin){for(L=0,M=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]');L=55296&&D<=56319){var O=S.charCodeAt(1);O>=56320&&O<=57343&&(E=(D-55296)*1024+O-56320+65536)}return E}function ee(S,E){var D=S.toString(16)+E.toString(16);return -1!==N.indexOf(D)}function et(S){return S===I}function er(S){return S===L}function en(S){var E=J(S);return E>=$&&E<=V}function ei(S){return en(S.substr(0,2))&&en(S.substr(2,2))}function ea(S){return -1!==D.indexOf(S)}function eo(S,E){var D=J(S.substr(E,2));if(D!==O)return!1;var L=0;for(E+=2;L<5;){if((D=J(S.substr(E,2)))M)return!1;L+=1,E+=2}return J(S.substr(E,2))===T}function es(){this.isLoaded=!0}var eu=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};eu.isModifier=ee,eu.isZeroWidthJoiner=et,eu.isFlagEmoji=ei,eu.isRegionalCode=en,eu.isCombinedCharacter=ea,eu.isRegionalFlag=eo,eu.isVariationSelector=er,eu.BLACK_FLAG_CODE_POINT=O;var ec={addChars:Z,addFonts:Y,getCharData:K,getFontByName:Q,measureText:X,checkLoadedFonts:U,setIsLoaded:es};return eu.prototype=ec,eu}();function SlotManager(S){this.animationData=S}function slotFactory(S){return new SlotManager(S)}function RenderableElement(){}SlotManager.prototype.getProp=function(S){return this.animationData.slots&&this.animationData.slots[S.sid]?Object.assign(S,this.animationData.slots[S.sid].p):S},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(S){-1===this.renderableComponents.indexOf(S)&&this.renderableComponents.push(S)},removeRenderableComponent:function(S){-1!==this.renderableComponents.indexOf(S)&&this.renderableComponents.splice(this.renderableComponents.indexOf(S),1)},prepareRenderableFrame:function(S){this.checkLayerLimits(S)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(S){this.data.ip-this.data.st<=S&&this.data.op-this.data.st>S?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var S,E=this.renderableComponents.length;for(S=0;S.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(S){this.audio.rate(S)},AudioElement.prototype.volume=function(S){this._volumeMultiplier=S,this._previousVolume=S*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(S){var E,D,O=this.layers.length;for(this.completeLayers=!0,E=O-1;E>=0;E-=1)!this.elements[E]&&(D=this.layers[E]).ip-D.st<=S-this.layers[E].st&&D.op-D.st>S-this.layers[E].st&&this.buildItem(E),this.completeLayers=!!this.elements[E]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(S){switch(S.ty){case 2:return this.createImage(S);case 0:return this.createComp(S);case 1:return this.createSolid(S);case 3:default:return this.createNull(S);case 4:return this.createShape(S);case 5:return this.createText(S);case 6:return this.createAudio(S);case 13:return this.createCamera(S);case 15:return this.createFootage(S)}},BaseRenderer.prototype.createCamera=function(){throw Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(S){return new AudioElement(S,this.globalData,this)},BaseRenderer.prototype.createFootage=function(S){return new FootageElement(S,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var S,E=this.layers.length;for(S=0;S0&&(this.maskElement.setAttribute("id",I),this.element.maskedElement.setAttribute(V,"url("+getLocationHref()+"#"+I+")"),O.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var S=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:S,localMat:S,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var S,E=this.finalTransform.mat,D=0,O=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;D1&&(R+=" C"+E.o[O-1][0]+","+E.o[O-1][1]+" "+E.i[0][0]+","+E.i[0][1]+" "+E.v[0][0]+","+E.v[0][1]),D.lastPath!==R){var M="";D.elem&&(E.c&&(M=S.inv?this.solidPath+R:R),D.elem.setAttribute("d",M)),D.lastPath=R}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var S={};function E(S,E){var D=createNS("filter");return D.setAttribute("id",S),!0!==E&&(D.setAttribute("filterUnits","objectBoundingBox"),D.setAttribute("x","0%"),D.setAttribute("y","0%"),D.setAttribute("width","100%"),D.setAttribute("height","100%")),D}function D(){var S=createNS("feColorMatrix");return S.setAttribute("type","matrix"),S.setAttribute("color-interpolation-filters","sRGB"),S.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),S}return S.createFilter=E,S.createAlphaToLuminanceFilter=D,S}(),featureSupport=function(){var S={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(S.maskType=!1),/firefox/i.test(navigator.userAgent)&&(S.svgLumaHidden=!1),S}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(S){var E,D,O="SourceGraphic",T=S.data.ef?S.data.ef.length:0,R=createElementID(),M=filtersFactory.createFilter(R,!0),L=0;for(E=0,this.filters=[];E=0&&!this.shapeModifiers[S].processShapes(this._isFirstFrame);S-=1);}},searchProcessedElement:function(S){for(var E=this.processedElements,D=0,O=E.length;D.01)return!1;D+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var S=0,E=this.data.k.k.length;S0;)I=O.transformers[U].mProps._mdf||I,W-=1,U-=1;if(I)for(W=Y-O.styles[V].lvl,U=O.transformers.length-1;W>0;)G.multiply(O.transformers[U].mProps.v),W-=1,U-=1}else G=S;if(M=(N=O.sh.paths)._length,I){for(R=0,L="";R=1?K=.99:K<=-1&&(K=-.99);var X=L*K,Q=Math.cos(Z+E.a.v)*X+V[0],J=Math.sin(Z+E.a.v)*X+V[1];I.setAttribute("fx",Q),I.setAttribute("fy",J),$&&!E.g._collapsable&&(E.of.setAttribute("fx",Q),E.of.setAttribute("fy",J))}}function I(S,E,D){var O=E.style,T=E.d;T&&(T._mdf||D)&&T.dashStr&&(O.pElem.setAttribute("stroke-dasharray",T.dashStr),O.pElem.setAttribute("stroke-dashoffset",T.dashoffset[0])),E.c&&(E.c._mdf||D)&&O.pElem.setAttribute("stroke","rgb("+bmFloor(E.c.v[0])+","+bmFloor(E.c.v[1])+","+bmFloor(E.c.v[2])+")"),(E.o._mdf||D)&&O.pElem.setAttribute("stroke-opacity",E.o.v),(E.w._mdf||D)&&(O.pElem.setAttribute("stroke-width",E.w.v),O.msElem&&O.msElem.setAttribute("stroke-width",E.w.v))}return{createRenderFunction:function(S){switch(S.ty){case"fl":return R;case"gf":return L;case"gs":return M;case"st":return I;case"sh":case"el":case"rc":case"sr":return T;case"tr":return D;case"no":return O;default:return null}}}}();function SVGShapeElement(S,E,D){this.shapes=[],this.shapesData=S.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(S,E,D),this.prevViewData=[]}function LetterProps(S,E,D,O,T,R){this.o=S,this.sw=E,this.sc=D,this.fc=O,this.m=T,this.p=R,this._mdf={o:!0,sw:!!E,sc:!!D,fc:!!O,m:!0,p:!0}}function TextProperty(S,E){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,E.d&&E.d.sid&&(E.d=S.globalData.slotManager.getProp(E.d)),this.data=E,this.elem=S,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var S,E,D,O,T=this.shapes.length,R=this.stylesList.length,M=[],L=!1;for(D=0;D1&&L&&this.setShapesAsAnimated(M)}},SVGShapeElement.prototype.setShapesAsAnimated=function(S){var E,D=S.length;for(E=0;E=0;L-=1){if((G=this.searchProcessedElement(S[L]))?E[L]=D[G-1]:S[L]._render=M,"fl"===S[L].ty||"st"===S[L].ty||"gf"===S[L].ty||"gs"===S[L].ty||"no"===S[L].ty)G?E[L].style.closed=S[L].hd:E[L]=this.createStyleElement(S[L],T),S[L]._render&&E[L].style.pElem.parentNode!==O&&O.appendChild(E[L].style.pElem),H.push(E[L].style);else if("gr"===S[L].ty){if(G)for(I=0,$=E[L].it.length;I<$;I+=1)E[L].prevViewData[I]=E[L].it[I];else E[L]=this.createGroupElement(S[L]);this.searchShapes(S[L].it,E[L].it,E[L].prevViewData,E[L].gr,T+1,W,M),S[L]._render&&E[L].gr.parentNode!==O&&O.appendChild(E[L].gr)}else"tr"===S[L].ty?(G||(E[L]=this.createTransformElement(S[L],O)),V=E[L].transform,W.push(V)):"sh"===S[L].ty||"rc"===S[L].ty||"el"===S[L].ty||"sr"===S[L].ty?(G||(E[L]=this.createShapeElement(S[L],W,T)),this.setElementStyles(E[L])):"tm"===S[L].ty||"rd"===S[L].ty||"ms"===S[L].ty||"pb"===S[L].ty||"zz"===S[L].ty||"op"===S[L].ty?(G?(N=E[L]).closed=!1:((N=ShapeModifiers.getModifier(S[L].ty)).init(this,S[L]),E[L]=N,this.shapeModifiers.push(N)),Y.push(N)):"rp"===S[L].ty&&(G?(N=E[L]).closed=!0:(N=ShapeModifiers.getModifier(S[L].ty),E[L]=N,N.init(this,S,L,E),this.shapeModifiers.push(N),M=!1),Y.push(N));this.addProcessedElement(S[L],L+1)}for(L=0,U=H.length;L1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(S){this.effectsSequence.push(S),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(S){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||S){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var E,D=this.currentData,O=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var T=this.effectsSequence.length,R=S||this.data.d.k[this.keysIndex].s;for(E=0;EE);)D+=1;return this.keysIndex!==D&&(this.keysIndex=D),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(S){for(var E,D,O=[],T=0,R=S.length,M=!1,L=!1,I="";T=55296&&E<=56319?FontManager.isRegionalFlag(S,T)?I=S.substr(T,14):(D=S.charCodeAt(T+1))>=56320&&D<=57343&&(FontManager.isModifier(E,D)?(I=S.substr(T,2),M=!0):I=FontManager.isFlagEmoji(S.substr(T,4))?S.substr(T,4):S.substr(T,2)):E>56319?(D=S.charCodeAt(T+1),FontManager.isVariationSelector(E)&&(M=!0)):FontManager.isZeroWidthJoiner(E)&&(M=!0,L=!0),M?(O[O.length-1]+=I,M=!1):O.push(I),T+=I.length;return O},TextProperty.prototype.completeTextData=function(S){S.__complete=!0;var E=this.elem.globalData.fontManager,D=this.data,O=[],T=0,R=D.m.g,M=0,L=0,I=0,$=[],V=0,N=0,G=E.getFontByName(S.f),W=0,U=getFontProperties(G);S.fWeight=U.weight,S.fStyle=U.style,S.finalSize=S.s,S.finalText=this.buildFinalText(S.t),Z=S.finalText.length,S.finalLineHeight=S.lh;var H=S.tr/1e3*S.finalSize;if(S.sz)for(var Y,Z,K,X,Q,J,ee,et,er,en,ei=!0,ea=S.sz[0],eo=S.sz[1];ei;){en=this.buildFinalText(S.t),er=0,V=0,Z=en.length,H=S.tr/1e3*S.finalSize;var es=-1;for(Y=0;Yea&&" "!==en[Y]?(-1===es?Z+=1:Y=es,er+=S.finalLineHeight||1.2*S.finalSize,en.splice(Y,es===Y?1:0,"\r"),es=-1,V=0):V+=W+H;er+=G.ascent*S.finalSize/100,this.canResize&&S.finalSize>this.minimumFontSize&&eo