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}}}},3840:function(e,n,t){e.exports=t(53)}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/main-a01f52e14d9053df.js b/_next/static/chunks/main-a01f52e14d9053df.js
new file mode 100644
index 0000000..572a2fa
--- /dev/null
+++ b/_next/static/chunks/main-a01f52e14d9053df.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{932:function(e,t){"use strict";function r(e,t,r,n,a,o,i){try{var l=e[o](i),s=l.value}catch(u){r(u);return}l.done?t(s):Promise.resolve(s).then(n,a)}t.Z=function(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function l(e){r(i,a,o,l,s,"next",e)}function s(e){r(i,a,o,l,s,"throw",e)}l(void 0)})}}},6495:function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(a[r]=e[r]);return a}},37: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},{})})},3468:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){return a.normalizePathTrailingSlash(n.addPathPrefix(e,"/kasm-apps"))};var n=r(4135),a=r(2700);("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)},4465:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0,r(2700);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(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 r=t.title?t.title[0]:null,o="";if(r){let{children:i}=r.props;o="string"==typeof i?i:Array.isArray(i)?i.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{(function(e,t){let r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]"),i=Number(o.content),l=[];for(let s=0,u=o.previousElementSibling;s{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),d.forEach(e=>r.insertBefore(e,o)),o.content=(i-l.length+d.length).toString()})(e,t[e]||[])})}}},t.isEqualNode=a,t.DOMAttributeNames=void 0;let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:n}=e,a=document.createElement(t);for(let o in n){if(!n.hasOwnProperty(o)||"children"===o||"dangerouslySetInnerHTML"===o||void 0===n[o])continue;let i=r[o]||o.toLowerCase();"script"===t&&("async"===i||"defer"===i||"noModule"===i)?a[i]=!!n[o]:a.setAttribute(i,n[o])}let{children:l,dangerouslySetInnerHTML:s}=n;return s?a.innerHTML=s.__html||"":l&&(a.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):""),a}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}t.DOMAttributeNames=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)},4534:function(e,t,r){"use strict";let n,a,o,i,l,s,u,c,d,f,h,p;Object.defineProperty(t,"__esModule",{value:!0});let m=r(1598).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=function(){return q.apply(this,arguments)},t.hydrate=function(e){return en.apply(this,arguments)},t.emitter=t.router=t.version=void 0;var g=r(932).Z,y=r(6495).Z,v=r(2648).Z;r(1598).Z,r(37);var _=v(r(7294)),P=r(4664),b=v(r(8550)),S=r(2692),w=r(6238),E=r(4919),x=r(6949),j=r(670),O=r(7345),C=v(r(1831)),M=v(r(976)),R=v(r(659)),L=r(8483),A=r(880),T=r(676),I=r(8730),N=r(2813),k=r(928);let D=r(745);t.version="13.0.0",t.router=n;let B=b.default();t.emitter=B;let U=e=>[].slice.call(e),H=!1;self.__next_require__=r;class W extends _.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&"/404"!==a.page&&"/_error"!==a.page&&(a.isFallback||a.nextExport&&(w.isDynamicRoute(n.pathname)||location.search||H)||a.props&&a.props.__N_SSG&&(location.search||H))&&n.replace(n.pathname+"?"+String(E.assign(E.urlQueryToSearchParams(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!H}).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}}function q(){return(q=g(function*(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,p=a.defaultLocale;let e=a.assetPrefix||"";if(r.p="".concat(e,"/_next/"),x.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=j.getURL(),k.hasBasePath(o)&&(o=N.removeBasePath(o)),a.scriptLoader){let{initScriptLoader:t}=r(3573);t(a.scriptLoader)}i=new M.default(a.buildId,e);let u=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(s=C.default()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:e}})).apply(this,arguments)}function F(e,t){return _.default.createElement(e,Object.assign({},t))}function Z(e){let{children:t}=e;return _.default.createElement(W,{fn:e=>G({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e))},_.default.createElement(S.RouterContext.Provider,{value:A.makePublicRouterInstance(n)},_.default.createElement(P.HeadManagerContext.Provider,{value:s},_.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:!1,unoptimized:!0}},t))))}let z=e=>t=>{let r=y({},t,{Component:h,err:a.err,router:n});return _.default.createElement(Z,null,F(e,r))};function G(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==u?void 0:u.Component)===a?Promise.resolve().then(()=>m(r(67))).then(n=>Promise.resolve().then(()=>m(r(4297))).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:s,styleSheets:u}=r,c=z(t),d={Component:s,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:j.loadGetInitialProps(t,d)).then(t=>ee(y({},e,{err:l,Component:s,styleSheets:u,props:t})))})}function V(e){let{callback:t}=e;return _.default.useLayoutEffect(()=>t(),[t]),null}let X=null,$=!0;function K(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(e=>performance.clearMarks(e))}function J(){j.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),f&&performance.getEntriesByName("Next.js-hydration").forEach(f),K())}function Y(){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"),f&&(performance.getEntriesByName("Next.js-render").forEach(f),performance.getEntriesByName("Next.js-route-change-to-render").forEach(f)),K(),["Next.js-route-change-to-render","Next.js-render"].forEach(e=>performance.clearMeasures(e)))}function Q(e){let{callbacks:t,children:r}=e;return _.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),_.default.useEffect(()=>{R.default(f)},[]),r}function ee(e){let t,{App:r,Component:a,props:o,err:i}=e,s="initial"in e?void 0:e.styleSheets;a=a||u.Component,o=o||u.props;let d=y({},o,{Component:a,err:i,router:n});u=d;let f=!1,h=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function p(){t()}!function(){if(!s)return;let e=U(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");s.forEach(e=>{let{href:r,text:a}=e;if(!t.has(r)){let o=document.createElement("style");o.setAttribute("data-n-href",r),o.setAttribute("media","x"),n&&o.setAttribute("nonce",n),document.head.appendChild(o),o.appendChild(document.createTextNode(a))}})}();let m=_.default.createElement(_.default.Fragment,null,_.default.createElement(V,{callback:function(){if(s&&!f){let t=new Set(s.map(e=>e.href)),r=U(document.querySelectorAll("style[data-n-href]")),n=r.map(e=>e.getAttribute("data-n-href"));for(let a=0;a{let{href:t}=e,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(o.parentNode.insertBefore(r,o.nextSibling),o=r)}),U(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let i=document.documentElement,l=i.style.scrollBehavior;i.style.scrollBehavior="auto",window.scrollTo(e.scroll.x,e.scroll.y),i.style.scrollBehavior=l}}}),_.default.createElement(Z,null,F(r,d),_.default.createElement(O.Portal,{type:"next-route-announcer"},_.default.createElement(L.RouteAnnouncer,null))));return!function(e,t){j.ST&&performance.mark("beforeRender");let r=t($?J:Y);if(X){let n=_.default.startTransition;n(()=>{X.render(r)})}else X=D.hydrateRoot(e,r),$=!1}(l,e=>_.default.createElement(Q,{callbacks:[e,p]},_.default.createElement(_.default.StrictMode,null,m))),h}function et(e){return er.apply(this,arguments)}function er(){return(er=g(function*(e){if(e.err){yield G(e);return}try{yield ee(e)}catch(r){let t=T.getProperError(r);if(t.cancelled)throw t;yield G(y({},e,{err:t}))}})).apply(this,arguments)}function en(){return(en=g(function*(e){let r=a.err;try{let l=yield i.routeLoader.whenEntrypoint("/_app");if("error"in l)throw l.error;let{component:s,exports:u}=l;d=s,u&&u.reportWebVitals&&(f=e=>{let t,{id:r,name:n,startTime:a,value:o,duration:i,entryType:l,entries:s,attribution:c}=e,d="".concat(Date.now(),"-").concat(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let f={id:r||d,name:n,startTime:a||t,value:null==o?i:o,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(f.attribution=c),u.reportWebVitals(f)});let c=yield i.routeLoader.whenEntrypoint(a.page);if("error"in c)throw c.error;h=c.component}catch(m){r=T.getProperError(m)}window.__NEXT_PRELOADREADY&&(yield window.__NEXT_PRELOADREADY(a.dynamicIds)),t.router=n=A.createRouter(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:d,Component:h,wrapApp:z,err:r,isFallback:Boolean(a.isFallback),subscription:(e,t,r)=>et(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:p,domainLocales:a.domainLocales,isPreview:a.isPreview}),H=yield n._initialMatchesMiddlewarePromise;let g={App:d,initial:!0,Component:h,props:a.props,err:r};(null==e?void 0:e.beforeRender)&&(yield e.beforeRender()),et(g)})).apply(this,arguments)}("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)},1783:function(e,t,r){"use strict";var n=r(4534);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},n.initialize({}).then(()=>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)},2700:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var n=r(12),a=r(6727);let o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=a.parsePath(e);return/\.[^/]+\/?$/.test(t)?"".concat(n.removeTrailingSlash(t)).concat(r).concat(o):t.endsWith("/")?"".concat(t).concat(r).concat(o):"".concat(t,"/").concat(r).concat(o)};t.normalizePathTrailingSlash=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)},976:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2648).Z,a=r(3468),o=r(1003),i=n(r(7929)),l=r(4465),s=r(6238),u=r(2864),c=r(12),d=r(2497);t.default=class{getPageList(){return d.getClientBuildManifest().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:h}=u.parseRelativeUrl(r),{pathname:p}=u.parseRelativeUrl(t),m=c.removeTrailingSlash(d);if("/"!==m[0])throw Error('Route name should start with a "/", got "'.concat(m,'"'));return(e=>{let t=i.default(c.removeTrailingSlash(l.addLocale(e,n)),".json");return a.addBasePath("/_next/data/".concat(this.buildId).concat(t).concat(h),!0)})(e.skipInterpolation?p:s.isDynamicRoute(m)?o.interpolateAs(d,p,f).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=d.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)},659:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let a=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let o=!1;function i(e){n&&n(e)}var l=e=>{if(n=e,!o)for(let t of(o=!0,a))try{let l;l||(l=r(8018)),l["on".concat(t)](i)}catch(s){console.warn("Failed to track ".concat(t," web-vital"),s)}};t.default=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)},7345:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var n=r(7294),a=r(3935);let o=e=>{let{children:t,type:r}=e,[o,i]=n.useState(null);return n.useEffect(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),o?a.createPortal(t,o):null};t.Portal=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)},2813:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBasePath=function(e){return(e=e.slice(10)).startsWith("/")||(e="/".concat(e)),e},r(928),("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)},6876:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLocale=function(e,t){return e},r(6727),("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)},4686:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};t.requestIdleCallback=r;let n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=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)},8483:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteAnnouncer=void 0;var n=(0,r(2648).Z)(r(7294)),a=r(880);let o={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i=()=>{let{asPath:e}=a.useRouter(),[t,r]=n.default.useState(""),i=n.default.useRef(e);return n.default.useEffect(()=>{if(i.current!==e){if(i.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]),n.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:o},t)};t.RouteAnnouncer=i,t.default=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)},2497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=s,t.isAssetError=function(e){return e&&l in e},t.getClientBuildManifest=c,t.createRouteLoader=function(e){let t=new Map,r=new Map,n=new Map,l=new Map;function c(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(s(Error("Failed to load script: ".concat(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: ".concat(e));return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw s(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),l.delete(e))})},loadRoute(r,n){return o(r,l,()=>{let a;return u(d(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(c)),Promise.all(a.map(f))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,s(Error("Route did not complete loading: ".concat(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(i?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^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(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,n.href=t,document.head.appendChild(n)})}):[])).then(()=>{a.requestIdleCallback(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}},(0,r(2648).Z)(r(7929));var n=r(5407),a=r(4686);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=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}(),l=Symbol("ASSET_LOAD_ERROR");function s(e){return Object.defineProperty(e,l,{})}function u(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),a.requestIdleCallback(()=>setTimeout(()=>{i||o(r)},t))})}function c(){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 u(e,3800,s(Error("Failed to load client build manifest")))}function d(e,t){return c().then(r=>{if(!(t in r))throw s(Error("Failed to lookup route: ".concat(t)));let a=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>n.__unsafeCreateTrustedScriptURL(e)),css:a.filter(e=>e.endsWith(".css"))}})}("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)},880:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return s.default}}),t.useRouter=function(){return a.default.useContext(i.RouterContext)},t.createRouter=function(){for(var e=arguments.length,t=Array(e),r=0;re()),u.readyCallbacks=[],u.router},t.makePublicRouterInstance=function(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,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;ao.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get(){let t=f();return t[e]}})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n{let t=e.id||e.getAttribute("src");h.add(t)})}()},t.default=void 0;var n=r(6495).Z,a=r(2648).Z,o=r(1598).Z,i=r(7273).Z,l=a(r(3935)),s=o(r(7294)),u=r(4664),c=r(1831),d=r(4686);let f=new Map,h=new Set,p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:s}=e,u=r||t;if(u&&h.has(u))return;if(f.has(t)){h.add(u),f.get(t).then(n,s);return}let d=()=>{a&&a(),h.add(u)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),d()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[y,v]of(o?(m.innerHTML=o.__html||"",d()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",d()):t&&(m.src=t,f.set(t,g)),Object.entries(e))){if(void 0===v||p.includes(y))continue;let _=c.DOMAttributeNames[y]||y.toLowerCase();m.setAttribute(_,v)}"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),document.body.appendChild(m)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{d.requestIdleCallback(()=>m(e))}):m(e)}function y(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:f}=e,p=i(e,["id","src","onLoad","onReady","strategy","onError"]),{updateScripts:g,scripts:y,getIsSsr:v,appDir:_,nonce:P}=s.useContext(u.HeadManagerContext),b=s.useRef(!1);s.useEffect(()=>{let e=t||r;b.current||(o&&e&&h.has(e)&&o(),b.current=!0)},[o,t,r]);let S=s.useRef(!1);if(s.useEffect(()=>{!S.current&&("afterInteractive"===c?m(e):"lazyOnload"===c&&("complete"===document.readyState?d.requestIdleCallback(()=>m(e)):window.addEventListener("load",()=>{d.requestIdleCallback(()=>m(e))})),S.current=!0)},[e,c]),("beforeInteractive"===c||"worker"===c)&&(g?(y[c]=(y[c]||[]).concat([n({id:t,src:r,onLoad:a,onReady:o,onError:f},p)]),g(y)):v&&v()?h.add(t||r):v&&!v()&&m(e)),_){if("beforeInteractive"===c)return r?(l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"}),s.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([r]),")")}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),s.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([0,n({},p)]),")")}}));"afterInteractive"===c&&r&&l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"})}return null}Object.defineProperty(y,"__nextScript",{value:!0}),t.default=y,("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)},5407:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.__unsafeCreateTrustedScriptURL=function(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},("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)},9977:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t){return n.default.createElement(e,Object.assign({router:a.useRouter()},t))}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t};var n=(0,r(2648).Z)(r(7294)),a=r(880);("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)},4297:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(932).Z,o=(0,r(2648).Z)(r(7294)),i=r(670);function l(e){return s.apply(this,arguments)}function s(){return(s=a(function*(e){let{Component:t,ctx:r}=e,n=yield i.loadGetInitialProps(t,r);return{pageProps:n}})).apply(this,arguments)}class u extends(n=o.default.Component){render(){let{Component:e,pageProps:t}=this.props;return o.default.createElement(e,Object.assign({},t))}}u.origGetInitialProps=l,u.getInitialProps=l,t.default=u},67:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(2648).Z,o=a(r(7294)),i=a(r(3121));let l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left",lineHeight:"49px",height:"49px",verticalAlign:"middle"},h1:{display:"inline-block",margin:0,marginRight:"20px",padding:"0 23px 0 0",fontSize:"24px",fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:"14px",fontWeight:"normal",lineHeight:"49px",margin:0,padding:0}};class c extends(n=o.default.Component){render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||l[e]||"An unexpected error has occurred";return o.default.createElement("div",{style:u.error},o.default.createElement(i.default,null,o.default.createElement("title",null,e?"".concat(e,": ").concat(r):"Application error: a client-side exception has occurred")),o.default.createElement("div",null,o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"\n body { margin: 0; color: #000; background: #fff; }\n .next-error-h1 {\n border-right: 1px solid rgba(0, 0, 0, .3);\n }\n\n ".concat(t?"@media (prefers-color-scheme: dark) {\n body { color: #fff; background: #000; }\n .next-error-h1 {\n border-right: 1px solid rgba(255, 255, 255, .3);\n }\n }":"")}}),e?o.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,o.default.createElement("div",{style:u.desc},o.default.createElement("h2",{style:u.h2},this.props.title||e?r:o.default.createElement(o.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}c.displayName="ErrorPage",c.getInitialProps=s,c.origGetInitialProps=s,t.default=c},610:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var n=(0,r(2648).Z)(r(7294));let a=n.default.createContext({});t.AmpStateContext=a},532:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){let{ampFirst:e=!1,hybrid:t=!1,hasQuery:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e||t&&r}},8659:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){return r.test(e)?e.replace(n,"\\$&"):e};let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},4664:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var n=(0,r(2648).Z)(r(7294));let a=n.default.createContext({});t.HeadManagerContext=a},3121:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=c,t.default=void 0;var n=r(6495).Z,a=r(2648).Z,o=(0,r(1598).Z)(r(7294)),i=a(r(1436)),l=r(610),s=r(4664),u=r(532);function c(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(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(670);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).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 l=a.key.slice(a.key.indexOf("$")+1);e.has(l)?o=!1:e.add(l)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let s=0,u=f.length;s{let a=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 i=n({},e.props||{});return i["data-href"]=i.href,i.href=void 0,i["data-optimized-fonts"]=!0,o.default.cloneElement(e,i)}return o.default.cloneElement(e,{key:a})})}var p=function(e){let{children:t}=e,r=o.useContext(l.AmpStateContext),n=o.useContext(s.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:h,headManager:n,inAmpMode:u.isInAmpMode(r)},t)};t.default=p,("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)},4769:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(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}}},8730:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageConfigContext=void 0;var n=(0,r(2648).Z)(r(7294)),a=r(139);let o=n.default.createContext(a.imageConfigDefault);t.ImageConfigContext=o},139:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageConfigDefault=t.VALID_LOADERS=void 0,t.VALID_LOADERS=["default","imgix","cloudinary","akamai","custom"],t.imageConfigDefault={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;",remotePatterns:[],unoptimized:!1}},2849:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectClassLabel=r,t.isPlainObject=function(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},8550:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){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)})}}}},6301:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalizePagePath=function(e){let t=a.normalizePathSep(e);return t.startsWith("/index/")&&!n.isDynamicRoute(t)?t.slice(6):"/index"!==t?t:"/"};var n=r(8588),a=r(9997)},9997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=function(e){return e.replace(/\\/g,"/")}},2692:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var n=(0,r(2648).Z)(r(7294));let a=n.default.createContext(null);t.RouterContext=a},1003:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchesMiddleware=T,t.isLocalURL=D,t.interpolateAs=B,t.resolveHref=U,t.createKey=V,t.default=void 0;var n=r(932).Z,a=r(6495).Z,o=r(2648).Z,i=r(1598).Z,l=r(2700),s=r(12),u=r(2497),c=r(3573),d=i(r(676)),f=r(6301),h=r(4769),p=o(r(8550)),m=r(670),g=r(6238),y=r(2864),v=r(4919);o(r(2431));var _=r(3156),P=r(4903),b=r(7795);r(4643);var S=r(6727),w=r(4465),E=r(6876),x=r(2813),j=r(3468),O=r(928),C=r(8756),M=r(7429),R=r(9002),L=r(1754);function A(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}function T(e){return I.apply(this,arguments)}function I(){return(I=n(function*(e){let t=yield Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=S.parsePath(e.asPath),n=O.hasBasePath(r)?x.removeBasePath(r):r,a=j.addBasePath(w.addLocale(n,e.locale));return t.some(e=>RegExp(e.regexp).test(a))})).apply(this,arguments)}function N(e){let t=m.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function k(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function D(e){if(!m.isAbsoluteUrl(e))return!0;try{let t=m.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&O.hasBasePath(r.pathname)}catch(n){return!1}}function B(e,t,r){let n="",a=P.getRouteRegex(e),o=a.groups,i=(t!==e?_.getRouteMatcher(a)(t):"")||r;n=e;let l=Object.keys(o);return l.every(e=>{let t=i[e]||"",{repeat:r,optional:a}=o[e],l="[".concat(r?"...":"").concat(e,"]");return a&&(l="".concat(t?"":"/","[").concat(l,"]")),r&&!Array.isArray(t)&&(t=[t]),(a||e in i)&&(n=n.replace(l,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(n=""),{params:l,result:n}}function U(e,t,r){let n;let a="string"==typeof t?t:b.formatWithValidation(t),o=a.match(/^[a-zA-Z]{1,}:\/\//),i=o?a.slice(o[0].length):a,s=i.split("?");if((s[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(a,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));let u=m.normalizeRepeatedSlashes(i);a=(o?o[0]:"")+u}if(!D(a))return r?[a]:a;try{n=new URL(a.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(c){n=new URL("/","http://n")}try{let d=new URL(a,n);d.pathname=l.normalizePathTrailingSlash(d.pathname);let f="";if(g.isDynamicRoute(d.pathname)&&d.searchParams&&r){let h=v.searchParamsToUrlQuery(d.searchParams),{result:p,params:y}=B(d.pathname,d.pathname,h);p&&(f=b.formatWithValidation({pathname:p,hash:d.hash,query:k(h,y)}))}let _=d.origin===n.origin?d.href.slice(d.origin.length):d.href;return r?[_,f||_]:_}catch(P){return r?[a]:a}}function H(e,t,r){let[n,a]=U(e,t,!0),o=m.getLocationOrigin(),i=n.startsWith(o),l=a&&a.startsWith(o);n=N(n),a=a?N(a):a;let s=i?n:j.addBasePath(n),u=r?N(U(e,r)):a||n;return{url:s,as:l?u:j.addBasePath(u)}}function W(e,t){let r=s.removeTrailingSlash(f.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if(g.isDynamicRoute(t)&&P.getRouteRegex(t).re.test(r))return e=t,!0}),s.removeTrailingSlash(e))}let q=Symbol("SSG_DATA_NOT_FOUND"),F={};function Z(e){let t=document.documentElement,r=t.style.scrollBehavior;t.style.scrollBehavior="auto",e(),t.style.scrollBehavior=r}function z(e){try{return JSON.parse(e)}catch(t){return null}}function G(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:i,parseJSON:l,persistCache:s,isBackground:c,unstable_skipClientCache:d}=e,{href:f}=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,i?3:1,{headers:a?{purpose:"prefetch"}:{},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:f}: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:f};if(!o&&404===t.status){var n;if(null==(n=z(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:q},response:t,text:e,cacheKey:f}}let a=Error("Failed to load static props");throw i||u.markAssetError(a),a}return{dataHref:r,json:l?z(e):null,response:t,text:e,cacheKey:f}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e)).catch(e=>{throw delete n[f],e});return d&&s?h({}).then(e=>(n[f]=Promise.resolve(e),e)):void 0!==n[f]?n[f]:n[f]=h(c?{method:"HEAD"}:{})}function V(){return Math.random().toString(36).slice(2,10)}function X(e){let{url:t,router:r}=e;if(t===j.addBasePath(w.addLocale(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}let $=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0},o=()=>{if(n){let e=Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)};return o};class K{reload(){window.location.reload()}back(){window.history.back()}push(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,r)}replace(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,r)}change(e,t,r,o,i){var l=this;return n(function*(){let n,f;if(!D(t))return X({url:t,router:l}),!1;let h=o._h,p=h||o._shouldResolveHref||S.parsePath(t).pathname===S.parsePath(r).pathname,v=a({},l.state),C=!0!==l.isReady;l.isReady=!0;let M=l.isSsr;if(h||(l.isSsr=!1),h&&l.clc)return!1;let L=v.locale;m.ST&&performance.mark("routeChange");let{shallow:I=!1,scroll:N=!0}=o,U={shallow:I};l._inFlightRoute&&l.clc&&(M||K.events.emit("routeChangeError",A(),l._inFlightRoute,U),l.clc(),l.clc=null),r=j.addBasePath(w.addLocale(O.hasBasePath(r)?x.removeBasePath(r):r,o.locale,l.defaultLocale));let F=E.removeLocale(O.hasBasePath(r)?x.removeBasePath(r):r,v.locale);l._inFlightRoute=r;let Z=L!==v.locale;if(!h&&l.onlyAHashChange(F)&&!Z){v.asPath=F,K.events.emit("hashChangeStart",r,U),l.changeState(e,t,r,a({},o,{scroll:!1})),N&&l.scrollToHash(F);try{yield l.set(v,l.components[v.route],null)}catch(z){throw d.default(z)&&z.cancelled&&K.events.emit("routeChangeError",z,F,U),z}return K.events.emit("hashChangeComplete",r,U),!0}let G=y.parseRelativeUrl(t),{pathname:V,query:$}=G;try{[n,{__rewrites:f}]=yield Promise.all([l.pageLoader.getPageList(),u.getClientBuildManifest(),l.pageLoader.getMiddleware()])}catch(J){return X({url:r,router:l}),!1}l.urlIsNew(F)||Z||(e="replaceState");let Y=r;V=V?s.removeTrailingSlash(x.removeBasePath(V)):V;let Q=yield T({asPath:r,locale:v.locale,router:l});if(o.shallow&&Q&&(V=l.pathname),h&&Q&&(p=!1),p&&"/_error"!==V&&(o._shouldResolveHref=!0,G.pathname=W(V,n),G.pathname===V||(V=G.pathname,G.pathname=j.addBasePath(V),Q||(t=b.formatWithValidation(G)))),!D(r))return X({url:r,router:l}),!1;Y=E.removeLocale(x.removeBasePath(Y),v.locale);let ee=s.removeTrailingSlash(V),et=!1;if(g.isDynamicRoute(ee)){let er=y.parseRelativeUrl(Y),en=er.pathname,ea=P.getRouteRegex(ee);et=_.getRouteMatcher(ea)(en);let eo=ee===en,ei=eo?B(ee,en,$):{};if(et&&(!eo||ei.result))eo?r=b.formatWithValidation(Object.assign({},er,{pathname:ei.result,query:k($,ei.params)})):Object.assign($,et);else{let el=Object.keys(ea.groups).filter(e=>!$[e]);if(el.length>0&&!Q)throw Error((eo?"The provided `href` (".concat(t,") value is missing query values (").concat(el.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(en,") is incompatible with the `href` value (").concat(ee,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(eo?"href-interpolation-failed":"incompatible-href-as"))}}h||K.events.emit("routeChangeStart",r,U);try{var es,eu,ec,ed;let ef=yield l.getRouteInfo({route:ee,pathname:V,query:$,as:r,resolvedAs:Y,routeProps:U,locale:v.locale,isPreview:v.isPreview,hasMiddleware:Q,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:h&&!l.isFallback});if("route"in ef&&Q){ee=V=ef.route||ee,U.shallow||($=Object.assign({},ef.query||{},$));let eh=O.hasBasePath(G.pathname)?x.removeBasePath(G.pathname):G.pathname;if(et&&V!==eh&&Object.keys(et).forEach(e=>{et&&$[e]===et[e]&&delete $[e]}),g.isDynamicRoute(V)){let ep=!U.shallow&&ef.resolvedAs?ef.resolvedAs:j.addBasePath(w.addLocale(new URL(r,location.href).pathname,v.locale),!0),em=ep;O.hasBasePath(em)&&(em=x.removeBasePath(em));let eg=P.getRouteRegex(V),ey=_.getRouteMatcher(eg)(new URL(em,location.href).pathname);ey&&Object.assign($,ey)}}if("type"in ef){if("redirect-internal"===ef.type)return l.change(e,ef.newUrl,ef.newAs,o);return X({url:ef.destination,router:l}),new Promise(()=>{})}let{error:ev,props:e_,__N_SSG:eP,__N_SSP:eb}=ef,eS=ef.Component;if(eS&&eS.unstable_scriptLoader){let ew=[].concat(eS.unstable_scriptLoader());ew.forEach(e=>{c.handleClientScriptLoad(e.props)})}if((eP||eb)&&e_){if(e_.pageProps&&e_.pageProps.__N_REDIRECT){o.locale=!1;let eE=e_.pageProps.__N_REDIRECT;if(eE.startsWith("/")&&!1!==e_.pageProps.__N_REDIRECT_BASE_PATH){let ex=y.parseRelativeUrl(eE);ex.pathname=W(ex.pathname,n);let{url:ej,as:eO}=H(l,eE,eE);return l.change(e,ej,eO,o)}return X({url:eE,router:l}),new Promise(()=>{})}if(v.isPreview=!!e_.__N_PREVIEW,e_.notFound===q){let eC;try{yield l.fetchComponent("/404"),eC="/404"}catch(eM){eC="/_error"}if(ef=yield l.getRouteInfo({route:eC,pathname:eC,query:$,as:r,resolvedAs:Y,routeProps:{shallow:!1},locale:v.locale,isPreview:v.isPreview}),"type"in ef)throw Error("Unexpected middleware effect on /404")}}K.events.emit("beforeHistoryChange",r,U),l.changeState(e,t,r,o),h&&"/_error"===V&&(null==(es=self.__NEXT_DATA__.props)?void 0:null==(eu=es.pageProps)?void 0:eu.statusCode)===500&&(null==e_?void 0:e_.pageProps)&&(e_.pageProps.statusCode=500);let eR=o.shallow&&v.route===(null!=(ec=ef.route)?ec:ee),eL=null!=(ed=o.scroll)?ed:!o._h&&!eR,eA=a({},v,{route:ee,pathname:V,query:$,asPath:F,isFallback:!1}),eT=null!=i?i:eL?{x:0,y:0}:null,eI=o._h&&!eT&&!C&&!Z&&R.compareRouterStates(eA,l.state);if(!eI){if(yield l.set(eA,ef,eT).catch(e=>{if(e.cancelled)ev=ev||e;else throw e}),ev)throw h||K.events.emit("routeChangeError",ev,F,U),ev;h||K.events.emit("routeChangeComplete",r,U),eL&&/#.+$/.test(r)&&l.scrollToHash(r)}return!0}catch(eN){if(d.default(eN)&&eN.cancelled)return!1;throw eN}})()}changeState(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};("pushState"!==e||m.getURL()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:V()},"",r))}handleRouteInfoError(e,t,r,a,o,i){var l=this;return n(function*(){if(console.error(e),e.cancelled)throw e;if(u.isAssetError(e)||i)throw K.events.emit("routeChangeError",e,a,o),X({url:a,router:l}),A();try{let n;let{page:s,styleSheets:c}=yield l.fetchComponent("/_error"),f={props:n,Component:s,styleSheets:c,err:e,error:e};if(!f.props)try{f.props=yield l.getInitialProps(s,{err:e,pathname:t,query:r})}catch(h){console.error("Error in error page `getInitialProps`: ",h),f.props={}}return f}catch(p){return l.handleRouteInfoError(d.default(p)?p:Error(p+""),t,r,a,o,!0)}})()}getRouteInfo(e){let{route:t,pathname:r,query:o,as:i,resolvedAs:l,routeProps:c,locale:f,hasMiddleware:p,isPreview:m,unstable_skipClientCache:v,isQueryUpdating:E}=e;var O=this;return n(function*(){let e=t;try{var R,L,A,I;let N=$({route:e,router:O}),k=O.components[e];if(c.shallow&&k&&O.route===e)return k;p&&(k=void 0);let D=!k||"initial"in k?void 0:k,B={dataHref:O.pageLoader.getDataHref({href:b.formatWithValidation({pathname:r,query:o}),skipInterpolation:!0,asPath:l,locale:f}),hasMiddleware:!0,isServerRender:O.isSsr,parseJSON:!0,inflightCache:O.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:v,isBackground:E},U=E?{}:yield(I={fetchData:()=>G(B),asPath:l,locale:f,router:O},T(I).then(e=>e&&I.fetchData?I.fetchData().then(e=>(function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!0)},o=t.headers.get("x-nextjs-rewrite"),i=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||i||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(i=l),i){if(i.startsWith("/")){let c=y.parseRelativeUrl(i),d=C.getNextPathnameInfo(c.pathname,{nextConfig:n,parseData:!0}),f=s.removeTrailingSlash(d.pathname);return Promise.all([r.router.pageLoader.getPageList(),u.getClientBuildManifest()]).then(t=>{let[n,{__rewrites:a}]=t,i=w.addLocale(d.pathname,d.locale);if(g.isDynamicRoute(i)||!o&&n.includes(h.normalizeLocalePath(x.removeBasePath(i),r.router.locales).pathname)){let l=C.getNextPathnameInfo(y.parseRelativeUrl(e).pathname,{parseData:!0});i=j.addBasePath(l.pathname),c.pathname=i}if(!n.includes(f)){let s=W(f,n);s!==f&&(f=s)}let u=n.includes(f)?f:W(h.normalizeLocalePath(x.removeBasePath(c.pathname),r.router.locales).pathname,n);if(g.isDynamicRoute(u)){let p=_.getRouteMatcher(P.getRouteRegex(u))(i);Object.assign(c.query,p||{})}return{type:"rewrite",parsedAs:c,resolvedHref:u}})}let p=S.parsePath(e),m=M.formatNextPathnameInfo(a({},C.getNextPathnameInfo(p.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(m).concat(p.query).concat(p.hash)})}let v=t.headers.get("x-nextjs-redirect");if(v){if(v.startsWith("/")){let b=S.parsePath(v),E=M.formatNextPathnameInfo(a({},C.getNextPathnameInfo(b.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:"".concat(E).concat(b.query).concat(b.hash),newUrl:"".concat(E).concat(b.query).concat(b.hash)})}return Promise.resolve({type:"redirect-external",destination:v})}return Promise.resolve({type:"next"})})(e.dataHref,e.response,I).then(t=>({dataHref:e.dataHref,cacheKey:e.cacheKey,json:e.json,response:e.response,text:e.text,effect:t}))).catch(e=>null):null));if(E&&U&&(U.json=self.__NEXT_DATA__.props),N(),(null==U?void 0:null==(R=U.effect)?void 0:R.type)==="redirect-internal"||(null==U?void 0:null==(L=U.effect)?void 0:L.type)==="redirect-external")return U.effect;if((null==U?void 0:null==(A=U.effect)?void 0:A.type)==="rewrite"&&(e=s.removeTrailingSlash(U.effect.resolvedHref),r=U.effect.resolvedHref,o=a({},o,U.effect.parsedAs.query),l=x.removeBasePath(h.normalizeLocalePath(U.effect.parsedAs.pathname,O.locales).pathname),k=O.components[e],c.shallow&&k&&O.route===e&&!p))return a({},k,{route:e});if("/api"===e||e.startsWith("/api/"))return X({url:i,router:O}),new Promise(()=>{});let H=D||(yield O.fetchComponent(e).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}))),q=H.__N_SSG||H.__N_SSP,{props:Z,cacheKey:z}=yield O._getData(n(function*(){if(q){let{json:e,cacheKey:t}=(null==U?void 0:U.json)?U:yield G({dataHref:O.pageLoader.getDataHref({href:b.formatWithValidation({pathname:r,query:o}),asPath:l,locale:f}),isServerRender:O.isSsr,parseJSON:!0,inflightCache:O.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:v});return{cacheKey:t,props:e||{}}}return{headers:{},cacheKey:"",props:yield O.getInitialProps(H.Component,{pathname:r,query:o,asPath:i,locale:f,locales:O.locales,defaultLocale:O.defaultLocale})}}));return H.__N_SSP&&B.dataHref&&delete O.sdc[z],O.isPreview||!H.__N_SSG||E||G(Object.assign({},B,{isBackground:!0,persistCache:!1,inflightCache:F})).catch(()=>{}),Z.pageProps=Object.assign({},Z.pageProps),H.props=Z,H.route=e,H.query=o,H.resolvedAs=l,O.components[e]=H,H}catch(V){return O.handleRouteInfoError(d.getProperError(V),r,o,i,c)}})()}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){Z(()=>window.scrollTo(0,0));return}let r=decodeURIComponent(t),n=document.getElementById(r);if(n){Z(()=>n.scrollIntoView());return}let a=document.getElementsByName(r)[0];a&&Z(()=>a.scrollIntoView())}urlIsNew(e){return this.asPath!==e}prefetch(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var a=this;return n(function*(){if(L.isBot(window.navigator.userAgent))return;let n=y.parseRelativeUrl(e),{pathname:o,query:i}=n,l=yield a.pageLoader.getPageList(),u=void 0!==r.locale?r.locale||void 0:a.locale;n.pathname=W(n.pathname,l),g.isDynamicRoute(n.pathname)&&(o=n.pathname,n.pathname=o,Object.assign(i,_.getRouteMatcher(P.getRouteRegex(n.pathname))(S.parsePath(t).pathname)||{}),e=b.formatWithValidation(n));let c=s.removeTrailingSlash(o);yield Promise.all([a.pageLoader._isSsg(c).then(n=>!!n&&G({dataHref:a.pageLoader.getDataHref({href:e,asPath:t,locale:u}),isServerRender:!1,parseJSON:!0,inflightCache:a.sdc,persistCache:!a.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1)),a.pageLoader[r.priority?"loadPage":"prefetch"](c)])})()}fetchComponent(e){var t=this;return n(function*(){let r=$({route:e,router:t});try{let n=yield t.pageLoader.loadPage(e);return r(),n}catch(a){throw r(),a}})()}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let n=Error("Loading initial props cancelled");throw n.cancelled=!0,n}return e})}_getFlightData(e){return G({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,m.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,r,{initialProps:n,pageLoader:a,App:o,wrapApp:i,Component:l,err:u,subscription:c,isFallback:d,locale:f,locales:h,defaultLocale:p,domainLocales:v,isPreview:_}){this.sdc={},this.isFirstPopStateEvent=!0,this._key=V(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:a,query:o}=this;this.changeState("replaceState",b.formatWithValidation({pathname:j.addBasePath(a),query:o}),m.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:i,as:l,options:s,key:u}=n;this._key=u;let{pathname:c}=y.parseRelativeUrl(i);(!this.isSsr||l!==j.addBasePath(this.asPath)||c!==j.addBasePath(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",i,l,Object.assign({},s,{shallow:s.shallow&&this._shallow,locale:s.locale||this.defaultLocale,_h:0}),t)};let P=s.removeTrailingSlash(e);this.components={},"/_error"!==e&&(this.components[P]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=K.events,this.pageLoader=a;let S=g.isDynamicRoute(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="/kasm-apps",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search),this.state={route:P,pathname:e,query:t,asPath:S?e:r,isPreview:!!_,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let w={locale:f},E=m.getURL();this._initialMatchesMiddlewarePromise=T({router:this,locale:f,asPath:E}).then(n=>(w._shouldResolveHref=r!==e,this.changeState("replaceState",n?E:b.formatWithValidation({pathname:j.addBasePath(e),query:t}),E,w),n))}window.addEventListener("popstate",this.onPopState)}}K.events=p.default(),t.default=K},4441:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){return t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api"))?n.addPathPrefix(e,"/".concat(t)):e};var n=r(4135),a=r(3210)},4135:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(t).concat(r).concat(a).concat(o)};var n=r(6727)},6074:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(r).concat(t).concat(a).concat(o)};var n=r(6727)},9002:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(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 o=Object.keys(e.query);if(o.length!==Object.keys(t.query).length)return!1;for(let i=o.length;i--;){let l=o[i];if(!t.query.hasOwnProperty(l)||e.query[l]!==t.query[l])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},7429:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){let t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=n.removeTrailingSlash(t)),e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json")),t=a.addPathPrefix(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(12),a=r(4135),o=r(6074),i=r(4441)},7795:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){return o(e)},t.urlObjectKeys=void 0;var n=(0,r(1598).Z)(r(4919));let a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?".concat(s)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(o).concat(u).concat(i).concat(c).concat(l)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},7929:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},8756:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r;let{basePath:i,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},u={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};if(i&&o.pathHasPrefix(u.pathname,i)&&(u.pathname=a.removePathPrefix(u.pathname,i),u.basePath=i),!0===t.parseData&&u.pathname.startsWith("/_next/data/")&&u.pathname.endsWith(".json")){let c=u.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),d=c[0];u.pathname="index"!==c[1]?"/".concat(c.slice(1).join("/")):"/",u.buildId=d}if(l){let f=n.normalizeLocalePath(u.pathname,l.locales);u.locale=null==f?void 0:f.detectedLocale,u.pathname=(null==f?void 0:f.pathname)||u.pathname}return u};var n=r(4769),a=r(2650),o=r(3210)},8588:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var n=r(566),a=r(6238)},1754:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBot=function(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)}},6238:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};let r=/\/\[[^/]+?\](?=\/|$)/},6727:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(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:""}}},2864:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){let r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:s,hash:u,href:c,origin:d}=new URL(e,o);if(d!==r.origin)throw Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:i,query:a.searchParamsToUrlQuery(l),search:s,hash:u,href:c.slice(r.origin.length)}};var n=r(670),a=r(4919)},3210:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!=typeof e)return!1;let{pathname:r}=n.parsePath(e);return r===t||r.startsWith(t+"/")};var n=r(6727)},4919:function(e,t){"use strict";function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(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},t.urlQueryToSearchParams=function(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,a]=e;Array.isArray(a)?a.forEach(e=>t.append(n,r(e))):t.set(n,r(a))}),t},t.assign=function(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}},2650:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePathPrefix=function(e,t){if(n.pathHasPrefix(e,t)){let r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}return e};var n=r(3210)},12:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},3156:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){let{re:t,groups:r}=e;return e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(t){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}};var n=r(670)},4903:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=s,t.getNamedRouteRegex=function(e){let t=u(e);return n({},s(e),{namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$"),routeKeys:t.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/".concat(n?".*":"","$")};let{namedParameterizedRoute:a}=u(e);return{namedRegex:"^".concat(a).concat(n?"(?:(/.*)?)":"","$")}};var n=r(6495).Z,a=r(8659),o=r(12);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=o.removeTrailingSlash(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:o,repeat:l}=i(e.slice(1,-1));return r[t]={pos:n++,repeat:l,optional:o},l?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^".concat(t,"(?:/)?$")),groups:r}}function u(e){let t,r;let n=o.removeTrailingSlash(e).slice(1).split("/"),l=(t=97,r=1,()=>{let e="";for(let n=0;n122&&(r++,t=97);return e}),s={};return{namedParameterizedRoute:n.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:r,repeat:n}=i(e.slice(1,-1)),o=t.replace(/\W/g,""),u=!1;return(0===o.length||o.length>30)&&(u=!0),isNaN(parseInt(o.slice(0,1)))||(u=!0),u&&(o=l()),s[o]=t,n?r?"(?:/(?<".concat(o,">.+?))?"):"/(?<".concat(o,">.+?)"):"/(?<".concat(o,">[^/]+?)")}}).join(""),routeKeys:s}}},566:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()};class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",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("".concat(e).concat(t,"/"))).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))),!this.placeholder){let n="/"===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 ("'.concat(n,'" and "').concat(n,"[[...").concat(this.optionalRestSlugName,']]").'));r.unshift(n)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(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 o=a.slice(1,-1),i=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),i=!0),o.startsWith("...")&&(o=o.substring(3),n=!0),o.startsWith("[")||o.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('".concat(o,"')."));if(o.startsWith("."))throw Error("Segment names may not start with erroneous periods ('".concat(o,"')."));function l(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(r,"')."));t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'.concat(r,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'.concat(e,'" and "').concat(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 ("[...'.concat(this.restSlugName,']" and "').concat(e[0],'" ).'));l(this.optionalRestSlugName,o),this.optionalRestSlugName=o,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(e[0],'").'));l(this.restSlugName,o),this.restSlugName=o,a="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'.concat(e[0],'").'));l(this.slugName,o),this.slugName=o,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}}},6949:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0,t.default=()=>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)},1436:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),l()}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=l),()=>{t&&(t._pendingUpdate=l)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null};var n=(0,r(1598).Z)(r(7294));let a=!1,o=a?()=>{}:n.useLayoutEffect,i=a?()=>{}:n.useEffect},670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(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"".concat(e,"//").concat(t).concat(r?":"+r:"")}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function u(e,t){return c.apply(this,arguments)}function c(){return(c=n(function*(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:yield u(t.Component,t.ctx)}:{};let n=yield e.getInitialProps(t);if(r&&s(r))return n;if(!n){let a='"'.concat(l(e),'.getInitialProps()" should resolve to an object. But found "').concat(n,'" instead.');throw Error(a)}return n})).apply(this,arguments)}t.isAbsoluteUrl=o;let d=e=>{},f="undefined"!=typeof performance;t.SP=f;let h=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);t.ST=h,t.DecodeError=class extends Error{},t.NormalizeError=class extends Error{},t.PageNotFoundError=class extends Error{constructor(e){super(),this.code="ENOENT",this.message="Cannot find module for page: ".concat(e)}},t.MissingStaticPage=class extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: ".concat(e," ").concat(t)}},t.MiddlewareNotFoundError=class extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}},t.warnOnce=d},8018:function(e){var t,r,n,a,o,i,l,s,u,c,d,f,h,p,m,g,y,v,_,P,b,S,w,E,x,j,O,C,M,R,L,A,T,I,N,k,D,B,U,H,W,q,F,Z,z,G;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return w},getFCP:function(){return P},getFID:function(){return R},getINP:function(){return q},getLCP:function(){return Z},getTTFB:function(){return G},onCLS:function(){return w},onFCP:function(){return P},onFID:function(){return R},onINP:function(){return q},onLCP:function(){return Z},onTTFB:function(){return G}}),s=-1,u=function(e){addEventListener("pageshow",function(t){t.persisted&&(s=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=c();return e&&e.activationStart||0},f=function(e,t){var r=c(),n="navigate";return s>=0?n="back-forward-cache":r&&(n=document.prerendering||d()>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(a){}},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},v=function(){p(function(e){g=e.timeStamp},!0)},_=function(){return g<0&&(g=y(),v(),u(function(){setTimeout(function(){g=y(),v()},0)})),{get firstHiddenTime(){return g}}},P=function(e,t){t=t||{};var r,n=[1800,3e3],a=_(),o=f("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(s&&s.disconnect(),e.startTime-1&&e(t)},o=f("CLS",0),i=0,l=[],s=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",s);c&&(n=m(a,o,r,t.reportAllChanges),p(function(){s(c.takeRecords()),n(!0)}),u(function(){i=0,S=-1,n=m(a,o=f("CLS",0),r,t.reportAllChanges)}))},E={passive:!0,capture:!0},x=new Date,j=function(e,t){n||(n=t,a=e,o=new Date,M(removeEventListener),O())},O=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,E),removeEventListener("pointercancel",r,E)},addEventListener("pointerup",t,E),addEventListener("pointercancel",r,E)):j(a,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,C,E)})},R=function(e,t){t=t||{};var r,o=[100,300],l=_(),s=f("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]};H[n.id]=n,U.push(n)}U.sort(function(e,t){return t.latency-e.latency}),U.splice(10).forEach(function(e){delete H[e.id]})}},q=function(e,t){t=t||{};var r=[200,500];k();var n,a=f("INP"),o=function(e){e.forEach(function(e){e.interactionId&&W(e),"first-input"!==e.entryType||U.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||W(e)});var t=U[Math.min(U.length-1,Math.floor(B()/50))];t&&t.latency!==a.value&&(a.value=t.latency,a.entries=t.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)}),u(function(){U=[],D=N(),n=m(e,a=f("INP"),r,t.reportAllChanges)}))},F={},Z=function(e,t){t=t||{};var r,n=[2500,4e3],a=_(),o=f("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-d();nperformance.now())return;n.entries=[o],a(!0),u(function(){(a=m(e,n=f("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){return a(e)?e:Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(2849);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}},2431:function(){}},function(e){e.O(0,[774],function(){return e(e.s=1783)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/_app-28b884be4cfbf041.js b/_next/static/chunks/pages/_app-28b884be4cfbf041.js
new file mode 100644
index 0000000..ca2a06e
--- /dev/null
+++ b/_next/static/chunks/pages/_app-28b884be4cfbf041.js
@@ -0,0 +1,5 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{4184:function(e,t){var n; /*!
+ Copyright (c) 2018 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+*/ !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{});let o=r&&void 0!==r.locale?r.locale:e&&e.locale;d[t+"%"+n+(o?"%"+o:"")]=!0}let y=i.default.forwardRef(function(e,t){let n,r;let{href:y,as:v,children:m,prefetch:b,passHref:x,replace:g,shallow:E,scroll:O,locale:j,onClick:C,onMouseEnter:_,onTouchStart:N,legacyBehavior:w=!0!==Boolean(!0)}=e,R=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=m,w&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let S=!1!==b,L=i.default.useContext(u.RouterContext),T=i.default.useContext(l.AppRouterContext);T&&(L=T);let{href:P,as:k}=i.default.useMemo(()=>{let[e,t]=s.resolveHref(L,y,!0);return{href:e,as:v?s.resolveHref(L,v):t||e}},[L,y,v]),M=i.default.useRef(P),A=i.default.useRef(k);w&&(r=i.default.Children.only(n));let D=w?r&&"object"==typeof r&&r.ref:t,[H,I,U]=c.useIntersection({rootMargin:"200px"}),V=i.default.useCallback(e=>{(A.current!==k||M.current!==P)&&(U(),A.current=k,M.current=P),H(e),D&&("function"==typeof D?D(e):"object"==typeof D&&(D.current=e))},[k,D,P,U,H]);i.default.useEffect(()=>{let e=I&&S&&s.isLocalURL(P),t=void 0!==j?j:L&&L.locale,n=d[P+"%"+k+(t?"%"+t:"")];e&&!n&&h(L,P,k,{locale:t})},[k,P,I,j,S,L]);let q={ref:V,onClick(e){w||"function"!=typeof C||C(e),w&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,a,u,l,c,f){let{nodeName:p}=e.currentTarget,d="A"===p.toUpperCase();if(d&&(function(e){let{target:t}=e.currentTarget;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!s.isLocalURL(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:l,scroll:u}):t[o?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};c?i.default.startTransition(h):h()}(e,L,P,k,g,E,O,j,Boolean(T),S)},onMouseEnter(e){w||"function"!=typeof _||_(e),w&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),!(!S&&T)&&s.isLocalURL(P)&&h(L,P,k,{priority:!0})},onTouchStart(e){w||"function"!=typeof N||N(e),w&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),!(!S&&T)&&s.isLocalURL(P)&&h(L,P,k,{priority:!0})}};if(!w||x||"a"===r.type&&!("href"in r.props)){let F=void 0!==j?j:L&&L.locale,Z=L&&L.isLocaleDomain&&f.getDomainLocale(k,F,L.locales,L.domainLocales);q.href=Z||p.addBasePath(a.addLocale(k,F,L&&L.defaultLocale))}return w?i.default.cloneElement(r,q):i.default.createElement("a",Object.assign({},R,q),n)});t.default=y,("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)},9246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:u}=e,l=u||!i,[c,f]=r.useState(!1),[p,d]=r.useState(null);r.useEffect(()=>{if(i){if(!l&&!c&&p&&p.tagName){let e=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=s.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},a.push(n),s.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),s.delete(r);let t=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);t>-1&&a.splice(t,1)}}}(p,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!c){let r=o.requestIdleCallback(()=>f(!0));return()=>o.cancelIdleCallback(r)}},[p,l,n,t,c]);let h=r.useCallback(()=>{f(!1)},[]);return[d,c,h]};var r=n(7294),o=n(4686);let i="function"==typeof IntersectionObserver,s=new Map,a=[];("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)},8245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(2648).Z)(n(7294));let o=r.default.createContext(null);t.AppRouterContext=o;let i=r.default.createContext(null);t.LayoutRouterContext=i;let s=r.default.createContext(null);t.GlobalLayoutRouterContext=s;let a=r.default.createContext(null);t.TemplateContext=a},8805:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(5893);n(6774);var o=function(){return(0,r.jsxs)("ul",{className:"bg-bubbles",children:[(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{}),(0,r.jsx)("li",{})]})},i=n(1664),s=n.n(i),a=n(1163),u=n(4379);function l(e){let{searchText:t,changeSearch:n}=e,i=()=>{var e=document.createElement("textarea");e.innerText=l,document.body.appendChild(e),e.select(),document.execCommand("copy"),e.remove(),u.fn.info("URL successfully copied to clipboard","Copy URL",4e3)},l="https://registry.kasmweb.com/list.json",c=(0,a.useRouter)();return(0,r.jsxs)("header",{className:"relative font-light overflow-hidden bg-gradient-to-tr from-slate-900 to-cyan-800 p-8 xl:px-32 text-white gap-5 md:gap-0 flex flex-wrap justify-center items-center",children:[(0,r.jsx)(o,{}),(0,r.jsxs)("div",{className:"relative z-10",children:[(0,r.jsx)("div",{className:"text-3xl",children:"Kasm Technologies"}),(0,r.jsxs)("div",{className:"text-sm uppercase w-full flex justify-between",children:[(0,r.jsx)("span",{className:"opacity-70",children:"A"}),(0,r.jsx)("span",{className:"opacity-70",children:"p"}),(0,r.jsx)("span",{className:"opacity-70",children:"p"}),(0,r.jsx)("span",{className:"opacity-70",children:"l"}),(0,r.jsx)("span",{className:"opacity-70",children:"i"}),(0,r.jsx)("span",{className:"opacity-70",children:"c"}),(0,r.jsx)("span",{className:"opacity-70",children:"a"}),(0,r.jsx)("span",{className:"opacity-70",children:"t"}),(0,r.jsx)("span",{className:"opacity-70",children:"i"}),(0,r.jsx)("span",{className:"opacity-70",children:"o"}),(0,r.jsx)("span",{className:"opacity-70",children:"n"}),(0,r.jsx)("span",{children:"\xa0"}),(0,r.jsx)("span",{className:"opacity-40",children:"D"}),(0,r.jsx)("span",{className:"opacity-40",children:"a"}),(0,r.jsx)("span",{className:"opacity-40",children:"t"}),(0,r.jsx)("span",{className:"opacity-40",children:"a"}),(0,r.jsx)("span",{className:"opacity-40",children:"b"}),(0,r.jsx)("span",{className:"opacity-40",children:"a"}),(0,r.jsx)("span",{className:"opacity-40",children:"s"}),(0,r.jsx)("span",{className:"opacity-40",children:"e"})]})]}),(0,r.jsxs)("nav",{className:"relative z-10 mx-12",children:[(0,r.jsx)(s(),{href:"/",className:"p-4 inline-block rounded-full border border-solid"+("/"==c.pathname?" border-white/30":" border-transparent"),children:"Library"}),(0,r.jsx)(s(),{href:"/addapp",className:"p-4 inline-block rounded-full border border-solid"+(c.pathname.startsWith("/addapp")?" bg-black/10 border-white/30":" border-transparent"),children:"Add App"})]}),(0,r.jsx)("div",{className:"grow flex justify-center relative z-10",children:(0,r.jsx)("div",{className:"bg-black/10 shadow border border-1 border-white/30 rounded flex w-full max-w-md",children:(0,r.jsx)("input",{name:"search",className:"bg-transparent shadow-inner text-lg font-light w-full p-4 placeholder:text-white/40",placeholder:"Search for application",type:"text",value:t,onChange:n})})}),(0,r.jsxs)("button",{className:"p-4 relative z-10 px-5 bg-cyan-700 border-t border-white/20 border-solid hover:bg-slate-900 transition shadow-lg m-2 rounded items-center text-white/70 flex cursor-pointer",onClick(){i()},children:[(0,r.jsx)("span",{className:"mr-3",children:"App Registry Link"}),(0,r.jsx)("svg",{style:{height:"14px",fill:"#fff"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,r.jsx)("path",{d:"M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"})})]})]})}function c(){return(0,r.jsx)("footer",{})}function f(e){let{children:t,searchText:n,changeSearch:o}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l,{searchText:n,changeSearch:o}),(0,r.jsx)("main",{children:t}),(0,r.jsx)(c,{}),(0,r.jsx)(u.mh,{})]})}n(144);var p=n(7294),d=function(e){let{Component:t,pageProps:n}=e,[o,i]=(0,p.useState)(""),s=e=>{i(e.target.value)};return(0,r.jsx)(f,{searchText:o,changeSearch:s,children:(0,r.jsx)(t,{searchText:o,...n})})}},5293:function(e){!function(){"use strict";var t={864:function(e){var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise(function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}y(e,t,i,{once:!0}),"error"!==t&&"function"==typeof e.on&&y(e,"error",o,{once:!0})})},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){if(a(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=u(e))>0&&s.length>o&&!s.warned){s.warned=!0;var o,i,s,l=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=c.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=Array(e.length),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else for(var l=u.length,c=h(u,l),n=0;n=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},s=!0;try{t[e](i,i.exports,r),s=!1}finally{s&&delete n[e]}return i.exports}r.ab="//";var o=r(864);e.exports=o}()},144:function(){},6774:function(){},1664:function(e,t,n){e.exports=n(1551)},1163:function(e,t,n){e.exports=n(880)},2703:function(e,t,n){"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9230:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(7294)),i=a(n(5697)),s=a(n(4184));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},9611:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(880)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/_error-8353112a01355ec2.js b/_next/static/chunks/pages/_error-8353112a01355ec2.js
new file mode 100644
index 0000000..95ac1db
--- /dev/null
+++ b/_next/static/chunks/pages/_error-8353112a01355ec2.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{1981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(67)}])}},function(n){n.O(0,[774,888,179],function(){return n(n.s=1981)}),_N_E=n.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/addapp/[[...app]]-60c9cedc56d2e877.js b/_next/static/chunks/pages/addapp/[[...app]]-60c9cedc56d2e877.js
new file mode 100644
index 0000000..427aa78
--- /dev/null
+++ b/_next/static/chunks/pages/addapp/[[...app]]-60c9cedc56d2e877.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[542],{7056:function(e,l,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/addapp/[[...app]]",function(){return a(7811)}])},7811:function(e,l,a){"use strict";a.r(l),a.d(l,{__N_SSG:function(){return m},default:function(){return p}});var s=a(5893),t=a(9008),n=a.n(t),i=a(7294),r=a(3162),o=a(8813),c=a(3157),d=a(1163),u={hO:[]},m=!0;function p(e){let{app:l}=e;function t(e){var l=e.toString().toLowerCase();return(l=(l=(l=l.split(/\&+/).join("-and-")).split(/[^a-z0-9]/).join("-")).split(/-+/).join("-")).trim("-")}let m=()=>{var e=a(5733);let l=new e,s=l.folder(O.friendly_name);if(s.file("app.json",JSON.stringify(O,null,2)),N)s.file(O.image_src,N.file);else if(k){let n=fetch(k).then(e=>e.blob());s.file(O.image_src,n)}l.generateAsync({type:"blob"}).then(function(e){(0,r.saveAs)(e,t(O.friendly_name)+".zip")})},p=(0,i.useRef)(null),h=(0,i.useRef)(null),x=(0,i.useRef)(null),[b,g]=(0,i.useState)(null),[v,j]=(0,i.useState)(null),[N,y]=(0,i.useState)(null),[w,_]=(0,i.useState)("png"),[k,C]=(0,i.useState)(null),S={friendly_name:null,image_src:null,description:null,name:null,cores:1,memory:1024,gpu_count:0,cpu_allocation_method:"Inherit",docker_registry:"https://index.docker.io/v1/",categories:[],require_gpu:!1,enabled:!0,image_type:"Container"},[O,A]=(0,i.useState)(S);(0,d.useRouter)(),(0,i.useEffect)(()=>{if(console.log(l),null===l)x.current.value="",p.current.value="",h.current.value="",g(null),j(null),y(null),A(S);else if(l&&l[0]){let e=u.hO.find(e=>e.name===atob(l[0]));if(delete e.sha,x.current.value=e.description,p.current.value=e.name,h.current.value=e.friendly_name,e.categories){let a=[];e.categories.map(e=>a.push({label:e,value:e})),g(a)}if(e.architecture){let s=[];e.architecture.map(e=>s.push({label:e,value:e})),j(s)}C("../../icons/"+e.image_src),A({...O,...e})}},[l]);let E={control:(e,l)=>({...e,background:"#f1f5f9",borderRadius:"0.5rem",borderColor:"#94a3b8"}),multiValue(e,l){let{data:a}=l;return{...e,backgroundColor:"#dde6f1"}}};(0,i.useEffect)(()=>{if(O&&O.friendly_name){let e={...O};e.image_src=t(e.friendly_name)+"."+w,A(e)}},[w]);let R=e=>{let l={...O};l.categories=e.map(e=>e.value),A(l);let a=[];l.categories.map(e=>a.push({label:e,value:e})),g(a)},I=e=>{let l={...O};l.architecture=e.map(e=>e.value),A(l);let a=[];l.architecture.map(e=>a.push({label:e,value:e})),j(a)},L=e=>{let l={...O};l[e.target.name]=e.target.value,"icon"===e.target.name&&(delete l.icon,y({value:e.target.value,file:e.target.files[0]}),_(e.target.value.substr(e.target.value.lastIndexOf(".")+1)),C(null)),l.friendly_name&&(l.image_src=t(l.friendly_name)+"."+w),A(l)};return(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{children:"Kasm Apps"}),(0,s.jsx)("meta",{name:"description",content:"List of apps for Kasm Webspaces"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row w-full my-20 max-w-6xl text-sm rounded-xl overflow-hidden mx-auto",children:[(0,s.jsxs)("div",{className:"w-full lg:w-1/2 p-16 bg-slate-300",children:[(0,s.jsx)("h1",{className:"text-2xl font-medium mb-2",children:"Add Application"}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("p",{className:"mb-8 opacity-70",children:"This will help you generate the JSON file you need to upload to the App directory."}),(0,s.jsx)("label",{className:"mb-2 font-medium",children:"Icon"}),(0,s.jsx)("input",{type:"file",name:"icon",onChange:L,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,s.jsx)("p",{className:"mb-6 opacity-70",children:"Select the image to use, image will be renamed when it's downloaded."}),(0,s.jsx)("label",{className:"mb-2 font-medium",children:"Friendly Name"}),(0,s.jsx)("input",{ref:h,name:"friendly_name",onChange:L,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,s.jsx)("p",{className:"mb-6 opacity-70",children:"This is the name that will show for users"}),(0,s.jsx)("label",{className:"mb-2 font-medium",children:"Categories"}),(0,s.jsx)(o.Z,{instanceId:"1",name:"categories",isMulti:!0,options:[{value:"Browser",label:"Browser"},{value:"Communication",label:"Communication"},{value:"Desktop",label:"Desktop"},{value:"Development",label:"Development"},{value:"Games",label:"Games"},{value:"Multimedia",label:"Multimedia"},{value:"Office",label:"Office"},{value:"Privacy",label:"Privacy"},{value:"Productivity",label:"Productivity"},{value:"Remote Access",label:"Remote Access"}],onChange:R,styles:E,value:b}),(0,s.jsx)("p",{className:"mb-6 mt-2 opacity-70",children:"You can select from the available option or create new ones."}),(0,s.jsx)("label",{className:"mb-2 font-medium",children:"Description"}),(0,s.jsx)("input",{ref:x,name:"description",onChange:L,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,s.jsx)("p",{className:"mb-6 opacity-70",children:"A short description about the application"}),(0,s.jsx)("label",{className:"mb-2 font-medium",children:"Docker Image"}),(0,s.jsx)("input",{ref:p,name:"name",onChange:L,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,s.jsxs)("p",{className:"mb-6 opacity-70",children:["The docker image to use, i.e. ",(0,s.jsx)("code",{className:"text-xs p-1 px-2 rounded bg-white/40",children:"kasmweb/filezilla:develop"})]}),(0,s.jsx)("label",{className:"mb-2 font-medium",children:"Architecture"}),(0,s.jsx)(c.ZP,{instanceId:"2",name:"architecture",isMulti:!0,options:[{value:"amd64",label:"amd64"},{value:"arm64",label:"arm64"}],onChange:I,styles:E,value:v}),(0,s.jsx)("p",{className:"mb-6 mt-2 opacity-70",children:"You can select from the available option or create new ones."})]})]}),(0,s.jsxs)("div",{className:"w-full lg:w-1/2 p-16 bg-slate-100",children:[(0,s.jsx)(f,{app:O,icon:N,inlineImage:k}),(0,s.jsx)("pre",{className:"my-8 overflow-y-auto text-xs",children:JSON.stringify({...O},null,2)}),(0,s.jsx)("button",{onClick:m,className:"p-4 relative z-10 px-5 bg-cyan-700 border-t border-white/20 border-solid hover:bg-slate-900 transition m-2 rounded items-center text-white/70 flex cursor-pointer",children:"Download"})]})]})]})}function f(e){let{app:l,icon:a,inlineImage:t}=e,[n,r]=(0,i.useState)(!1),o=null;if(a){let c=new Blob([a.file]);o=URL.createObjectURL(c),l.image_src=o}return(0,s.jsx)("div",{className:"rounded-xl group w-full shadow max-w-xs relative overflow-hidden h-[100px] border border-solid flex flex-col justify-between bg-slate-300 border-slate-400/50",children:(0,s.jsxs)("div",{className:"absolute top-0 left-0 right-0 h-[200px] transition-all"+(n?" -translate-y-1/2":""),children:[(0,s.jsxs)("div",{onClick:()=>r(!0),className:"h-[100px] p-4 relative overflow-hidden cursor-pointer",children:[(0,s.jsx)("img",{className:"h-[90px] group-hover:scale-150 transition-all absolute left-2 top-1",src:l.image_src,onError(e){null!==t&&(e.target.src=t)},alt:l.friendly_name}),(0,s.jsxs)("div",{className:"flex-col pl-28",children:[(0,s.jsx)("div",{className:"font-bold",children:l.friendly_name||"Friendly Name"}),(0,s.jsxs)("div",{className:"text-xs mb-2 flex gap-2",children:["Kasm Technologies"," ",(0,s.jsx)("span",{children:void 0})]}),(0,s.jsx)("div",{className:" h-8"})]}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 bg-slate-400/20 h-8 text-[10px] flex items-center justify-center",children:[l.architecture&&l.architecture.map((e,l)=>(0,s.jsx)("span",{className:"p-2 py-0 m-[1px] inline-block rounded bg-slate-400/70",children:e},"arch"+l)),l.categories.map((e,l)=>(0,s.jsx)("span",{className:"p-2 py-0 m-[1px] inline-block rounded bg-slate-300/90",children:e},"cat"+l))]}),!1]}),(0,s.jsxs)("div",{className:"h-[100px] text-xs relative p-2 pl-4 flex",children:[(0,s.jsx)("button",{className:"absolute right-2 top-2 bg-slate-100 rounded-full flex justify-center items-center h-6 w-6",onClick:()=>r(!1),children:(0,s.jsx)("svg",{style:{height:"14px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,s.jsx)("path",{d:"M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"})})}),(0,s.jsxs)("div",{className:"flex flex-col flex-grow",children:[(0,s.jsx)("div",{className:"font-bold",children:l.friendly_name})," ",l.description]}),(0,s.jsxs)("div",{className:"flex flex-col justify-end gap-1",children:[(0,s.jsx)("div",{className:"text-xs text-color w-full p-4 py-1 rounded-lg bg-black/5 flex justify-center items-center",children:"Edit"}),(0,s.jsx)("button",{className:"text-xs w-full p-4 py-1 rounded-lg flex justify-center items-center bg-blue-500 font-bold text-white",children:"Install"})]})]})]})})}}},function(e){e.O(0,[484,774,888,179],function(){return e(e.s=7056)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/index-a1885aa46ead7816.js b/_next/static/chunks/pages/index-a1885aa46ead7816.js
new file mode 100644
index 0000000..2092cd8
--- /dev/null
+++ b/_next/static/chunks/pages/index-a1885aa46ead7816.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(2567)}])},2567:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return p}});var n=t(5893),a=t(7294),i=t(9008),r=t.n(i),c=t(1163),o=function(e){let{Component:s,pageProps:t,app:a}=e,i=(0,c.useRouter)(),r=e=>{i.push({pathname:"/addapp/[app]",query:{app:btoa(e.name)}})};return(0,n.jsx)("div",{onClick:()=>r(a),className:"w-[245px] h-[88px] transition-all relative cursor-pointer group flex p-2 items-center justify-center bg-slate-100/90 dark:bg-slate-900/90 shadow rounded hover:shadow-xl hover:bg-gradient-to-r hover:from-slate-900 hover:to-cyan-800 hover:text-white",children:(0,n.jsx)("div",{className:"w-full h-full",children:(0,n.jsxs)("div",{className:"show-grid flex h-full items-center",children:[(0,n.jsx)("div",{className:"kasmcard-img flex h-full mx-4 items-center justify-center",children:(0,n.jsx)("img",{className:"w-[50px] max-h-[66px]",src:"icons/"+a.image_src})}),(0,n.jsxs)("div",{className:"kasmcard-detail settingPad",children:[(0,n.jsx)("h5",{className:"text-base",children:a.friendly_name}),(0,n.jsx)("p",{className:"text-xs opacity-50",children:a.categories&&a.categories[0]||"Unknown"})]})]})})})},l=t(7160),d=t.n(l);function p(e){let{searchText:s}=e,[t,i]=(0,a.useState)(null);(0,a.useEffect)(()=>{fetch("list.json").then(e=>e.json()).then(e=>{i(e)})},[]);let c=t&&t.apps&&t.apps.length>0?[...t.apps]:[],l=s&&s.toLowerCase();return s&&""!==s&&(c=c.filter(e=>{let s=e.categories&&e.categories.length>0?e.categories.filter(e=>e.toLowerCase().includes(l)):[];return e.name.toLowerCase().includes(l)||s.length>0})),(0,n.jsxs)("div",{className:"",children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:"Kasm Apps"}),(0,n.jsx)("meta",{name:"description",content:"List of apps for Kasm Webspaces"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)("main",{className:"p-20",children:[(0,n.jsxs)("h1",{className:"flex text-2xl justify-center mb-10",children:["Applications: ",(0,n.jsx)("span",{className:"",children:t&&t.appcount})]}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-1 justify-center",children:[c&&c.length>0&&c.map(function(e,s){return(0,n.jsx)(o,{app:e},e.sha)}),c&&0===c.length&&(0,n.jsxs)("p",{children:["No applications found ",""!==s&&'matching "'+s+'"']})]}),(0,n.jsx)("div",{className:d().grid})]})]})}},7160:function(e){e.exports={container:"Home_container__bCOhY",main:"Home_main__nLjiQ",footer:"Home_footer____T7K",title:"Home_title__T09hD",description:"Home_description__41Owk",code:"Home_code__suPER",grid:"Home_grid__GxQ85",card:"Home_card___LpL1",logo:"Home_logo__27_tb"}},9008:function(e,s,t){e.exports=t(3121)}},function(e){e.O(0,[774,888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js b/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js
new file mode 100644
index 0000000..3858b79
--- /dev/null
+++ b/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js
@@ -0,0 +1 @@
+!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,s=u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a,c={f:s},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,h=function(t){return l.call(t).slice(8,-1)},p="".split,d=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return d(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!y(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},S=n.document,E=y(S)&&y(S.createElement),x=function(t){return E?S.createElement(t):{}},A=!i&&!o(function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,R={f:i?O:function(t,e){if(t=g(t),e=m(e,!0),A)try{return O(t,e)}catch(t){}if(w(t,e))return f(!c.f.call(t,e),t[e])}},j=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,I={f:i?P:function(t,e,r){if(j(t),e=m(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},T=i?function(t,e,r){return I.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{T(n,t,e)}catch(r){n[t]=e}return e},L="__core-js_shared__",U=n[L]||k(L,{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var _,N,C,F=U.inspectSource,B=n.WeakMap,D="function"==typeof B&&/native code/.test(F(B)),q=!1,z=e(function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,K=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+K).toString(36)},$=z("keys"),V=function(t){return $[t]||($[t]=G(t))},H={};if(D){var X=new(0,n.WeakMap),Y=X.get,J=X.has,Q=X.set;_=function(t,e){return Q.call(X,t,e),e},N=function(t){return Y.call(X,t)||{}},C=function(t){return J.call(X,t)}}else{var Z=V("state");H[Z]=!0,_=function(t,e){return T(t,Z,e),e},N=function(t){return w(t,Z)?t[Z]:{}},C=function(t){return w(t,Z)}}var tt,et={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=e(function(t){var e=et.get,r=et.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||T(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:T(t,e,i)):s?t[e]=i:k(e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||F(this)})}),nt=n,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(nt[t])||ot(n[t]):nt[t]&&nt[t][e]||n[t]&&n[t][e]},at=Math.ceil,ut=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,pt=function(t,e){var r=st(t);return r<0?lt(r+e,0):ht(r,e)},dt=function(t){return function(e,r,n){var o,i=g(e),a=ft(i.length),u=pt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},vt={includes:dt(!0),indexOf:dt(!1)},gt=vt.indexOf,yt=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!w(H,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~gt(i,r)||i.push(r));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},St={f:Object.getOwnPropertySymbols},Et=it("Reflect","ownKeys")||function(t){var e=wt.f(j(t)),r=St.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=Et(e),n=I.f,o=R.f,i=0;i2?arguments[2]:void 0,u=Mt((void 0===a?n:pt(a,n))-i,n-o),s=1;for(i0;)i in r?r[o]=r[i]:delete r[o],o+=s,i+=s;return r},Nt=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())}),Ct=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Bt=n.Symbol,Dt=Ct?Bt:Bt&&Bt.withoutSetter||G,qt=function(t){return w(Ft,t)||(Ft[t]=Nt&&w(Bt,t)?Bt[t]:Dt("Symbol."+t)),Ft[t]},zt=Object.keys||function(t){return yt(t,mt)},Wt=i?Object.defineProperties:function(t,e){j(t);for(var r,n=zt(e),o=n.length,i=0;o>i;)I.f(t,r=n[i++],e[r]);return t},Kt=it("document","documentElement"),Gt=V("IE_PROTO"),$t=function(){},Vt=function(t){return"Kasm Technologies
A p p l i c a t i o n D a t a b a s e
Library Add App App Registry Link Friendly Name
Kasm Technologies
{
+ "friendly_name": null,
+ "image_src": null,
+ "description": null,
+ "name": null,
+ "cores": 1,
+ "memory": 1024,
+ "gpu_count": 0,
+ "cpu_allocation_method": "Inherit",
+ "docker_registry": "https://index.docker.io/v1/",
+ "categories": [],
+ "require_gpu": false,
+ "enabled": true,
+ "image_type": "Container"
+} Download