diff --git a/static/admin/404/index.html b/static/admin/404/index.html index d9b4b5819..84c7602cd 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/chunks/main-255dbf253e3638a8.js b/static/admin/_next/static/chunks/main-9c070b266cacc39a.js similarity index 99% rename from static/admin/_next/static/chunks/main-255dbf253e3638a8.js rename to static/admin/_next/static/chunks/main-9c070b266cacc39a.js index b8dea0046..54cf5df15 100644 --- a/static/admin/_next/static/chunks/main-255dbf253e3638a8.js +++ b/static/admin/_next/static/chunks/main-9c070b266cacc39a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{60400: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}))}))})},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},56007:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var o={};t.forEach((function(e){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}var t=o[e.type]||[];t.push(e),o[e.type]=t}));var a=o.title?o.title[0]:null,i="";if(a){var u=a.props.children;i="string"===typeof u?u:Array.isArray(u)?u.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]");0;for(var a=Number(o.content),i=[],u=0,c=o.previousElementSibling;u=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=new Map,p=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],d=function(e){var t=e.src,r=e.id,o=e.onLoad,a=void 0===o?function(){}:o,u=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,d=void 0===l?"afterInteractive":l,v=e.onError,y=r||t;if(!y||!p.has(y)){if(f.has(t))return p.add(y),void f.get(t).then(a,v);var m=document.createElement("script"),g=new Promise((function(e,t){m.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),m.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&f.set(t,g),p.add(y),u?m.innerHTML=u.__html||"":s?m.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(m.src=t);var _=!0,b=!1,w=void 0;try{for(var S,P=Object.entries(e)[Symbol.iterator]();!(_=(S=P.next()).done);_=!0){var x=n(S.value,2),E=x[0],O=x[1];if(void 0!==O&&!h.includes(E)){var R=i.DOMAttributeNames[E]||E.toLowerCase();m.setAttribute(R,O)}}}catch(k){b=!0,w=k}finally{try{_||null==P.return||P.return()}finally{if(b)throw w}}m.setAttribute("data-nscript",d),document.body.appendChild(m)}};function v(e){var t=e.strategy,r=void 0===t?"afterInteractive":t;"afterInteractive"===r?d(e):"lazyOnload"===r&&window.addEventListener("load",(function(){u.requestIdleCallback((function(){return d(e)}))}))}},77813:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackWebVitalMetric=function(e){a.push(e),o.forEach((function(t){return t(e)}))},t.useExperimentalWebVitalsReport=function(e){var t=n.useRef(0);n.useEffect((function(){for(var r=function(r){e(r),t.current=a.length},n=t.current;n0){i=!0;var u=o.key.slice(o.key.indexOf("$")+1);e.has(u)?a=!1:e.add(u)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(var c=0,s=p.length;c>>0,1)},emit:function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function A(e){return(e=C(e))===O||e.startsWith("/admin/")}function T(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=C(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.substr(r.length)}(e,O)}function L(e){return(e=e.slice(O.length)).startsWith("/")||(e="/".concat(e)),e}function M(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=m.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&A(r.pathname)}catch(n){return!1}}function I(e,t,r){var n="",o=P.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function N(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function F(e,t,r){var n,o="string"===typeof t?t:m.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.substr(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=m.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!M(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(y){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(g.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=b.searchParamsToUrlQuery(c.searchParams),p=I(c.pathname,c.pathname,l),h=p.result,d=p.params;h&&(s=m.formatWithValidation({pathname:h,hash:c.hash,query:N(l,d)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(_){return r?[o]:o}}function D(e){var t=m.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function q(e,t,r){var n=l(F(e,t,!0),2),o=n[0],a=n[1],i=m.getLocationOrigin(),u=o.startsWith(i),c=a&&a.startsWith(i);o=D(o),a=a?D(a):a;var s=u?o:T(o),f=r?D(F(e,r)):a||o;return{url:s,as:c?f:T(f)}}function z(e,t){var r=f.removePathTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(g.isDynamicRoute(t)&&P.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var B=Symbol("SSG_DATA_NOT_FOUND");function H(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return H(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:B};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function U(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=H(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var W=function(){function e(t,r,n,o){var a,i=o.initialProps,u=o.pageLoader,c=o.App,s=o.wrapApp,l=o.Component,p=o.err,h=o.subscription,d=o.isFallback,v=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),b=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,a=t.idx;b._idx=a;var i=_.parseRelativeUrl(r).pathname;b.isSsr&&n===b.asPath&&i===b.pathname||b._bps&&!b._bps(t)||b.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&b._shallow,locale:o.locale||b.defaultLocale}),undefined)}}else{var u=b.pathname,c=b.query;b.changeState("replaceState",m.formatWithValidation({pathname:T(u),query:c}),m.getURL())}},this.route=f.removePathTrailingSlash(t),this.components={},"/_error"!==t)&&(this.components[this.route]={Component:l,initial:!0,props:i,err:p,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP,__N_RSC:!!(null===(a=l)||void 0===a?void 0:a.__next_rsc__)});this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u,this.pathname=t,this.query=r;var w=g.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.asPath=w?t:n,this.basePath=O,this.sub=h,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isFallback=d,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.isPreview=!!y,this.isLocaleDomain=!1,"//"!==n.substr(0,2)){var S={locale:v};S._shouldResolveHref=n!==t,this.changeState("replaceState",m.formatWithValidation({pathname:T(t),query:r}),m.getURL(),S)}window.addEventListener("popstate",this.onPopState)}var t,r,n;return t=e,(r=[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=q(this,e,t)).url,t=n.as,this.change("pushState",e,t,o)}},{key:"replace",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=q(this,e,t)).url,t=n.as,this.change("replaceState",e,t,o)}},{key:"change",value:function(t,r,n,a,u){return i(o.default.mark((function i(){var c,l,d,v,y,b,w,x,E,O,R,F,D,H,U,W,G,V,$,X,K,Q,Y,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(M(r)){o.next=3;break}return window.location.href=r,o.abrupt("return",!1);case 3:c=a._h||a._shouldResolveHref||C(r)===C(n),a._h&&(this.isReady=!0),l=this.locale,o.next=18;break;case 18:var i;if(a._h||(this.isSsr=!1),m.ST&&performance.mark("routeChange"),i=a.shallow,d={shallow:void 0!==i&&i},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,d),n=T(k(A(n)?L(n):n,a.locale,this.defaultLocale)),v=j(A(n)?L(n):n,this.locale),this._inFlightRoute=n,y=l!==this.locale,a._h||!this.onlyAHashChange(v)||y){o.next=35;break}return this.asPath=v,e.events.emit("hashChangeStart",n,d),this.changeState(t,r,n,a),this.scrollToHash(v),this.notify(this.components[this.route],null),e.events.emit("hashChangeComplete",n,d),o.abrupt("return",!0);case 35:var le;return b=_.parseRelativeUrl(r),w=(le=b).pathname,x=le.query,o.prev=38,o.next=41,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 41:var fe;fe=o.sent,E=fe[0],fe[1].__rewrites,o.next=48;break;case 44:return o.prev=44,o.t0=o.catch(38),window.location.href=n,o.abrupt("return",!1);case 48:if(this.urlIsNew(v)||y||(t="replaceState"),O=n,w=w?f.removePathTrailingSlash(L(w)):w,c&&"/_error"!==w&&(a._shouldResolveHref=!0,b.pathname=z(w,E),b.pathname!==w&&(w=b.pathname,b.pathname=T(w),r=m.formatWithValidation(b))),M(n)){o.next=57;break}o.next=55;break;case 55:return window.location.href=n,o.abrupt("return",!1);case 57:return O=j(L(O),this.locale),o.next=60,this._preflightRequest({as:n,cache:!0,pages:E,pathname:w,query:x});case 60:if("rewrite"!==(R=o.sent).type){o.next=65;break}x=s({},x,R.parsedAs.query),O=R.asPath,w=R.resolvedHref,b.pathname=R.resolvedHref,r=m.formatWithValidation(b),o.next=77;break;case 65:if("redirect"!==R.type||!R.newAs){o.next=69;break}return o.abrupt("return",this.change(t,R.newUrl,R.newAs,a));case 69:if("redirect"!==R.type||!R.destination){o.next=74;break}return window.location.href=R.destination,o.abrupt("return",new Promise((function(){})));case 74:if("refresh"!==R.type){o.next=77;break}return window.location.href=n,o.abrupt("return",new Promise((function(){})));case 77:if(F=f.removePathTrailingSlash(w),!g.isDynamicRoute(F)){o.next=93;break}if(D=_.parseRelativeUrl(O),H=D.pathname,U=P.getRouteRegex(F),W=S.getRouteMatcher(U)(H),V=(G=F===H)?I(F,H,x):{},W&&(!G||V.result)){o.next=92;break}if(!(($=Object.keys(U.groups).filter((function(e){return!x[e]}))).length>0)){o.next=90;break}throw new Error((G?"The provided `href` (".concat(r,") value is missing query values (").concat($.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(H,") is incompatible with the `href` value (").concat(F,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(G?"href-interpolation-failed":"incompatible-href-as"));case 90:o.next=93;break;case 92:G?n=m.formatWithValidation(Object.assign({},D,{pathname:V.result,query:N(x,V.params)})):Object.assign(x,W);case 93:return e.events.emit("routeChangeStart",n,d),o.prev=94,o.next=98,this.getRouteInfo(F,w,x,n,O,d);case 98:var pe,he;if(Q=o.sent,Y=(pe=Q).error,J=pe.props,Z=pe.__N_SSG,ee=pe.__N_SSP,!Z&&!ee||!J){o.next=125;break}if(!J.pageProps||!J.pageProps.__N_REDIRECT){o.next=110;break}if(!(te=J.pageProps.__N_REDIRECT).startsWith("/")||!1===J.pageProps.__N_REDIRECT_BASE_PATH){o.next=108;break}return(re=_.parseRelativeUrl(te)).pathname=z(re.pathname,E),he=q(this,te,te),ne=he.url,oe=he.as,o.abrupt("return",this.change(t,ne,oe,a));case 108:return window.location.href=te,o.abrupt("return",new Promise((function(){})));case 110:if(this.isPreview=!!J.__N_PREVIEW,J.notFound!==B){o.next=125;break}return o.prev=113,o.next=116,this.fetchComponent("/404");case 116:ae="/404",o.next=122;break;case 119:o.prev=119,o.t1=o.catch(113),ae="/_error";case 122:return o.next=124,this.getRouteInfo(ae,ae,x,n,O,{shallow:!1});case 124:Q=o.sent;case 125:return e.events.emit("beforeHistoryChange",n,d),this.changeState(t,r,n,a),a._h&&"/_error"===w&&500===(null===(X=self.__NEXT_DATA__.props)||void 0===X||null===(K=X.pageProps)||void 0===K?void 0:K.statusCode)&&(null===J||void 0===J?void 0:J.pageProps)&&(J.pageProps.statusCode=500),ie=a.shallow&&this.route===F,ce=null!==(ue=a.scroll)&&void 0!==ue?ue:!ie,se=ce?{x:0,y:0}:null,o.next=134,this.set(F,w,x,v,Q,null!==u&&void 0!==u?u:se).catch((function(e){if(!e.cancelled)throw e;Y=Y||e}));case 134:if(!Y){o.next=137;break}throw e.events.emit("routeChangeError",Y,v,d),Y;case 137:return e.events.emit("routeChangeComplete",n,d),o.abrupt("return",!0);case 142:if(o.prev=142,o.t2=o.catch(94),!h.default(o.t2)||!o.t2.cancelled){o.next=146;break}return o.abrupt("return",!1);case 146:throw o.t2;case 147:case"end":return o.stop()}}),i,this,[[38,44],[94,142],[113,119]])})).bind(this))()}},{key:"changeState",value:function(e,t,r,n){var o=void 0===n?{}:n;"pushState"===e&&m.getURL()===r||(this._shallow=o.shallow,window.history[e]({url:t,as:r,options:o,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(t,r,n,a,u,c){return i(o.default.mark((function i(){var s,l,f;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t.cancelled){o.next=2;break}throw t;case 2:if(!p.isAssetError(t)&&!c){o.next=6;break}throw e.events.emit("routeChangeError",t,a,u),window.location.href=a,R();case 6:if(o.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){o.next=14;break}return o.next=13,this.fetchComponent("/_error");case 13:var i;i=o.sent,s=i.page,l=i.styleSheets;case 14:if((f={props:void 0,Component:s,styleSheets:l,err:t,error:t}).props){o.next=26;break}return o.prev=16,o.next=19,this.getInitialProps(s,{err:t,pathname:r,query:n});case 19:f.props=o.sent,o.next=26;break;case 22:o.prev=22,o.t0=o.catch(16),console.error("Error in error page `getInitialProps`: ",o.t0),f.props={};case 26:return o.abrupt("return",f);case 29:return o.prev=29,o.t1=o.catch(6),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),r,n,a,u,!0));case 32:case"end":return o.stop()}}),i,this,[[6,29],[16,22]])})).bind(this))()}},{key:"getRouteInfo",value:function(e,t,r,n,a,u){return i(o.default.mark((function i(){var c,s,l,f,p,d,v,y,g,_,b,w,S;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,c=this,s=this.components[e],!u.shallow||!s||this.route!==e){o.next=5;break}return o.abrupt("return",s);case 5:if(l=void 0,s&&!("initial"in s)&&(l=s),o.t0=l,o.t0){o.next=12;break}return o.next=11,this.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.page.__next_rsc__}}));case 11:o.t0=o.sent;case 12:var i;f=o.t0,p=(i=f).Component,d=i.__N_SSG,v=i.__N_SSP,y=i.__N_RSC,o.next=18;break;case 18:return(d||v||y)&&(g=this.pageLoader.getDataHref({href:m.formatWithValidation({pathname:t,query:r}),asPath:a,ssg:d,rsc:y,locale:this.locale})),o.next=22,this._getData((function(){return d||v?U(g,c.isSsr,!1,d?c.sdc:c.sdr,!!d):c.getInitialProps(p,{pathname:t,query:r,asPath:n,locale:c.locale,locales:c.locales,defaultLocale:c.defaultLocale})}));case 22:if(_=o.sent,!y){o.next=29;break}return b=this,o.next=27,this._getData((function(){return b._getFlightData(g)}));case 27:var P;P=o.sent,w=P.fresh,S=P.data,_.pageProps=Object.assign(_.pageProps,{__flight_serialized__:S,__flight_fresh__:w});case 29:return f.props=_,this.components[e]=f,o.abrupt("return",f);case 34:return o.prev=34,o.t1=o.catch(0),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),t,r,n,u));case 37:case"end":return o.stop()}}),i,this,[[0,34]])})).bind(this))()}},{key:"set",value:function(e,t,r,n,o,a){return this.isFallback=!1,this.route=e,this.pathname=t,this.query=r,this.asPath=n,this.notify(o,a)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=l(this.asPath.split("#"),2),r=t[0],n=t[1],o=l(e.split("#"),2),a=o[0],i=o[1];return!(!i||r!==a||n!==i)||r===a&&n!==i}},{key:"scrollToHash",value:function(e){var t=l(e.split("#"),2)[1];if(""!==t&&"top"!==t){var r=document.getElementById(t);if(r)r.scrollIntoView();else{var n=document.getElementsByName(t)[0];n&&n.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e,t,r){var n=void 0===t?e:t,a=void 0===r?{}:r;return i(o.default.mark((function t(){var r,i,u,c,l,p,h,d,v,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:var o;return r=this,i=_.parseRelativeUrl(e),u=(o=i).pathname,c=o.query,t.next=6,this.pageLoader.getPageList();case 6:l=t.sent,p=n,t.next=18;break;case 12:var g;g=t.sent,h=g.__rewrites,d=w.default(T(k(n,this.locale)),l,h,i.query,(function(e){return z(e,l)}),this.locales),p=j(L(d.asPath),this.locale),d.matchedPage&&d.resolvedHref&&(u=d.resolvedHref,i.pathname=u,e=m.formatWithValidation(i)),t.next=19;break;case 18:i.pathname=z(i.pathname,l),i.pathname!==u&&(u=i.pathname,i.pathname=u,e=m.formatWithValidation(i));case 19:t.next=21;break;case 21:return t.next=23,this._preflightRequest({as:n,cache:!0,pages:l,pathname:u,query:c});case 23:return"rewrite"===(v=t.sent).type&&(i.pathname=v.resolvedHref,u=v.resolvedHref,c=s({},c,v.parsedAs.query),p=v.asPath,e=m.formatWithValidation(i)),y=f.removePathTrailingSlash(u),t.next=28,Promise.all([this.pageLoader._isSsg(y).then((function(t){return!!t&&U(r.pageLoader.getDataHref({href:e,asPath:p,ssg:!0,locale:"undefined"!==typeof a.locale?a.locale:r.locale}),!1,!1,r.sdc,!0)})),this.pageLoader[a.priority?"loadPage":"prefetch"](y)]);case 28:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"fetchComponent",value:function(e){return i(o.default.mark((function t(){var r,n,a,i,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this,n=!1,a=this.clc=function(){n=!0},i=function(){if(n){var t=new Error('Abort fetching component for route: "'.concat(e,'"'));throw t.cancelled=!0,t}a===r.clc&&(r.clc=null)},t.prev=4,t.next=7,this.pageLoader.loadPage(e);case 7:return u=t.sent,i(),t.abrupt("return",u);case 12:throw t.prev=12,t.t0=t.catch(4),i(),t.t0;case 16:case"end":return t.stop()}}),t,this,[[4,12]])})).bind(this))()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){var t=this,r=new URL(e,window.location.href).href;return!this.isPreview&&this.sdc[r]?Promise.resolve({fresh:!1,data:this.sdc[r]}):U(e,!0,!0,this.sdc,!1).then((function(e){return t.sdc[r]=e,{fresh:!0,data:e}}))}},{key:"_preflightRequest",value:function(e){return i(o.default.mark((function t(){var r,n,a,i,u,c,s,p,h,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=j(A(e.as)?L(e.as):e.as,this.locale),t.next=4,this.pageLoader.getMiddlewareList();case 4:if(t.sent.some((function(e){var t=l(e,2),r=t[0],o=t[1];return S.getRouteMatcher(x.getMiddlewareRegex(r,!o))(n)}))){t.next=8;break}return t.abrupt("return",{type:"next"});case 8:return t.next=10,this._getPreflightData({preflightHref:e.as,shouldCache:e.cache});case 10:if(a=t.sent,!(null===(r=a.rewrite)||void 0===r?void 0:r.startsWith("/"))){t.next=18;break}return i=_.parseRelativeUrl(v.normalizeLocalePath(A(a.rewrite)?L(a.rewrite):a.rewrite,this.locales).pathname),u=f.removePathTrailingSlash(i.pathname),e.pages.includes(u)?(c=!0,s=u):(s=z(u,e.pages))!==i.pathname&&e.pages.includes(s)&&(c=!0),t.abrupt("return",{type:"rewrite",asPath:i.pathname,parsedAs:i,matchedPage:c,resolvedHref:s});case 18:if(!a.redirect){t.next=24;break}if(!a.redirect.startsWith("/")){t.next=23;break}var o;return o=q(this,p=f.removePathTrailingSlash(v.normalizeLocalePath(A(a.redirect)?L(a.redirect):a.redirect,this.locales).pathname),p),h=o.url,d=o.as,t.abrupt("return",{type:"redirect",newUrl:h,newAs:d});case 23:return t.abrupt("return",{type:"redirect",destination:a.redirect});case 24:if(!a.refresh||a.ssr){t.next=26;break}return t.abrupt("return",{type:"refresh"});case 26:return t.abrupt("return",{type:"next"});case 27:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"_getPreflightData",value:function(e){var t=this,r=this,n=e.preflightHref,o=e.shouldCache,a=void 0!==o&&o,i=new URL(n,window.location.href).href;return!this.isPreview&&a&&this.sde[i]?Promise.resolve(this.sde[i]):fetch(n,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return a&&(t.sde[i]=e),e})).catch((function(e){throw delete r.sde[i],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,m.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",R(),t,r),this.clc(),this.clc=null)}},{key:"notify",value:function(e,t){return this.sub(e,this.components["/_app"].Component,t)}}])&&u(t.prototype,r),n&&u(t,n),e}();W.events=y.default(),t.default=W},4611:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port));c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";a&&":"!==a.substr(-1)&&(a+=":");e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");u&&"#"!==u[0]&&(u="#"+u);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(50466));var o=/https?|ftp|gopher|file/},73891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0===t?"":t;return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e))+r}},49820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e,t){var r=void 0===t||t,o=n.getParametrizedRoute(e),a=r?"(?!_next).*":"",i=r?"(?:(/.*)?)":"";if("routeKeys"in o)return"/"===o.parameterizedRoute?{groups:{},namedRegex:"^/".concat(a,"$"),re:new RegExp("^/".concat(a,"$")),routeKeys:{}}:{groups:o.groups,namedRegex:"^".concat(o.namedParameterizedRoute).concat(i,"$"),re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$")),routeKeys:o.routeKeys};if("/"===o.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(a,"$"))};return{groups:{},re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$"))}};var n=r(64095)},78689:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},36305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(63794),o=r(50466)},50466:function(e,t){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(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){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var o=r(e,2),a=o[0],i=o[1];Array.isArray(i)?i.forEach((function(e){return t.append(a,n(e))})):t.set(a,n(i))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},h=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},d=function(e,t){var r,n=h(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){_(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,m),removeEventListener("pointercancel",n,m)};addEventListener("pointerup",r,m),addEventListener("pointercancel",n,m)}(t,e):_(t,e)}},S=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,w,m)}))},P=new Set;e.getCLS=function(e,t){v||(d((function(e){y=e.value})),v=!0);var r,n=function(t){y>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},h=i("layout-shift",p);h&&(r=s(n,o,t),u((function(){h.takeRecords().map(p),r(!0)})),c((function(){l=0,y=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=d,e.getFID=function(e,n){var l,f=h(),p=a("FID"),d=function(e){e.startTime=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},34155:function(e){var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],s=!1,l=-1;function f(){s&&u&&(s=!1,u.length?c=u.concat(c):l=-1,c.length&&p())}function p(){if(!s){var e=i(f);s=!0;for(var t=c.length;t;){for(u=c,c=[];++l1)for(var r=1;r>>0}},15919:function(e,t,r){"use strict";t.__esModule=!0,t.useStyleRegistry=t.createStyleRegistry=t.StyleRegistry=void 0;var n=r(28122);t.StyleRegistry=n.StyleRegistry,t.createStyleRegistry=n.createStyleRegistry,t.useStyleRegistry=n.useStyleRegistry},39035:function(e,t,r){"use strict";t.__esModule=!0,t.computeId=function(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;a[n]||(a[n]="jsx-"+(0,o.default)(e+"-"+r));return a[n]},t.computeSelector=function(e,t){"undefined"===typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;a[r]||(a[r]=t.replace(/__jsx-style-dynamic-selector/g,e));return a[r]};var n,o=(n=r(69887))&&n.__esModule?n:{default:n};var a={}},44287:function(e,t,r){"use strict";var n=r(34155);function o(e,t){for(var r=0;r1&&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}))}))})},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},56007:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var o={};t.forEach((function(e){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}var t=o[e.type]||[];t.push(e),o[e.type]=t}));var a=o.title?o.title[0]:null,i="";if(a){var u=a.props.children;i="string"===typeof u?u:Array.isArray(u)?u.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]");0;for(var a=Number(o.content),i=[],u=0,c=o.previousElementSibling;u=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=new Map,p=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],d=function(e){var t=e.src,r=e.id,o=e.onLoad,a=void 0===o?function(){}:o,u=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,d=void 0===l?"afterInteractive":l,v=e.onError,y=r||t;if(!y||!p.has(y)){if(f.has(t))return p.add(y),void f.get(t).then(a,v);var m=document.createElement("script"),g=new Promise((function(e,t){m.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),m.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&f.set(t,g),p.add(y),u?m.innerHTML=u.__html||"":s?m.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(m.src=t);var _=!0,b=!1,w=void 0;try{for(var S,P=Object.entries(e)[Symbol.iterator]();!(_=(S=P.next()).done);_=!0){var x=n(S.value,2),E=x[0],O=x[1];if(void 0!==O&&!h.includes(E)){var R=i.DOMAttributeNames[E]||E.toLowerCase();m.setAttribute(R,O)}}}catch(k){b=!0,w=k}finally{try{_||null==P.return||P.return()}finally{if(b)throw w}}m.setAttribute("data-nscript",d),document.body.appendChild(m)}};function v(e){var t=e.strategy,r=void 0===t?"afterInteractive":t;"afterInteractive"===r?d(e):"lazyOnload"===r&&window.addEventListener("load",(function(){u.requestIdleCallback((function(){return d(e)}))}))}},77813:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackWebVitalMetric=function(e){a.push(e),o.forEach((function(t){return t(e)}))},t.useExperimentalWebVitalsReport=function(e){var t=n.useRef(0);n.useEffect((function(){for(var r=function(r){e(r),t.current=a.length},n=t.current;n0){i=!0;var u=o.key.slice(o.key.indexOf("$")+1);e.has(u)?a=!1:e.add(u)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(var c=0,s=p.length;c>>0,1)},emit:function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function A(e){return(e=C(e))===O||e.startsWith("/admin/")}function T(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=C(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.substr(r.length)}(e,O)}function L(e){return(e=e.slice(O.length)).startsWith("/")||(e="/".concat(e)),e}function M(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=m.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&A(r.pathname)}catch(n){return!1}}function I(e,t,r){var n="",o=P.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function N(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function F(e,t,r){var n,o="string"===typeof t?t:m.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.substr(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=m.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!M(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(y){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(g.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=b.searchParamsToUrlQuery(c.searchParams),p=I(c.pathname,c.pathname,l),h=p.result,d=p.params;h&&(s=m.formatWithValidation({pathname:h,hash:c.hash,query:N(l,d)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(_){return r?[o]:o}}function D(e){var t=m.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function q(e,t,r){var n=l(F(e,t,!0),2),o=n[0],a=n[1],i=m.getLocationOrigin(),u=o.startsWith(i),c=a&&a.startsWith(i);o=D(o),a=a?D(a):a;var s=u?o:T(o),f=r?D(F(e,r)):a||o;return{url:s,as:c?f:T(f)}}function z(e,t){var r=f.removePathTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(g.isDynamicRoute(t)&&P.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var B=Symbol("SSG_DATA_NOT_FOUND");function H(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return H(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:B};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function U(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=H(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var W=function(){function e(t,r,n,o){var a,i=o.initialProps,u=o.pageLoader,c=o.App,s=o.wrapApp,l=o.Component,p=o.err,h=o.subscription,d=o.isFallback,v=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),b=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,a=t.idx;b._idx=a;var i=_.parseRelativeUrl(r).pathname;b.isSsr&&n===b.asPath&&i===b.pathname||b._bps&&!b._bps(t)||b.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&b._shallow,locale:o.locale||b.defaultLocale}),undefined)}}else{var u=b.pathname,c=b.query;b.changeState("replaceState",m.formatWithValidation({pathname:T(u),query:c}),m.getURL())}},this.route=f.removePathTrailingSlash(t),this.components={},"/_error"!==t)&&(this.components[this.route]={Component:l,initial:!0,props:i,err:p,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP,__N_RSC:!!(null===(a=l)||void 0===a?void 0:a.__next_rsc__)});this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u,this.pathname=t,this.query=r;var w=g.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.asPath=w?t:n,this.basePath=O,this.sub=h,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isFallback=d,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.isPreview=!!y,this.isLocaleDomain=!1,"//"!==n.substr(0,2)){var S={locale:v};S._shouldResolveHref=n!==t,this.changeState("replaceState",m.formatWithValidation({pathname:T(t),query:r}),m.getURL(),S)}window.addEventListener("popstate",this.onPopState)}var t,r,n;return t=e,(r=[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=q(this,e,t)).url,t=n.as,this.change("pushState",e,t,o)}},{key:"replace",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=q(this,e,t)).url,t=n.as,this.change("replaceState",e,t,o)}},{key:"change",value:function(t,r,n,a,u){return i(o.default.mark((function i(){var c,l,d,v,y,b,w,x,E,O,R,F,D,H,U,W,G,V,$,X,K,Q,Y,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(M(r)){o.next=3;break}return window.location.href=r,o.abrupt("return",!1);case 3:c=a._h||a._shouldResolveHref||C(r)===C(n),a._h&&(this.isReady=!0),l=this.locale,o.next=18;break;case 18:var i;if(a._h||(this.isSsr=!1),m.ST&&performance.mark("routeChange"),i=a.shallow,d={shallow:void 0!==i&&i},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,d),n=T(k(A(n)?L(n):n,a.locale,this.defaultLocale)),v=j(A(n)?L(n):n,this.locale),this._inFlightRoute=n,y=l!==this.locale,a._h||!this.onlyAHashChange(v)||y){o.next=35;break}return this.asPath=v,e.events.emit("hashChangeStart",n,d),this.changeState(t,r,n,a),this.scrollToHash(v),this.notify(this.components[this.route],null),e.events.emit("hashChangeComplete",n,d),o.abrupt("return",!0);case 35:var le;return b=_.parseRelativeUrl(r),w=(le=b).pathname,x=le.query,o.prev=38,o.next=41,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 41:var fe;fe=o.sent,E=fe[0],fe[1].__rewrites,o.next=48;break;case 44:return o.prev=44,o.t0=o.catch(38),window.location.href=n,o.abrupt("return",!1);case 48:if(this.urlIsNew(v)||y||(t="replaceState"),O=n,w=w?f.removePathTrailingSlash(L(w)):w,c&&"/_error"!==w&&(a._shouldResolveHref=!0,b.pathname=z(w,E),b.pathname!==w&&(w=b.pathname,b.pathname=T(w),r=m.formatWithValidation(b))),M(n)){o.next=57;break}o.next=55;break;case 55:return window.location.href=n,o.abrupt("return",!1);case 57:return O=j(L(O),this.locale),o.next=60,this._preflightRequest({as:n,cache:!0,pages:E,pathname:w,query:x});case 60:if("rewrite"!==(R=o.sent).type){o.next=65;break}x=s({},x,R.parsedAs.query),O=R.asPath,w=R.resolvedHref,b.pathname=R.resolvedHref,r=m.formatWithValidation(b),o.next=77;break;case 65:if("redirect"!==R.type||!R.newAs){o.next=69;break}return o.abrupt("return",this.change(t,R.newUrl,R.newAs,a));case 69:if("redirect"!==R.type||!R.destination){o.next=74;break}return window.location.href=R.destination,o.abrupt("return",new Promise((function(){})));case 74:if("refresh"!==R.type){o.next=77;break}return window.location.href=n,o.abrupt("return",new Promise((function(){})));case 77:if(F=f.removePathTrailingSlash(w),!g.isDynamicRoute(F)){o.next=93;break}if(D=_.parseRelativeUrl(O),H=D.pathname,U=P.getRouteRegex(F),W=S.getRouteMatcher(U)(H),V=(G=F===H)?I(F,H,x):{},W&&(!G||V.result)){o.next=92;break}if(!(($=Object.keys(U.groups).filter((function(e){return!x[e]}))).length>0)){o.next=90;break}throw new Error((G?"The provided `href` (".concat(r,") value is missing query values (").concat($.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(H,") is incompatible with the `href` value (").concat(F,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(G?"href-interpolation-failed":"incompatible-href-as"));case 90:o.next=93;break;case 92:G?n=m.formatWithValidation(Object.assign({},D,{pathname:V.result,query:N(x,V.params)})):Object.assign(x,W);case 93:return e.events.emit("routeChangeStart",n,d),o.prev=94,o.next=98,this.getRouteInfo(F,w,x,n,O,d);case 98:var pe,he;if(Q=o.sent,Y=(pe=Q).error,J=pe.props,Z=pe.__N_SSG,ee=pe.__N_SSP,!Z&&!ee||!J){o.next=125;break}if(!J.pageProps||!J.pageProps.__N_REDIRECT){o.next=110;break}if(!(te=J.pageProps.__N_REDIRECT).startsWith("/")||!1===J.pageProps.__N_REDIRECT_BASE_PATH){o.next=108;break}return(re=_.parseRelativeUrl(te)).pathname=z(re.pathname,E),he=q(this,te,te),ne=he.url,oe=he.as,o.abrupt("return",this.change(t,ne,oe,a));case 108:return window.location.href=te,o.abrupt("return",new Promise((function(){})));case 110:if(this.isPreview=!!J.__N_PREVIEW,J.notFound!==B){o.next=125;break}return o.prev=113,o.next=116,this.fetchComponent("/404");case 116:ae="/404",o.next=122;break;case 119:o.prev=119,o.t1=o.catch(113),ae="/_error";case 122:return o.next=124,this.getRouteInfo(ae,ae,x,n,O,{shallow:!1});case 124:Q=o.sent;case 125:return e.events.emit("beforeHistoryChange",n,d),this.changeState(t,r,n,a),a._h&&"/_error"===w&&500===(null===(X=self.__NEXT_DATA__.props)||void 0===X||null===(K=X.pageProps)||void 0===K?void 0:K.statusCode)&&(null===J||void 0===J?void 0:J.pageProps)&&(J.pageProps.statusCode=500),ie=a.shallow&&this.route===F,ce=null!==(ue=a.scroll)&&void 0!==ue?ue:!ie,se=ce?{x:0,y:0}:null,o.next=134,this.set(F,w,x,v,Q,null!==u&&void 0!==u?u:se).catch((function(e){if(!e.cancelled)throw e;Y=Y||e}));case 134:if(!Y){o.next=137;break}throw e.events.emit("routeChangeError",Y,v,d),Y;case 137:return e.events.emit("routeChangeComplete",n,d),o.abrupt("return",!0);case 142:if(o.prev=142,o.t2=o.catch(94),!h.default(o.t2)||!o.t2.cancelled){o.next=146;break}return o.abrupt("return",!1);case 146:throw o.t2;case 147:case"end":return o.stop()}}),i,this,[[38,44],[94,142],[113,119]])})).bind(this))()}},{key:"changeState",value:function(e,t,r,n){var o=void 0===n?{}:n;"pushState"===e&&m.getURL()===r||(this._shallow=o.shallow,window.history[e]({url:t,as:r,options:o,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(t,r,n,a,u,c){return i(o.default.mark((function i(){var s,l,f;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t.cancelled){o.next=2;break}throw t;case 2:if(!p.isAssetError(t)&&!c){o.next=6;break}throw e.events.emit("routeChangeError",t,a,u),window.location.href=a,R();case 6:if(o.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){o.next=14;break}return o.next=13,this.fetchComponent("/_error");case 13:var i;i=o.sent,s=i.page,l=i.styleSheets;case 14:if((f={props:void 0,Component:s,styleSheets:l,err:t,error:t}).props){o.next=26;break}return o.prev=16,o.next=19,this.getInitialProps(s,{err:t,pathname:r,query:n});case 19:f.props=o.sent,o.next=26;break;case 22:o.prev=22,o.t0=o.catch(16),console.error("Error in error page `getInitialProps`: ",o.t0),f.props={};case 26:return o.abrupt("return",f);case 29:return o.prev=29,o.t1=o.catch(6),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),r,n,a,u,!0));case 32:case"end":return o.stop()}}),i,this,[[6,29],[16,22]])})).bind(this))()}},{key:"getRouteInfo",value:function(e,t,r,n,a,u){return i(o.default.mark((function i(){var c,s,l,f,p,d,v,y,g,_,b,w,S;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,c=this,s=this.components[e],!u.shallow||!s||this.route!==e){o.next=5;break}return o.abrupt("return",s);case 5:if(l=void 0,s&&!("initial"in s)&&(l=s),o.t0=l,o.t0){o.next=12;break}return o.next=11,this.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.page.__next_rsc__}}));case 11:o.t0=o.sent;case 12:var i;f=o.t0,p=(i=f).Component,d=i.__N_SSG,v=i.__N_SSP,y=i.__N_RSC,o.next=18;break;case 18:return(d||v||y)&&(g=this.pageLoader.getDataHref({href:m.formatWithValidation({pathname:t,query:r}),asPath:a,ssg:d,rsc:y,locale:this.locale})),o.next=22,this._getData((function(){return d||v?U(g,c.isSsr,!1,d?c.sdc:c.sdr,!!d):c.getInitialProps(p,{pathname:t,query:r,asPath:n,locale:c.locale,locales:c.locales,defaultLocale:c.defaultLocale})}));case 22:if(_=o.sent,!y){o.next=29;break}return b=this,o.next=27,this._getData((function(){return b._getFlightData(g)}));case 27:var P;P=o.sent,w=P.fresh,S=P.data,_.pageProps=Object.assign(_.pageProps,{__flight_serialized__:S,__flight_fresh__:w});case 29:return f.props=_,this.components[e]=f,o.abrupt("return",f);case 34:return o.prev=34,o.t1=o.catch(0),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),t,r,n,u));case 37:case"end":return o.stop()}}),i,this,[[0,34]])})).bind(this))()}},{key:"set",value:function(e,t,r,n,o,a){return this.isFallback=!1,this.route=e,this.pathname=t,this.query=r,this.asPath=n,this.notify(o,a)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=l(this.asPath.split("#"),2),r=t[0],n=t[1],o=l(e.split("#"),2),a=o[0],i=o[1];return!(!i||r!==a||n!==i)||r===a&&n!==i}},{key:"scrollToHash",value:function(e){var t=l(e.split("#"),2)[1];if(""!==t&&"top"!==t){var r=document.getElementById(t);if(r)r.scrollIntoView();else{var n=document.getElementsByName(t)[0];n&&n.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e,t,r){var n=void 0===t?e:t,a=void 0===r?{}:r;return i(o.default.mark((function t(){var r,i,u,c,l,p,h,d,v,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:var o;return r=this,i=_.parseRelativeUrl(e),u=(o=i).pathname,c=o.query,t.next=6,this.pageLoader.getPageList();case 6:l=t.sent,p=n,t.next=18;break;case 12:var g;g=t.sent,h=g.__rewrites,d=w.default(T(k(n,this.locale)),l,h,i.query,(function(e){return z(e,l)}),this.locales),p=j(L(d.asPath),this.locale),d.matchedPage&&d.resolvedHref&&(u=d.resolvedHref,i.pathname=u,e=m.formatWithValidation(i)),t.next=19;break;case 18:i.pathname=z(i.pathname,l),i.pathname!==u&&(u=i.pathname,i.pathname=u,e=m.formatWithValidation(i));case 19:t.next=21;break;case 21:return t.next=23,this._preflightRequest({as:n,cache:!0,pages:l,pathname:u,query:c});case 23:return"rewrite"===(v=t.sent).type&&(i.pathname=v.resolvedHref,u=v.resolvedHref,c=s({},c,v.parsedAs.query),p=v.asPath,e=m.formatWithValidation(i)),y=f.removePathTrailingSlash(u),t.next=28,Promise.all([this.pageLoader._isSsg(y).then((function(t){return!!t&&U(r.pageLoader.getDataHref({href:e,asPath:p,ssg:!0,locale:"undefined"!==typeof a.locale?a.locale:r.locale}),!1,!1,r.sdc,!0)})),this.pageLoader[a.priority?"loadPage":"prefetch"](y)]);case 28:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"fetchComponent",value:function(e){return i(o.default.mark((function t(){var r,n,a,i,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this,n=!1,a=this.clc=function(){n=!0},i=function(){if(n){var t=new Error('Abort fetching component for route: "'.concat(e,'"'));throw t.cancelled=!0,t}a===r.clc&&(r.clc=null)},t.prev=4,t.next=7,this.pageLoader.loadPage(e);case 7:return u=t.sent,i(),t.abrupt("return",u);case 12:throw t.prev=12,t.t0=t.catch(4),i(),t.t0;case 16:case"end":return t.stop()}}),t,this,[[4,12]])})).bind(this))()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){var t=this,r=new URL(e,window.location.href).href;return!this.isPreview&&this.sdc[r]?Promise.resolve({fresh:!1,data:this.sdc[r]}):U(e,!0,!0,this.sdc,!1).then((function(e){return t.sdc[r]=e,{fresh:!0,data:e}}))}},{key:"_preflightRequest",value:function(e){return i(o.default.mark((function t(){var r,n,a,i,u,c,s,p,h,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=j(A(e.as)?L(e.as):e.as,this.locale),t.next=4,this.pageLoader.getMiddlewareList();case 4:if(t.sent.some((function(e){var t=l(e,2),r=t[0],o=t[1];return S.getRouteMatcher(x.getMiddlewareRegex(r,!o))(n)}))){t.next=8;break}return t.abrupt("return",{type:"next"});case 8:return t.next=10,this._getPreflightData({preflightHref:e.as,shouldCache:e.cache});case 10:if(a=t.sent,!(null===(r=a.rewrite)||void 0===r?void 0:r.startsWith("/"))){t.next=18;break}return i=_.parseRelativeUrl(v.normalizeLocalePath(A(a.rewrite)?L(a.rewrite):a.rewrite,this.locales).pathname),u=f.removePathTrailingSlash(i.pathname),e.pages.includes(u)?(c=!0,s=u):(s=z(u,e.pages))!==i.pathname&&e.pages.includes(s)&&(c=!0),t.abrupt("return",{type:"rewrite",asPath:i.pathname,parsedAs:i,matchedPage:c,resolvedHref:s});case 18:if(!a.redirect){t.next=24;break}if(!a.redirect.startsWith("/")){t.next=23;break}var o;return o=q(this,p=f.removePathTrailingSlash(v.normalizeLocalePath(A(a.redirect)?L(a.redirect):a.redirect,this.locales).pathname),p),h=o.url,d=o.as,t.abrupt("return",{type:"redirect",newUrl:h,newAs:d});case 23:return t.abrupt("return",{type:"redirect",destination:a.redirect});case 24:if(!a.refresh||a.ssr){t.next=26;break}return t.abrupt("return",{type:"refresh"});case 26:return t.abrupt("return",{type:"next"});case 27:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"_getPreflightData",value:function(e){var t=this,r=this,n=e.preflightHref,o=e.shouldCache,a=void 0!==o&&o,i=new URL(n,window.location.href).href;return!this.isPreview&&a&&this.sde[i]?Promise.resolve(this.sde[i]):fetch(n,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return a&&(t.sde[i]=e),e})).catch((function(e){throw delete r.sde[i],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,m.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",R(),t,r),this.clc(),this.clc=null)}},{key:"notify",value:function(e,t){return this.sub(e,this.components["/_app"].Component,t)}}])&&u(t.prototype,r),n&&u(t,n),e}();W.events=y.default(),t.default=W},4611:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port));c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";a&&":"!==a.substr(-1)&&(a+=":");e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");u&&"#"!==u[0]&&(u="#"+u);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(50466));var o=/https?|ftp|gopher|file/},73891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0===t?"":t;return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e))+r}},49820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e,t){var r=void 0===t||t,o=n.getParametrizedRoute(e),a=r?"(?!_next).*":"",i=r?"(?:(/.*)?)":"";if("routeKeys"in o)return"/"===o.parameterizedRoute?{groups:{},namedRegex:"^/".concat(a,"$"),re:new RegExp("^/".concat(a,"$")),routeKeys:{}}:{groups:o.groups,namedRegex:"^".concat(o.namedParameterizedRoute).concat(i,"$"),re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$")),routeKeys:o.routeKeys};if("/"===o.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(a,"$"))};return{groups:{},re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$"))}};var n=r(64095)},78689:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},36305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(63794),o=r(50466)},50466:function(e,t){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(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){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var o=r(e,2),a=o[0],i=o[1];Array.isArray(i)?i.forEach((function(e){return t.append(a,n(e))})):t.set(a,n(i))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},h=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},d=function(e,t){var r,n=h(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){_(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,m),removeEventListener("pointercancel",n,m)};addEventListener("pointerup",r,m),addEventListener("pointercancel",n,m)}(t,e):_(t,e)}},S=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,w,m)}))},P=new Set;e.getCLS=function(e,t){v||(d((function(e){y=e.value})),v=!0);var r,n=function(t){y>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},h=i("layout-shift",p);h&&(r=s(n,o,t),u((function(){h.takeRecords().map(p),r(!0)})),c((function(){l=0,y=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=d,e.getFID=function(e,n){var l,f=h(),p=a("FID"),d=function(e){e.startTime=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},34155:function(e){var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],s=!1,l=-1;function f(){s&&u&&(s=!1,u.length?c=u.concat(c):l=-1,c.length&&p())}function p(){if(!s){var e=i(f);s=!0;for(var t=c.length;t;){for(u=c,c=[];++l1)for(var r=1;r>>0}},15919:function(e,t,r){"use strict";t.__esModule=!0,t.useStyleRegistry=t.createStyleRegistry=t.StyleRegistry=void 0;var n=r(28122);t.StyleRegistry=n.StyleRegistry,t.createStyleRegistry=n.createStyleRegistry,t.useStyleRegistry=n.useStyleRegistry},39035:function(e,t,r){"use strict";t.__esModule=!0,t.computeId=function(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;a[n]||(a[n]="jsx-"+(0,o.default)(e+"-"+r));return a[n]},t.computeSelector=function(e,t){"undefined"===typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;a[r]||(a[r]=t.replace(/__jsx-style-dynamic-selector/g,e));return a[r]};var n,o=(n=r(69887))&&n.__esModule?n:{default:n};var a={}},44287:function(e,t,r){"use strict";var n=r(34155);function o(e,t){for(var r=0;rOwncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index f9e3cbca2..3bda4726d 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index 106059b91..790695191 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index cc175be4f..446a13f11 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Connected Chat Participants

When a stream is active and chat is enabled, connected chat clients will be displayed here.



Banned Users

Last Known Display Name
Created
Disabled at
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Connected Chat Participants

When a stream is active and chat is enabled, connected chat clients will be displayed here.



Banned Users

Last Known Display Name
Created
Disabled at
No Data
\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index 4c13e805f..e35c10f20 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index 59eb26140..bf420f255 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index e1187c659..19522d33f 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index ccacfdcc9..54b0f81c9 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index 1bb556aae..8cece0bdb 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to distribute your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to distribute your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index aca29043e..e4785bcb3 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index cc899c119..b305b6788 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index b2f434062..d3f52b666 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index a81ef7b2f..455641977 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
Not sure what to do next?
If you're having issues or would like to know how to customize and configure your Owncast server visit the help page.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
Not sure what to do next?
If you're having issues or would like to know how to customize and configure your Owncast server visit the help page.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index c0ad7a53d..10b33e727 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index 467118f66..c27e1a473 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Wed Dec 31 1969

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Wed Dec 31 1969

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index d1254b541..d3c98aa81 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
no info
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
no info
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index e20f4aa38..f3fd7f6c7 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file