1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6558],{6144:(e,t,r)=>{r.d(t,{DT:()=>a,FP:()=>o,TK:()=>n,Zn:()=>s,aM:()=>h,x3:()=>l});var i=r(92651);function n(e){return"string"==typeof e?{pathname:e}:e}function s(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))Array.isArray(i)?i.forEach(e=>{t.append(r,String(e))}):t.set(r,String(i));return"?"+t.toString()}function o({pathname:e,locale:t,params:r,pathnames:n,query:h}){function a(e){let o,a=n[e];return a?(o=(0,i.Wl)(a,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,i;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,i=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,i=String(t)),o=o.replace(RegExp(r,"g"),i)}),o=new URL(o=o.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):o=e,o=(0,i.po)(o),h&&(o+=s(h)),o}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}}function h(e,t,r){let n=(0,i.FD)(Object.keys(r)),s=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if((0,i.ql)(n,s))return t}else if((0,i.ql)((0,i.Wl)(n,e,t),s))return t}return t}function a(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function l(e,t,r,n){let s,{mode:o}=r.localePrefix;if(void 0!==n)s=n;else if((0,i._x)(e)){let e=r.domains?.find(e=>e.locales.includes(t)),i=e?.localePrefix||o;"always"===i?s=!0:"as-needed"===i&&(s=e?t!==e.defaultLocale:t!==r.defaultLocale)}return s?(0,i.PJ)((0,i.XP)(t,r.localePrefix),e):e}},9780:(e,t,r)=>{r.d(t,{A:()=>n});var i=r(6144);function n(e,t,r,n){if(!e||n===r||null==n||!t)return;let s=(0,i.DT)(t),{name:o,...h}=e;h.path||(h.path=""!==s?s:"/");let a=`${o}=${n};`;for(let[e,t]of Object.entries(h))a+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}},11697:(e,t,r)=>{r.d(t,{Dk:()=>ey,kc:()=>eI,Ym:()=>eS,c3:()=>eN});var i,n,s,o,h,a,l=r(12115);function u(e,t){let r=t&&t.cache?t.cache:E,i=t&&t.serializer?t.serializer:m;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let n=1===e.length?c:f;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function c(e,t,r,i){let n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function f(e,t,r){let i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}let m=function(){return JSON.stringify(arguments)};var p=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let E={create:function(){return new p}},g={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,f.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,c.bind(this,e,r,i)}};class b extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var T=((i=T||{}).MISSING_MESSAGE="MISSING_MESSAGE",i.MISSING_FORMAT="MISSING_FORMAT",i.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",i.INSUFFICIENT_PATH="INSUFFICIENT_PATH",i.INVALID_MESSAGE="INVALID_MESSAGE",i.INVALID_KEY="INVALID_KEY",i.FORMATTING_ERROR="FORMATTING_ERROR",i);function d(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function H(e,t){return u(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:g.variadic})}function y(e,t){return H((...t)=>new e(...t),t)}function _(e){return{getDateTimeFormat:y(Intl.DateTimeFormat,e.dateTime),getNumberFormat:y(Intl.NumberFormat,e.number),getPluralRules:y(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:y(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:y(Intl.ListFormat,e.list),getDisplayNames:y(Intl.DisplayNames,e.displayNames)}}let A=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,B=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,N=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,S=/^(@+)?(\+|#+)?[rs]?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,L=/^(0+)$/;function P(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(S,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function R(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function M(e){let t=R(e);return t||{}}let C=((n={})[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_
1NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",n),O=((s={})[s.literal=0]="literal",s[s.argument=1]="argument",s[s.number=2]="number",s[s.date=3]="date",s[s.time=4]="time",s[s.select=5]="select",s[s.plural=6]="plural",s[s.pound=7]="pound",s[s.tag=8]="tag",s),G=((o={})[o.number=0]="number",o[o.dateTime=1]="dateTime",o);function v(e){return e.type===O.literal}function U(e){return e.type===O.number}function w(e){return e.type===O.date}function D(e){return e.type===O.time}function F(e){return e.type===O.select}function k(e){return e.type===O.plural}function V(e){return e.type===O.tag}function x(e){return!!(e&&"object"==typeof e&&e.type===G.number)}function K(e){return!!(e&&"object"==typeof e&&e.type===G.dateTime)}let X=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Z={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},j=RegExp(`^${X.source}*`),Y=RegExp(`${X.source}*$`);function $(e,t){return{start:e,end:t}}let W=!!Object.fromEntries,z=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,J=W?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},Q=z?function(e){return e.trimStart()}:function(e){return e.replace(j,"")},ee=q?function(e){return e.trimEnd()}:function(e){return e.replace(Y,"")},et=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var er=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:O.pound,location:$(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&ei(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(C.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:O.literal,value:`<${i}/>`,location:$(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(C.INVALID_TAG,$(r,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(C.UNCLOSED_TAG,$(r,this.clonePosition()));{if(this.isEOF()||!ei(this.char()))return this.error(C.INVALID_TAG,$(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(C.UNMATCHED_CLOSING_TAG,$(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:O.tag,value:i,children:s,location:$(r,this.clonePosition())},err:null}:this.error(C.INVALID_TAG,$(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;
1continue}let n=this.tryParseUnquoted(e,t);if(n){i+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}let n=$(r,this.clonePosition());return{val:{type:O.literal,value:i,location:n},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ei(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(C.EMPTY_ARGUMENT,$(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(C.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:O.argument,value:i,location:$(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(C.MALFORMED_ARGUMENT,$(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,et.lastIndex=r,et.exec(e)[1]??""),n=r+i.length;return this.bumpTo(n),{value:i,location:$(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(C.EXPECT_ARGUMENT_TYPE,$(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=ee(r.val);if(0===i.length)return this.error(C.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:$(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let n=$(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=Q(e.style.slice(2));if("number"===s){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:O.number,value:r,location:n,style:i.val},err:null}}{let i;if(0===t.length)return this.error(C.EXPECT_DATE_TIME_SKELETON,n);let o=t;this.locale&&(o=function(e,t){let r="";for(let i=0;i<e.length;i++){let n=e.charAt(i);if("j"===n){let s=0;for(;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;let o=1+(1&s),h=s<2?1:3+(s>>1),a=function(e){let t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(Z[t||""]||Z[i||""]||Z[`${i}-001`]||Z["001"])[0]}(t);for(("H"==a||"k"==a)&&(h=0);h-- >0;)r+="a";for(;o-- >0;)r=a+r}else"J"===n?r+="H":r+=n}return r}(t,this.locale));let h={type:G.dateTime,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},o.replace(A,e=>{let t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===s?O.date:O.time,value:r,location:n,style:h},err:null}}}return{val:{type:"number"===s?O.number:"date"===s?O.date:O.time,value:r,location:n,style:e?.style??null},err:null}}
1case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS,$(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),h=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),h=e.val}let a=this.tryParsePluralOrSelectOptions(e,s,t,o);if(a.err)return a;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=$(i,this.clonePosition());if("select"===s)return{val:{type:O.select,value:r,options:J(a.val),location:u},err:null};return{val:{type:O.plural,value:r,options:J(a.val),offset:h,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(C.INVALID_ARGUMENT_TYPE,$(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,$(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(B).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:n})}return r}(e)}catch{return this.error(C.INVALID_NUMBER_SKELETON,t)}return{val:{type:G.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...M(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...M(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(I,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(L.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(N.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(N,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];
1"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...P(e)});continue}if(S.test(r.stem)){t={...t,...P(r.stem)};continue}let e=R(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!L.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let n=!1,s=[],o=new Set,{value:h,location:a}=i;for(;;){if(0===h.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR,C.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;a=$(e,this.clonePosition()),h=this.message.slice(e.offset,this.offset())}else break}if(o.has(h))return this.error("select"===t?C.DUPLICATE_SELECT_ARGUMENT_SELECTOR:C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,a);"other"===h&&(n=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([h,{value:l.val,location:$(i,this.clonePosition())}]),o.add(h),this.bumpSpace(),{value:h,location:a}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?C.EXPECT_SELECT_ARGUMENT_SELECTOR:C.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(C.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=$(i,this.clonePosition());return n?Number.isSafeInteger(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function ei(e){return e>=97&&e<=122||e>=65&&e<=90}function en(e,t={}){let r=new er(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(C[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,F(t)||k(t))for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else U(t)&&x(t.style)||(w(t)||D(t))&&K(t.style)?delete t.style.location:V(t)&&e(t.children)})}(r.val),r.val}let es=((h={}).MISSING_VALUE="MISSING_VALUE",h.INVALID_VALUE="INVALID_VALUE",h.MISSING_INTL_API="MISSING_INTL_API",h);
1var eo=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},eh=class extends eo{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,es.INVALID_VALUE,i)}},ea=class extends eo{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,es.INVALID_VALUE,r)}},el=class extends eo{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,es.MISSING_VALUE,t)}};let eu=((a={})[a.literal=0]="literal",a[a.object=1]="object",a);function ec(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var ef=class e{constructor(t,r=e.defaultLocale,i,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&t.type===eu.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,n,s,o,h){if(1===t.length&&v(t[0]))return[{type:eu.literal,value:t[0].value}];let a=[];for(let l of t){if(v(l)){a.push({type:eu.literal,value:l.value});continue}if(l.type===O.pound){"number"==typeof o&&a.push({type:eu.literal,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(s&&t in s))throw new el(t,h);let u=s[t];if(l.type===O.argument){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),a.push({type:"string"==typeof u?eu.literal:eu.object,value:u});continue}if(w(l)){let e="string"==typeof l.style?n.date[l.style]:K(l.style)?l.style.parsedOptions:void 0;a.push({type:eu.literal,value:i.getDateTimeFormat(r,e).format(u)});continue}if(D(l)){let e="string"==typeof l.style?n.time[l.style]:K(l.style)?l.style.parsedOptions:n.time.medium;a.push({type:eu.literal,value:i.getDateTimeFormat(r,e).format(u)});continue}if(U(l)){let e="string"==typeof l.style?n.number[l.style]:x(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}a.push({type:eu.literal,value:i.getNumberFormat(r,e).format(u)});continue}if(V(l)){let{children:t,value:u}=l,c=s[u];if("function"!=typeof c)throw new ea(u,"function",h);let f=c(e(t,r,i,n,s,o).map(e=>e.value));Array.isArray(f)||(f=[f]),a.push(...f.map(e=>({type:"string"==typeof e?eu.literal:eu.object,value:e})))}if(F(l)){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new eh(l.value,u,Object.keys(l.options),h);a.push(...e(o.value,r,i,n,s));continue}if(k(l)){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new eo(`Intl.PluralRules is not available in this environment. 2Try polyfilling it using "@formatjs/intl-pluralrules" 3`,es.MISSING_INTL_API,h);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new eh(l.value,u,Object.keys(l.options),h);let c="bigint"==typeof u?Number(u):u;a.push(...e(o.value,r,i,n,s,c-(l.offset||0)));continue}}return a.length<2?a:a.reduce((e,t)=>{let r=e[e.length-1];return r&&r.type===eu.literal&&t.type===eu.literal?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...r}=n||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,i)=>{var n,s;return r[i]=(n=e[i],(s=t[i])?{...n,...s,...Object.keys(n).reduce((e,t)=>
3(e[t]={...n[t],...s[t]},e),{})}:n),r},{...e}):e}(e.formats,i),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:u((...e)=>new Intl.NumberFormat(...e),{cache:ec(e.number),strategy:g.variadic}),getDateTimeFormat:u((...e)=>new Intl.DateTimeFormat(...e),{cache:ec(e.dateTime),strategy:g.variadic}),getPluralRules:u((...e)=>new Intl.PluralRules(...e),{cache:ec(e.pluralRules),strategy:g.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=en}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function em(...[e,t,r,i]){let n;if(Array.isArray(t))throw new b(T.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new b(T.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=r||/'[{}]/.test(t)?void 0:t;if(e)return e}let{cache:s,formats:o,formatters:h,globalFormats:a,locale:u,timeZone:c}=i;h.getMessageFormat||(h.getMessageFormat=H((...e)=>new ef(e[0],e[1],e[2],{formatters:h,...e[3]}),s.message));try{let e,r,i,s;n=h.getMessageFormat(t,u,(e=ef.formats.date,r=ef.formats.time,i={...a?.dateTime,...o?.dateTime},s={date:{...e,...i},time:{...r,...i},number:{...a?.number,...o?.number}},c&&["date","time"].forEach(e=>{let t=s[e];for(let[e,r]of Object.entries(t))t[e]={timeZone:c,...r}}),s),{formatters:{...h,getDateTimeFormat:(e,t)=>h.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??c})}})}catch(e){throw new b(T.INVALID_MESSAGE,void 0)}let f=n.format(r);return(0,l.isValidElement)(f)||Array.isArray(f)||"string"==typeof f?f:String(f)}function ep(...e){return e.filter(Boolean).join(".")}function eE(e){return ep(e.namespace,e.key)}function eg(e){console.error(e)}function eb(e,t,r,i){let n=ep(i,r);if(!t)throw Error(n);let s=t;return r.split(".").forEach(t=>{let r=s[t];if(null==t||null==r)throw Error(n+` (${e})`);s=r}),s}em.raw=!0;let eT={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var ed=r(95155);let eH=(0,l.createContext)(void 0);function ey({children:e,formats:t,getMessageFallback:r,locale:i,messages:n,now:s,onError:o,timeZone:h}){let a=(0,l.useContext)(eH),u=(0,l.useMemo)(()=>
3a?.cache||d(),[i,a?.cache]),c=(0,l.useMemo)(()=>a?.formatters||_(u),[u,a?.formatters]),f=(0,l.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:r,onError:i,...n}){return{...n,formats:e||void 0,messages:r||void 0,onError:i||eg,getMessageFallback:t||eE}}({locale:i,formats:void 0===t?a?.formats:t,getMessageFallback:r||a?.getMessageFallback,messages:void 0===n?a?.messages:n,now:s||a?.now,onError:o||a?.onError,timeZone:h||a?.timeZone}),formatters:c,cache:u}),[u,t,c,r,i,n,s,o,a,h]);return(0,ed.jsx)(eH.Provider,{value:f,children:e})}function e_(){let e=(0,l.useContext)(eH);if(!e)throw Error(void 0);return e}let eA=!1,eB="u"<typeof window;function eN(e){return function(e,t){let{cache:r,formats:i,formatters:n,getMessageFallback:s,locale:o,onError:h,timeZone:a}=e_(),u=e["!"],c="!"===t?void 0:t.slice(2);return a||eA||!eB||(eA=!0,h(new b(T.ENVIRONMENT_FALLBACK,void 0))),(0,l.useMemo)(()=>{var e;let t;return t=function(e,t,r){try{if(!t)throw Error(void 0);let i=r?eb(e,t,r):t;if(!i)throw Error(r);return i}catch(e){return new b(T.MISSING_MESSAGE,e.message)}}((e={cache:r,formatters:n,getMessageFallback:s,messages:u,namespace:c,onError:h,formats:i,locale:o,timeZone:a}).locale,e.messages,e.namespace),function({cache:e,formats:t,formatters:r,getMessageFallback:i=eE,locale:n,messagesOrError:s,namespace:o,onError:h,timeZone:a}){let u=s instanceof b;function c(e,t,r,n){let s=new b(t,r);return h(s),n??i({error:s,key:e,namespace:o})}function f(f,m,p,E){let g;if(u){if(!E)return h(s),i({error:s,key:f,namespace:o});g=E}else try{g=eb(n,s,f,o)}catch(e){if(!E)return c(f,T.MISSING_MESSAGE,e.message,E);g=E}try{let i,s=ep(o,f);return em(s,g,m?(i={},Object.keys(m).forEach(e=>{let t,r=0,n=m[e];t="function"==typeof n?t=>{let i=n(t);return(0,l.isValidElement)(i)?(0,l.cloneElement)(i,{key:e+r++}):i}:n,i[e]=t}),i):m,{cache:e,formatters:r,globalFormats:t,formats:p,locale:n,timeZone:a})}catch(r){let e,t;return r instanceof b?(e=r.code,t=r.originalMessage):(e=T.FORMATTING_ERROR,t=r.message),c(f,e,t,E)}}function m(e,t,r,i){let n=f(e,t,r,i);return"string"!=typeof n?c(e,T.INVALID_MESSAGE,void 0):n}return m.rich=f,m.markup=(e,t,r,i)=>f(e,t,r,i),m.raw=e=>{if(u)return h(s),i({error:s,key:e,namespace:o});try{return eb(n,s,e,o)}catch(t){return c(e,T.MISSING_MESSAGE,t.message)}},m.has=e=>{if(u)return!1;try{return eb(n,s,e,o),!0}catch{return!1}},m}({...e,messagesOrError:t})},[r,n,s,u,c,h,i,o,a])}({"!":e_().messages},e?`!.${e}`:"!")}function eS(){return e_().locale}function eI(){let{formats:e,formatters:t,locale:r,now:i,onError:n,timeZone:s}=e_();return(0,l.useMemo)(()=>(function(e){let{_cache:t=d(),_formatters:r=_(t),formats:i,locale:n,onError:s=eg,timeZone:o}=e;function h(e){return e?.timeZone||(o?e={...e,timeZone:o}:s(new b(T.ENVIRONMENT_FALLBACK,void 0))),e}function a(e,t,r,i,n){let o;try{o=function(e,t,r){let i;if("string"==typeof t){if(!(i=e?.[t])){let e=new b(T.MISSING_FORMAT,void 0);throw s(e),e}}else i=t;return r&&(i={...i,...r}),i}(r,e,t)}catch{return n()}try{return i(o)}catch(e){return s(new b(T.FORMATTING_ERROR,e.message)),n()}}function l(e,t,s){return a(t,s,i?.dateTime,t=>(t=h(t),r.getDateTimeFormat(n,t).format(e)),()=>String(e))}function u(){return e.now?e.now:(s(new b(T.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:l,number:function(e,t,s){return a(t,s,i?.number,t=>r.getNumberFormat(n,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var i;let s,o,h,a={};t instanceof Date||"number"==typeof t?s=new Date(t):t&&(s=null!=t.now?new Date(t.now):u(),o=t.unit,a.style=t.style,a.numberingSystem=t.numberingSystem),s||(s=u());let l=(new Date(e).getTime()-s.getTime())/1e3;o||(o=(h=Math.abs(l))<60?"second":h<3600?"minute":h<86400?"hour":h<604800?"day":h<2628e3?"week":h<31536e3?"month":"year"),a.numeric="second"===o?"auto":"always";let c=(i=o,Math.round(l/eT[i]));return r.getRelativeTimeFormat(n,a).format(c,o)}catch(t){return s(new b(T.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,s){let o=[],h=new Map,l=0;for(let t of e){let e;"object"==typeof t?(e=String(l),h.set(e,t)):e=String(t),o.push(e),l++}return a(t,s,i?.list,e=>{let t=r.getListFormat(n,e).formatToParts(o).map(e=>
3"literal"===e.type?e.value:h.get(e.value)||e.value);return h.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,s,o){return a(s,o,i?.dateTime,i=>(i=h(i),r.getDateTimeFormat(n,i).formatRange(e,t)),()=>[l(e),l(t)].join("âââ"))},displayName:function(e,t,s){return a(t,s,i?.displayName,t=>r.getDisplayNames(n,t).of(e),()=>e)}}})({formats:e,locale:r,now:i,onError:n,timeZone:s,_formatters:t}),[e,t,i,r,n,s])}},73321:(e,t,r)=>{var i=r(74645);r.o(i,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return i.permanentRedirect}}),r.o(i,"redirect")&&r.d(t,{redirect:function(){return i.redirect}}),r.o(i,"usePathname")&&r.d(t,{usePathname:function(){return i.usePathname}}),r.o(i,"useRouter")&&r.d(t,{useRouter:function(){return i.useRouter}})},76558:(e,t,r)=>{r.d(t,{default:()=>l});var i=r(98500),n=r(73321),s=r(12115),o=r(11697),h=r(9780),a=r(95155),l=(0,s.forwardRef)(function({href:e,locale:t,localeCookie:r,onClick:s,prefetch:l,...u},c){let f=(0,o.Ym)(),m=null!=t&&t!==f,p=(0,n.usePathname)();return m&&(l=!1),(0,a.jsx)(i,{ref:c,href:e,hrefLang:m?t:void 0,onClick:function(e){(0,h.A)(r,p,f,t),s&&s(e)},prefetch:l,...u})})},92651:(e,t,r)=>{r.d(t,{FD:()=>b,MY:()=>s,PJ:()=>o,Wl:()=>a,XP:()=>c,_x:()=>n,bL:()=>f,po:()=>l,ql:()=>u,wO:()=>h,yL:()=>T});var i=r(41463);function n(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function s(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function h(e,t){return t===e||t.startsWith(`${e}/`)}function a(e,t,r){return"string"==typeof e?e:e[t]||r}function l(e){let t=function(){try{return"true"===i.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),s=n.join("#"),o=r;if("/"!==o){let e=o.endsWith("/");t&&!e?o+="/":!t&&e&&(o=o.slice(0,-1))}return s&&(o+="#"+s),o}function u(e,t){let r,i=l(e),n=l(t);return(r=i.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(n)}function c(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function m(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function E(e){return e.includes("[")}function g(e,t){let r=e.split("/"),i=t.split("/"),n=Math.max(r.length,i.length);for(let e=0;e<n;e++){let t=r[e],n=i[e];if(!t&&n)return -1;if(t&&!n)return 1;if(t||n){if(!E(t)&&E(n))return -1;if(E(t)&&!E(n))return 1;if(!p(t)&&p(n))return -1;if(p(t)&&!p(n))return 1;if(!m(t)&&m(n))return -1;if(m(t)&&!m(n))return 1}}return 0}function b(e){return e.sort(g)}function T(e){return"function"==typeof e.then}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.