-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path17896441.a5e94363.js
1 lines (1 loc) · 60.5 KB
/
17896441.a5e94363.js
1
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8401],{8418:(e,t,r)=>{function n(e,t){const r=t&&t.cache?t.cache:c,n=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})}function i(e,t,r,n){const i=null==(o=n)||"number"==typeof o||"boolean"==typeof o?n:r(n);var o;let s=t.get(i);return void 0===s&&(s=e.call(this,n),t.set(i,s)),s}function o(e,t,r){const n=Array.prototype.slice.call(arguments,3),i=r(n);let o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function s(e,t,r,n,i){return r.bind(t,e,n,i)}function a(e,t){return s(e,this,1===e.length?i:o,t.cache.create(),t.serializer)}r.d(t,{B:()=>n,W:()=>u});const l=function(){return JSON.stringify(arguments)};class h{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}}const c={create:function(){return new h}},u={variadic:function(e,t){return s(e,this,o,t.cache.create(),t.serializer)},monadic:function(e,t){return s(e,this,i,t.cache.create(),t.serializer)}}},6214:(e,t,r)=>{r.r(t),r.d(t,{SKELETON_TYPE:()=>o,TYPE:()=>i,_Parser:()=>ae,createLiteralElement:()=>E,createNumberElement:()=>b,isArgumentElement:()=>a,isDateElement:()=>h,isDateTimeSkeleton:()=>d,isLiteralElement:()=>s,isNumberElement:()=>l,isNumberSkeleton:()=>g,isPluralElement:()=>m,isPoundElement:()=>f,isSelectElement:()=>u,isStructurallySame:()=>ie,isTagElement:()=>p,isTimeElement:()=>c,parse:()=>se});let n=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e}({}),i=function(e){return e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",e}({}),o=function(e){return e[e.number=0]="number",e[e.dateTime=1]="dateTime",e}({});function s(e){return e.type===i.literal}function a(e){return e.type===i.argument}function l(e){return e.type===i.number}function h(e){return e.type===i.date}function c(e){return e.type===i.time}function u(e){return e.type===i.select}function m(e){return e.type===i.plural}function f(e){return e.type===i.pound}function p(e){return e.type===i.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==o.number)}function d(e){return!(!e||"object"!=typeof e||e.type!==o.dateTime)}function E(e){return{type:i.literal,value:e}}function b(e,t){return{type:i.number,value:e,style:t}}const T=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y=/(?:[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;function A(e){const t={};return e.replace(y,(e=>{const r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}const H=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;const N=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_=/^(@+)?(\+|#+)?[rs]?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,B=/^(0+)$/;function S(e){const t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(_,(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 P(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 v(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){const r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!B.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function L(e){const t=P(e);return t||{}}function R(e){let t={};for(const 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,...L(t)})),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce(((e,t)=>({...e,...L(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 new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(I,(function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(B.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(N.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(N,(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),""}));const e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...S(e)});continue}if(_.test(r.stem)){t={...t,...S(r.stem)};continue}const e=P(r.stem);e&&(t={...t,...e});const n=v(r.stem);n&&(t={...t,...n})}return t}const C={"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"],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:["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"],"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"]};function M(e){let t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const r=e.language;let n;"root"!==r&&(n=e.maximize().region);return(C[n||""]||C[r||""]||C[`${r}-001`]||C["001"])[0]}const F=new RegExp(`^${T.source}*`),w=new RegExp(`${T.source}*$`);function O(e,t){return{start:e,end:t}}const D=!!String.prototype.startsWith&&"_a".startsWith("a",1),U=!!String.fromCodePoint,G=!!Object.fromEntries,k=!!String.prototype.codePointAt,x=!!String.prototype.trimStart,j=!!String.prototype.trimEnd,$=!!Number.isSafeInteger?Number.isSafeInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991;let V=!0;try{const e=z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");V="a"===e.exec("a")?.[0]}catch(le){V=!1}const X=D?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},K=U?String.fromCodePoint:function(){let e,t="",r=arguments.length,n=0;for(;r>n;){var i;if(e=(i=n++)<0||arguments.length<=i?void 0:arguments[i],e>1114111)throw RangeError(e+" is not a valid code point");t+=e<65536?String.fromCharCode(e):String.fromCharCode(55296+((e-=65536)>>10),e%1024+56320)}return t},W=G?Object.fromEntries:function(e){const t={};for(const[r,n]of e)t[r]=n;return t},Z=k?function(e,t){return e.codePointAt(t)}:function(e,t){let r=e.length;if(t<0||t>=r)return;let n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536},Y=x?function(e){return e.trimStart()}:function(e){return e.replace(F,"")},J=j?function(e){return e.trimEnd()}:function(e){return e.replace(w,"")};function z(e,t){return new RegExp(e,t)}let q;if(V){const e=z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=function(t,r){e.lastIndex=r;return e.exec(t)[1]??""}}else q=function(e,t){let r=[];for(;;){const n=Z(e,t);if(void 0===n||te(n)||re(n))break;r.push(n),t+=n>=65536?2:1}return K(...r)};class Q{constructor(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}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let o=[];for(;!this.isEOF();){const s=this.char();if(123===s){const t=this.parseArgument(e,r);if(t.err)return t;o.push(t.val)}else{if(125===s&&e>0)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(n.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&ee(this.peek()||0)){const r=this.parseTag(e,t);if(r.err)return r;o.push(r.val)}else{const r=this.parseLiteral(e,t);if(r.err)return r;o.push(r.val)}}else{const e=this.clonePosition();this.bump(),o.push({type:i.pound,location:O(e,this.clonePosition())})}}}return{val:o,err:null}}parseTag(e,t){const r=this.clonePosition();this.bump();const o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:`<${o}/>`,location:O(r,this.clonePosition())},err:null};if(this.bumpIf(">")){const s=this.parseMessage(e+1,t,!0);if(s.err)return s;const a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ee(this.char()))return this.error(n.INVALID_TAG,O(l,this.clonePosition()));const e=this.clonePosition();return o!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,O(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:o,children:a,location:O(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,O(l,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,O(r,this.clonePosition()))}return this.error(n.INVALID_TAG,O(r,this.clonePosition()))}parseTagName(){const e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();var t;return this.message.slice(e,this.offset())}parseLiteral(e,t){const r=this.clonePosition();let n="";for(;;){const r=this.tryParseQuote(t);if(r){n+=r;continue}const i=this.tryParseUnquoted(e,t);if(i){n+=i;continue}const o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}const o=O(r,this.clonePosition());return{val:{type:i.literal,value:n,location:o},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ee(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e}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();const t=[this.char()];for(this.bump();!this.isEOF();){const e=this.char();if(39===e){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(e);this.bump()}return K(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;const r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),K(r))}parseArgument(e,t){const r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,O(r,this.clonePosition()));let o=this.parseIdentifierIfPossible().value;if(!o)return this.error(n.MALFORMED_ARGUMENT,O(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:o,location:O(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(n.MALFORMED_ARGUMENT,O(r,this.clonePosition()))}}parseIdentifierIfPossible(){const e=this.clonePosition(),t=this.offset(),r=q(this.message,t),n=t+r.length;this.bumpTo(n);return{value:r,location:O(e,this.clonePosition())}}parseArgumentOptions(e,t,r,s){let a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(l){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,O(a,h));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();const t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;const i=J(r.val);if(0===i.length)return this.error(n.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:O(t,this.clonePosition())}}const t=this.tryParseArgumentClose(s);if(t.err)return t;const a=O(s,this.clonePosition());if(e&&X(e?.style,"::",0)){let t=Y(e.style.slice(2));if("number"===l){const n=this.parseNumberSkeletonFromString(t,e.styleLocation);return n.err?n:{val:{type:i.number,value:r,location:a,style:n.val},err:null}}{if(0===t.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,a);let s=t;this.locale&&(s=function(e,t){let r="";for(let n=0;n<e.length;n++){const i=e.charAt(n);if("j"===i){let o=0;for(;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;let s=1+(1&o),a=o<2?1:3+(o>>1),l="a",h=M(t);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+=l;for(;s-- >0;)r=h+r}else r+="J"===i?"H":i}return r}(t,this.locale));const h={type:o.dateTime,pattern:s,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?A(s):{}};return{val:{type:"date"===l?i.date:i.time,value:r,location:a,style:h},err:null}}}return{val:{type:"number"===l?i.number:"date"===l?i.date:i.time,value:r,location:a,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const o=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,O(o,{...o}));this.bumpSpace();let a=this.parseIdentifierIfPossible(),h=0;if("select"!==l&&"offset"===a.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();const e=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),a=this.parseIdentifierIfPossible(),h=e.val}const c=this.tryParsePluralOrSelectOptions(e,l,t,a);if(c.err)return c;const u=this.tryParseArgumentClose(s);if(u.err)return u;const m=O(s,this.clonePosition());return"select"===l?{val:{type:i.select,value:r,options:W(c.val),location:m},err:null}:{val:{type:i.plural,value:r,options:W(c.val),offset:h,pluralType:"plural"===l?"cardinal":"ordinal",location:m},err:null}}default:return this.error(n.INVALID_ARGUMENT_TYPE,O(a,h))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,O(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0;const t=this.clonePosition();for(;!this.isEOF();){switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(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 new Error("Number skeleton cannot be empty");const t=e.split(H).filter((e=>e.length>0)),r=[];for(const n of t){let e=n.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[t,...i]=e;for(const r of i)if(0===r.length)throw new Error("Invalid number skeleton");r.push({stem:t,options:i})}return r}(e)}catch(i){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:o.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?R(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let o=!1;const s=[],a=new Set;let{value:l,location:h}=i;for(;;){if(0===l.length){const e=this.clonePosition();if("select"===t||!this.bumpIf("="))break;{const t=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;h=O(e,this.clonePosition()),l=this.message.slice(e.offset,this.offset())}}if(a.has(l))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(o=!0),this.bumpSpace();const i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));const c=this.parseMessage(e+1,t,r);if(c.err)return c;const u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([l,{value:c.val,location:O(i,this.clonePosition())}]),a.add(l),this.bumpSpace(),({value:l,location:h}=this.parseIdentifierIfPossible())}return 0===s.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(n.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let i=!1,o=0;for(;!this.isEOF();){const e=this.char();if(!(e>=48&&e<=57))break;i=!0,o=10*o+(e-48),this.bump()}const s=O(n,this.clonePosition());return i?(o*=r,$(o)?{val:o,err:null}:this.error(t,s)):this.error(e,s)}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(){const e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");const t=Z(this.message,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;const 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(X(this.message,e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){const 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);;){const 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(;!this.isEOF()&&te(this.char());)this.bump()}peek(){if(this.isEOF())return null;const e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}}function ee(e){return e>=97&&e<=122||e>=65&&e<=90}function te(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function re(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ne(e,t){void 0===t&&(t=new Map),e.forEach((e=>{if(a(e)||h(e)||c(e)||l(e)){if(e.value in t&&t.get(e.value)!==e.type)throw new Error(`Variable ${e.value} has conflicting types`);t.set(e.value,e.type)}(m(e)||u(e))&&(t.set(e.value,e.type),Object.keys(e.options).forEach((r=>{ne(e.options[r].value,t)}))),p(e)&&(t.set(e.value,e.type),ne(e.children,t))}))}function ie(e,t){const r=new Map,n=new Map;return ne(e,r),ne(t,n),r.size!==n.size?{success:!1,error:new Error(`Different number of variables: [${Array.from(r.keys()).join(", ")}] vs [${Array.from(n.keys()).join(", ")}]`)}:Array.from(r.entries()).reduce(((e,t)=>{let[r,o]=t;if(!e.success)return e;const s=n.get(r);return null==s?{success:!1,error:new Error(`Missing variable ${r} in message`)}:s!==o?{success:!1,error:new Error(`Variable ${r} has conflicting types: ${i[o]} vs ${i[s]}`)}:e}),{success:!0})}function oe(e){e.forEach((e=>{if(delete e.location,u(e)||m(e))for(const t in e.options)delete e.options[t].location,oe(e.options[t].value);else l(e)&&g(e.style)||(h(e)||c(e))&&d(e.style)?delete e.style.location:p(e)&&oe(e.children)}))}function se(e,t){void 0===t&&(t={}),t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};const r=new Q(e,t).parse();if(r.err){const e=SyntaxError(n[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||oe(r.val),r.val}const ae=Q},4079:(e,t,r)=>{r.d(t,{Ay:()=>n});const n=r(9775).S},9775:(e,t,r)=>{r.d(t,{S:()=>l});var n=r(8418),i=r(6214),o=r(851);function s(e,t){return t?Object.keys(e).reduce(((r,n)=>{var i,o;return r[n]=(i=e[n],(o=t[n])?{...i||{},...o||{},...Object.keys(i).reduce(((e,t)=>(e[t]={...i[t],...o[t]||{}},e)),{})}:i),r}),{...e}):e}function a(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}class l{formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(e,t,r,i){if(void 0===t&&(t=l.defaultLocale),this.locales=t,this.resolvedLocale=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{formatters:t,...r}=i||{};this.ast=l.__parse(e,{...r,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var o;this.formats=s(l.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.NumberFormat(...t)}),{cache:a(o.number),strategy:n.W.variadic}),getDateTimeFormat:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.DateTimeFormat(...t)}),{cache:a(o.dateTime),strategy:n.W.variadic}),getPluralRules:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.PluralRules(...t)}),{cache:a(o.pluralRules),strategy:n.W.variadic})})}format=e=>{const t=this.formatToParts(e);if(1===t.length)return t[0].value;const r=t.reduce(((e,t)=>(e.length&&t.type===o.TT.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};formatToParts=e=>(0,o.hN)(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale}static resolveLocale=e=>{if(void 0===Intl.Locale)return;const t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])};static __parse=(()=>i.parse)();static 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"}}}}},3280:(e,t,r)=>{r.d(t,{$x:()=>o,Ei:()=>a,IF:()=>i,O4:()=>n,Zo:()=>s});let n=function(e){return e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API",e}({});class i extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}}class o extends i{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,n.INVALID_VALUE,i)}}class s extends i{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,n.INVALID_VALUE,r)}}class a extends i{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,n.MISSING_VALUE,t)}}},851:(e,t,r)=>{r.d(t,{RK:()=>s,TT:()=>o,hN:()=>a});var n=r(6214),i=r(3280);let o=function(e){return e[e.literal=0]="literal",e[e.object=1]="object",e}({});function s(e){return"function"==typeof e}function a(e,t,r,l,h,c,u){if(1===e.length&&(0,n.isLiteralElement)(e[0]))return[{type:o.literal,value:e[0].value}];const m=[];for(const p of e){if((0,n.isLiteralElement)(p)){m.push({type:o.literal,value:p.value});continue}if((0,n.isPoundElement)(p)){"number"==typeof c&&m.push({type:o.literal,value:r.getNumberFormat(t).format(c)});continue}const{value:e}=p;if(!h||!(e in h))throw new i.Ei(e,u);let f=h[e];if((0,n.isArgumentElement)(p))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),m.push({type:"string"==typeof f?o.literal:o.object,value:f});else if((0,n.isDateElement)(p)){const e="string"==typeof p.style?l.date[p.style]:(0,n.isDateTimeSkeleton)(p.style)?p.style.parsedOptions:void 0;m.push({type:o.literal,value:r.getDateTimeFormat(t,e).format(f)})}else if((0,n.isTimeElement)(p)){const e="string"==typeof p.style?l.time[p.style]:(0,n.isDateTimeSkeleton)(p.style)?p.style.parsedOptions:l.time.medium;m.push({type:o.literal,value:r.getDateTimeFormat(t,e).format(f)})}else if((0,n.isNumberElement)(p)){const e="string"==typeof p.style?l.number[p.style]:(0,n.isNumberSkeleton)(p.style)?p.style.parsedOptions:void 0;e&&e.scale&&(f*=e.scale||1),m.push({type:o.literal,value:r.getNumberFormat(t,e).format(f)})}else{if((0,n.isTagElement)(p)){const{children:e,value:n}=p,f=h[n];if(!s(f))throw new i.Zo(n,"function",u);let g=f(a(e,t,r,l,h,c).map((e=>e.value)));Array.isArray(g)||(g=[g]),m.push(...g.map((e=>({type:"string"==typeof e?o.literal:o.object,value:e}))))}if((0,n.isSelectElement)(p)){const e=p.options[f]||p.options.other;if(!e)throw new i.$x(p.value,f,Object.keys(p.options),u);m.push(...a(e.value,t,r,l,h))}else if((0,n.isPluralElement)(p)){let e=p.options[`=${f}`];if(!e){if(!Intl.PluralRules)throw new i.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',i.O4.MISSING_INTL_API,u);const n=r.getPluralRules(t,{type:p.pluralType}).select(f-(p.offset||0));e=p.options[n]||p.options.other}if(!e)throw new i.$x(p.value,f,Object.keys(p.options),u);m.push(...a(e.value,t,r,l,h,f-(p.offset||0)))}else;}}return(f=m).length<2?f:f.reduce(((e,t)=>{const r=e[e.length-1];return r&&r.type===o.literal&&t.type===o.literal?r.value+=t.value:e.push(t),e}),[]);var f}},1177:(e,t,r)=>{r.d(t,{Ar:()=>i,Ho:()=>h,OC:()=>o,hr:()=>a,lo:()=>n,pg:()=>l,sb:()=>c,uo:()=>s});let n=function(e){return e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION",e}({});class i extends Error{constructor(e,t,r){const n=r?r instanceof Error?r:new Error(String(r)):void 0;super(`[@formatjs/intl Error ${e}] ${t}\n${n?`\n${n.message}\n${n.stack}`:""}`),this.code=e,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i)}}class o extends i{constructor(e,t){super(n.UNSUPPORTED_FORMATTER,e,t)}}class s extends i{constructor(e,t){super(n.INVALID_CONFIG,e,t)}}class a extends i{constructor(e,t){super(n.MISSING_DATA,e,t)}}class l extends i{constructor(e,t,r){super(n.FORMAT_ERROR,`${e}\nLocale: ${t}\n`,r),this.locale=t}}class h extends l{constructor(e,t,r,n){super(`${e}\nMessageID: ${r?.id}\nDefault Message: ${r?.defaultMessage}\nDescription: ${r?.description}\n`,t,n),this.descriptor=r,this.locale=t}}class c extends i{constructor(e,t){super(n.MISSING_TRANSLATION,`Missing message: "${e.id}" for locale "${t}", using ${e.defaultMessage?`default message (${"string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map((e=>e.value??JSON.stringify(e))).join()})`:"id"} as fallback.`),this.descriptor=e}}},4962:(e,t,r)=>{r.d(t,{F3:()=>m,GT:()=>u,J9:()=>a,JF:()=>l,MT:()=>h,V1:()=>s});var n=r(8418),i=r(9775),o=r(1177);function s(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function a(e,t,r){return void 0===r&&(r={}),t.reduce(((t,n)=>(n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t)),{})}const l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e=>{0},onWarn:e=>{0}};function h(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function c(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}function u(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});const t=Intl.RelativeTimeFormat,r=Intl.ListFormat,o=Intl.DisplayNames,s=(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.DateTimeFormat(...t)}),{cache:c(e.dateTime),strategy:n.W.variadic}),a=(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.NumberFormat(...t)}),{cache:c(e.number),strategy:n.W.variadic}),l=(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.PluralRules(...t)}),{cache:c(e.pluralRules),strategy:n.W.variadic});return{getDateTimeFormat:s,getNumberFormat:a,getMessageFormat:(0,n.B)(((e,t,r,n)=>new i.S(e,t,r,{formatters:{getNumberFormat:a,getDateTimeFormat:s,getPluralRules:l},...n||{}})),{cache:c(e.message),strategy:n.W.variadic}),getRelativeTimeFormat:(0,n.B)((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return new t(...r)}),{cache:c(e.relativeTime),strategy:n.W.variadic}),getPluralRules:l,getListFormat:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new r(...t)}),{cache:c(e.list),strategy:n.W.variadic}),getDisplayNames:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new o(...t)}),{cache:c(e.displayNames),strategy:n.W.variadic})}}function m(e,t,r,n){const i=e&&e[t];let s;if(i&&(s=i[r]),s)return s;n(new o.OC(`No ${t} format named: ${r}`))}},9799:(e,t,r)=>{r.d(t,{E:()=>U});var n=r(6214),i=r(9775),o=r(1177),s=r(4962);function a(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]={timeZone:t,...e[n]},r)),{})}function l(e,t){return Object.keys({...e,...t}).reduce(((r,n)=>(r[n]={...e[n]||{},...t[n]||{}},r)),{})}function h(e,t){if(!t)return e;const r=i.S.formats;return{...r,...e,date:l(a(r.date,t),a(e.date||{},t)),time:l(a(r.time,t),a(e.time||{},t))}}const c=function(e,t,r,i,a){let{locale:l,formats:c,messages:u,defaultLocale:m,defaultFormats:f,fallbackOnEmptyString:p,onError:g,timeZone:d,defaultRichTextElements:E}=e;void 0===r&&(r={id:""});const{id:b,defaultMessage:T}=r;(0,s.V1)(!!b,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");const y=String(b),A=u&&Object.prototype.hasOwnProperty.call(u,y)&&u[y];if(Array.isArray(A)&&1===A.length&&A[0].type===n.TYPE.literal)return A[0].value;if(!i&&A&&"string"==typeof A&&!E)return A.replace(/'\{(.*?)\}'/gi,"{$1}");if(i={...E,...i||{}},c=h(c,d),f=h(f,d),!A){if(!1===p&&""===A)return A;if((!T||l&&l.toLowerCase()!==m.toLowerCase())&&g(new o.sb(r,l)),T)try{return t.getMessageFormat(T,m,f,a).format(i)}catch(H){return g(new o.Ho(`Error formatting default message for: "${y}", rendering default message verbatim`,l,r,H)),"string"==typeof T?T:y}return y}try{return t.getMessageFormat(A,l,c,{formatters:t,...a||{}}).format(i)}catch(H){g(new o.Ho(`Error formatting message: "${y}", using ${T?"default message":"id"} as fallback.`,l,r,H))}if(T)try{return t.getMessageFormat(T,m,f,a).format(i)}catch(H){g(new o.Ho(`Error formatting the default message for: "${y}", rendering message verbatim`,l,r,H))}return"string"==typeof A?A:"string"==typeof T?T:y},u=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function m(e,t,r,n){let{locale:i,formats:o,onError:a,timeZone:l}=e;void 0===n&&(n={});const{format:h}=n,c={...l&&{timeZone:l},...h&&(0,s.F3)(o,t,h,a)};let m=(0,s.J9)(n,u,c);return"time"!==t||m.hour||m.minute||m.second||m.timeStyle||m.dateStyle||(m={...m,hour:"numeric",minute:"numeric"}),r(i,m)}function f(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let[s,a={}]=n;const l="string"==typeof s?new Date(s||0):s;try{return m(e,"date",t,a).format(l)}catch(h){e.onError(new o.pg("Error formatting date.",e.locale,h))}return String(l)}function p(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let[s,a={}]=n;const l="string"==typeof s?new Date(s||0):s;try{return m(e,"time",t,a).format(l)}catch(h){e.onError(new o.pg("Error formatting time.",e.locale,h))}return String(l)}function g(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let[s,a,l={}]=n;const h="string"==typeof s?new Date(s||0):s,c="string"==typeof a?new Date(a||0):a;try{return m(e,"dateTimeRange",t,l).formatRange(h,c)}catch(u){e.onError(new o.pg("Error formatting date time range.",e.locale,u))}return String(h)}function d(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let[s,a={}]=n;const l="string"==typeof s?new Date(s||0):s;try{return m(e,"date",t,a).formatToParts(l)}catch(h){e.onError(new o.pg("Error formatting date.",e.locale,h))}return[]}function E(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let[s,a={}]=n;const l="string"==typeof s?new Date(s||0):s;try{return m(e,"time",t,a).formatToParts(l)}catch(h){e.onError(new o.pg("Error formatting time.",e.locale,h))}return[]}var b=r(3280);const T=["style","type","fallback","languageDisplay"];function y(e,t,r,n){let{locale:i,onError:a}=e;Intl.DisplayNames||a(new b.IF('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',b.O4.MISSING_INTL_API));const l=(0,s.J9)(n,T);try{return t(i,l).of(r)}catch(h){a(new o.pg("Error formatting display name.",i,h))}}const A=["type","style"],H=Date.now();function N(e,t,r,n){void 0===n&&(n={});const i=_(e,t,r,n).reduce(((e,t)=>{const r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===i.length?i[0]:0===i.length?"":i}function _(e,t,r,n){let{locale:i,onError:a}=e;void 0===n&&(n={});Intl.ListFormat||a(new b.IF('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',b.O4.MISSING_INTL_API));const l=(0,s.J9)(n,A);try{const e={},n=r.map(((t,r)=>{if("object"==typeof t){const n=function(e){return`${H}_${e}_${H}`}(r);return e[n]=t,n}return String(t)}));return t(i,l).formatToParts(n).map((t=>"literal"===t.type?t:{...t,value:e[t.value]||t.value}))}catch(h){a(new o.pg("Error formatting list.",i,h))}return r}const I=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function B(e,t,r){let{locale:n,formats:i,onError:o}=e;void 0===r&&(r={});const{format:a}=r,l=a&&(0,s.F3)(i,"number",a,o)||{};return t(n,(0,s.J9)(r,I,l))}function S(e,t,r,n){void 0===n&&(n={});try{return B(e,t,n).format(r)}catch(i){e.onError(new o.pg("Error formatting number.",e.locale,i))}return String(r)}function P(e,t,r,n){void 0===n&&(n={});try{return B(e,t,n).formatToParts(r)}catch(i){e.onError(new o.pg("Error formatting number.",e.locale,i))}return[]}const v=["type"];function L(e,t,r,n){let{locale:i,onError:a}=e;void 0===n&&(n={}),Intl.PluralRules||a(new b.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',b.O4.MISSING_INTL_API));const l=(0,s.J9)(n,v);try{return t(i,l).select(r)}catch(h){a(new o.pg("Error formatting plural.",i,h))}return"other"}const R=["numeric","style"];function C(e,t,r,n,i){void 0===i&&(i={}),n||(n="second");Intl.RelativeTimeFormat||e.onError(new b.IF('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',b.O4.MISSING_INTL_API));try{return function(e,t,r){let{locale:n,formats:i,onError:o}=e;void 0===r&&(r={});const{format:a}=r,l=!!a&&(0,s.F3)(i,"relative",a,o)||{};return t(n,(0,s.J9)(r,R,l))}(e,t,i).format(r,n)}catch(a){e.onError(new o.pg("Error formatting relative time.",e.locale,a))}return String(r)}function M(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}var F=r(851),w=r(4252);function O(e){return e?Object.keys(e).reduce(((t,r)=>{const n=e[r];return t[r]=(0,F.RK)(n)?(0,w.yU)(n):n,t}),{}):e}const D=function(e,t,r,n){const i=O(n);for(var o=arguments.length,s=new Array(o>4?o-4:0),a=4;a<o;a++)s[a-4]=arguments[a];const l=c(e,t,r,i,...s);return Array.isArray(l)?(0,w.SP)(l):l},U=(e,t)=>{let{defaultRichTextElements:r,...n}=e;const i=O(r),a=function(e,t){const r=(0,s.GT)(t),n={...s.JF,...e},{locale:i,defaultLocale:a,onError:l}=n;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&l?l(new o.hr(`Missing locale data for locale: "${i}" in Intl.NumberFormat. Using default locale: "${a}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&l&&l(new o.hr(`Missing locale data for locale: "${i}" in Intl.DateTimeFormat. Using default locale: "${a}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(l&&l(new o.uo(`"locale" was not configured, using "${a}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),n.locale=n.defaultLocale||"en"),M(n),{...n,formatters:r,formatNumber:S.bind(null,n,r.getNumberFormat),formatNumberToParts:P.bind(null,n,r.getNumberFormat),formatRelativeTime:C.bind(null,n,r.getRelativeTimeFormat),formatDate:f.bind(null,n,r.getDateTimeFormat),formatDateToParts:d.bind(null,n,r.getDateTimeFormat),formatTime:p.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:g.bind(null,n,r.getDateTimeFormat),formatTimeToParts:E.bind(null,n,r.getDateTimeFormat),formatPlural:L.bind(null,n,r.getPluralRules),formatMessage:c.bind(null,n,r),$t:c.bind(null,n,r),formatList:N.bind(null,n,r.getListFormat),formatListToParts:_.bind(null,n,r.getListFormat),formatDisplayName:y.bind(null,n,r.getDisplayNames)}}({...w.JF,...n,defaultRichTextElements:i},t),l={locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:i};return{...a,formatMessage:D.bind(null,l,a.formatters),$t:D.bind(null,l,a.formatters)}}},1778:(e,t,r)=>{r.d(t,{Ay:()=>f,Kq:()=>u,ob:()=>m});var n=r(3871),i=r.n(n),o=r(7378),s=r(4252),a=r(6106);const l="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?o.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=o.createContext(null)),{Consumer:h,Provider:c}=l,u=c,m=l;function f(e,t){const{intlPropName:r="intl",forwardRef:n=!1,enforceContext:l=!0}=t||{},c=t=>(0,a.jsx)(h,{children:i=>{l&&(0,s.HM)(i);const o={[r]:i};return(0,a.jsx)(e,{...t,...o,ref:n?t.forwardedRef:null})}});var u;return c.displayName=`injectIntl(${u=e,u.displayName||u.name||"Component"})`,c.WrappedComponent=e,n?i()(o.forwardRef(((e,t)=>(0,a.jsx)(c,{...e,forwardedRef:t}))),e):i()(c,e)}},7387:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(7378),i=r(4252),o=r(5150),s=r(6106);function a(e,t){const{values:r,...n}=e,{values:o,...s}=t;return(0,i.bN)(o,r)&&(0,i.bN)(n,s)}function l(e){const t=(0,o.A)(),{formatMessage:r,textComponent:i=n.Fragment}=t,{id:a,description:l,defaultMessage:h,values:c,children:u,tagName:m=i,ignoreTag:f}=e,p=r({id:a,description:l,defaultMessage:h},c,{ignoreTag:f});return"function"==typeof u?u(p):m?(0,s.jsx)(m,{children:p}):(0,s.jsx)(s.Fragment,{children:p})}l.displayName="FormattedMessage";const h=n.memo(l,a);h.displayName="MemoizedFormattedMessage";const c=h},971:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(4962),i=r(7378),o=r(4252),s=r(9799),a=r(1778),l=r(6106);function h(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}class c extends i.PureComponent{static displayName="IntlProvider";static defaultProps=(()=>o.JF)();cache=(()=>(0,n.MT)())();state=(()=>({cache:this.cache,intl:(0,s.E)(h(this.props),this.cache),prevConfig:h(this.props)}))();static getDerivedStateFromProps(e,t){let{prevConfig:r,cache:n}=t;const i=h(e);return(0,o.bN)(r,i)?null:{intl:(0,s.E)(i,n),prevConfig:i}}render(){return(0,o.HM)(this.state.intl),(0,l.jsx)(a.Kq,{value:this.state.intl,children:this.props.children})}}},5150:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(7378),i=r(4252),o=r(1778);function s(){const e=n.useContext(o.ob);return(0,i.HM)(e),e}},4252:(e,t,r)=>{r.d(t,{HM:()=>o,JF:()=>s,SP:()=>h,V1:()=>i,bN:()=>u,yU:()=>c});var n=r(7378);function i(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function o(e){i(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}const s={...r(4962).JF,textComponent:n.Fragment},a={key:42},l=e=>n.isValidElement(e)?n.createElement(n.Fragment,a,e):e,h=e=>n.Children.map(e,l)??[];function c(e){return function(t){return e(n.Children.toArray(t))}}function u(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var s=r[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}},249:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(3372),i=(r(7378),r(971)),o=r(9657);const s="playgroundHeader_qwyd",a="playgroundEditorHeader_nLzM",l="playgroundPreviewHeader_vpQ2",h="playgroundEditor_PvJ1",c="playgroundPreview_bb8I";var u=r(6106);const m=function(e){let{children:t,theme:r,transformCode:m,...f}=e;return(0,u.jsxs)(o.Q,{code:t.replace(/\n$/,""),transformCode:m||(e=>`<>{${e}}</>`),theme:r,...f,children:[(0,u.jsx)("div",{className:(0,n.A)(s,a),children:"Live Editor"}),(0,u.jsx)(o.w,{className:h}),(0,u.jsx)("div",{className:(0,n.A)(s,l),children:"Result"}),(0,u.jsxs)("div",{className:c,children:[(0,u.jsx)(i.A,{locale:"undefined"!=typeof navigator?navigator.language:"en",children:(0,u.jsx)(o.pA,{})}),(0,u.jsx)(o.p1,{})]})]})}},6006:(e,t,r)=>{r.d(t,{A:()=>X});var n={};r.r(n);var i={};r.r(i);var o={};r.r(o),r.d(o,{CustomFormatConfig:()=>n.CustomFormatConfig,CustomFormats:()=>n.CustomFormats,FormatDateOptions:()=>n.FormatDateOptions,FormatDisplayNameOptions:()=>n.FormatDisplayNameOptions,FormatListOptions:()=>n.FormatListOptions,FormatNumberOptions:()=>n.FormatNumberOptions,FormatPluralOptions:()=>n.FormatPluralOptions,FormatRelativeTimeOptions:()=>n.FormatRelativeTimeOptions,FormattedDate:()=>U,FormattedDateParts:()=>$,FormattedDateTimeRange:()=>T,FormattedDisplayName:()=>j,FormattedList:()=>x,FormattedListParts:()=>p,FormattedMessage:()=>A.A,FormattedNumber:()=>k,FormattedNumberParts:()=>f,FormattedPlural:()=>N,FormattedRelativeTime:()=>M,FormattedTime:()=>G,FormattedTimeParts:()=>V,Formatters:()=>n.Formatters,IntlCache:()=>n.IntlCache,IntlConfig:()=>i.IntlConfig,IntlContext:()=>y.ob,IntlFormatters:()=>n.IntlFormatters,IntlProvider:()=>_.A,IntlShape:()=>i.IntlShape,InvalidConfigError:()=>w.uo,MessageDescriptor:()=>n.MessageDescriptor,MessageFormatError:()=>w.Ho,MissingDataError:()=>w.hr,MissingTranslationError:()=>w.sb,RawIntlProvider:()=>y.Kq,ReactIntlError:()=>w.Ar,ReactIntlErrorCode:()=>w.lo,ResolvedIntlConfig:()=>i.ResolvedIntlConfig,UnsupportedFormatterError:()=>w.OC,WithIntlProps:()=>y.WithIntlProps,WrappedComponentProps:()=>y.WrappedComponentProps,createIntl:()=>E.E,createIntlCache:()=>F.MT,defineMessage:()=>D,defineMessages:()=>O,injectIntl:()=>y.Ay,useIntl:()=>h.A});var s=r(6214),a=r(4079),l=r(7378),h=r(5150),c=r(6106),u=function(e){return e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName",e}(u||{}),m=function(e){return e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts",e}(m||{});const f=e=>{const t=(0,h.A)(),{value:r,children:n,...i}=e;return n(t.formatNumberToParts(r,i))};f.displayName="FormattedNumberParts";const p=e=>{const t=(0,h.A)(),{value:r,children:n,...i}=e;return n(t.formatListToParts(r,i))};function g(e){const t=t=>{const r=(0,h.A)(),{value:n,children:i,...o}=t,s="string"==typeof n?new Date(n||0):n;return i("formatDate"===e?r.formatDateToParts(s,o):r.formatTimeToParts(s,o))};return t.displayName=m[e],t}function d(e){const t=t=>{const r=(0,h.A)(),{value:n,children:i,...o}=t,s=r[e](n,o);if("function"==typeof i)return i(s);const a=r.textComponent||l.Fragment;return(0,c.jsx)(a,{children:s})};return t.displayName=u[e],t}f.displayName="FormattedNumberParts";var E=r(9799);const b=e=>{const t=(0,h.A)(),{from:r,to:n,children:i,...o}=e,s=t.formatDateTimeRange(r,n,o);if("function"==typeof i)return i(s);const a=t.textComponent||l.Fragment;return(0,c.jsx)(a,{children:s})};b.displayName="FormattedDateTimeRange";const T=b;var y=r(1778),A=r(7387);const H=e=>{const{formatPlural:t,textComponent:r}=(0,h.A)(),{value:n,other:i,children:o}=e,s=e[t(n,e)]||i;return"function"==typeof o?o(s):r?(0,c.jsx)(r,{children:s}):s};H.displayName="FormattedPlural";const N=H;var _=r(971),I=r(4252);const B=3600;function S(e){const t=Math.abs(e);return t<60?"second":t<B?"minute":t<86400?"hour":"day"}function P(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return B;default:return 86400}}const v=["second","minute","hour"];function L(e){return void 0===e&&(e="second"),v.indexOf(e)>-1}const R=e=>{const{formatRelativeTime:t,textComponent:r}=(0,h.A)(),{children:n,value:i,unit:o,...s}=e,a=t(i||0,o,s);return"function"==typeof n?n(a):r?(0,c.jsx)(r,{children:a}):(0,c.jsx)(c.Fragment,{children:a})},C=e=>{let{value:t=0,unit:r="second",updateIntervalInSeconds:n,...i}=e;(0,I.V1)(!n||!(!n||!L(r)),"Cannot schedule update with unit longer than hour");const[o,s]=l.useState(),[a,h]=l.useState(0),[u,m]=l.useState(0);let f;r===o&&t===a||(h(t||0),s(r),m(L(r)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*B}}(t,r):0)),l.useEffect((()=>{function e(){clearTimeout(f)}if(e(),!n||!L(r))return e;const t=u-n,i=S(t);if("day"===i)return e;const o=P(i),s=t-t%o,a=s>=u?s-o:s,l=Math.abs(a-u);return u!==a&&(f=setTimeout((()=>m(a)),1e3*l)),e}),[u,n,r]);let p=t||0,g=r;if(L(r)&&"number"==typeof u&&n){g=S(u);const e=P(g);p=Math.round(u/e)}return(0,c.jsx)(R,{value:p,unit:g,...i})};C.displayName="FormattedRelativeTime";const M=C;var F=r(4962),w=r(1177);function O(e){return e}function D(e){return e}const U=d("formatDate"),G=d("formatTime"),k=d("formatNumber"),x=d("formatList"),j=d("formatDisplayName"),$=g("formatDate"),V=g("formatTime"),X={React:l,...l,...o,IntlMessageFormat:a.Ay,IcuMessageFormatParser:s,intl:E.E({locale:"undefined"!=typeof navigator?navigator.language:"en"})}}}]);