(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5539],{10723:function(e,t,r){"use strict";r.r(t),r.d(t,{LookupSupportedLocales:function(){return s},ResolveLocale:function(){return a},match:function(){return l}});var n=/-u(?:-[0-9a-z]{2,8})+/gi;function i(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function o(e,t){for(var r=t;;){if(e.has(r))return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&"-"===r[n-2]&&(n-=2),r=r.slice(0,n)}}function a(e,t,r,a,s,l){for(var u,c=(u="lookup"===r.localeMatcher?function(e,t,r){for(var i={locale:""},a=0;a<t.length;a++){var s=t[a],l=s.replace(n,""),u=o(e,l);if(u)return i.locale=u,s!==l&&(i.extension=s.slice(l.length+1,s.length)),i}return i.locale=r(),i}(e,t,l):function(e,t,r){var i,a={},s={},l={},u=new Set;e.forEach(function(e){var t=new Intl.Locale(e).minimize().toString(),r=Intl.getCanonicalLocales(e)[0]||e;a[t]=e,s[e]=e,l[r]=e,u.add(t),u.add(e),u.add(r)});for(var c=0;c<t.length;c++){var f=t[c];if(i)break;var d=f.replace(n,"");if(e.has(d)||u.has(d)){i=d;break}var h=new Intl.Locale(d),p=h.maximize().toString(),m=h.minimize().toString();if(u.has(m)){i=m;break}i=o(u,p)}return i?{locale:s[i]||l[i]||a[i]||i}:{locale:r()}}(e,t,l)).locale,f={locale:"",dataLocale:c},d="-u",h=0;h<a.length;h++){var p=a[h];i(c in s,"Missing locale data for ".concat(c));var m=s[c];i("object"==typeof m&&null!==m,"locale data ".concat(p," must be an object"));var g=m[p];i(Array.isArray(g),"keyLocaleData for ".concat(p," must be an array"));var b=g[0];i("string"==typeof b||null===b,"value must be string or null but got ".concat(typeof b," in key ").concat(p));var v="";if(u.extension){var w=function(e,t){i(2===t.length,"key must have 2 elements");var r=e.length,n="-".concat(t,"-"),o=e.indexOf(n);if(-1!==o){for(var a=o+4,s=a,l=a,u=!1;!u;){var c=e.indexOf("-",l);2==(-1===c?r-l:c-l)?u=!0:-1===c?(s=r,u=!0):(s=c,l=c+1)}return e.slice(a,s)}if(n="-".concat(t),-1!==(o=e.indexOf(n))&&o+3===r)return""}(u.extension,p);void 0!==w&&(""!==w?~g.indexOf(w)&&(b=w,v="-".concat(p,"-").concat(b)):~w.indexOf("true")&&(b="true",v="-".concat(p)))}if(p in r){var y=r[p];i("string"==typeof y||null==y,"optionsValue must be String, Undefined or Null"),~g.indexOf(y)&&y!==b&&(b=y,v="")}f[p]=b,d+=v}if(d.length>2){var x=c.indexOf("-x-");-1===x?c+=d:c=c.slice(0,x)+d+c.slice(x,c.length),c=Intl.getCanonicalLocales(c)[0]}return f.locale=c,f}function s(e,t){for(var r=[],i=0;i<t.length;i++){var a=o(e,t[i].replace(n,""));a&&r.push(a)}return r}function l(e,t,r,n){return a(t.reduce(function(e,t){return e.add(t),e},new Set),Intl.getCanonicalLocales(e),{localeMatcher:(null==n?void 0:n.algorithm)||"best fit"},[],{},function(){return r}).locale}},61187:function(e,t,r){"use strict";var n=r(19228),i=r(87520),o=r(53359),a=r(8783);function s(e){if(!(this instanceof s))return new s(e);this.request=e}e.exports=s,e.exports.Negotiator=s,s.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},s.prototype.charsets=function(e){return n(this.request.headers["accept-charset"],e)},s.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},s.prototype.encodings=function(e){return i(this.request.headers["accept-encoding"],e)},s.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},s.prototype.languages=function(e){return o(this.request.headers["accept-language"],e)},s.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},s.prototype.mediaTypes=function(e){return a(this.request.headers.accept,e)},s.prototype.preferredCharset=s.prototype.charset,s.prototype.preferredCharsets=s.prototype.charsets,s.prototype.preferredEncoding=s.prototype.encoding,s.prototype.preferredEncodings=s.prototype.encodings,s.prototype.preferredLanguage=s.prototype.language,s.prototype.preferredLanguages=s.prototype.languages,s.prototype.preferredMediaType=s.prototype.mediaType,s.prototype.preferredMediaTypes=s.prototype.mediaTypes},19228:function(e){"use strict";e.exports=r,e.exports.preferredCharsets=r;var t=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e,r){var a=function(e){for(var r=e.split(","),n=0,i=0;n<r.length;n++){var o=function(e,r){var n=t.exec(e);if(!n)return null;var i=n[1],o=1;if(n[2])for(var a=n[2].split(";"),s=0;s<a.length;s++){var l=a[s].trim().split("=");if("q"===l[0]){o=parseFloat(l[1]);break}}return{charset:i,q:o,i:r}}(r[n].trim(),n);o&&(r[i++]=o)}return r.length=i,r}(void 0===e?"*":e||"");if(!r)return a.filter(o).sort(n).map(i);var s=r.map(function(e,t){return function(e,t,r){for(var n={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=function(e,t,r){var n=0;if(t.charset.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==t.charset)return null;return{i:r,o:t.i,q:t.q,s:n}}(e,t[i],r);o&&0>(n.s-o.s||n.q-o.q||n.o-o.o)&&(n=o)}return n}(e,a,t)});return s.filter(o).sort(n).map(function(e){return r[s.indexOf(e)]})}function n(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function i(e){return e.charset}function o(e){return e.q>0}},87520:function(e){"use strict";e.exports=n,e.exports.preferredEncodings=n;var t=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e,t,r){var n=0;if(t.encoding.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==t.encoding)return null;return{i:r,o:t.i,q:t.q,s:n}}function n(e,n){var s=function(e){for(var n=e.split(","),i=!1,o=1,a=0,s=0;a<n.length;a++){var l=function(e,r){var n=t.exec(e);if(!n)return null;var i=n[1],o=1;if(n[2])for(var a=n[2].split(";"),s=0;s<a.length;s++){var l=a[s].trim().split("=");if("q"===l[0]){o=parseFloat(l[1]);break}}return{encoding:i,q:o,i:r}}(n[a].trim(),a);l&&(n[s++]=l,i=i||r("identity",l),o=Math.min(o,l.q||1))}return i||(n[s++]={encoding:"identity",q:o,i:a}),n.length=s,n}(e||"");if(!n)return s.filter(a).sort(i).map(o);var l=n.map(function(e,t){return function(e,t,n){for(var i={o:-1,q:0,s:0},o=0;o<t.length;o++){var a=r(e,t[o],n);a&&0>(i.s-a.s||i.q-a.q||i.o-a.o)&&(i=a)}return i}(e,s,t)});return l.filter(a).sort(i).map(function(e){return n[l.indexOf(e)]})}function i(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function o(e){return e.encoding}function a(e){return e.q>0}},53359:function(e){"use strict";e.exports=n,e.exports.preferredLanguages=n;var t=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function r(e,r){var n=t.exec(e);if(!n)return null;var i=n[1],o=n[2],a=i;o&&(a+="-"+o);var s=1;if(n[3])for(var l=n[3].split(";"),u=0;u<l.length;u++){var c=l[u].split("=");"q"===c[0]&&(s=parseFloat(c[1]))}return{prefix:i,suffix:o,q:s,i:r,full:a}}function n(e,t){var n=function(e){for(var t=e.split(","),n=0,i=0;n<t.length;n++){var o=r(t[n].trim(),n);o&&(t[i++]=o)}return t.length=i,t}(void 0===e?"*":e||"");if(!t)return n.filter(a).sort(i).map(o);var s=t.map(function(e,t){return function(e,t,n){for(var i={o:-1,q:0,s:0},o=0;o<t.length;o++){var a=function(e,t,n){var i=r(e);if(!i)return null;var o=0;if(t.full.toLowerCase()===i.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===i.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===i.prefix.toLowerCase())o|=1;else if("*"!==t.full)return null;return{i:n,o:t.i,q:t.q,s:o}}(e,t[o],n);a&&0>(i.s-a.s||i.q-a.q||i.o-a.o)&&(i=a)}return i}(e,n,t)});return s.filter(a).sort(i).map(function(e){return t[s.indexOf(e)]})}function i(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function o(e){return e.full}function a(e){return e.q>0}},8783:function(e){"use strict";e.exports=n,e.exports.preferredMediaTypes=n;var t=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function r(e,r){var n=t.exec(e);if(!n)return null;var i=Object.create(null),o=1,a=n[2],u=n[1];if(n[3])for(var c=(function(e){for(var t=e.split(";"),r=1,n=0;r<t.length;r++)s(t[n])%2==0?t[++n]=t[r]:t[n]+=";"+t[r];t.length=n+1;for(var r=0;r<t.length;r++)t[r]=t[r].trim();return t})(n[3]).map(l),f=0;f<c.length;f++){var d=c[f],h=d[0].toLowerCase(),p=d[1],m=p&&'"'===p[0]&&'"'===p[p.length-1]?p.substr(1,p.length-2):p;if("q"===h){o=parseFloat(m);break}i[h]=m}return{type:u,subtype:a,params:i,q:o,i:r}}function n(e,t){var n=function(e){for(var t=function(e){for(var t=e.split(","),r=1,n=0;r<t.length;r++)s(t[n])%2==0?t[++n]=t[r]:t[n]+=","+t[r];return t.length=n+1,t}(e),n=0,i=0;n<t.length;n++){var o=r(t[n].trim(),n);o&&(t[i++]=o)}return t.length=i,t}(void 0===e?"*/*":e||"");if(!t)return n.filter(a).sort(i).map(o);var l=t.map(function(e,t){return function(e,t,n){for(var i={o:-1,q:0,s:0},o=0;o<t.length;o++){var a=function(e,t,n){var i=r(e),o=0;if(!i)return null;if(t.type.toLowerCase()==i.type.toLowerCase())o|=4;else if("*"!=t.type)return null;if(t.subtype.toLowerCase()==i.subtype.toLowerCase())o|=2;else if("*"!=t.subtype)return null;var a=Object.keys(t.params);if(a.length>0){if(!a.every(function(e){return"*"==t.params[e]||(t.params[e]||"").toLowerCase()==(i.params[e]||"").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}(e,t[o],n);a&&0>(i.s-a.s||i.q-a.q||i.o-a.o)&&(i=a)}return i}(e,n,t)});return l.filter(a).sort(i).map(function(e){return t[l.indexOf(e)]})}function i(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function o(e){return e.type+"/"+e.subtype}function a(e){return e.q>0}function s(e){for(var t=0,r=0;-1!==(r=e.indexOf('"',r));)t++,r++;return t}function l(e){var t,r,n=e.indexOf("=");return -1===n?t=e:(t=e.substr(0,n),r=e.substr(n+1)),[t,r]}},73332:function(e,t,r){"use strict";var n=r(33540);t.Z=n.default},25726:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(82198);t.default=function(e){var t;let{config:r,localizedPathnames:i,request:o,resolvedLocale:a}=e,s=o.nextUrl.clone(),l=n.getHost(o.headers);function u(e,t){return o.nextUrl.basePath&&((e=new URL(e)).pathname=n.applyBasePath(e.pathname,o.nextUrl.basePath)),"<".concat(e.toString(),'>; rel="alternate"; hreflang="').concat(t,'"')}function c(e,t){return i&&"object"==typeof i?n.formatTemplatePathname(e,i[a],i[t]):e}l&&(s.port="",s.host=l),s.protocol=null!==(t=o.headers.get("x-forwarded-proto"))&&void 0!==t?t:s.protocol,s.pathname=n.getNormalizedPathname(s.pathname,r.locales);let f=r.locales.flatMap(e=>{let t;function o(t){return"/"===t?"/".concat(e):"/".concat(e).concat(t)}if(r.domains)return(r.domains.filter(t=>n.isLocaleSupportedOnDomain(e,t))||[]).map(n=>((t=new URL(s)).port="",t.host=n.domain,t.pathname=c(s.pathname,e),e===n.defaultLocale&&"always"!==r.localePrefix||(t.pathname=o(t.pathname)),u(t,e)));{let n;n=i&&"object"==typeof i?c(s.pathname,e):s.pathname,e===r.defaultLocale&&"always"!==r.localePrefix||(n=o(n)),t=new URL(n,s)}return u(t,e)});if(!r.domains&&("always"!==r.localePrefix||"/"===s.pathname)){let e=new URL(c(s.pathname,r.defaultLocale),s);f.push(u(e,"x-default"))}return f.join(", ")}},33540:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99027),i=r(42132),o=r(99448),a=r(25726),s=r(66385),l=r(82198);t.default=function(e){var t,r,u;let c={...e,alternateLinks:null===(t=e.alternateLinks)||void 0===t||t,localePrefix:null!==(r=e.localePrefix)&&void 0!==r?r:"always",localeDetection:null===(u=e.localeDetection)||void 0===u||u};return function(e){var t,r,u;let f=decodeURI(e.nextUrl.pathname),{domain:d,locale:h}=s.default(c,e.headers,e.cookies,f),p=c.localeDetection&&(null===(t=e.cookies.get(i.COOKIE_LOCALE_NAME))||void 0===t?void 0:t.value)!==h,m=d?d.defaultLocale===h:h===c.defaultLocale,g=(null===(r=c.domains)||void 0===r?void 0:r.filter(e=>l.isLocaleSupportedOnDomain(h,e)))||[],b=null!=c.domains&&!d;function v(t){let r=new URL(t,e.url);return e.nextUrl.basePath&&(r.pathname=l.applyBasePath(r.pathname,e.nextUrl.basePath)),n.NextResponse.rewrite(r,function(){let t=new Headers(e.headers);return t.set(i.HEADER_LOCALE_NAME,h),{request:{headers:t}}}())}function w(t,r){var i,o;let a=new URL(t,e.url);if(g.length>0&&!r){let e=l.getBestMatchingDomain(d,h,g);e&&(r=e.domain,e.defaultLocale===h&&"as-needed"===c.localePrefix&&a.pathname.startsWith("/".concat(h))&&(a.pathname=l.getNormalizedPathname(a.pathname,c.locales)))}return r&&(a.host=r,e.headers.get("x-forwarded-host")&&(a.protocol=null!==(i=e.headers.get("x-forwarded-proto"))&&void 0!==i?i:e.nextUrl.protocol,a.port=null!==(o=e.headers.get("x-forwarded-port"))&&void 0!==o?o:"")),e.nextUrl.basePath&&(a.pathname=l.applyBasePath(a.pathname,e.nextUrl.basePath)),n.NextResponse.redirect(a.toString())}let y=l.getNormalizedPathname(f,c.locales),x=l.getPathnameLocale(f,c.locales),P=null!=x,k,_,L=f;if(c.pathnames){let t;if([t,_]=l.getInternalTemplate(c.pathnames,y,h),_){let r=c.pathnames[_],n="string"==typeof r?r:r[h];if(o.matchesPathname(n,y))L=l.formatTemplatePathname(y,n,_,x);else{let i;i=t?"string"==typeof r?r:r[t]:_;let o=!P&&m||"never"===c.localePrefix?void 0:h;k=w(l.getPathWithSearch(l.formatTemplatePathname(y,i,n,o),e.nextUrl.search))}}}if(!k){if("/"===L){let t=l.getPathWithSearch("/".concat(h),e.nextUrl.search);k="never"===c.localePrefix||m&&"as-needed"===c.localePrefix?v(t):w(t)}else{let t=l.getPathWithSearch(L,e.nextUrl.search);if(P){let r=l.getPathWithSearch(y,e.nextUrl.search);if("never"===c.localePrefix)k=w(r);else if(x===h){if(m&&"as-needed"===c.localePrefix)k=w(r);else if(c.domains){let e=l.getBestMatchingDomain(d,x,g);k=(null==d?void 0:d.domain)===(null==e?void 0:e.domain)||b?v(t):w(r,null==e?void 0:e.domain)}else k=v(t)}else k=w("/".concat(h).concat(r))}else k="never"===c.localePrefix||m&&("as-needed"===c.localePrefix||c.domains)?v("/".concat(h).concat(t)):w("/".concat(h).concat(t))}}return p&&k.cookies.set(i.COOKIE_LOCALE_NAME,h,{path:e.nextUrl.basePath||void 0,sameSite:i.COOKIE_SAME_SITE,maxAge:i.COOKIE_MAX_AGE}),"never"!==c.localePrefix&&c.alternateLinks&&c.locales.length>1&&k.headers.set("Link",a.default({config:c,localizedPathnames:null!=_?null===(u=c.pathnames)||void 0===u?void 0:u[_]:void 0,request:e,resolvedLocale:h})),k}}},66385:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(10723),i=r(61187),o=r(42132),a=r(82198),s=i&&i.__esModule?i:{default:i};function l(e,t,r){let i;let o=new s.default({headers:{"accept-language":e.get("accept-language")||void 0}}).languages();try{i=n.match(o,t,r)}catch(e){}return i}function u(e,t){let r=a.getFirstPathnameSegment(e);return a.findCaseInsensitiveLocale(r,t)}function c(e,t){if(e.has(o.COOKIE_LOCALE_NAME)){var r;let n=null===(r=e.get(o.COOKIE_LOCALE_NAME))||void 0===r?void 0:r.value;if(n&&t.includes(n))return n}}function f(e,t,r,n){let i,{defaultLocale:o,localeDetection:a,locales:s}=e;return n&&(i=u(n,s)),!i&&a&&r&&(i=c(r,s)),!i&&a&&t&&(i=l(t,s,o)),i||(i=o),i}t.default=function(e,t,r,n){return e.domains?function(e,t,r,n){let i;let o=function(e,t){var r;let n=a.getHost(e);if((n=null===(r=n)||void 0===r?void 0:r.replace(/:\d+$/,""))&&t)return t.find(e=>e.domain===n)}(t,e.domains);if(!o)return{locale:f(e,t,r,n)};if(n){let t=u(n,e.locales);if(t){if(!a.isLocaleSupportedOnDomain(t,o))return{locale:t,domain:o};i=t}}if(!i&&e.localeDetection&&r){let t=c(r,e.locales);t&&a.isLocaleSupportedOnDomain(t,o)&&(i=t)}if(!i&&e.localeDetection&&t){let r=l(t,o.locales||e.locales,o.defaultLocale);r&&(i=r)}return i||(i=o.defaultLocale),{locale:i,domain:o}}(e,t,r,n):{locale:f(e,t,r,n)}},t.getAcceptLanguageLocale=l},82198:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99448);function i(e){return e.split("/")[1]}function o(e){return e.includes("[[...")}function a(e){return e.includes("[...")}function s(e){return e.includes("[")}function l(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(!s(t)&&s(i))return -1;if(s(t)&&!s(i))return 1;if(!a(t)&&a(i))return -1;if(a(t)&&!a(i))return 1;if(!o(t)&&o(i))return -1;if(o(t)&&!o(i))return 1}return 0}function u(e){return e.sort(l)}function c(e,t){return t.find(t=>t.toLowerCase()===e.toLowerCase())}function f(e,t){let r=n.templateToRegex(e).exec(t);if(!r)return;let i={};for(let t=1;t<r.length;t++){var o;let n=null===(o=e.match(/\[([^\]]+)\]/g))||void 0===o?void 0:o[t-1].replace(/[[\]]/g,"");n&&(i[n]=r[t])}return i}function d(e,t){if(!t)return e;let r=e=e.replace(/\[\[/g,"[").replace(/\]\]/g,"]");return Object.entries(t).forEach(e=>{let[t,n]=e;r=r.replace("[".concat(t,"]"),n)}),r}function h(e,t){return t.defaultLocale===e||!t.locales||t.locales.includes(e)}function p(e){return e.endsWith("/")&&(e=e.slice(0,-1)),e}t.applyBasePath=function(e,t){return p(t+e)},t.comparePathnamePairs=l,t.findCaseInsensitiveLocale=c,t.formatPathname=d,t.formatTemplatePathname=function(e,t,r,n){let i=f(t,e),o="";return n&&(o="/".concat(n)),o+=d(r,i),o=p(o)},t.getBestMatchingDomain=function(e,t,r){let n;return e&&h(t,e)&&(n=e),n||(n=r.find(e=>e.defaultLocale===t)),n||(n=r.find(e=>null!=e.locales&&e.locales.includes(t))),n||null!=(null==e?void 0:e.locales)||(n=e),n||(n=r.find(e=>!e.locales)),n},t.getFirstPathnameSegment=i,t.getHost=function(e){var t,r;return null!==(t=null!==(r=e.get("x-forwarded-host"))&&void 0!==r?r:e.get("host"))&&void 0!==t?t:void 0},t.getInternalTemplate=function(e,t,r){for(let i of u(Object.keys(e))){let o=e[i];if("string"==typeof o){if(n.matchesPathname(o,t))return[void 0,i]}else{let e=Object.entries(o),a=e.findIndex(e=>{let[t]=e;return t===r});for(let[r,o]of(a>0&&e.unshift(e.splice(a,1)[0]),e))if(n.matchesPathname(o,t))return[r,i]}}for(let r of Object.keys(e))if(n.matchesPathname(r,t))return[void 0,r];return[void 0,void 0]},t.getNormalizedPathname=function(e,t){e.endsWith("/")||(e+="/");let r=e.match(RegExp("^/(".concat(t.join("|"),")/(.*)"),"i")),n=r?"/"+r[2]:e;return"/"!==n&&(n=p(n)),n},t.getPathWithSearch=function(e,t){let r=e;return t&&(r+=t),r},t.getPathnameLocale=function(e,t){let r=i(e);return c(r,t)?r:void 0},t.getRouteParams=f,t.getSortedPathnames=u,t.isLocaleSupportedOnDomain=h},53795:function(e,t,r){"use strict";var n=r(33910),i=r(99138);t.iV=n.default,i.default},50628:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(52680),i=r(2265),o=r(12579),a=r(23740),s=i&&i.__esModule?i:{default:i};let l=i.forwardRef(function(e,t){let{locale:r,...i}=e,l=o.default();return s.default.createElement(a.default,n.extends({ref:t,locale:r||l},i))});l.displayName="ClientLink",t.default=l},31969:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(12579),i=r(6882);t.default=function(e){let t;try{t=n.default()}catch(e){throw Error(void 0)}for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return i.default({...e,locale:t},...o)}},51939:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(12579),i=r(34178);t.default=function(e){let t;try{t=n.default()}catch(e){throw Error(void 0)}for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return i.default({...e,locale:t},...o)}},99138:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(52680),i=r(2265),o=r(12579),a=r(42571),s=r(50628),l=r(31969),u=r(51939),c=r(6188),f=r(26900),d=i&&i.__esModule?i:{default:i};t.default=function(e){function t(){let t=o.default();if(!e.locales.includes(t))throw Error(void 0);return t}let r=i.forwardRef(function(r,i){let{href:o,locale:l,...u}=r,c=t(),f=l||c;return d.default.createElement(s.default,n.extends({ref:i,href:a.compileLocalizedPathname({locale:f,pathname:o,params:"object"==typeof o?o.params:void 0,pathnames:e.pathnames}),locale:l,localePrefix:e.localePrefix},u))});function h(t){let{href:r,locale:n}=t;return a.compileLocalizedPathname({...a.normalizeNameOrNameWithParams(r),locale:n,pathnames:e.pathnames})}return r.displayName="Link",{Link:r,redirect:function(r){let n=h({href:r,locale:t()});for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return u.default({...e,pathname:n},...o)},permanentRedirect:function(r){let n=h({href:r,locale:t()});for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return l.default({...e,pathname:n},...o)},usePathname:function(){let r=c.default(),n=t();return r?a.getRoute({pathname:r,locale:n,pathnames:e.pathnames}):r},useRouter:function(){let e=f.default(),r=t();return{...e,push(t){for(var n,i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=h({href:t,locale:(null===(n=o[0])||void 0===n?void 0:n.locale)||r});return e.push(s,...o)},replace(t){for(var n,i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=h({href:t,locale:(null===(n=o[0])||void 0===n?void 0:n.locale)||r});return e.replace(s,...o)},prefetch(t){for(var n,i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=h({href:t,locale:(null===(n=o[0])||void 0===n?void 0:n.locale)||r});return e.prefetch(s,...o)}}},getPathname:h}}},33910:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(52680),i=r(2265),o=r(50628),a=r(31969),s=r(51939),l=r(6188),u=r(26900),c=i&&i.__esModule?i:{default:i};t.default=function(e){let t=i.forwardRef(function(t,r){return c.default.createElement(o.default,n.extends({ref:r,localePrefix:null==e?void 0:e.localePrefix},t))});return t.displayName="Link",{Link:t,redirect:function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return s.default({...e,pathname:t},...n)},permanentRedirect:function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return a.default({...e,pathname:t},...n)},usePathname:function(){return l.default()},useRouter:u.default}}},6188:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99376),i=r(2265),o=r(12579),a=r(99448);t.default=function(){let e=n.usePathname(),t=o.default();return i.useMemo(()=>e&&a.hasPathnamePrefixed(t,e)?a.unlocalizePathname(e,t):e,[t,e])}},26900:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99376),i=r(2265),o=r(12579),a=r(99448),s=r(56146),l=r(42571);t.default=function(){let e=n.useRouter(),t=o.default(),r=n.usePathname();return i.useMemo(()=>{function n(e){return function(n,i){let{locale:o,...u}=i||{};s.default(r,t,o);let c=[function(e,n){let i=window.location.pathname,o=l.getBasePath(r);return o&&(i=i.replace(o,"")),a.localizeHref(e,n||t,t,i)}(n,o)];return Object.keys(u).length>0&&c.push(u),e(...c)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,r,e])}},23740:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(52680),i=r(27648),o=r(99376),a=r(2265),s=r(12579),l=r(99448),u=r(56146);function c(e){return e&&e.__esModule?e:{default:e}}var f=c(i),d=c(a);let h=a.forwardRef(function(e,t){let{href:r,locale:i,localePrefix:c,onClick:h,prefetch:p,...m}=e,g=o.usePathname(),b=s.default(),v=i!==b,[w,y]=a.useState(()=>l.isLocalHref(r)&&("never"!==c||v)?l.prefixHref(r,i):r);return a.useEffect(()=>{g&&y(l.localizeHref(r,i,b,g))},[b,r,i,g]),v&&(p=!1),d.default.createElement(f.default,n.extends({ref:t,href:w,hrefLang:v?i:void 0,onClick:function(e){u.default(g,b,i),h&&h(e)},prefetch:p},m))});h.displayName="ClientLink",t.default=h},6882:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99376),i=r(99448);t.default=function(e){let t="never"===e.localePrefix?e.pathname:i.prefixPathname(e.locale,e.pathname);for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return n.permanentRedirect(t,...o)}},34178:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99376),i=r(99448);t.default=function(e){let t="never"===e.localePrefix?e.pathname:i.prefixPathname(e.locale,e.pathname);for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return n.redirect(t,...o)}},56146:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(42132),i=r(42571);t.default=function(e,t,r){if(!(r!==t&&null!=r)||!e)return;let o=i.getBasePath(e);document.cookie="".concat(n.COOKIE_LOCALE_NAME,"=").concat(r,"; path=").concat(""!==o?o:"/","; max-age=").concat(n.COOKIE_MAX_AGE,"; sameSite=").concat(n.COOKIE_SAME_SITE)}},42571:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99448);function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}t.compileLocalizedPathname=function(e){let{pathname:t,locale:r,params:n,pathnames:o,query:a}=e;function s(e){let t=o[e];return t||(t=e),t}function l(e){let t="string"==typeof e?e:e[r];return n&&Object.entries(n).forEach(e=>{let[r,n]=e;t=Array.isArray(n)?t.replace(RegExp("(\\[)?\\[...".concat(r,"\\](\\])?"),"g"),n.map(e=>String(e)).join("/")):t.replace("[".concat(r,"]"),String(n))}),a&&(t+=i(a)),t}if("string"==typeof t)return l(s(t));{let{pathname:e,...r}=t;return{...r,pathname:l(s(e))}}},t.getBasePath=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")},t.getRoute=function(e){var t;let{locale:r,pathname:i,pathnames:o}=e,a=n.unlocalizePathname(decodeURI(i),r),s=null===(t=Object.entries(o).find(e=>{let[,t]=e,i="string"!=typeof t?t[r]:t;return n.matchesPathname(i,a)}))||void 0===t?void 0:t[0];return s||(s=i),s},t.normalizeNameOrNameWithParams=function(e){return"string"==typeof e?{pathname:e}:e},t.serializeSearchParams=i},99448:function(e,t){"use strict";function r(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}function n(e){return"object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e)}function i(e,t){let r;return"string"==typeof e?r=o(t,e):(r={...e},e.pathname&&(r.pathname=o(t,e.pathname))),r}function o(e,t){let r="/"+e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function a(e,t){let r="/".concat(e);return t===r||t.startsWith("".concat(r,"/"))}function s(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))}Object.defineProperty(t,"__esModule",{value:!0}),t.hasPathnamePrefixed=a,t.isLocalHref=n,t.isRelativeHref=r,t.localizeHref=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;if(!n(e)||r(e))return e;let l=t!==o,u=null==t||a(t,s);return(l||u)&&null!=t?i(e,t):e},t.matchesPathname=function(e,t){return s(e).test(t)},t.prefixHref=i,t.prefixPathname=o,t.templateToRegex=s,t.unlocalizePathname=function(e,t){return e.replace(new RegExp("^/".concat(t)),"")||"/"}},27648:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return i.a}});var n=r(72972),i=r.n(n),o={};for(var a in n)"default"!==a&&(o[a]=(function(e){return n[e]}).bind(0,a));r.d(t,o)},99027:function(e,t,r){"use strict";r.r(t);var n=r(4364),i={};for(var o in n)"default"!==o&&(i[o]=(function(e){return n[e]}).bind(0,o));r.d(t,i)},82408:function(e){"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={};function a(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function s(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function l(e){var t,r;if(!e)return;let[[n,i],...o]=s(e),{domain:a,expires:l,httponly:f,maxage:d,path:h,samesite:p,secure:m,partitioned:g,priority:b}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase(),t]));return function(e){let t={};for(let r in e)e[r]&&(t[r]=e[r]);return t}({name:n,value:decodeURIComponent(i),domain:a,...l&&{expires:new Date(l)},...f&&{httpOnly:!0},..."string"==typeof d&&{maxAge:Number(d)},path:h,...p&&{sameSite:u.includes(t=(t=p).toLowerCase())?t:void 0},...m&&{secure:!0},...b&&{priority:c.includes(r=(r=b).toLowerCase())?r:void 0},...g&&{partitioned:!0}})}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{RequestCookies:()=>f,ResponseCookies:()=>d,parseCookie:()=>s,parseSetCookie:()=>l,stringifyCookie:()=>a}),e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let l of n(o))i.call(e,l)||l===a||t(e,l,{get:()=>o[l],enumerable:!(s=r(o,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var u=["strict","lax","none"],c=["low","medium","high"],f=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of s(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>a(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>a(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},d=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;let i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(let e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,o,a=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}(i)){let t=l(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,i=this._parsed;return i.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=a(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r,n]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:t,path:r,domain:n,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}}},98064:function(e,t,r){var n;(()=>{var i={226:function(i,o){!function(a,s){"use strict";var l="function",u="undefined",c="object",f="string",d="major",h="model",p="name",m="type",g="vendor",b="version",v="architecture",w="console",y="mobile",x="tablet",P="smarttv",k="wearable",_="embedded",L="Amazon",O="Apple",S="ASUS",C="BlackBerry",R="Browser",A="Chrome",j="Firefox",q="Google",E="Huawei",M="Microsoft",U="Motorola",N="Opera",T="Samsung",I="Sharp",z="Sony",D="Xiaomi",H="Zebra",$="Facebook",B="Chromium OS",W="Mac OS",F=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},G=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},V=function(e,t){return typeof e===f&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},Z=function(e,t){if(typeof e===f)return e=e.replace(/^\s\s*/,""),typeof t===u?e:e.substring(0,350)},X=function(e,t){for(var r,n,i,o,a,u,f=0;f<t.length&&!a;){var d=t[f],h=t[f+1];for(r=n=0;r<d.length&&!a&&d[r];)if(a=d[r++].exec(e))for(i=0;i<h.length;i++)u=a[++n],typeof(o=h[i])===c&&o.length>0?2===o.length?typeof o[1]==l?this[o[0]]=o[1].call(this,u):this[o[0]]=o[1]:3===o.length?typeof o[1]!==l||o[1].exec&&o[1].test?this[o[0]]=u?u.replace(o[1],o[2]):void 0:this[o[0]]=u?o[1].call(this,u,o[2]):void 0:4===o.length&&(this[o[0]]=u?o[3].call(this,u.replace(o[1],o[2])):void 0):this[o]=u||s;f+=2}},J=function(e,t){for(var r in t)if(typeof t[r]===c&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(V(t[r][n],e))return"?"===r?s:r}else if(V(t[r],e))return"?"===r?s:r;return e},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,b],[/opios[\/ ]+([\w\.]+)/i],[b,[p,N+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[p,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[p,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[b,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+R],b],[/\bfocus\/([\w\.]+)/i],[b,[p,j+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[p,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[p,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[p,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[b,[p,j]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+R],b],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,b],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,$],b],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[p,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,A+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[p,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[b,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[p,j+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,b],[/(cobalt)\/([\w\.]+)/i],[p,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,K]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[g,T],[m,x]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[g,T],[m,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[g,O],[m,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[g,O],[m,x]],[/(macintosh);/i],[h,[g,O]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[g,I],[m,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[g,E],[m,x]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[g,E],[m,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[h,/_/g," "],[g,D],[m,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[g,D],[m,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[g,"OPPO"],[m,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[g,"Vivo"],[m,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[g,"Realme"],[m,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[g,U],[m,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[g,U],[m,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[g,"LG"],[m,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[g,"LG"],[m,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[g,"Lenovo"],[m,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[g,"Nokia"],[m,y]],[/(pixel c)\b/i],[h,[g,q],[m,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[g,q],[m,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[g,z],[m,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[g,z],[m,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[g,"OnePlus"],[m,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[g,L],[m,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[g,L],[m,y]],[/(playbook);[-\w\),; ]+(rim)/i],[h,g,[m,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[g,C],[m,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[g,S],[m,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[g,S],[m,y]],[/(nexus 9)/i],[h,[g,"HTC"],[m,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[h,/_/g," "],[m,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[g,"Acer"],[m,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[g,"Meizu"],[m,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,h,[m,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[g,h,[m,x]],[/(surface duo)/i],[h,[g,M],[m,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[g,"Fairphone"],[m,y]],[/(u304aa)/i],[h,[g,"AT&T"],[m,y]],[/\bsie-(\w*)/i],[h,[g,"Siemens"],[m,y]],[/\b(rct\w+) b/i],[h,[g,"RCA"],[m,x]],[/\b(venue[\d ]{2,7}) b/i],[h,[g,"Dell"],[m,x]],[/\b(q(?:mv|ta)\w+) b/i],[h,[g,"Verizon"],[m,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[g,"Barnes & Noble"],[m,x]],[/\b(tm\d{3}\w+) b/i],[h,[g,"NuVision"],[m,x]],[/\b(k88) b/i],[h,[g,"ZTE"],[m,x]],[/\b(nx\d{3}j) b/i],[h,[g,"ZTE"],[m,y]],[/\b(gen\d{3}) b.+49h/i],[h,[g,"Swiss"],[m,y]],[/\b(zur\d{3}) b/i],[h,[g,"Swiss"],[m,x]],[/\b((zeki)?tb.*\b) b/i],[h,[g,"Zeki"],[m,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],h,[m,x]],[/\b(ns-?\w{0,9}) b/i],[h,[g,"Insignia"],[m,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[g,"NextBook"],[m,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],h,[m,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],h,[m,y]],[/\b(ph-1) /i],[h,[g,"Essential"],[m,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[g,"Envizen"],[m,x]],[/\b(trio[-\w\. ]+) b/i],[h,[g,"MachSpeed"],[m,x]],[/\btu_(1491) b/i],[h,[g,"Rotor"],[m,x]],[/(shield[\w ]+) b/i],[h,[g,"Nvidia"],[m,x]],[/(sprint) (\w+)/i],[g,h,[m,y]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[g,M],[m,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[g,H],[m,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[g,H],[m,y]],[/smart-tv.+(samsung)/i],[g,[m,P]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[g,T],[m,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,"LG"],[m,P]],[/(apple) ?tv/i],[g,[h,O+" TV"],[m,P]],[/crkey/i],[[h,A+"cast"],[g,q],[m,P]],[/droid.+aft(\w)( bui|\))/i],[h,[g,L],[m,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[g,I],[m,P]],[/(bravia[\w ]+)( bui|\))/i],[h,[g,z],[m,P]],[/(mitv-\w{5}) bui/i],[h,[g,D],[m,P]],[/Hbbtv.*(technisat) (.*);/i],[g,h,[m,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,Z],[h,Z],[m,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,h,[m,w]],[/droid.+; (shield) bui/i],[h,[g,"Nvidia"],[m,w]],[/(playstation [345portablevi]+)/i],[h,[g,z],[m,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[g,M],[m,w]],[/((pebble))app/i],[g,h,[m,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[g,O],[m,k]],[/droid.+; (glass) \d/i],[h,[g,q],[m,k]],[/droid.+; (wt63?0{2,3})\)/i],[h,[g,H],[m,k]],[/(quest( 2| pro)?)/i],[h,[g,$],[m,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[m,_]],[/(aeobc)\b/i],[h,[g,L],[m,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[m,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[m,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,y]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,b],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[b,J,Q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[b,J,Q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,W],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,b],[/\(bb(10);/i],[b,[p,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[p,j+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[p,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,B],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,b],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,b]]},ee=function(e,t){if(typeof e===c&&(t=e,e=s),!(this instanceof ee))return new ee(e,t).getResult();var r=typeof a!==u&&a.navigator?a.navigator:s,n=e||(r&&r.userAgent?r.userAgent:""),i=r&&r.userAgentData?r.userAgentData:s,o=t?F(Y,t):Y,w=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t[p]=s,t[b]=s,X.call(t,n,o.browser),t[d]=typeof(e=t[b])===f?e.replace(/[^\d\.]/g,"").split(".")[0]:s,w&&r&&r.brave&&typeof r.brave.isBrave==l&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[v]=s,X.call(e,n,o.cpu),e},this.getDevice=function(){var e={};return e[g]=s,e[h]=s,e[m]=s,X.call(e,n,o.device),w&&!e[m]&&i&&i.mobile&&(e[m]=y),w&&"Macintosh"==e[h]&&r&&typeof r.standalone!==u&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[h]="iPad",e[m]=x),e},this.getEngine=function(){var e={};return e[p]=s,e[b]=s,X.call(e,n,o.engine),e},this.getOS=function(){var e={};return e[p]=s,e[b]=s,X.call(e,n,o.os),w&&!e[p]&&i&&"Unknown"!=i.platform&&(e[p]=i.platform.replace(/chrome os/i,B).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===f&&e.length>350?Z(e,350):e,this},this.setUA(n),this};ee.VERSION="1.0.35",ee.BROWSER=G([p,b,d]),ee.CPU=G([v]),ee.DEVICE=G([h,g,m,w,y,P,x,k,_]),ee.ENGINE=ee.OS=G([p,b]),typeof o!==u?(i.exports&&(o=i.exports=ee),o.UAParser=ee):r.amdO?void 0!==(n=(function(){return ee}).call(t,r,t,e))&&(e.exports=n):typeof a!==u&&(a.UAParser=ee);var et=typeof a!==u&&(a.jQuery||a.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:this)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},n=!0;try{i[e].call(r.exports,r,r.exports,a),n=!1}finally{n&&delete o[e]}return r.exports}a.ab="//";var s=a(226);e.exports=s})()},7698:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PageSignatureError:function(){return r},RemovedPageError:function(){return n},RemovedUAError:function(){return i}});class r extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form:
  
  export function middleware(request, event) {
    return NextResponse.redirect('/new-location')
  }
  
  Read more: https://nextjs.org/docs/messages/middleware-new-signature
  `)}}class n extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`.
  Read more: https://nextjs.org/docs/messages/middleware-request-page
  `)}}class i extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function.
  Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
  `)}}},4364:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ImageResponse:function(){return n.ImageResponse},NextRequest:function(){return i.NextRequest},NextResponse:function(){return o.NextResponse},URLPattern:function(){return s.URLPattern},userAgent:function(){return a.userAgent},userAgentFromString:function(){return a.userAgentFromString}});let n=r(52894),i=r(28383),o=r(80370),a=r(40937),s=r(6630)},4894:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return c}});let n=r(4068),i=r(79114),o=r(23355),a=r(93331),s=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function l(e,t){return new URL(String(e).replace(s,"localhost"),t&&String(t).replace(s,"localhost"))}let u=Symbol("NextURLInternal");class c{constructor(e,t,r){let n,i;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,i=r||{}):i=r||t||{},this[u]={url:l(e,n??i.base),options:i,basePath:""},this.analyze()}analyze(){var e,t,r,i,s;let l=(0,a.getNextPathnameInfo)(this[u].url.pathname,{nextConfig:this[u].options.nextConfig,parseData:!0,i18nProvider:this[u].options.i18nProvider}),c=(0,o.getHostname)(this[u].url,this[u].options.headers);this[u].domainLocale=this[u].options.i18nProvider?this[u].options.i18nProvider.detectDomainLocale(c):(0,n.detectDomainLocale)(null==(t=this[u].options.nextConfig)?void 0:null==(e=t.i18n)?void 0:e.domains,c);let f=(null==(r=this[u].domainLocale)?void 0:r.defaultLocale)||(null==(s=this[u].options.nextConfig)?void 0:null==(i=s.i18n)?void 0:i.defaultLocale);this[u].url.pathname=l.pathname,this[u].defaultLocale=f,this[u].basePath=l.basePath??"",this[u].buildId=l.buildId,this[u].locale=l.locale??f,this[u].trailingSlash=l.trailingSlash}formatPathname(){return(0,i.formatNextPathnameInfo)({basePath:this[u].basePath,buildId:this[u].buildId,defaultLocale:this[u].options.forceLocale?void 0:this[u].defaultLocale,locale:this[u].locale,pathname:this[u].url.pathname,trailingSlash:this[u].trailingSlash})}formatSearch(){return this[u].url.search}get buildId(){return this[u].buildId}set buildId(e){this[u].buildId=e}get locale(){return this[u].locale??""}set locale(e){var t,r;if(!this[u].locale||!(null==(r=this[u].options.nextConfig)?void 0:null==(t=r.i18n)?void 0:t.locales.includes(e)))throw TypeError(`The NextURL configuration includes no locale "${e}"`);this[u].locale=e}get defaultLocale(){return this[u].defaultLocale}get domainLocale(){return this[u].domainLocale}get searchParams(){return this[u].url.searchParams}get host(){return this[u].url.host}set host(e){this[u].url.host=e}get hostname(){return this[u].url.hostname}set hostname(e){this[u].url.hostname=e}get port(){return this[u].url.port}set port(e){this[u].url.port=e}get protocol(){return this[u].url.protocol}set protocol(e){this[u].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[u].url=l(e),this.analyze()}get origin(){return this[u].url.origin}get pathname(){return this[u].url.pathname}set pathname(e){this[u].url.pathname=e}get hash(){return this[u].url.hash}set hash(e){this[u].url.hash=e}get search(){return this[u].url.search}set search(e){this[u].url.search=e}get password(){return this[u].url.password}set password(e){this[u].url.password=e}get username(){return this[u].url.username}set username(e){this[u].url.username=e}get basePath(){return this[u].basePath}set basePath(e){this[u].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new c(String(this),this[u].options)}}},99767:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RequestCookies:function(){return n.RequestCookies},ResponseCookies:function(){return n.ResponseCookies},stringifyCookie:function(){return n.stringifyCookie}});let n=r(82408)},52894:function(e,t){"use strict";function r(){throw Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead')}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageResponse",{enumerable:!0,get:function(){return r}})},28383:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERNALS:function(){return s},NextRequest:function(){return l}});let n=r(4894),i=r(99239),o=r(7698),a=r(99767),s=Symbol("internal request");class l extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);(0,i.validateURL)(r),e instanceof Request?super(e,t):super(r,t);let o=new n.NextURL(r,{headers:(0,i.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig});this[s]={cookies:new a.RequestCookies(this.headers),geo:t.geo||{},ip:t.ip,nextUrl:o,url:o.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,geo:this.geo,ip:this.ip,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[s].cookies}get geo(){return this[s].geo}get ip(){return this[s].ip}get nextUrl(){return this[s].nextUrl}get page(){throw new o.RemovedPageError}get ua(){throw new o.RemovedUAError}get url(){return this[s].url}}},80370:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextResponse",{enumerable:!0,get:function(){return f}});let n=r(99767),i=r(4894),o=r(99239),a=r(30650),s=r(99767),l=Symbol("internal response"),u=new Set([301,302,303,307,308]);function c(e,t){var r;if(null==e?void 0:null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let r=[];for(let[n,i]of e.request.headers)t.set("x-middleware-request-"+n,i),r.push(n);t.set("x-middleware-override-headers",r.join(","))}}class f extends Response{constructor(e,t={}){super(e,t);let r=this.headers,u=new Proxy(new s.ResponseCookies(r),{get(e,i,o){switch(i){case"delete":case"set":return(...o)=>{let a=Reflect.apply(e[i],e,o),l=new Headers(r);return a instanceof s.ResponseCookies&&r.set("x-middleware-set-cookie",a.getAll().map(e=>(0,n.stringifyCookie)(e)).join(",")),c(t,l),a};default:return a.ReflectAdapter.get(e,i,o)}}});this[l]={cookies:u,url:t.url?new i.NextURL(t.url,{headers:(0,o.toNodeOutgoingHttpHeaders)(r),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[l].cookies}static json(e,t){let r=Response.json(e,t);return new f(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!u.has(r))throw RangeError('Failed to execute "redirect" on "response": Invalid status code');let n="object"==typeof t?t:{},i=new Headers(null==n?void 0:n.headers);return i.set("Location",(0,o.validateURL)(e)),new f(null,{...n,headers:i,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",(0,o.validateURL)(e)),c(t,r),new f(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),c(e,t),new f(null,{...e,headers:t})}}},6630:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"URLPattern",{enumerable:!0,get:function(){return r}});let r="undefined"==typeof URLPattern?void 0:URLPattern},40937:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isBot:function(){return o},userAgent:function(){return s},userAgentFromString:function(){return a}});let i=(n=r(98064))&&n.__esModule?n:{default:n};function o(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|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)}function a(e){return{...(0,i.default)(e),isBot:void 0!==e&&o(e)}}function s({headers:e}){return a(e.get("user-agent")||void 0)}},99239:function(e,t){"use strict";function r(e){let t=new Headers;for(let[r,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}function n(e){var t,r,n,i,o,a=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}function i(e){let t={},r=[];if(e)for(let[i,o]of e.entries())"set-cookie"===i.toLowerCase()?(r.push(...n(o)),t[i]=1===r.length?r[0]:r):t[i]=o;return t}function o(e){try{return String(new URL(String(e)))}catch(t){throw Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t})}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fromNodeOutgoingHttpHeaders:function(){return r},splitCookiesString:function(){return n},toNodeOutgoingHttpHeaders:function(){return i},validateURL:function(){return o}})},23355:function(e,t){"use strict";function r(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return r}})},4068:function(e,t){"use strict";function r(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=o.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===o.defaultLocale.toLowerCase()||(null==(i=o.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return o}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})}}]);