1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1838],{94766:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]])},71769:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},81596:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]])},5187:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("CircleDollarSign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]])},65777:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]])},77139:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("FilePen",[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]])},4948:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]])},14938:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},47692:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},89345:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},56439:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]])},58293:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},14970:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]])},76865:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},95805:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},32489:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},60149:function(e,t,n){var r=n(37809),a=n(2265),i=n(99376),o=n(76600),s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function l(e,t){return e.protocol+"//"+e.host+e.pathname+e.search==t.protocol+"//"+t.host+t.pathname+t.search}function u(e,t){return e.protocol+"//"+e.host+e.pathname==t.protocol+"//"+t.host+t.pathname}function c(e,t){if("string"==typeof t&&"data-disable-nprogress"===t){var n=t.substring(5);return e.dataset[n]}var r=e[t];if(r instanceof SVGAnimatedString){var a=r.baseVal;return"href"===t?function(e,t){if(!e.startsWith("/")||!t)return e;var n,r,a,i=(n=e.indexOf("#"),(a=(r=e.indexOf("?"))>-1&&(n<0||r<n))||n>-1?{pathname:e.substring(0,a?r:n),query:a?e.substring(r,n>-1?n:void 0):"",hash:n>-1?e.slice(n):""}:{pathname:e,query:"",hash:""}),o=i.pathname,s=i.query,l=i.hash;return"".concat(t).concat(o).concat(s).concat(l)}(a,location.origin):a}return r}"function"==typeof SuppressedError&&SuppressedError;var h=function(e){var t=e.color,n=e.height,r=e.spinnerPosition;return"\n#nprogress {\n pointer-events: none;\n}\n\n#nprogress .bar {\n background: ".concat(t,";\n\n position: fixed;\n z-index: 99999;\n top: 0;\n left: 0;\n\n width: 100%;\n height: ").concat(n,";\n}\n\n/* Fancy blur effect */\n#nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px ").concat(t,", 0 0 5px ").concat(t,";\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: ").concat("top-right"===r||"top-left"===r?"15px":"auto",";\n bottom: ").concat("bottom-right"===r||"bottom-left"===r?"15px":"auto",";\n right: ").concat("top-right"===r||"bottom-right"===r?"15px":"auto",";\n left: ").concat("top-left"===r||"bottom-left"===r?"15px":"auto",";\n}\n\n#nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: ").concat(t,";\n border-left-color: ").concat(t,";\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n}\n\n.nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress-custom-parent #nprogress .spinner,\n.nprogress-custom-parent #nprogress .bar {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n")},d=a.memo(function(e){var t,n=e.color,o=e.height,s=e.options,d=e.spinnerPosition,f=e.shallowRouting,p=void 0!==f&&f,m=e.disableSameURL,g=void 0===m||m,y=e.startPosition,v=void 0===y?0:y,_=e.delay,b=void 0===_?0:_,P=e.stopDelay,w=void 0===P?0:P,S=e.style,E=e.disableStyle,T=e.nonce,A=e.targetPreprocessor,k=e.disableAnchorClick,x=void 0!==k&&k,R=e.startOnLoad,O=void 0!==R&&R,C=a.createElement("style",{nonce:T},S||h({color:void 0===n?"#0A2FFF":n,height:void 0===o?"2px":o,spinnerPosition:void 0===d?"top-right":d}));r.NProgress.configure(s||{});var L=i.usePathname(),N=i.useSearchParams();a.useEffect(function(){O&&r.NProgress.start(),t&&clearTimeout(t),t=setTimeout(function(){r.NProgress.done()},w)},[L,N]);var M=a.useRef([]);return a.useEffect(function(){if(!x){var e,t=function(){e=setTimeout(function(){v>0&&r.NProgress.set(v),r.NProgress.start()},b)},n=function(){e&&clearTimeout(e),e=setTimeout(function(){r.NProgress.isStarted()&&r.NProgress.done()},w)},a=function(e){if(!e.defaultPrevented){var n,r=e.currentTarget,a=e.target,i=(null==a?void 0:a.getAttribute("data-prevent-nprogress"))==="true"||(null==r?void 0:r.getAttribute("data-prevent-nprogress"))==="true";if(!i)for(var o=a;o&&"a"!==o.tagName.toLowerCase();){if((null===(n=o.parentElement)||void 0===n?void 0:n.getAttribute("data-prevent-nprogress"))==="true"){i=!0;break}o=o.parentElement}if(!i&&"_blank"!==c(r,"target")&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey){var s=c(r,"href"),h=A?A(new URL(s)):new URL(s),d=new URL(location.href);(!(p&&u(h,d))||!g)&&(l(h,d)&&g||t())}}},i=new MutationObserver(function(){var e=Array.from(document.querySelectorAll("a")).filter(function(e){var t=c(e,"href"),n="true"===e.getAttribute("data-disable-nprogress"),r=t&&!t.startsWith("tel:")&&!t.startsWith("mailto:")&&!t.startsWith("blob:")&&!t.startsWith("javascript:");return!n&&r&&"_blank"!==c(e,"target")});e.forEach(function(e){e.addEventListener("click",a,!0)}),M.current=e});i.observe(document,{childList:!0,subtree:!0});var o=window.history.pushState;return window.history.pushState=new Proxy(window.history.pushState,{apply:function(e,t,r){return n(),e.apply(t,r)}}),function(){i.disconnect(),M.current.forEach(function(e){e.removeEventListener("click",a,!0)}),M.current=[],window.history.pushState=o}}},[x,A,p,g]),void 0!==E&&E?null:C},function(e,t){return(null==t?void 0:t.memo)!==!1&&(null==t||!t.shouldCompareComplexProps||(null==e?void 0:e.color)===(null==t?void 0:t.color)&&(null==e?void 0:e.he
1ight)===(null==t?void 0:t.height)&&(null==e?void 0:e.shallowRouting)===(null==t?void 0:t.shallowRouting)&&(null==e?void 0:e.startPosition)===(null==t?void 0:t.startPosition)&&(null==e?void 0:e.delay)===(null==t?void 0:t.delay)&&(null==e?void 0:e.disableSameURL)===(null==t?void 0:t.disableSameURL)&&(null==e?void 0:e.stopDelay)===(null==t?void 0:t.stopDelay)&&(null==e?void 0:e.nonce)===(null==t?void 0:t.nonce)&&JSON.stringify(null==e?void 0:e.options)===JSON.stringify(null==t?void 0:t.options)&&(null==e?void 0:e.style)===(null==t?void 0:t.style)&&e.disableAnchorClick===t.disableAnchorClick)});d.displayName="AppProgressBar",a.memo(function(e){var t=e.color,n=e.height,i=e.options,s=e.spinnerPosition,c=e.shallowRouting,d=void 0!==c&&c,f=e.disableSameURL,p=void 0===f||f,m=e.startPosition,g=void 0===m?0:m,y=e.delay,v=void 0===y?0:y,_=e.stopDelay,b=void 0===_?0:_,P=e.style,w=e.disableStyle,S=e.nonce,E=a.createElement("style",{nonce:S},P||h({color:void 0===t?"#0A2FFF":t,height:void 0===n?"2px":n,spinnerPosition:void 0===s?"top-right":s}));return r.NProgress.configure(i||{}),a.useEffect(function(){var e,t=function(){e=setTimeout(function(){g>0&&r.NProgress.set(g),r.NProgress.start()},v)},n=function(){e&&clearTimeout(e),e=setTimeout(function(){r.NProgress.isStarted()&&r.NProgress.done(!0)},b)},a=function(e){var n=new URL(e,location.href),r=new URL(location.href);(!(d&&u(n,r))||!p)&&(l(n,r)&&p||t())},i=function(){return n()};return o.events.on("routeChangeStart",a),o.events.on("routeChangeComplete",i),o.events.on("routeChangeError",i),function(){o.events.off("routeChangeStart",a),o.events.off("routeChangeComplete",i),o.events.off("routeChangeError",i)}},[]),void 0!==w&&w?null:E},function(e,t){return(null==t?void 0:t.memo)!==!1&&(null==t||!t.shouldCompareComplexProps||(null==e?void 0:e.color)===(null==t?void 0:t.color)&&(null==e?void 0:e.height)===(null==t?void 0:t.height)&&(null==e?void 0:e.shallowRouting)===(null==t?void 0:t.shallowRouting)&&(null==e?void 0:e.startPosition)===(null==t?void 0:t.startPosition)&&(null==e?void 0:e.delay)===(null==t?void 0:t.delay)&&(null==e?void 0:e.disableSameURL)===(null==t?void 0:t.disableSameURL)&&(null==e?void 0:e.stopDelay)===(null==t?void 0:t.stopDelay)&&(null==e?void 0:e.nonce)===(null==t?void 0:t.nonce)&&JSON.stringify(null==e?void 0:e.options)===JSON.stringify(null==t?void 0:t.options)&&(null==e?void 0:e.style)===(null==t?void 0:t.style))}).displayName="PagesProgressBar",t.Cd=function(e){return a.createElement(a.Suspense,null,a.createElement(d,s({},e)))}},76600:function(e,t,n){n.r(t),n.d(t,{default:function(){return a.a}});var r=n(27325),a=n.n(r),i={};for(var o in r)"default"!==o&&(i[o]=(function(e){return r[e]}).bind(0,o));n.d(t,i)},11235:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[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)},71154:function(e,t,n){function r(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return r}}),n(63381),("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)},6680:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createRouteLoader:function(){return m},getClientBuildManifest:function(){return f},isAssetError:function(){return u},markAssetError:function(){return l}}),n(47043),n(96899);let r=n(36390),a=n(63515),i=n(65157);function o(e,t,n){let r,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let i=new Promise(e=>{r=e});return t.set(e,a={resolve:r,future:i}),n?n().then(e=>(r(e),e)).catch(n=>{throw t.delete(e),n}):i}let s=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,s,{})}function u(e){return e&&s in e}let c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),h=()=>(0,i.getDeploymentIdQueryOrEmptyString)();function d(e,t,n){return new Promise((r,i)=>{let o=!1;e.then(e=>{o=!0,r(e)}).catch(i),(0,a.requestIdleCallback)(()=>setTimeout(()=>{o||i(n)},t))})}function f(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):d(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,l(Error("Failed to load client build manifest")))}function p(e,t){return f().then(n=>
1{if(!(t in n))throw l(Error("Failed to lookup route: "+t));let a=n[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,r.__unsafeCreateTrustedScriptURL)(e)+h()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+h())}})}function m(e){let t=new Map,n=new Map,r=new Map,i=new Map;function s(e){{var t;let r=n.get(e.toString());return r||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(n.set(e.toString(),r=new Promise((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),r))}}function u(e){let t=r.get(e);return t||r.set(e,t=fetch(e,{credentials:"same-origin"}).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,n){(n?Promise.resolve().then(()=>n()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(n=>{let r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),i.delete(e))})},loadRoute(n,r){return o(n,i,()=>{let a;return d(p(e,n).then(e=>{let{scripts:r,css:a}=e;return Promise.all([t.has(n)?[]:Promise.all(r.map(s)),Promise.all(a.map(u))])}).then(e=>this.whenEntrypoint(n).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+n))).then(e=>{let{entrypoint:t,styles:n}=e,r=Object.assign({styles:n},t);return"error"in t?t:r}).catch(e=>{if(r)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():p(e,t).then(e=>Promise.all(c?e.scripts.map(e=>{var t,n,r;return t=e.toString(),n="script",new Promise((e,a)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();r=document.createElement("link"),n&&(r.as=n),r.rel="prefetch",r.crossOrigin=void 0,r.onload=e,r.onerror=()=>a(l(Error("Failed to prefetch: "+t))),r.href=t,document.head.appendChild(r)})}):[])).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)},27325:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Router:function(){return i.default},createRouter:function(){return m},default:function(){return f},makePublicRouterInstance:function(){return g},useRouter:function(){return p},withRouter:function(){return l.default}});let r=n(47043),a=r._(n(2265)),i=r._(n(28384)),o=n(25523),s=r._(n(2467)),l=r._(n(36146)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"undefined"!=typeof window&&this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],h=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>i.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>d()[e]})}),h.forEach(e=>{u[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return d()[e](...n)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{i.default.events.on(e,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let a="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[a])try{u[a](...n)}catch(e){console.error("Error when running the Router event: "+a),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let f=u;function p(){let e=a.default.useContext(o.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];
1return u.router=new i.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function g(e){let t={};for(let n of c){if("object"==typeof e[n]){t[n]=Object.assign(Array.isArray(e[n])?[]:{},e[n]);continue}t[n]=e[n]}return t.events=i.default.events,h.forEach(n=>{t[n]=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return e[n](...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)},36390:function(e,t){let n;function r(e){var t;return(null==(t=function(){if(void 0===n&&"undefined"!=typeof window){var e;n=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return n}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return 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)},36146:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),n(47043);let r=n(57437);n(2265);let a=n(27325);function i(e){function t(t){return(0,r.jsx)(e,{router:(0,a.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)},61875:function(e,t){function n(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 n}})},2467:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getProperError:function(){return i}});let r=n(99832);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function i(e){return a(e)?e:Error((0,r.isPlainObject)(e)?JSON.stringify(e):e+"")}},74574:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return n}});class n{static from(e,t){void 0===t&&(t=1e-4);let r=new n(e.length,t);for(let t of e)r.add(t);return r}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let r=function(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),1540483477),t^=t>>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+n)%this.numBits;t.push(r)}return t}constructor(e,t=1e-4){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)}}},43579:function(e,t){function n(e,t){let n;let r=e.split("/");return(t||[]).some(t=>!!r[1]&&r[1].toLowerCase()===t.toLowerCase()&&(n=t,r.splice(1,1),e=r.join("/")||"/",!0)),{pathname:e,detectedLocale:n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}})},99832:function(e,t){function n(e){return Object.prototype.toString.call(e)}function r(e){if("[object Object]"!==n(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getObjectClassLabel:function(){return n},isPlainObject:function(){return r}})},29081:function(e,t){function n(){let e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},8645:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let r=n(86279),a=n(27524);function i(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},27524:function(e,t){function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return n}})},28384:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createKey:function(){return W},default:function(){return Z},matchesMiddleware:function(){return D}});let r=n(47043),a=n(53099),i=n(26674),o=n(6680),s=n(88003),l=a._(n(2467)),u=n(8645),c=n(43579),h=r._(n(29081)),d=n(3987),f=n(38104),p=n(85907);n(72431);let m=n(4199),g=n(9964),y=n(57497);n(11235);let v=n(63381),_=n(55449),b=n(71154),P=n(35076),w=n(1634),S=n(11283),E=n(25246),T=n(61875),A=n(93331),k=n(79114),x=n(75902),R=n(53552),O=n(86146),C=n(17053),L=n(37205),N=n(7092);function M(){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:n}=(0,v.parsePath)(e.asPath),r=(0,S.hasBasePath)(n)?(0,P.removeBasePath)(n):n,a=(0,w.addBasePath)((0,_.addLocale)(r,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}
1function I(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function j(e,t,n){let[r,a]=(0,E.resolveHref)(e,t,!0),i=(0,d.getLocationOrigin)(),o=r.startsWith(i),s=a&&a.startsWith(i);r=I(r),a=a?I(a):a;let l=o?r:(0,w.addBasePath)(r),u=n?I((0,E.resolveHref)(e,n)):a||r;return{url:l,as:s?u:(0,w.addBasePath)(u)}}function U(e,t){let n=(0,i.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some(t=>{if((0,f.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(n))return e=t,!0}),(0,i.removeTrailingSlash)(e))}async function H(e){if(!await D(e)||!e.fetchData)return null;let t=await e.fetchData(),n=await function(e,t,n){let r={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),s=a||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,p.parseRelativeUrl)(s),l=(0,A.getNextPathnameInfo)(t.pathname,{nextConfig:r,parseData:!0}),u=(0,i.removeTrailingSlash)(l.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,o.getClientBuildManifest)()]).then(i=>{let[o,{__rewrites:s}]=i,h=(0,_.addLocale)(l.pathname,l.locale);if((0,f.isDynamicRoute)(h)||!a&&o.includes((0,c.normalizeLocalePath)((0,P.removeBasePath)(h),n.router.locales).pathname)){let n=(0,A.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:r,parseData:!0});h=(0,w.addBasePath)(n.pathname),t.pathname=h}if(!o.includes(u)){let e=U(u,o);e!==u&&(u=e)}let d=o.includes(u)?u:U((0,c.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),n.router.locales).pathname,o);if((0,f.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,g.getRouteRegex)(d))(h);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,v.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,k.formatNextPathnameInfo)({...(0,A.getNextPathnameInfo)(t.pathname,{nextConfig:r,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,v.parsePath)(u),t=(0,k.formatNextPathnameInfo)({...(0,A.getNextPathnameInfo)(e.pathname,{nextConfig:r,parseData:!0}),defaultLocale:n.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:u})}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:n}}let B=Symbol("SSG_DATA_NOT_FOUND");function F(e){try{return JSON.parse(e)}catch(e){return null}}function z(e){let{dataHref:t,inflightCache:n,isPrefetch:r,hasMiddleware:a,isServerRender:i,parseJSON:s,persist
1Cache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:h}=new URL(t,window.location.href),d=e=>{var u;return(function e(t,n,r){return fetch(t,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&n>1&&a.status>=500?e(t,n-1,r):a)})(t,i?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(n=>n.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:n,text:"",json:{},cacheKey:h}:n.text().then(e=>{if(!n.ok){if(a&&[301,302,307,308].includes(n.status))return{dataHref:t,response:n,text:e,json:{},cacheKey:h};if(404===n.status){var r;if(null==(r=F(e))?void 0:r.notFound)return{dataHref:t,json:{notFound:B},response:n,text:e,cacheKey:h}}let s=Error("Failed to load static props");throw i||(0,o.markAssetError)(s),s}return{dataHref:t,json:s?F(e):null,response:n,text:e,cacheKey:h}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[h],e)).catch(e=>{throw c||delete n[h],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,o.markAssetError)(e),e})};return c&&l?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(n[h]=Promise.resolve(e)),e)):void 0!==n[h]?n[h]:n[h]=d(u?{method:"HEAD"}:{})}function W(){return Math.random().toString(36).slice(2,10)}function q(e){let{url:t,router:n}=e;if(t===(0,w.addBasePath)((0,_.addLocale)(n.asPath,n.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let G=e=>{let{route:t,router:n}=e,r=!1,a=n.clc=()=>{r=!0};return()=>{if(r){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}a===n.clc&&(n.clc=null)}};class Z{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n){return void 0===n&&(n={}),{url:e,as:t}=j(this,e,t),this.change("pushState",e,t,n)}replace(e,t,n){return void 0===n&&(n={}),{url:e,as:t}=j(this,e,t),this.change("replaceState",e,t,n)}async _bfl(e,t,n,r){{let l=!1,u=!1;for(let c of[e,t])if(c){let t=(0,i.removeTrailingSlash)(new URL(c,"http://n").pathname),h=(0,w.addBasePath)((0,_.addLocale)(t,n||this.locale));if(t!==(0,i.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var a,o,s;for(let e of(l=l||!!(null==(a=this._bfl_s)?void 0:a.contains(t))||!!(null==(o=this._bfl_s)?void 0:o.contains(h)),[t,h])){let t=e.split("/");for(let e=0;!u&&e<t.length+1;e++){let n=t.slice(0,e).join("/");if(n&&(null==(s=this._bfl_d)?void 0:s.contains(n))){u=!0;break}}}if(l||u){if(r)return!0;return q({url:(0,w.addBasePath)((0,_.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,n,r,a){var u,c,h,E,T,A,k,O,N;let I,H;if(!(0,R.isLocalURL)(t))return q({url:t,router:this}),!1;let F=1===r._h;F||r.shallow||await this._bfl(n,void 0,r.locale);let z=F||r._shouldResolveHref||(0,v.parsePath)(t).pathname===(0,v.parsePath)(n).pathname,W={...this.state},G=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(F||(this.isSsr=!1),F&&this.clc)return!1;let V=W.locale;d.ST&&performance.mark("routeChange");let{shallow:Y=!1,scroll:Q=!0}=r,$={shallow:Y};this._inFlightRoute&&this.clc&&(X||Z.events.emit("routeChangeError",M(),this._inFlightRoute,$),this.clc(),this.clc=null),n=(0,w.addBasePath)((0,_.addLocale)((0,S.hasBasePath)(n)?(0,P.removeBasePath)(n):n,r.locale,this.defaultLocale));let K=(0,b.removeLocale)((0,S.hasBasePath)(n)?(0,P.removeBasePath)(n):n,W.locale);this._inFlightRoute=n;let J=V!==W.locale;if(!F&&this.onlyAHashChange(K)&&!J){W.asPath=K,Z.events.emit("hashChangeStart",n,$),this.changeState(e,t,n,{...r,scroll:!1}),Q&&this.scrollToHash(K);try{await this.set(W,this.components[W.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,K,$),e}return Z.events.emit("hashChangeComplete",n,$),!0}let ee=(0,p.parseRelativeUrl)(t),{pathname:et,query:en}=ee;try{[I,{__rewrites:H}
1]=await Promise.all([this.pageLoader.getPageList(),(0,o.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return q({url:n,router:this}),!1}this.urlIsNew(K)||J||(e="replaceState");let er=n;et=et?(0,i.removeTrailingSlash)((0,P.removeBasePath)(et)):et;let ea=(0,i.removeTrailingSlash)(et),ei=n.startsWith("/")&&(0,p.parseRelativeUrl)(n).pathname;if(null==(u=this.components[et])?void 0:u.__appRouter)return q({url:n,router:this}),new Promise(()=>{});let eo=!!(ei&&ea!==ei&&(!(0,f.isDynamicRoute)(ea)||!(0,m.getRouteMatcher)((0,g.getRouteRegex)(ea))(ei))),es=!r.shallow&&await D({asPath:n,locale:W.locale,router:this});if(F&&es&&(z=!1),z&&"/_error"!==et&&(r._shouldResolveHref=!0,ee.pathname=U(et,I),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,w.addBasePath)(et),es||(t=(0,y.formatWithValidation)(ee)))),!(0,R.isLocalURL)(n))return q({url:n,router:this}),!1;er=(0,b.removeLocale)((0,P.removeBasePath)(er),W.locale),ea=(0,i.removeTrailingSlash)(et);let el=!1;if((0,f.isDynamicRoute)(ea)){let e=(0,p.parseRelativeUrl)(er),r=e.pathname,a=(0,g.getRouteRegex)(ea);el=(0,m.getRouteMatcher)(a)(r);let i=ea===r,o=i?(0,L.interpolateAs)(ea,r,en):{};if(el&&(!i||o.result))i?n=(0,y.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,C.omit)(en,o.params)})):Object.assign(en,el);else{let e=Object.keys(a.groups).filter(e=>!en[e]&&!a.groups[e].optional);if(e.length>0&&!es)throw Error((i?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+r+") is incompatible with the `href` value ("+ea+"). ")+"Read more: https://nextjs.org/docs/messages/"+(i?"href-interpolation-failed":"incompatible-href-as"))}}F||Z.events.emit("routeChangeStart",n,$);let eu="/404"===this.pathname||"/_error"===this.pathname;try{let i=await this.getRouteInfo({route:ea,pathname:et,query:en,as:n,resolvedAs:er,routeProps:$,locale:W.locale,isPreview:W.isPreview,hasMiddleware:es,unstable_skipClientCache:r.unstable_skipClientCache,isQueryUpdating:F&&!this.isFallback,isMiddlewareRewrite:eo});if(F||r.shallow||await this._bfl(n,"resolvedAs"in i?i.resolvedAs:void 0,W.locale),"route"in i&&es){ea=et=i.route||ea,$.shallow||(en=Object.assign({},i.query||{},en));let e=(0,S.hasBasePath)(ee.pathname)?(0,P.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&en[e]===el[e]&&delete en[e]}),(0,f.isDynamicRoute)(et)){let e=!$.shallow&&i.resolvedAs?i.resolvedAs:(0,w.addBasePath)((0,_.addLocale)(new URL(n,location.href).pathname,W.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,P.removeBasePath)(e));let t=(0,g.getRouteRegex)(et),r=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);r&&Object.assign(en,r)}}if("type"in i){if("redirect-internal"===i.type)return this.change(e,i.newUrl,i.newAs,r);return q({url:i.destination,router:this}),new Promise(()=>{})}let o=i.Component;if(o&&o.unstable_scriptLoader&&[].concat(o.unstable_scriptLoader()).forEach(e=>{(0,s.handleClientScriptLoad)(e.props)}),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){r.locale=!1;let t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,p.parseRelativeUrl)(t);n.pathname=U(n.pathname,I);let{url:a,as:i}=j(this,t,t);return this.change(e,a,i,r)}return q({url:t,router:this}),new Promise(()=>{})}if(W.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:en,as:n,resolvedAs:er,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isNotFound:!0}),"type"in i)throw Error("Unexpected middleware effect on /404")}}F&&"/_error"===this.pathname&&(null==(h=self.__NEXT_DATA__.props)?void 0:null==(c=h.pageProps)?void 0:c.statusCode)===500&&(null==(E=i.props)?void 0:E.pageProps)&&(i.props.pageProps.statusCode=500);let u=r.shallow&&W.route===(null!=(T=i.route)?T:ea),d=null!=(A=r.scroll)?A:!F&&!u,y=null!=a?a:d?{x:0,y:0}:null,v={...W,route:ea,pathname:et,query:en,asPath:K,isFallback:!1};if(F&&eu){if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:en,as:n,resolvedAs:er,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isQueryUpdating:F&&!this.isFallback}),"type"in i)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(O=self.__NEXT_DATA__.props)?void 0:null==(k=O.pageProps)?void 0:k.statusCode)===500&&(null==(N=i.props)?void 0:N.pageProps)&&(i.props.pageProps.statusCode=500);try{await this.set(v,i,y)}catch(e){throw(0,l.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,K,$),e}return!0}if(Z.events.emit("beforeHistoryChange",n,$),this.changeState(e,t,n,r),!(F&&!y&&!G&&!J&&(0,x.compareRouterStates)(v,this.state))){try{await this.set(v,i,y)}catch(e){if(e.cancelled)i.error=i.error||e;else throw e}if(i.error)throw F||Z.events.emit("routeChangeError",i.error,K,$),i.error;F||Z.events.emit("routeChangeComplete",n,$),d&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n,r){void 0===r&&(r={}),("pushState"!==e||(0,d.getURL)()!==n)&&(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:W()},"",n))}
1async handleRouteInfoError(e,t,n,r,a,i){if(console.error(e),e.cancelled)throw e;if((0,o.isAssetError)(e)||i)throw Z.events.emit("routeChangeError",e,r,a),q({url:r,router:this}),M();try{let r;let{page:a,styleSheets:i}=await this.fetchComponent("/_error"),o={props:r,Component:a,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(a,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,n,r,a,!0)}}async getRouteInfo(e){let{route:t,pathname:n,query:r,as:a,resolvedAs:o,routeProps:s,locale:u,hasMiddleware:h,isPreview:d,unstable_skipClientCache:f,isQueryUpdating:p,isMiddlewareRewrite:m,isNotFound:g}=e,v=t;try{var _,b,w,S;let e=this.components[v];if(s.shallow&&e&&this.route===v)return e;let t=G({route:v,router:this});h&&(e=void 0);let l=!e||"initial"in e?void 0:e,E={dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:n,query:r}),skipInterpolation:!0,asPath:g?"/404":o,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:f,isBackground:p},A=p&&!m?null:await H({fetchData:()=>z(E),asPath:g?"/404":o,locale:u,router:this}).catch(e=>{if(p)return null;throw e});if(A&&("/_error"===n||"/404"===n)&&(A.effect=void 0),p&&(A?A.json=self.__NEXT_DATA__.props:A={json:self.__NEXT_DATA__.props}),t(),(null==A?void 0:null==(_=A.effect)?void 0:_.type)==="redirect-internal"||(null==A?void 0:null==(b=A.effect)?void 0:b.type)==="redirect-external")return A.effect;if((null==A?void 0:null==(w=A.effect)?void 0:w.type)==="rewrite"){let t=(0,i.removeTrailingSlash)(A.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!p||a.includes(t))&&(v=t,n=A.effect.resolvedHref,r={...r,...A.effect.parsedAs.query},o=(0,P.removeBasePath)((0,c.normalizeLocalePath)(A.effect.parsedAs.pathname,this.locales).pathname),e=this.components[v],s.shallow&&e&&this.route===v&&!h))return{...e,route:v}}if((0,T.isAPIRoute)(v))return q({url:a,router:this}),new Promise(()=>{});let k=l||await this.fetchComponent(v).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),x=null==A?void 0:null==(S=A.response)?void 0:S.headers.get("x-middleware-skip"),R=k.__N_SSG||k.__N_SSP;x&&(null==A?void 0:A.dataHref)&&delete this.sdc[A.dataHref];let{props:O,cacheKey:C}=await this._getData(async()=>{if(R){if((null==A?void 0:A.json)&&!x)return{cacheKey:A.cacheKey,props:A.json};let e=(null==A?void 0:A.dataHref)?A.dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:n,query:r}),asPath:o,locale:u}),t=await z({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:x?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:f});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(k.Component,{pathname:n,query:r,asPath:a,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return k.__N_SSP&&E.dataHref&&C&&delete this.sdc[C],this.isPreview||!k.__N_SSG||p||z(Object.assign({},E,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),O.pageProps=Object.assign({},O.pageProps),k.props=O,k.route=v,k.query=r,k.resolvedAs=o,this.components[v]=k,k}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),n,r,a,s)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,n]=this.asPath.split("#",2),[r,a]=e.split("#",2);return!!a&&t===r&&n===a||t===r&&n!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,N.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),n=document.getElementById(e);if(n){n.scrollIntoView();return}let r=document.getElementsByName(e)[0];r&&r.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,n){if(void 0===t&&(t=e),void 0===n&&(n={}),"undefined"!=typeof window&&(0,O.isBot)(window.navigator.userAgent))return;let r=(0,p.parseRelativeUrl)(e),a=r.pathname,{pathname:o,query:s}
1=r,l=o,u=await this.pageLoader.getPageList(),c=t,h=void 0!==n.locale?n.locale||void 0:this.locale,d=await D({asPath:t,locale:h,router:this});r.pathname=U(r.pathname,u),(0,f.isDynamicRoute)(r.pathname)&&(o=r.pathname,r.pathname=o,Object.assign(s,(0,m.getRouteMatcher)((0,g.getRouteRegex)(r.pathname))((0,v.parsePath)(t).pathname)||{}),d||(e=(0,y.formatWithValidation)(r)));let _=await H({fetchData:()=>z({dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:c,locale:h}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:this});if((null==_?void 0:_.effect.type)==="rewrite"&&(r.pathname=_.effect.resolvedHref,o=_.effect.resolvedHref,s={...s,..._.effect.parsedAs.query},c=_.effect.parsedAs.pathname,e=(0,y.formatWithValidation)(r)),(null==_?void 0:_.effect.type)==="redirect-external")return;let b=(0,i.removeTrailingSlash)(o);await this._bfl(t,c,n.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&z({dataHref:(null==_?void 0:_.json)?null==_?void 0:_.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](b)])}async fetchComponent(e){let t=G({route:e,router:this});try{let n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1,n=()=>{t=!0};return this.clc=n,e().then(e=>{if(n===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:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,d.loadGetInitialProps)(n,{AppTree:r,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,r,{initialProps:a,pageLoader:o,App:s,wrapApp:l,Component:u,err:c,subscription:h,isFallback:m,locale:g,locales:v,defaultLocale:_,domainLocales:b,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=W(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let r=e.state;if(!r){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,y.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),(0,d.getURL)());return}if(r.__NA){window.location.reload();return}if(!r.__N||n&&this.locale===r.options.locale&&r.as===this.asPath)return;let{url:a,as:i,options:o,key:s}=r;this._key=s;let{pathname:l}=(0,p.parseRelativeUrl)(a);(!this.isSsr||i!==(0,w.addBasePath)(this.asPath)||l!==(0,w.addBasePath)(this.pathname))&&(!this._bps||this._bps(r))&&this.change("replaceState",a,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};let S=(0,i.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:u,initial:!0,props:a,err:c,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:s,styleSheets:[]};{let{BloomFilter:e}=n(74574),t={numItems:19,errorRate:1e-4,numBits:365,numHashes:14,bitArray:[0,0,0,0,1,1,1,0,1,0,1,1,0,0,0,1,1,0,0,1,0,1,0,0,1,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,1,1,1,0,1,0,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,1,1,1,1,0,1,1,1,0,0,0,0,1,0,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,1,1,1,1,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,1,1,1,1,0,1,0,0,1,0,0,1,0,1,0,0,0,0,0,1,0,1,1,0,1,0,1,0,1,0,0,0,0,0,1,0,1,0,1,1,0,0,0,0,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,1,1,1,0,1,0,0,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,1,1,1,0,1,1,1,0,0,1,1,0,1,0,0,1,1,1,0,0,1,0,1,0,1,1,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,0,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,1,1,0,0,1,0,1,0,1,1,1,0,0,0,1,1,0,1,0,1,1,0,1,0,0,1,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,1,0,1,0,1,1]}
1,r={numItems:2,errorRate:1e-4,numBits:39,numHashes:14,bitArray:[0,1,1,1,1,1,0,1,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==r?void 0:r.numHashes)&&(this._bfl_d=new e(r.numItems,r.errorRate),this._bfl_d.import(r))}this.events=Z.events,this.pageLoader=o;let E=(0,f.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:E?e:r,isPreview:!!P,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"undefined"!=typeof window){if(!r.startsWith("//")){let n={locale:g},a=(0,d.getURL)();this._initialMatchesMiddlewarePromise=D({router:this,locale:g,asPath:a}).then(i=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",i?a:(0,y.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),a,n),i))}window.addEventListener("popstate",this.onPopState)}}}Z.events=(0,h.default)()},87571:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});let r=n(68498),a=n(10580);function i(e,t,n,i){if(!t||t===n)return e;let o=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(o,"/api")||(0,a.pathHasPrefix)(o,"/"+t.toLowerCase()))?e:(0,r.addPathPrefix)(e,"/"+t)}},99235:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let r=n(63381);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:a,hash:i}=(0,r.parsePath)(e);return""+n+t+a+i}},75902:function(e,t){function n(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){let a=n[r];if("query"===a){let n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){let a=n[r];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 n}})},79114:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let r=n(26674),a=n(68498),i=n(99235),o=n(87571);function s(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.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,i.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},96899:function(e,t){function n(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},93331:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let r=n(43579),a=n(2133),i=n(10580);function o(e,t){var n,o;let{basePath:s,i18n:l,trailingSlash:u}=null!=(n=t.nextConfig)?n:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,i.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,a.removePathPrefix)(c.pathname,s),c.basePath=s);let h=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),n=e[0];c.buildId=n,h="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=h)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,r.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(o=e.pathname)?o:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.anal
1yze(h):(0,r.normalizeLocalePath)(h,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},85907:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let r=n(3987),a=n(48637);function i(e,t){let n=new URL("undefined"==typeof window?"http://n":(0,r.getLocationOrigin)()),i=t?new URL(t,n):e.startsWith(".")?new URL("undefined"==typeof window?"http://n":window.location.href):n,{pathname:o,searchParams:s,search:l,hash:u,href:c,origin:h}=new URL(e,i);if(h!==n.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:o,query:(0,a.searchParamsToUrlQuery)(s),search:l,hash:u,href:c.slice(n.origin.length)}}},2133:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let r=n(10580);function a(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;let n=e.slice(t.length);return n.startsWith("/")?n:"/"+n}},27742:function(e,t,n){n.d(t,{V:function(){return a}});var r=n(99649);function a(e){let t=(0,r.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},43426:function(e,t,n){n.d(t,{Q:function(){return h}});var r=n(63497),a=n(99649);function i(e,t){let n=(0,a.Q)(e),r=(0,a.Q)(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var o=n(78198),s=n(27742),l=n(5654),u=n(55528),c=n(9340);function h(e,t){return function(e,t,n){var r,h,d,f,p,m;let g,y,v;let _=(0,u.j)(),b=null!==(h=null!==(r=null==n?void 0:n.locale)&&void 0!==r?r:_.locale)&&void 0!==h?h:l._,P=i(e,t);if(isNaN(P))throw RangeError("Invalid time value");let w=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:P});P>0?(g=(0,a.Q)(t),y=(0,a.Q)(e)):(g=(0,a.Q)(e),y=(0,a.Q)(t));let S=(d=y,f=g,(m=null==void 0?void 0:(void 0).roundingMethod,e=>{let t=(m?Math[m]:Math.trunc)(e);return 0===t?0:t})((+(0,a.Q)(d)-+(0,a.Q)(f))/1e3)),E=Math.round((S-((0,c.D)(y)-(0,c.D)(g))/1e3)/60);if(E<2){if(null==n?void 0:n.includeSeconds){if(S<5)return b.formatDistance("lessThanXSeconds",5,w);if(S<10)return b.formatDistance("lessThanXSeconds",10,w);if(S<20)return b.formatDistance("lessThanXSeconds",20,w);if(S<40)return b.formatDistance("halfAMinute",0,w);else if(S<60)return b.formatDistance("lessThanXMinutes",1,w);else return b.formatDistance("xMinutes",1,w)}return 0===E?b.formatDistance("lessThanXMinutes",1,w):b.formatDistance("xMinutes",E,w)}if(E<45)return b.formatDistance("xMinutes",E,w);if(E<90)return b.formatDistance("aboutXHours",1,w);if(E<o.H_)return b.formatDistance("aboutXHours",Math.round(E/60),w);if(E<2520)return b.formatDistance("xDays",1,w);if(E<o.fH){let e=Math.round(E/o.H_);return b.formatDistance("xDays",e,w)}if(E<2*o.fH)return v=Math.round(E/o.fH),b.formatDistance("aboutXMonths",v,w);if((v=function(e,t){let n;let r=(0,a.Q)(e),o=(0,a.Q)(t),l=i(r,o),u=Math.abs(function(e,t){let n=(0,a.Q)(e),r=(0,a.Q)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(u<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-l*u);let t=i(r,o)===-l;(function(e){let t=(0,a.Q)(e);return+function(e){let t=(0,a.Q)(e);return t.setHours(23,59,59,999),t}(t)==+(0,s.V)(t)})((0,a.Q)(e))&&1===u&&1===i(e,o)&&(t=!1),n=l*(u-Number(t))}return 0===n?0:n}(y,g))<12){let e=Math.round(E/o.fH);return b.formatDistance("xMonths",e,w)}{let e=v%12,t=Math.trunc(v/12);return e<3?b.formatDistance("aboutXYears",t,w):e<9?b.formatDistance("overXYears",t,w):b.formatDistance("almostXYears",t+1,w)}}(e,(0,r.L)(e,Date.now()),t)}},18848:function(e,t,n){n.d(t,{Z:function(){return en}});let{entries:r,setPrototypeOf:a,isFrozen:i,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:u,create:c}=Object,{apply:h,construct:d}="undefined"!=typeof Reflect&&Reflect;l||(l=function(e){return e}),u||(u=function(e){return e}),h||(h=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return e.apply(t,r)}),d||(d=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});let f=k(Array.prototype.forEach),p=k(Array.prototype.lastIndexOf),m=k(Array.prototype.pop),g=k(Array.prototype.push),y=k(Array.prototype.splice),v=k(String.prototype.toLowerCase),_=k(String.prototype.toString),b=k(String.prototype.match),P=k(String.prototype.replace),w=k(String.prototype.indexOf),S=k(String.prototype.trim),E=k(Object.prototype.hasOwnProperty),T=k(RegExp.prototype.test),A=($=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d($,t)});function k(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return h(e,t,r)}}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;a&&a(e,null);let r=t.length;for(;r--;){let a=t[r];if("string"==typeof a){let e=n(a);e!==a&&(i(t)||(t[r]=e),a=e)}e[a]=!0}return e}function R(e){let t=c(null);for(let[n,a]of r(e))E(e,n)&&(Array.isArray(a)?t[n]=function(e){for(let t=0;t<e.length;t++)E(e,t)||(e[t]=null);return e}(a):a&&"object"==typeof a&&a.constructor===Object?t[n]=R(a):t[n]=a);return t}function O(e,t){for(;null!==e;){let n=s(e,t);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}e=o(e)}return function(){return null}}let C=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),I=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=l(["#text"]),U=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),H=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=u(/<%[\w\W]*|[\w\W]*%>/gm),q=u(/\$\{[\w\W]*/gm),G=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),Z=u(/^aria-[\-\w]+$/),X=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=u(/^(?:\w+script|data):/i),Y=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=u(/^html$/i);var $,K=Object.freeze({__proto__:null,ARIA_ATTR:Z,ATTR_WHITESPACE:Y,CUSTOM_ELEMENT:u(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:G,DOCTYPE_NAME:Q,ERB_EXPR:W,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:V,MUSTACHE_EXPR:z,TMPLIT_EXPR:q});let J={element:1,text:3,progressingInstruction:7,comment:8,document:9},ee=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var en=function e(){let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=t=>e(t);if(a.version="3.3.3",a.removed=[],!n||!n.document||n.document.nodeType!==J.document||!n.Element)return a.isSupported=!1,a;let{document:i}=n,o=i,s=o.currentScript,{DocumentFragment:u,HTMLTemplateElement:h,Node:d,Element:k,NodeFilter:z,NamedNodeMap:W=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:q,DOMParser:G,trustedTypes:Z}=n,V=k.prototype,Y=O(V,"cloneNode"),$=O(V,"remove"),en=O(V,"nextSibling"),er=O(V,"childNodes"),ea=O(V,"parentNode");if("function"==typeof h){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let ei="",{implementation:eo,createNodeIterator:es,createDocumentFragment:el,getElementsByTagName:eu}=i,{importNode:ec}=o,eh=et();a.isSupported="function"==typeof r&&"function"==typeof ea&&eo&&void 0!==eo.createHTMLDocument;let{MUSTACHE_EXPR:ed,ERB_EXPR:ef,TMPLIT_EXPR:ep,DATA_ATTR:em,ARIA_ATTR:eg,IS_SCRIPT_OR_DATA:ey,ATTR_WHITESPACE:ev,CUSTOM_ELEMENT:e_}=K,{IS_ALLOWED_URI:eb}=K,eP=null,ew=x({},[...C,...L,...N,...D,...j]),eS=null,eE=x({},[...U,...H,...B,...F]),eT=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}}
1)),eA=null,ek=null,ex=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eR=!0,eO=!0,eC=!1,eL=!0,eN=!1,eM=!0,eD=!1,eI=!1,ej=!1,eU=!1,eH=!1,eB=!1,eF=!0,ez=!1,eW=!0,eq=!1,eG={},eZ=null,eX=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eV=null,eY=x({},["audio","video","img","source","image","track"]),eQ=null,e$=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eK="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",e0="http://www.w3.org/1999/xhtml",e1=e0,e2=!1,e3=null,e4=x({},[eK,eJ,e0],_),e9=x({},["mi","mo","mn","ms","mtext"]),e5=x({},["annotation-xml"]),e7=x({},["title","style","font","a","script"]),e8=null,e6=["application/xhtml+xml","text/html"],te=null,tt=null,tn=i.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},ta=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tt||tt!==e){if(e&&"object"==typeof e||(e={}),e=R(e),te="application/xhtml+xml"===(e8=-1===e6.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?_:v,eP=E(e,"ALLOWED_TAGS")?x({},e.ALLOWED_TAGS,te):ew,eS=E(e,"ALLOWED_ATTR")?x({},e.ALLOWED_ATTR,te):eE,e3=E(e,"ALLOWED_NAMESPACES")?x({},e.ALLOWED_NAMESPACES,_):e4,eQ=E(e,"ADD_URI_SAFE_ATTR")?x(R(e$),e.ADD_URI_SAFE_ATTR,te):e$,eV=E(e,"ADD_DATA_URI_TAGS")?x(R(eY),e.ADD_DATA_URI_TAGS,te):eY,eZ=E(e,"FORBID_CONTENTS")?x({},e.FORBID_CONTENTS,te):eX,eA=E(e,"FORBID_TAGS")?x({},e.FORBID_TAGS,te):R({}),ek=E(e,"FORBID_ATTR")?x({},e.FORBID_ATTR,te):R({}),eG=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,eR=!1!==e.ALLOW_ARIA_ATTR,eO=!1!==e.ALLOW_DATA_ATTR,eC=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eL=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eN=e.SAFE_FOR_TEMPLATES||!1,eM=!1!==e.SAFE_FOR_XML,eD=e.WHOLE_DOCUMENT||!1,eU=e.RETURN_DOM||!1,eH=e.RETURN_DOM_FRAGMENT||!1,eB=e.RETURN_TRUSTED_TYPE||!1,ej=e.FORCE_BODY||!1,eF=!1!==e.SANITIZE_DOM,ez=e.SANITIZE_NAMED_PROPS||!1,eW=!1!==e.KEEP_CONTENT,eq=e.IN_PLACE||!1,eb=e.ALLOWED_URI_REGEXP||X,e1=e.NAMESPACE||e0,e9=e.MATHML_TEXT_INTEGRATION_POINTS||e9,e5=e.HTML_INTEGRATION_POINTS||e5,eT=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eT.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eT.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eT.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eN&&(eO=!1),eH&&(eU=!0),eG&&(eP=x({},j),eS=c(null),!0===eG.html&&(x(eP,C),x(eS,U)),!0===eG.svg&&(x(eP,L),x(eS,H),x(eS,F)),!0===eG.svgFilters&&(x(eP,N),x(eS,H),x(eS,F)),!0===eG.mathMl&&(x(eP,D),x(eS,B),x(eS,F))),E(e,"ADD_TAGS")||(ex.tagCheck=null),E(e,"ADD_ATTR")||(ex.attributeCheck=null),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?ex.tagCheck=e.ADD_TAGS:(eP===ew&&(eP=R(eP)),x(eP,e.ADD_TAGS,te))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?ex.attributeCheck=e.ADD_ATTR:(eS===eE&&(eS=R(eS)),x(eS,e.ADD_ATTR,te))),e.ADD_URI_SAFE_ATTR&&x(eQ,e.ADD_URI_SAFE_ATTR,te),e.FORBID_CONTENTS&&(eZ===eX&&(eZ=R(eZ)),x(eZ,e.FORBID_CONTENTS,te)),e.ADD_FORBID_CONTENTS&&(eZ===eX&&(eZ=R(eZ)),x(eZ,e.ADD_FORBID_CONTENTS,te)),eW&&(eP["#text"]=!0),eD&&x(eP,["html","head","body"]),eP.table&&(x(eP,["tbody"]),delete eA.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ei=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=ee(Z,s)),null!==t&&"string"==typeof ei&&(ei=t.createHTML(""));l&&l(e),tt=e}},ti=x({},[...L,...N,...M]),to=x({},[...D,...I]),ts=function(e){let t=ea(e);t&&t.tagName||(t={namespaceURI:e1,tagName:"template"});let n=v(e.tagName),r=v(t.tagName);return!!e3[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===e0?"svg"===n:t.namespaceURI===eK?"svg"===n&&("annotation-xml"===r||e9[r]):!!ti[n]:e.namespaceURI===eK?t.namespaceURI===e0?"math"===n:t.namespaceURI===eJ?"math"===n&&e5[r]:!!to[n]:e.namespaceURI===e0?(t.namespaceURI!==eJ||!!e5[r])&&(t.namespaceURI!==eK||!!e9[r])&&!to[n]&&(e7[n]||!ti[n]):"application/xhtml+xml"===e8&&!!e3[e.namespaceURI])},tl=function(e){g(a.removed,{element:e});try{ea(e).removeChild(e)}catch(t){$(e)}},tu=function(e,t){try{g(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e){if(eU||eH)try{tl(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tc=function(e){let n=null,r=null;if(ej)e="<remove></remove>"+e;else{let t=b(e,/^[\r\n\t ]+/);r=t&&t[0]}
1"application/xhtml+xml"===e8&&e1===e0&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let a=t?t.createHTML(e):e;if(e1===e0)try{n=new G().parseFromString(a,e8)}catch(e){}if(!n||!n.documentElement){n=eo.createDocument(e1,"template",null);try{n.documentElement.innerHTML=e2?ei:a}catch(e){}}let o=n.body||n.documentElement;return(e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),e1===e0)?eu.call(n,eD?"html":"body")[0]:eD?n.documentElement:o},th=function(e){return es.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},td=function(e){return e instanceof q&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tf=function(e){return"function"==typeof d&&e instanceof d};function tp(e,t,n){f(e,e=>{e.call(a,t,n,tt)})}let tm=function(e){let t=null;if(tp(eh.beforeSanitizeElements,e,null),td(e))return tl(e),!0;let n=te(e.nodeName);if(tp(eh.uponSanitizeElement,e,{tagName:n,allowedTags:eP}),eM&&e.hasChildNodes()&&!tf(e.firstElementChild)&&T(/<[/\w!]/g,e.innerHTML)&&T(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||eM&&e.nodeType===J.comment&&T(/<[/\w]/g,e.data))return tl(e),!0;if(!(ex.tagCheck instanceof Function&&ex.tagCheck(n))&&(!eP[n]||eA[n])){if(!eA[n]&&ty(n)&&(eT.tagNameCheck instanceof RegExp&&T(eT.tagNameCheck,n)||eT.tagNameCheck instanceof Function&&eT.tagNameCheck(n)))return!1;if(eW&&!eZ[n]){let t=ea(e)||e.parentNode,n=er(e)||e.childNodes;if(n&&t){let r=n.length;for(let a=r-1;a>=0;--a){let r=Y(n[a],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,en(e))}}}return tl(e),!0}return e instanceof k&&!ts(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&T(/<\/no(script|embed|frames)/i,e.innerHTML)?(tl(e),!0):(eN&&e.nodeType===J.text&&(t=e.textContent,f([ed,ef,ep],e=>{t=P(t,e," ")}),e.textContent!==t&&(g(a.removed,{element:e.cloneNode()}),e.textContent=t)),tp(eh.afterSanitizeElements,e,null),!1)},tg=function(e,t,n){if(ek[t]||eF&&("id"===t||"name"===t)&&(n in i||n in tn))return!1;if(eO&&!ek[t]&&T(em,t));else if(eR&&T(eg,t));else if(ex.attributeCheck instanceof Function&&ex.attributeCheck(t,e));else if(!eS[t]||ek[t]){if(!(ty(e)&&(eT.tagNameCheck instanceof RegExp&&T(eT.tagNameCheck,e)||eT.tagNameCheck instanceof Function&&eT.tagNameCheck(e))&&(eT.attributeNameCheck instanceof RegExp&&T(eT.attributeNameCheck,t)||eT.attributeNameCheck instanceof Function&&eT.attributeNameCheck(t,e))||"is"===t&&eT.allowCustomizedBuiltInElements&&(eT.tagNameCheck instanceof RegExp&&T(eT.tagNameCheck,n)||eT.tagNameCheck instanceof Function&&eT.tagNameCheck(n))))return!1}else if(eQ[t]);else if(T(eb,P(n,ev,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(n,"data:")&&eV[e]);else if(eC&&!T(ey,P(n,ev,"")));else if(n)return!1;return!0},ty=function(e){return"annotation-xml"!==e&&b(e,e_)},tv=function(e){tp(eh.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||td(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eS,forceKeepAttr:void 0},i=n.length;for(;i--;){let{name:o,namespaceURI:s,value:l}=n[i],u=te(o),c="value"===o?l:S(l);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,tp(eh.uponSanitizeAttribute,e,r),c=r.attrValue,ez&&("id"===u||"name"===u)&&(tu(o,e),c="user-content-"+c),eM&&T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,c)||"attributename"===u&&b(c,"href")){tu(o,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr||!eL&&T(/\/>/i,c)){tu(o,e);continue}eN&&f([ed,ef,ep],e=>{c=P(c,e," ")});let h=te(e.nodeName);if(!tg(h,u,c)){tu(o,e);continue}if(t&&"object"==typeof Z&&"function"==typeof Z.getAttributeType){if(s);else switch(Z.getAttributeType(h,u)){case"TrustedHTML":c=t.createHTML(c);break;case"TrustedScriptURL":c=t.createScriptURL(c)}}if(c!==l)try{s?e.setAttributeNS(s,o,c):e.setAttribute(o,c),td(e)?tl(e):m(a.removed)}catch(t){tu(o,e)}}tp(eh.afterSanitizeAttributes,e,null)},t_=function e(t){let n=null,r=th(t);for(tp(eh.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)tp(eh.uponSanitizeShadowNode,n,null),tm(n),tv(n),n.content instanceof u&&e(n.content);tp(eh.afterSanitizeShadowDOM,t,null)};return a.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
1,r=null,i=null,s=null,l=null;if((e2=!e)&&(e="<!-->"),"string"!=typeof e&&!tf(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}else throw A("toString is not a function")}if(!a.isSupported)return e;if(eI||ta(n),a.removed=[],"string"==typeof e&&(eq=!1),eq){if(e.nodeName){let t=te(e.nodeName);if(!eP[t]||eA[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)(i=(r=tc("<!---->")).ownerDocument.importNode(e,!0)).nodeType===J.element&&"BODY"===i.nodeName?r=i:"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!eU&&!eN&&!eD&&-1===e.indexOf("<"))return t&&eB?t.createHTML(e):e;if(!(r=tc(e)))return eU?null:eB?ei:""}r&&ej&&tl(r.firstChild);let c=th(eq?e:r);for(;s=c.nextNode();)tm(s),tv(s),s.content instanceof u&&t_(s.content);if(eq)return e;if(eU){if(eH)for(l=el.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(eS.shadowroot||eS.shadowrootmode)&&(l=ec.call(o,l,!0)),l}let h=eD?r.outerHTML:r.innerHTML;return eD&&eP["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&T(Q,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),eN&&f([ed,ef,ep],e=>{h=P(h,e," ")}),t&&eB?t.createHTML(h):h},a.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ta(e),eI=!0},a.clearConfig=function(){tt=null,eI=!1},a.isValidAttribute=function(e,t,n){return tt||ta({}),tg(te(e),te(t),n)},a.addHook=function(e,t){"function"==typeof t&&g(eh[e],t)},a.removeHook=function(e,t){if(void 0!==t){let n=p(eh[e],t);return -1===n?void 0:y(eh[e],n,1)[0]}return m(eh[e])},a.removeHooks=function(e){eh[e]=[]},a.removeAllHooks=function(){eh=et()},a}()},37809:function(e,t,n){function r(e,t,n){return Math.max(t,Math.min(e,n))}function a(e,t){return"rtl"===t?(1-e)*100:(-1+e)*100}function i(e,t,n){if("string"==typeof t)void 0!==n&&(e.style[t]=n);else for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];void 0!==r&&(e.style[n]=r)}}function o(e,t){e.classList.add(t)}function s(e,t){e.classList.remove(t)}function l(e){e&&e.parentNode&&e.parentNode.removeChild(e)}n.r(t),n.d(t,{NProgress:function(){return u}});var u=class{static settings={minimum:.08,maximum:1,template:`<div class="bar" role="bar"><div class="peg"></div></div> 2 <div class="spinner" role="spinner"><div class="spinner-icon"></div></div>`,easing:"linear",positionUsing:"",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",direction:"ltr"};static status=null;static pending=[];static isPaused=!1;static configure(e){return Object.assign(this.settings,e),this}static isStarted(){return"number"==typeof this.status}static set(e){if(this.isPaused)return this;let t=this.isStarted();e=r(e,this.settings.minimum,this.settings.maximum),this.status=e===this.settings.maximum?null:e;let n=this.render(!t),a=this.settings.speed,o=this.settings.easing;return n.forEach(e=>e.offsetWidth),this.queue(t=>{n.forEach(t=>{i(t.querySelector(this.settings.barSelector),this.barPositionCSS({n:e,speed:a,ease:o}))}),e===this.settings.maximum?(n.forEach(e=>{i(e,{transition:"none",opacity:"1"}),e.offsetWidth}),setTimeout(()=>{n.forEach(e=>{i(e,{transition:`all ${a}ms ${o}`,opacity:"0"})}),setTimeout(()=>{n.forEach(e=>{this.remove(e),null===this.settings.template&&i(e,{transition:"none",opacity:"1"})}),t()},a)},a)):setTimeout(t,a)}),this}static start(){this.status||this.set(0);let e=()=>{this.isPaused||setTimeout(()=>{this.status&&(this.trickle(),e())},this.settings.trickleSpeed)};return this.settings.trickle&&e(),this}static done(e){return e||this.status?this.inc(.3+.5*Math.random()).set(1):this}static inc(e){if(this.isPaused)return this;let t=this.status;return t?t>1?this:("number"!=typeof e&&(e=t>=0&&t<.2?.1:t>=.2&&t<.5?.04:t>=.5&&t<.8?.02:t>=.8&&t<.99?.005:0),t=r(t+e,0,.994),this.set(t)):this.start()}static trickle(){return this.isPaused?this:this.inc()}static promise(e){if(!e||"resolved"===e.state())return this;let t=0,n=0;return this.start(),t++,n++,e.always(()=>{0==--n?(t=0,this.done()):this.set((t-n)/t)}),this}static render(e=!1){let t="string"==typeof this.settings.parent?document.querySelector(this.settings.parent):this.settings.parent,n=t?Array.from(t.querySelectorAll(".nprogress")):[];if(null!==this.settings.template&&0===n.length){o(document.documentElement,"nprogress-busy");let e=document.createElement("div");o(e,"nprogress"),e.innerHTML=this.settings.template,t!==document.body&&o(t,"nprogress-custom-parent"),t.appendChild(e),n.push(e)}
2return n.forEach(n=>{null===this.settings.template&&(n.style.display=""),o(document.documentElement,"nprogress-busy"),t!==document.body&&o(t,"nprogress-custom-parent");let r=n.querySelector(this.settings.barSelector),s=e?a(0,this.settings.direction):a(this.status||0,this.settings.direction);if(i(r,this.barPositionCSS({n:this.status||0,speed:this.settings.speed,ease:this.settings.easing,perc:s})),!this.settings.showSpinner){let e=n.querySelector(this.settings.spinnerSelector);e&&l(e)}}),n}static remove(e){e?null===this.settings.template?e.style.display="none":l(e):(s(document.documentElement,"nprogress-busy"),("string"==typeof this.settings.parent?document.querySelectorAll(this.settings.parent):[this.settings.parent]).forEach(e=>{s(e,"nprogress-custom-parent")}),document.querySelectorAll(".nprogress").forEach(e=>{null===this.settings.template?e.style.display="none":l(e)}))}static pause(){return this.isPaused=!0,this}static resume(){return this.isPaused=!1,this}static isRendered(){return document.querySelectorAll(".nprogress").length>0}static getPositioningCSS(){let e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return`${t}Perspective` in e?"translate3d":`${t}Transform` in e?"translate":"margin"}static queue(e){this.pending.push(e),1===this.pending.length&&this.next()}static next(){let e=this.pending.shift();e&&e(this.next.bind(this))}static initPositionUsing(){""===this.settings.positionUsing&&(this.settings.positionUsing=this.getPositioningCSS())}static barPositionCSS({n:e,speed:t,ease:n,perc:r}){this.initPositionUsing();let i={},o=r??a(e,this.settings.direction);return"translate3d"===this.settings.positionUsing?i={transform:`translate3d(${o}%,0,0)`}:"translate"===this.settings.positionUsing?i={transform:`translate(${o}%,0)`}:"width"===this.settings.positionUsing?i={width:`${"rtl"===this.settings.direction?100-o:o+100}%`,..."rtl"===this.settings.direction?{right:"0",left:"auto"}:{}}:"margin"===this.settings.positionUsing&&(i="rtl"===this.settings.direction?{"margin-left":`${-o}%`}:{"margin-right":`${-o}%`}),i.transition=`all ${t}ms ${n}`,i}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.