1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f392d394-7e46-474e-a7b8-d3545c6bfebf",e._sentryDebugIdIdentifier="sentry-dbid-f392d394-7e46-474e-a7b8-d3545c6bfebf")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[269],{90129:function(e,t,r){r.r(t),r.d(t,{ErrorCode:function(){return p},FormatError:function(){return ed},IntlMessageFormat:function(){return eT},InvalidValueError:function(){return em},InvalidValueTypeError:function(){return eg},MissingValueError:function(){return ey},PART_TYPE:function(){return d},default:function(){return e_},formatToParts:function(){return eb},isFormatXMLElementFn:function(){return eE}});var n,i,o,s,a,u,h,l,c,f,p,d,m=r(12951);function g(e){return e.type===h.literal}function y(e){return e.type===h.number}function E(e){return e.type===h.date}function b(e){return e.type===h.time}function v(e){return e.type===h.select}function T(e){return e.type===h.plural}function _(e){return e.type===h.tag}function S(e){return!!(e&&"object"==typeof e&&e.type===l.number)}function A(e){return!!(e&&"object"==typeof e&&e.type===l.dateTime)}(n=u||(u={}))[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_NUMBER_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",(i=h||(h={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(o=l||(l={}))[o.number=0]="number",o[o.dateTime=1]="dateTime";var H=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P=/(?:[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,I=function(){return(I=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var C=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,L=/(\*)(0+)|(#+)(0+)|(0+)/g,M=/^(0+)$/;function N(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(O,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.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 w(e){return R(e)||{}}var F={"001":["H","h"],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","hB","h","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","hB","h","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"],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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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"],"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"]},G=new RegExp("^".concat(H.source,"*")),U=new RegExp("".concat(H.source,"*$"));function D(e,t){return{start:e,end:t}}var k=!!String.prototype.startsWith&&"_a".startsWith("a",1),j=!!String.fromCodePoint,x=!!Object.fromEntries,V=!!String.prototype.codePointAt,K=!!String.prototype.trimStart,Z=!!String.prototype.trimEnd,X=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},q=!0;try{var Y=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=(null===(c=Y.exec("a"))||void 0===c?void 0:c[0])==="a"}catch(e){q=!1}var z=k?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},W=j?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0;i>o;){if((e=t[o++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},Q=x?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r],i=n[0],o=n[1];t[i]=o}return t},J=V?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0)&&!(t>=n)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},$=K?function(e){return e.trimStart()}:function(e){return e.replace(G,"")},ee=Z?function(e){return e.trimEnd()}:function(e){return e.replace(U,"")};function et(e,t){return new RegExp(e,t)}if(q){var er=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");f=function(e,t){var r;return er.lastIndex=t,null!==(r=er.exec(e)[1])&&void 0!==r?r:""}}else f=function(e,t){for(var r=[];;){var n,i=J(e,t);if(void 0===i||eo(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>
1=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),t+=i>=65536?2:1}return W.apply(void 0,r)};var en=function(){function e(e,t){void 0===t&&(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}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var o=this.parseArgument(e,r);if(o.err)return o;n.push(o.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var s=this.clonePosition();this.bump(),n.push({type:h.pound,location:D(s,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&ei(this.peek()||0)){var o=this.parseTag(e,t);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(e,t);if(o.err)return o;n.push(o.val)}}else{if(!r)return this.error(u.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:h.literal,value:"<".concat(n,"/>"),location:D(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(u.INVALID_TAG,D(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(!this.bumpIf("</"))return this.error(u.UNCLOSED_TAG,D(r,this.clonePosition()));if(this.isEOF()||!ei(this.char()))return this.error(u.INVALID_TAG,D(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(u.UNMATCHED_CLOSING_TAG,D(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:h.tag,value:n,children:o,location:D(r,this.clonePosition())},err:null}:this.error(u.INVALID_TAG,D(s,this.clonePosition()))},e.prototype.parseTagName=function(){var e,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())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var o=this.tryParseUnquoted(e,t);if(o){n+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){n+=s;continue}break}var a=D(r,this.clonePosition());return{val:{type:h.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ei(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(r);this.bump()}return W.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),W(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(u.EMPTY_ARGUMENT,D(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(u.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:h.argument,value:n,location:D(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(u.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=f(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:D(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(u.EXPECT_ARGUMENT_TYPE,D(o,a));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var d=ee(p.val);if(0===d.length)return this.error(u.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));c={style:d,styleLocation:D(f,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var y=D(n,this.clonePosition());if(c&&z(null==c?void 0:c.style,"::",0)){var E,b=$(c.style.slice(2));if("number"===s){var p=this.parseNumberSkeletonFromString(b,c.styleLocation);if(p.err)return p;return{val:{type:h.number,value:r,location:y,style:p.val},err:null}}if(0===b.length)return this.error(u.EXPECT_DATE_TIME_SKELETON,y);var v=b;this.locale&&(v=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=function(e){var 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")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(F[t||""]||F[n||""]||F["".concat(n,"-001")]||F["001"])[0]}(t);for(("H"==u||"k"==u)&&(a=0);a-- >0;)r+="a";for(;s-- >0;)r=u+r}else"J"===i?r+="H":r+=i}return r}(b,this.locale));var d={type:l.dateTime,pattern:v,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?(E={},v.replace(P,function(e){var t=e.length;switch(e[0]){case"G":E.era=4===t?"long":5===t?"narrow":"short";break;case"y":E.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":E.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":E.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":E.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][t-4];break;case"a":E.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":E.hourCycle="h12",E.hour=["numeric","2-digit"][t-1];break;case"H":E.hourCycle="h23",E.hour=["numeric","2-digit"][t-1];break;case"K":E.hourCycle="h11",E.hour=["numeric","2-digit"][t-1];break;case"k":E.hourCycle="h24",E.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":E.minute=["numeric","2-digit"][t-1];break;case"s":E.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":E.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""}),E):{}};return{val:{type:"date"===s?h.date:h.time,value:r,location:y,style:d},err:null}}return{val:{type:"number"===s?h.number:"date"===s?h.date:h.time,value:r,location:y,style:null!==(i=null==c?void 0:c.style)&&void 0!==i?i:null},err:null};
1case"plural":case"selectordinal":case"select":var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(u.EXPECT_SELECT_ARGUMENT_OPTIONS,D(T,(0,m.pi)({},T)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),S=0;if("select"!==s&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),_=this.parseIdentifierIfPossible(),S=p.val}var A=this.tryParsePluralOrSelectOptions(e,s,t,_);if(A.err)return A;var g=this.tryParseArgumentClose(n);if(g.err)return g;var H=D(n,this.clonePosition());if("select"===s)return{val:{type:h.select,value:r,options:Q(A.val),location:H},err:null};return{val:{type:h.plural,value:r,options:Q(A.val),offset:S,pluralType:"plural"===s?"cardinal":"ordinal",location:H},err:null};default:return this.error(u.INVALID_ARGUMENT_TYPE,D(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,D(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(u.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(r,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}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(C).filter(function(e){return e.length>0}),r=[],n=0;n<t.length;n++){var i=t[n].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0;a<s.length;a++)if(0===s[a].length)throw Error("Invalid number skeleton");r.push({stem:o,options:s})}return r}(e)}catch(e){return this.error(u.INVALID_NUMBER_SKELETON,t)}return{val:{type:l.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=n.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=I(I(I({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return I(I({},e),R(t)||{})},{}));continue;case"engineering":t=I(I(I({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return I(I({},e),R(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(n.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(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");
1n.options[0].replace(L,function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(s)throw Error("We currently do not support exact integer digits");return""});continue}if(M.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(B.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(B,function(e,r,n,i,o,s){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?t=I(I({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=I(I({},t),N(i)));continue}if(O.test(n.stem)){t=I(I({},t),N(n.stem));continue}var o=R(n.stem);o&&(t=I(I({},t),o));var s=function(e){var 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){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!M.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);s&&(t=I(I({},t),s))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,s=[],a=new Set,h=n.value,l=n.location;;){if(0===h.length){var c=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_SELECTOR,u.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=D(c,this.clonePosition()),h=this.message.slice(c.offset,this.offset())}else break}if(a.has(h))return this.error("select"===t?u.DUPLICATE_SELECT_ARGUMENT_SELECTOR:u.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===h&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:u.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,r);if(d.err)return d;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([h,{value:d.val,location:D(p,this.clonePosition())}]),a.add(h),this.bumpSpace(),h=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR:u.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(u.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=10*o+(s-48),this.bump();else break}var a=D(n,this.clonePosition());return i?X(o*=r)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=J(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var 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)}},e.prototype.bumpIf=function(e){if(z(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eo(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ei(e){return e>=97&&e<=122||e>=65&&e<=90}function eo(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function es(e,t){void 0===t&&(t={});var r=new en(e,t=(0,m.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var n=SyntaxError(u[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,v(t)||T(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else y(t)&&S(t.style)?delete t.style.location:(E(t)||b(t))&&A(t.style)?delete t.style.location:_(t)&&e(t.children)})}(r.val),r.val}function ea(e,t){var r=t&&t.cache?t.cache:ef,n=t&&t.serializer?t.serializer:el;return(t&&t.strategy?t.strategy:function(e,t){var r,n,i=1===e.length?eu:eh;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function eu(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function eh(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}var el=function(){return JSON.stringify(arguments)};function ec(){this.cache=Object.create(null)}ec.prototype.get=function(e){return this.cache[e]},ec.prototype.set=function(e,t){this.cache[e]=t};var ef={create:function(){return new ec}},ep={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,eh.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,eu.bind(this,e,r,n)}};(s=p||(p={})).MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API";var ed=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return(0,m.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),em=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),p.INVALID_VALUE,i)||this}return(0,m.ZT)(t,e),t}(ed),eg=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),p.INVALID_VALUE,n)||this}return(0,m.ZT)(t,e),t}(ed),ey=function(e){function t(t,r){return e.call(this,'The intl str
1ing context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),p.MISSING_VALUE,r)||this}return(0,m.ZT)(t,e),t}(ed);function eE(e){return"function"==typeof e}function eb(e,t,r,n,i,o,s){if(1===e.length&&g(e[0]))return[{type:d.literal,value:e[0].value}];for(var a=[],u=0;u<e.length;u++){var l=e[u];if(g(l)){a.push({type:d.literal,value:l.value});continue}if(l.type===h.pound){"number"==typeof o&&a.push({type:d.literal,value:r.getNumberFormat(t).format(o)});continue}var c=l.value;if(!(i&&c in i))throw new ey(c,s);var f=i[c];if(l.type===h.argument){f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),a.push({type:"string"==typeof f?d.literal:d.object,value:f});continue}if(E(l)){var m="string"==typeof l.style?n.date[l.style]:A(l.style)?l.style.parsedOptions:void 0;a.push({type:d.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(b(l)){var m="string"==typeof l.style?n.time[l.style]:A(l.style)?l.style.parsedOptions:n.time.medium;a.push({type:d.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(y(l)){var m="string"==typeof l.style?n.number[l.style]:S(l.style)?l.style.parsedOptions:void 0;m&&m.scale&&(f*=m.scale||1),a.push({type:d.literal,value:r.getNumberFormat(t,m).format(f)});continue}if(_(l)){var H=l.children,P=l.value,I=i[P];if(!eE(I))throw new eg(P,"function",s);var C=I(eb(H,t,r,n,i,o).map(function(e){return e.value}));Array.isArray(C)||(C=[C]),a.push.apply(a,C.map(function(e){return{type:"string"==typeof e?d.literal:d.object,value:e}}))}if(v(l)){var B=l.options[f]||l.options.other;if(!B)throw new em(l.value,f,Object.keys(l.options),s);a.push.apply(a,eb(B.value,t,r,n,i));continue}if(T(l)){var B=l.options["=".concat(f)];if(!B){if(!Intl.PluralRules)throw new ed('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',p.MISSING_INTL_API,s);var O=r.getPluralRules(t,{type:l.pluralType}).select(f-(l.offset||0));B=l.options[O]||l.options.other}if(!B)throw new em(l.value,f,Object.keys(l.options),s);a.push.apply(a,eb(B.value,t,r,n,i,f-(l.offset||0)));continue}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===d.literal&&t.type===d.literal?r.value+=t.value:e.push(t),e},[])}function ev(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(a=d||(d={}))[a.literal=0]="literal",a[a.object=1]="object";var eT=function(){function e(t,r,n,i){var o,s,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===d.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=function(e){return eb(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=a.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.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`");var u=i||{},h=(u.formatters,(0,m._T)(u,["formatters"]));this.ast=e.__parse(t,(0,m.pi)((0,m.pi)({},h),{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=(o=e.formats,n?Object.keys(o).reduce(function(e,t){var r,i;return e[t]=(r=o[t],(i=n[t])?(0,m.pi)((0,m.pi)((0,m.pi)({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=(0,m.pi)((0,m.pi)({},r[t]),i[t]||{}),e},{})):r),e},(0,m.pi)({},o)):o),this.formatters=i&&i.formatters||(void 0===(s=this.formatterCache)&&(s={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ea(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:ev(s.number),strategy:ep.variadic}),getDateTimeFormat:ea(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:ev(s.dateTime),strategy:ep.variadic}),getPluralRules:ea(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:ev(s.pluralRules),strategy:ep.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
1,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=es,e.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"}}},e}(),e_=eT},57071:function(e,t,r){r.d(t,{g:function(){return n}});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}},34764:function(e,t,r){r.d(t,{default:function(){return f}});var n=r(57071),i=r(33908),o=r(66117),s=r(19689),a=r(16074);let u="locale";function h(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function l(e,t){let r;return"string"==typeof e?r=c(t,e):(r={...e},e.pathname&&(r.pathname=c(t,e.pathname))),r}function c(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}let f=(0,s.forwardRef)(function(e,t){let{href:r,locale:c,localePrefixMode:f,onClick:p,prefetch:d,prefix:m,...g}=e,y=(0,o.usePathname)(),E=function(){let e;let t=(0,o.useParams)();try{e=(0,a.useLocale)()}catch(r){if("string"!=typeof(null==t?void 0:t[u]))throw r;e=t[u]}return e}(),b=c!==E,[v,T]=(0,s.useState)(()=>h(r)&&("never"!==f||b)?l(r,m):r);return(0,s.useEffect)(()=>{y&&T(function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(!h(e))return e;let o=n===i||n.startsWith("".concat(i,"/"));return(t!==r||o)&&null!=i?l(e,i):e}(r,c,E,y,m))},[E,r,c,y,m]),b&&(d&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),d=!1),s.createElement(i.default,(0,n.g)({ref:t,href:v,hrefLang:b?c:void 0,onClick:function(e){(function(e,t,r){if(!(r!==t&&null!=r)||!e)return;let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(e);document.cookie="".concat("NEXT_LOCALE","=").concat(r,"; path=").concat(""!==n?n:"/","; max-age=").concat(31536e3,"; sameSite=").concat("lax")})(y,E,c),p&&p(e)},prefetch:d},g))});f.displayName="ClientLink"},33908:function(e,t,r){r.r(t),r.d(t,{default:function(){return i.a}});var n=r(49924),i=r.n(n),o={};for(var s in n)"default"!==s&&(o[s]=(function(e){return n[e]}).bind(0,s));r.d(t,o)},66117:function(e,t,r){r.r(t);var n=r(97399),i={};for(var o in n)"default"!==o&&(i[o]=(function(e){return n[e]}).bind(0,o));r.d(t,i)},73790:function(e,t,r){function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(77348),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49924:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});let n=r(28499),i=r(36060),o=n._(r(19689)),s=r(68210),a=r(2895),u=r(79595),h=r(7232),l=r(4468),c=r(10894),f=r(19538),p=r(65527),d=r(73790),m=r(48072),g=r(92279),y=new Set;function E(e,t,r,n,i,o){if("undefined"!=typeof window&&(o||(0,a.isLocalURL)(t))){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(y.has(i))return;y.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let v=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:y,children:v,prefetch:T=null,passHref:_,replace:S,shallow:A,scroll:H,locale:P,onClick:I,onMouseEnter:C,onTouchStart:B,legacyBehavior:O=!1,...L}=e;r=v,O&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let M=o.default.useContext(c.RouterContext),N=o.default.useContext(f.AppRouterContext),R=null!=M?M:N,w=!M,F=!1!==T,G=null===T?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:U,as:D}=o.default.useMemo(()=>
1{if(!M){let e=b(u);return{href:e,as:y?b(y):e}}let[e,t]=(0,s.resolveHref)(M,u,!0);return{href:e,as:y?(0,s.resolveHref)(M,y):t||e}},[M,u,y]),k=o.default.useRef(U),j=o.default.useRef(D);O&&(n=o.default.Children.only(r));let x=O?n&&"object"==typeof n&&n.ref:t,[V,K,Z]=(0,p.useIntersection)({rootMargin:"200px"}),X=o.default.useCallback(e=>{(j.current!==D||k.current!==U)&&(Z(),j.current=D,k.current=U),V(e),x&&("function"==typeof x?x(e):"object"==typeof x&&(x.current=e))},[D,x,U,Z,V]);o.default.useEffect(()=>{R&&K&&F&&E(R,U,D,{locale:P},{kind:G},w)},[D,U,K,P,F,null==M?void 0:M.locale,R,w,G]);let q={ref:X,onClick(e){O||"function"!=typeof I||I(e),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),R&&!e.defaultPrevented&&function(e,t,r,n,i,s,u,h,l){let{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!l&&!(0,a.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==u||u;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:s,locale:h,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};l?o.default.startTransition(f):f()}(e,R,U,D,S,A,H,P,w)},onMouseEnter(e){O||"function"!=typeof C||C(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),R&&(F||!w)&&E(R,U,D,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:G},w)},onTouchStart:function(e){O||"function"!=typeof B||B(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),R&&(F||!w)&&E(R,U,D,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:G},w)}};if((0,h.isAbsoluteUrl)(D))q.href=D;else if(!O||_||"a"===n.type&&!("href"in n.props)){let e=void 0!==P?P:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,d.getDomainLocale)(D,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);q.href=t||(0,m.addBasePath)((0,l.addLocale)(D,e,null==M?void 0:M.defaultLocale))}return O?o.default.cloneElement(n,q):(0,i.jsx)("a",{...L,...q,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65527:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(19689),i=r(75321),o="function"==typeof IntersectionObserver,s=new Map,a=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,h=u||!o,[l,c]=(0,n.useState)(!1),f=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(h||l)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=a.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=s.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},a.push(r),s.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),s.delete(n);let e=a.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[h,r,t,l,f.current]),[p,l,(0,n.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86559:function(e,t,r){let n=r(19689).createContext(void 0);t.IntlContext=n},50822:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(19689),i=r(20284),o=r(86559),s=n&&n.__esModule?n:{default:n};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:r,formats:a,getMessageFallback:u,locale:h,messages:l,now:c,onError:f,timeZone:p}=e,[d]=n.useState(()=>new Map),m=n.useMemo(()=>({...i.initializeConfig({locale:h,defaultTranslationValues:r,formats:a,getMessageFallback:u,messages:l,now:c,onError:f,timeZone:p}),messageFormatCache:d}),[r,a,u,h,d,l,c,f,p]);return s.default.createElement(o.IntlContext.Provider,{value:m},t)}},84037:function(e,t,r){var n=r(19689),i=r(86559);function o(){let e=n.useContext(i.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=o,t.useLocale=function(){return o().locale}}
1,16074:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(84037);r(19689),r(86559),t.useLocale=n.useLocale},11962:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(19953),i=r(20284);r(90129),r(19689),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t.initializeConfig=i.initializeConfig,t.createTranslator=function(e){let{getMessageFallback:t=i.defaultGetMessageFallback,messages:r,namespace:o,onError:s=i.defaultOnError,...a}=e;return function(e,t){let{getMessageFallback:r,messages:i,namespace:o,onError:s,...a}=e;return i=i["!"],o=n.resolveNamespace(o,"!"),n.createBaseTranslator({...a,onError:s,getMessageFallback:r,messages:i,namespace:o})}({...a,onError:s,getMessageFallback:t,messages:{"!":r},namespace:o?"!.".concat(o):"!"},0)}},19953:function(e,t,r){var n,i=r(90129),o=r(19689),s=r(20284),a=i&&i.__esModule?i:{default:i};function u(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let h=((n={}).MISSING_MESSAGE="MISSING_MESSAGE",n.MISSING_FORMAT="MISSING_FORMAT",n.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",n.INSUFFICIENT_PATH="INSUFFICIENT_PATH",n.INVALID_MESSAGE="INVALID_MESSAGE",n.INVALID_KEY="INVALID_KEY",n.FORMATTING_ERROR="FORMATTING_ERROR",n);class l extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),u(this,"code",void 0),u(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function c(e,t){return e?Object.keys(e).reduce((r,n)=>(r[n]={timeZone:t,...e[n]},r),{}):e}function f(e,t,r,n){let i=s.joinPath(n,r);if(!t)throw Error(i);let o=t;return r.split(".").forEach(t=>{let r=o[t];if(null==t||null==r)throw Error(i+" (".concat(e,")"));o=r}),o}let p=365/12*86400,d={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=l,t.IntlErrorCode=h,t.createBaseTranslator=function(e){let t=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.defaultOnError;try{if(!t)throw Error(void 0);let n=r?f(e,t,r):t;if(!n)throw Error(r);return n}catch(t){let e=new l(h.MISSING_MESSAGE,t.message);return n(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{defaultTranslationValues:t,formats:r,getMessageFallback:n=s.defaultGetMessageFallback,locale:i,messageFormatCache:u,messagesOrError:p,namespace:d,onError:m,timeZone:g}=e;function y(e,t,r){let i=new l(t,r);return m(i),n({error:i,key:e,namespace:d})}function E(e,m,E){let b,v;if(p instanceof l)return n({error:p,key:e,namespace:d});try{b=f(i,p,e,d)}catch(t){return y(e,h.MISSING_MESSAGE,t.message)}let T=s.joinPath(i,d,e,String(b));if(null!=u&&u.has(T))v=u.get(T);else{if("object"==typeof b){let t;return y(e,Array.isArray(b)?h.INVALID_MESSAGE:h.INSUFFICIENT_PATH,t)}let t=function(e,t){if(t)return;let r=e.replace(/'([{}])/gi,"$1");return/<|{/.test(r)?void 0:r}(b,m);if(t)return t;try{v=new a.default(b,i,function(e,t){let r=t?{...e,dateTime:c(e.dateTime,t)}:e,n=a.default.formats.date,i=t?c(n,t):n,o=a.default.formats.time,s=t?c(o,t):o;return{...r,date:{...i,...null==r?void 0:r.dateTime},time:{...s,...null==r?void 0:r.dateTime}}}({...r,...E},g),{formatters:{getNumberFormat:(e,t)=>new Intl.NumberFormat(e,t),getDateTimeFormat:(e,t)=>new Intl.DateTimeFormat(e,{timeZone:g,...t}),getPluralRules:(e,t)=>new Intl.PluralRules(e,t)}})}catch(t){return y(e,h.INVALID_MESSAGE,t.message)}null==u||u.set(T,v)}try{let e=v.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(r=>{let n,i=0,s=e[r];n="function"==typeof s?e=>{let t=s(e);return o.isValidElement(t)?o.cloneElement(t,{key:r+i++}):t}:s,t[r]=n}),t}({...t,...m}));if(null==e)throw Error(void 0);return o.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return y(e,h.FORMATTING_ERROR,t.message)}}function b(e,t,r){let n=E(e,t,r);return"string"!=typeof n?y(e,h.INVALID_MESSAGE,void 0):n}return b.rich=E,b.markup=(e,t,r)=>{let i=E(e,t,r);if("string"!=typeof i){let t=new l(h.FORMATTING_ERROR,void 0);return m(t),n({error:t,key:e,namespace:d})}return i},b.raw=e=>{if(p instanceof l)return n({error:p,key:e,namespace:d});try{return f(i,p,e,d)}catch(t){return y(e,h.MISSING_MESSAGE,t.message)}},b}({...e,messagesOrError:t})},t.createFormatter=function(e){let{formats:t,locale:r,now:n,onError:i=s.defaultOnError,timeZone:o}=e;function a(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(o?e={...e,timeZone:o}:i(new l(h.ENVIRONMENT_FALLBACK,void 0))),e}function u(e,t,r,n){let o;try{o=function(e,t){let r;if("string"==typeof t){if(!(r=null==e?void 0:e[t])){let e=new l(h.MISSING_FORMAT,void 0);throw i(e),e}}else r=t;return r}(t,e)}catch(e){return n()}try{return r(o)}catch(e){return i(new l(h.FORMATTING_ERROR,e.message)),n()}}function c(e,n){return u(n,null==t?void 0:t.dateTime,t=>(t=a(t),new Intl.DateTimeFormat(r,t).format(e)),()=>String(e))}function f(){return n||(i(new l(h.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:c,number:function(e,n){return u(n,null==t?void 0:t.number,t=>new Intl.NumberFormat(r,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let i,o;let s={};t instanceof Date||"number"==typeof t?i=new Date(t):t&&(i=null!=t.now?new Date(t.now):f(
1),o=t.unit,s.style=t.style,s.numberingSystem=t.numberingSystem),i||(i=f());let a=(new Date(e).getTime()-i.getTime())/1e3;o||(o=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<p?"week":t<31536e3?"month":"year"}(a)),s.numeric="second"===o?"auto":"always";let u=(n=o,Math.round(a/d[n]));return new Intl.RelativeTimeFormat(r,s).format(u,o)}catch(t){return i(new l(h.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,n){let i=[],o=new Map,s=0;for(let t of e){let e;"object"==typeof t?(e=String(s),o.set(e,t)):e=String(t),i.push(e),s++}return u(n,null==t?void 0:t.list,e=>{let t=new Intl.ListFormat(r,e).formatToParts(i).map(e=>"literal"===e.type?e.value:o.get(e.value)||e.value);return o.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,n,i){return u(i,null==t?void 0:t.dateTime,t=>(t=a(t),new Intl.DateTimeFormat(r,t).formatRange(e,n)),()=>[c(e),c(n)].join("âââ"))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},67183:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(19953),i=r(11962),o=r(20284),s=r(50822),a=r(38883),u=r(84037);r(90129),r(19689),r(86559),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t.createTranslator=i.createTranslator,t.initializeConfig=o.initializeConfig,t.IntlProvider=s.IntlProvider,t.useFormatter=a.useFormatter,t.useMessages=a.useMessages,t.useNow=a.useNow,t.useTimeZone=a.useTimeZone,t.useTranslations=a.useTranslations,t.useLocale=u.useLocale},20284:function(e,t){function r(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(".")}function n(e){return r(e.namespace,e.key)}function i(e){console.error(e)}t.defaultGetMessageFallback=n,t.defaultOnError=i,t.initializeConfig=function(e){let{getMessageFallback:t,messages:r,onError:o,...s}=e;return{...s,messages:r,onError:o||i,getMessageFallback:t||n}},t.joinPath=r},38883:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(50822),i=r(84037),o=r(19689),s=r(19953);r(20284),r(86559),r(90129);let a=!1,u="undefined"==typeof window;t.IntlProvider=n.IntlProvider,t.useLocale=i.useLocale,t.useFormatter=function(){let{formats:e,locale:t,now:r,onError:n,timeZone:a}=i.useIntlContext();return o.useMemo(()=>s.createFormatter({formats:e,locale:t,now:r,onError:n,timeZone:a}),[e,r,t,n,a])},t.useMessages=function(){let e=i.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:r}=i.useIntlContext(),[n,s]=o.useState(r||new Date);return o.useEffect(()=>{if(!t)return;let e=setInterval(()=>{s(new Date)},t);return()=>{clearInterval(e)}},[r,t]),null==t&&r?r:n},t.useTimeZone=function(){return i.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,r){let{defaultTranslationValues:n,formats:h,getMessageFallback:l,locale:c,messageFormatCache:f,onError:p,timeZone:d}=i.useIntlContext();return e=e["!"],t=s.resolveNamespace(t,"!"),d||a||!u||(a=!0,p(new s.IntlError(s.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),o.useMemo(()=>s.createBaseTranslator({messageFormatCache:f,getMessageFallback:l,messages:e,defaultTranslationValues:n,namespace:t,onError:p,formats:h,locale:c,timeZone:d}),[f,l,e,t,p,n,h,c,d])}({"!":i.useIntlContext().messages},e?"!.".concat(e):"!",0)}},99688:function(e,t,r){r.d(t,{j:function(){return o}});var n=r(89416),i=r(39189),o=new class extends n.l{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!i.sk&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}}},35150:function(e,t,r){function n(e){return"success"===e.state.status}function i(e,t,r){if("object"!=typeof t||null===t)return;let n=e.getMutationCache(),i=e.getQueryCache(),o=t.mutations||[],s=t.queries||[];o.forEach(({state:t,...i})=>{n.build(e,{...e.getDefaultOptions().hydrate?.mutations,...r?.defaultOptions?.mutations,...i},t)}
1),s.forEach(({queryKey:t,state:n,queryHash:o,meta:s,promise:a})=>{let u=i.get(o);if(u){if(u.state.dataUpdatedAt<n.dataUpdatedAt){let{fetchStatus:e,...t}=n;u.setState(t)}}else u=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...r?.defaultOptions?.queries,queryKey:t,queryHash:o,meta:s},{...n,fetchStatus:"idle"});if(a){let t=e.getDefaultOptions().hydrate?.transformPromise,r=t?.(Promise.resolve(a))??a;u.fetch(void 0,{initialPromise:r})}})}r.d(t,{ZB:function(){return i},d_:function(){return n}})},52930:function(e,t,r){r.d(t,{Gm:function(){return i},Qy:function(){return a},ZF:function(){return u}});var n=r(39189);function i(e){return{onFetch:(t,r)=>{let i=async()=>{let r;let i=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],h=t.state.data?.pageParams||[],l=!1,c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?l=!0:t.signal.addEventListener("abort",()=>{l=!0}),t.signal)})},f=(0,n.cG)(t.options,t.fetchOptions),p=async(e,r,i)=>{if(l)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let o={queryKey:t.queryKey,pageParam:r,direction:i?"backward":"forward",meta:t.options.meta};c(o);let s=await f(o),{maxPages:a}=t.options,u=i?n.Ht:n.VX;return{pages:u(e.pages,s,a),pageParams:u(e.pageParams,r,a)}};if(a&&u.length){let e="backward"===a,t={pages:u,pageParams:h},n=(e?s:o)(i,t);r=await p(t,n,e)}else{r=await p({pages:[],pageParams:[]},h[0]??i.initialPageParam);let t=e??u.length;for(let e=1;e<t;e++){let e=o(i,r);r=await p(r,e)}}return r};t.options.persister?t.fetchFn=()=>t.options.persister?.(i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=i}}}function o(e,{pages:t,pageParams:r}){let n=t.length-1;return e.getNextPageParam(t[n],t,r[n],r)}function s(e,{pages:t,pageParams:r}){return e.getPreviousPageParam?.(t[0],t,r[0],r)}function a(e,t){return!!t&&null!=o(e,t)}function u(e,t){return!!t&&!!e.getPreviousPageParam&&null!=s(e,t)}},70835:function(e,t,r){r.d(t,{R:function(){return a},m:function(){return s}});var n=r(59226),i=r(88667),o=r(62602),s=class extends i.F{#n;#i;#o;constructor(e){super(),this.mutationId=e.mutationId,this.#i=e.mutationCache,this.#n=[],this.state=e.state||a(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(t=>t!==e),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(e){this.#o=(0,o.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#s({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let t="pending"===this.state.status,r=!this.#o.canStart();try{if(!t){this.#s({type:"pending",variables:e,isPaused:r}),await this.#i.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#s({type:"pending",context:t,variables:e,isPaused:r})}let n=await this.#o.start();return await this.#i.config.onSuccess?.(n,e,this.state.context,this),await this.options.onSuccess?.(n,e,this.state.context),await this.#i.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,e,this.state.context),this.#s({type:"success",data:n}),n}catch(t){try{throw await this.#i.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#i.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#s({type:"error",error:t})}}finally{this.#i.runNext(this)}}#s(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),n.V.batch(()=>{this.#n.forEach(t=>{t.onMutationUpdate(e)}),this.#i.notify({mutation:this,type:"updated",action:e})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},59226:function(e,t,r){r.d(t,{V:function(){return n}});var n=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},i=e=>setTimeout(e,0),o=n=>{t?e.push(n):i(()=>{r(n)})},s=()=>{let t=e;e=[],t.length&&i(()=>{n(()=>{t.forEach(e=>{r(e)})})})};return{batch:e=>{let r;t++;try{r=e()}finally{--t||s()}return r},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{i=e}}}()},60753:function(e,t,r){r.d(t,{N:function(){return o}});var n=r(89416),i=r(39189),o=new class extends n.l{#a=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!i.sk&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#a!==e&&(this.#a=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#a}}},25471:function(e,t,r){r.d(t,{A:function(){return a},z:function(){return u}});var n=r(39189),i=r(59226),o=r(62602),s=r(88667),a=class extends s.F{#u;#h;#l;#o;#c;#f;constructor(e){super(),this.#f=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#u=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#u,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(e,t){let r=(0,n.oE)(this.state.data,e,this.options);return this.#s({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#u)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,n.Kp)(this.state.dataUpdatedAt,e)}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#f?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,r.signal)}
1)},s={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{let e=(0,n.cG)(this.options,t),r={queryKey:this.queryKey,meta:this.meta};return(i(r),this.#f=!1,this.options.persister)?this.options.persister(e,r,this):e(r)}};i(s),this.options.behavior?.onFetch(s,this),this.#h=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#s({type:"fetch",meta:s.fetchOptions?.meta});let a=e=>{(0,o.DV)(e)&&e.silent||this.#s({type:"error",error:e}),(0,o.DV)(e)||(this.#l.config.onError?.(e,this),this.#l.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#o=(0,o.Mz)({initialPromise:t?.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0===e){a(Error(`${this.queryHash} data is undefined`));return}this.setData(e),this.#l.config.onSuccess?.(e,this),this.#l.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:a,onFail:(e,t)=>{this.#s({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}),this.#o.start()}#s(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...u(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let r=e.error;if((0,o.DV)(r)&&r.revert&&this.#h)return{...this.#h,fetchStatus:"idle"};return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.V.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:e})})}};function u(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,o.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},88667:function(e,t,r){r.d(t,{F:function(){return i}});var n=r(39189),i=class{#p;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.PN)(this.gcTime)&&(this.#p=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.sk?1/0:3e5))}clearGcTimeout(){this.#p&&(clearTimeout(this.#p),this.#p=void 0)}}},62602:function(e,t,r){r.d(t,{DV:function(){return h},Kw:function(){return a},Mz:function(){return l}});var n=r(99688),i=r(60753),o=r(39189);function s(e){return Math.min(1e3*2**e,3e4)}function a(e){return(e??"online")!=="online"||i.N.isOnline()}var u=class{constructor(e){this.revert=e?.revert,this.silent=e?.silent}};function h(e){return e instanceof u}function l(e){let t,r,h,l=!1,c=0,f=!1,p=new Promise((e,t)=>{r=e,h=t}),d=()=>n.j.isFocused()&&("always"===e.networkMode||i.N.isOnline())&&e.canRun(),m=()=>a(e.networkMode)&&e.canRun(),g=n=>{f||(f=!0,e.onSuccess?.(n),t?.(),r(n))},y=r=>{f||(f=!0,e.onError?.(r),t?.(),h(r))},E=()=>new Promise(r=>{t=e=>{(f||d())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,f||e.onContinue?.()}),b=()=>{let t;if(f)return;let r=0===c?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(g).catch(t=>{if(f)return;let r=e.retry??(o.sk?0:3),n=e.retryDelay??s,i="function"==typeof n?n(c,t):n,a=!0===r||"number"==typeof r&&c<r||"function"==typeof r&&r(c,t);if(l||!a){y(t);return}c++,e.onFail?.(c,t),(0,o._v)(i).then(()=>d()?void 0:E()).then(()=>{l?y(t):b()})})};return{promise:p,cancel:t=>{f||(y(new u(t)),e.abort?.())},continue:()=>(t?.(),p),cancelRetry:()=>{l=!0},continueRetry:()=>{l=!1},canStart:m,start:()=>(m()?b():E().then(b),p)}}},89416:function(e,t,r){r.d(t,{l:function(){return n}});var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},39189:function(e,t,r){r.d(t,{CN:function(){return S},Ht:function(){return _},KC:function(){return u},Kp:function(){return a},PN:function(){return s},Q$:function(){return d},Rm:function(){return c},SE:function(){return o},VS:function(){return m},VX:function(){return T},X7:function(){return l},Ym:function(){return f},ZT:function(){return i},_v:function(){return b},_x:function(){return h},cG:function(){return A},oE:function(){return v},sk:function(){return n},to:function(){return p}});var n="undefined"==typeof window||"Deno"in globalThis;function i(){}function o(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function a(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t){return"function"==typeof e?e(t):e}function h(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(n){if(t.queryHash!==c(s,t.options))return!1}else if(!p(t.queryKey,s))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(!i||i===t.state.fetchStatus)&&(!o||!!o(t))}function l(e,t){let{exact:r,status:n,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;
1if(r){if(f(t.options.mutationKey)!==f(o))return!1}else if(!p(t.options.mutationKey,o))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function c(e,t){return(t?.queryKeyHashFn||f)(e)}function f(e){return JSON.stringify(e,(e,t)=>y(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function p(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!p(e[r],t[r]))}function d(e,t){if(e===t)return e;let r=g(e)&&g(t);if(r||y(e)&&y(t)){let n=r?e:Object.keys(e),i=n.length,o=r?t:Object.keys(t),s=o.length,a=r?[]:{},u=0;for(let i=0;i<s;i++){let s=r?i:o[i];(!r&&n.includes(s)||r)&&void 0===e[s]&&void 0===t[s]?(a[s]=void 0,u++):(a[s]=d(e[s],t[s]),a[s]===e[s]&&void 0!==e[s]&&u++)}return i===s&&u===i?e:a}return t}function m(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function g(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function y(e){if(!E(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(E(r)&&r.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(e)===Object.prototype}function E(e){return"[object Object]"===Object.prototype.toString.call(e)}function b(e){return new Promise(t=>{setTimeout(t,e)})}function v(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?d(e,t):t}function T(e,t,r=0){let n=[...e,t];return r&&n.length>r?n.slice(1):n}function _(e,t,r=0){let n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var S=Symbol(),A=(e,t)=>!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==S?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},54232:function(e,t,r){r.d(t,{QueryClientContext:function(){return o},QueryClientProvider:function(){return a},useQueryClient:function(){return s}});var n=r(19689),i=r(36060),o=n.createContext(void 0),s=e=>{let t=n.useContext(o);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},a=e=>{let{client:t,children:r}=e;return n.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,i.jsx)(o.Provider,{value:t,children:r})}},33088:function(e,t,r){function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}}),t.Z=n},12951:function(e,t,r){r.d(t,{ZT:function(){return i},_T:function(){return s},ev:function(){return a},pi:function(){return o}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function a(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}}]);
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.