landingpage/rootfs/usr/share/www/frontend_es5/532.0j77O9-5ZcE.js

2 lines
44 KiB
JavaScript

"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[532],{1228:function(t,e,r){r.d(e,{B:function(){return n},W:function(){return l}});r(18193),r(72735);function n(t,e){var r=e&&e.cache?e.cache:c,n=e&&e.serializer?e.serializer:a;return(e&&e.strategy?e.strategy:h)(t,{cache:r,serializer:n})}function i(t,e,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),s=e.get(o);return void 0===s&&(s=t.call(this,n),e.set(o,s)),s}function o(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=e.get(i);return void 0===o&&(o=t.apply(this,n),e.set(i,o)),o}function s(t,e,r,n,i){return r.bind(e,t,n,i)}function h(t,e){return s(t,this,1===t.length?i:o,e.cache.create(),e.serializer)}var a=function(){return JSON.stringify(arguments)};function u(){this.cache=Object.create(null)}u.prototype.get=function(t){return this.cache[t]},u.prototype.set=function(t,e){this.cache[t]=e};var c={create:function(){return new u}},l={variadic:function(t,e){return s(t,this,o,e.cache.create(),e.serializer)},monadic:function(t,e){return s(t,this,i,e.cache.create(),e.serializer)}}},45390:function(t,e,r){r.d(e,{Im:function(){return u},tv:function(){return l},Tu:function(){return _},eW:function(){return a},oF:function(){return c},N1:function(){return b},N6:function(){return E},jA:function(){return m},Jp:function(){return p},xm:function(){return g},Qh:function(){return f},qg:function(){return st}});r(71499),r(39790),r(253),r(54846),r(66555);var n,i=r(79192);!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={}));r(81027),r(39805),r(95737),r(89655),r(18193),r(8524),r(64550),r(66385),r(13448),r(36016),r(64646),r(7760),r(74268),r(24545),r(51855),r(82130),r(31743),r(22328),r(4959),r(62435),r(52353),r(16744),r(99019),r(43037),r(92765),r(14137),r(70888),r(96858);var o,s,h=r(91001);function a(t){return t.type===o.literal}function u(t){return t.type===o.argument}function c(t){return t.type===o.number}function l(t){return t.type===o.date}function f(t){return t.type===o.time}function p(t){return t.type===o.select}function E(t){return t.type===o.plural}function m(t){return t.type===o.pound}function g(t){return t.type===o.tag}function b(t){return!(!t||"object"!==(0,h.A)(t)||t.type!==s.number)}function _(t){return!(!t||"object"!==(0,h.A)(t)||t.type!==s.dateTime)}!function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(o||(o={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(s||(s={}));var H=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,T=/(?:[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 v(t){var e={};return t.replace(T,(function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.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":e.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":e.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":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.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":e.minute=["numeric","2-digit"][r-1];break;case"s":e.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":e.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""})),e}r(13025),r(46469),r(28552),r(98185),r(17001),r(2075),r(37679);var d=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,y=/^(@+)?(\+|#+)?[rs]?$/g,A=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function L(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(y,(function(t,r,n){return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),e}function P(t){switch(t){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 N(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!S.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function I(t){var e=P(t);return e||{}}function R(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=(0,i.__assign)((0,i.__assign)((0,i.__assign)({},e),{notation:"scientific"}),o.options.reduce((function(t,e){return(0,i.__assign)((0,i.__assign)({},t),I(e))}),{}));continue;case"engineering":e=(0,i.__assign)((0,i.__assign)((0,i.__assign)({},e),{notation:"engineering"}),o.options.reduce((function(t,e){return(0,i.__assign)((0,i.__assign)({},t),I(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(A,(function(t,r,n,i,o,s){if(r)e.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(S.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(B.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(B,(function(t,r,n,i,o,s){return"*"===n?e.minimumFractionDigits=r.length:i&&"#"===i[0]?e.maximumFractionDigits=i.length:o&&s?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+s.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var s=o.options[0];"w"===s?e=(0,i.__assign)((0,i.__assign)({},e),{trailingZeroDisplay:"stripIfInteger"}):s&&(e=(0,i.__assign)((0,i.__assign)({},e),L(s)))}else if(y.test(o.stem))e=(0,i.__assign)((0,i.__assign)({},e),L(o.stem));else{var h=P(o.stem);h&&(e=(0,i.__assign)((0,i.__assign)({},e),h));var a=N(o.stem);a&&(e=(0,i.__assign)((0,i.__assign)({},e),a))}}return e}var C,M={"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 O(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(M[r||""]||M[n||""]||M["".concat(n,"-001")]||M["001"])[0]}var U=new RegExp("^".concat(H.source,"*")),G=new RegExp("".concat(H.source,"*$"));function w(t,e){return{start:t,end:e}}var D=!!String.prototype.startsWith&&"_a".startsWith("a",1),F=!!String.fromCodePoint,k=!!Object.fromEntries,x=!!String.prototype.codePointAt,V=!!String.prototype.trimStart,X=!!String.prototype.trimEnd,K=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Y=!0;try{Y="a"===(null===(C=$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===C?void 0:C[0])}catch(ht){Y=!1}var W,Z=D?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},j=F?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",i=t.length,o=0;i>o;){if((r=t[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},z=k?Object.fromEntries:function(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r],o=i[0],s=i[1];e[o]=s}return e},Q=x?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,i=t.charCodeAt(e);return i<55296||i>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},J=V?function(t){return t.trimStart()}:function(t){return t.replace(U,"")},q=X?function(t){return t.trimEnd()}:function(t){return t.replace(G,"")};function $(t,e){return new RegExp(t,e)}if(Y){var tt=$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");W=function(t,e){var r;return tt.lastIndex=e,null!==(r=tt.exec(t)[1])&&void 0!==r?r:""}}else W=function(t,e){for(var r=[];;){var n=Q(t,e);if(void 0===n||nt(n)||it(n))break;r.push(n),e+=n>=65536?2:1}return j.apply(void 0,r)};var et=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var i=[];!this.isEOF();){var s=this.char();if(123===s){if((h=this.parseArgument(t,r)).err)return h;i.push(h.val)}else{if(125===s&&t>0)break;if(35!==s||"plural"!==e&&"selectordinal"!==e){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(n.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&rt(this.peek()||0)){if((h=this.parseTag(t,e)).err)return h;i.push(h.val)}else{var h;if((h=this.parseLiteral(t,e)).err)return h;i.push(h.val)}}else{var a=this.clonePosition();this.bump(),i.push({type:o.pound,location:w(a,this.clonePosition())})}}}return{val:i,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(i,"/>"),location:w(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,e,!0);if(s.err)return s;var h=s.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!rt(this.char()))return this.error(n.INVALID_TAG,w(a,this.clonePosition()));var u=this.clonePosition();return i!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,w(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:i,children:h,location:w(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,w(a,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,w(r,this.clonePosition()))}return this.error(n.INVALID_TAG,w(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t,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();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(e);if(i)n+=i;else{var s=this.tryParseUnquoted(t,e);if(s)n+=s;else{var h=this.tryParseLeftAngleBracket();if(!h)break;n+=h}}}var a=w(r,this.clonePosition());return{val:{type:o.literal,value:n,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(rt(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return j.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),j(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,w(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(n.MALFORMED_ARGUMENT,w(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:i,location:w(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition())):this.parseArgumentOptions(t,e,i,r);default:return this.error(n.MALFORMED_ARGUMENT,w(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=W(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:w(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,h){var a,u=this.clonePosition(),c=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(c){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,w(u,l));case"number":case"date":case"time":this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(b=q(d.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));f={style:b,styleLocation:w(p,this.clonePosition())}}if((B=this.tryParseArgumentClose(h)).err)return B;var E=w(h,this.clonePosition());if(f&&Z(null==f?void 0:f.style,"::",0)){var m=J(f.style.slice(2));if("number"===c)return(d=this.parseNumberSkeletonFromString(m,f.styleLocation)).err?d:{val:{type:o.number,value:r,location:E,style:d.val},err:null};if(0===m.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,E);var g=m;this.locale&&(g=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if("j"===i){for(var o=0;n+1<t.length&&t.charAt(n+1)===i;)o++,n++;var s=1+(1&o),h=o<2?1:3+(o>>1),a=O(e);for("H"!=a&&"k"!=a||(h=0);h-- >0;)r+="a";for(;s-- >0;)r=a+r}else r+="J"===i?"H":i}return r}(m,this.locale));var b={type:s.dateTime,pattern:g,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?v(g):{}};return{val:{type:"date"===c?o.date:o.time,value:r,location:E,style:b},err:null}}return{val:{type:"number"===c?o.number:"date"===c?o.date:o.time,value:r,location:E,style:null!==(a=null==f?void 0:f.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,w(_,(0,i.__assign)({},_)));this.bumpSpace();var H=this.parseIdentifierIfPossible(),T=0;if("select"!==c&&"offset"===H.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));var d;if(this.bumpSpace(),(d=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),H=this.parseIdentifierIfPossible(),T=d.val}var B,y=this.tryParsePluralOrSelectOptions(t,c,e,H);if(y.err)return y;if((B=this.tryParseArgumentClose(h)).err)return B;var A=w(h,this.clonePosition());return"select"===c?{val:{type:o.select,value:r,options:z(y.val),location:A},err:null}:{val:{type:o.plural,value:r,options:z(y.val),offset:T,pluralType:"plural"===c?"cardinal":"ordinal",location:A},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,w(u,l))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,w(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,n=t.split(d).filter((function(t){return t.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),h=0,a=s;h<a.length;h++)if(0===a[h].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:s})}return e}(t)}catch(i){return this.error(n.INVALID_NUMBER_SKELETON,e)}return{val:{type:s.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?R(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,i){for(var o,s=!1,h=[],a=new Set,u=i.value,c=i.location;;){if(0===u.length){var l=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=w(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(a.has(u))return this.error("select"===e?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,e,r);if(E.err)return E;var m=this.tryParseArgumentClose(p);if(m.err)return m;h.push([u,{value:E.val,location:w(p,this.clonePosition())}]),a.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===h.length?this.error("select"===e?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(n.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:h,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){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))break;i=!0,o=10*o+(s-48),this.bump()}var h=w(n,this.clonePosition());return i?K(o*=r)?{val:o,err:null}:this.error(e,h):this.error(t,h)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Q(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Z(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var e=this.offset(),r=this.message.indexOf(t,e);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&nt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function rt(t){return t>=97&&t<=122||t>=65&&t<=90}function nt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function it(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function ot(t){t.forEach((function(t){if(delete t.location,p(t)||E(t))for(var e in t.options)delete t.options[e].location,ot(t.options[e].value);else c(t)&&b(t.style)||(l(t)||f(t))&&_(t.style)?delete t.style.location:g(t)&&ot(t.children)}))}function st(t,e){void 0===e&&(e={}),e=(0,i.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new et(t,e).parse();if(r.err){var o=SyntaxError(n[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==e?void 0:e.captureLocation)||ot(r.val),r.val}},47532:function(t,e,r){var n=r(22858).A,i=r(33994).A;r.a(t,function(){var t=n(i().mark((function t(n,o){var s,h,a,u,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r.r(e),r.d(e,{ErrorCode:function(){return h.O4},FormatError:function(){return h.IF},IntlMessageFormat:function(){return s.S},InvalidValueError:function(){return h.$x},InvalidValueTypeError:function(){return h.Zo},MissingValueError:function(){return h.Ei},PART_TYPE:function(){return a.TT},formatToParts:function(){return a.hN},isFormatXMLElementFn:function(){return a.RK}}),s=r(51890),h=r(18791),a=r(8722),!(u=n([a,s])).then){t.next=14;break}return t.next=10,u;case 10:t.t1=t.sent,t.t0=(0,t.t1)(),t.next=15;break;case 14:t.t0=u;case 15:c=t.t0,a=c[0],s=c[1],e.default=s.S,o(),t.next=25;break;case 22:t.prev=22,t.t2=t.catch(0),o(t.t2);case 25:case"end":return t.stop()}}),t,null,[[0,22]])})));return function(e,r){return t.apply(this,arguments)}}())},51890:function(t,e,r){var n=r(22858).A,i=r(33994).A;r.a(t,function(){var t=n(i().mark((function t(n,o){var s,h,a,u,c,l,f,p,E,m,g,b,_,H,T,v,d,B,y,A;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,y=function(t){return void 0===t&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,g.B)((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,(0,m.__spreadArray)([void 0],e,!1)))}),{cache:B(t.number),strategy:g.W.variadic}),getDateTimeFormat:(0,g.B)((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,(0,m.__spreadArray)([void 0],e,!1)))}),{cache:B(t.dateTime),strategy:g.W.variadic}),getPluralRules:(0,g.B)((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,(0,m.__spreadArray)([void 0],e,!1)))}),{cache:B(t.pluralRules),strategy:g.W.variadic})}},B=function(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}},d=function(t,e){return e?Object.keys(t).reduce((function(r,n){return r[n]=v(t[n],e[n]),r}),(0,m.__assign)({},t)):t},v=function(t,e){return e?(0,m.__assign)((0,m.__assign)((0,m.__assign)({},t||{}),e||{}),Object.keys(t).reduce((function(r,n){return r[n]=(0,m.__assign)((0,m.__assign)({},t[n]),e[n]||{}),r}),{})):t},r.d(e,{S:function(){return A}}),s=r(13265),h=r(71499),a=r(89655),u=r(46469),c=r(10507),l=r(39790),f=r(7760),p=r(253),E=r(37679),m=r(79192),g=r(1228),b=r(45390),_=r(8722),!(H=n([s,_])).then){t.next=35;break}return t.next=31,H;case 31:t.t1=t.sent,t.t0=(0,t.t1)(),t.next=36;break;case 35:t.t0=H;case 36:T=t.t0,s=T[0],_=T[1],A=function(){function t(e,r,n,i){void 0===r&&(r=t.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=o.formatToParts(t);if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===_.TT.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return(0,_.hN)(o.ast,o.locales,o.formatters,o.formats,t,void 0,o.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=o.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{},h=(s.formatters,(0,m.__rest)(s,["formatters"]));this.ast=t.__parse(e,(0,m.__assign)((0,m.__assign)({},h),{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.");this.formats=d(t.formats,n),this.formatters=i&&i.formatters||y(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=b.qg,t.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"}}},t}(),o(),t.next=46;break;case 43:t.prev=43,t.t2=t.catch(0),o(t.t2);case 46:case"end":return t.stop()}}),t,null,[[0,43]])})));return function(e,r){return t.apply(this,arguments)}}())},18791:function(t,e,r){r.d(e,{$x:function(){return s},Ei:function(){return a},IF:function(){return o},O4:function(){return n},Zo:function(){return h}});r(71499),r(81027),r(79243),r(10507),r(39790),r(7760);var n,i=r(79192);!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(n||(n={}));var o=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.code=r,i.originalMessage=n,i}return(0,i.__extends)(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),s=function(t){function e(e,r,i,o){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),n.INVALID_VALUE,o)||this}return(0,i.__extends)(e,t),e}(o),h=function(t){function e(e,r,i){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),n.INVALID_VALUE,i)||this}return(0,i.__extends)(e,t),e}(o),a=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),n.MISSING_VALUE,r)||this}return(0,i.__extends)(e,t),e}(o)},8722:function(t,e,r){var n=r(22858).A,i=r(33994).A;r.a(t,function(){var t=n(i().mark((function t(n,o){var s,h,a,u,c,l,f,p,E,m,g,b,_,H,T,v;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,v=function(t,e,r,n,i,o,s){if(1===t.length&&(0,m.eW)(t[0]))return[{type:_.literal,value:t[0].value}];for(var h=[],a=0,u=t;a<u.length;a++){var c=u[a];if((0,m.eW)(c))h.push({type:_.literal,value:c.value});else if((0,m.jA)(c))"number"==typeof o&&h.push({type:_.literal,value:r.getNumberFormat(e).format(o)});else{var l=c.value;if(!i||!(l in i))throw new g.Ei(l,s);var f=i[l];if((0,m.Im)(c))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),h.push({type:"string"==typeof f?_.literal:_.object,value:f});else if((0,m.tv)(c)){var p="string"==typeof c.style?n.date[c.style]:(0,m.Tu)(c.style)?c.style.parsedOptions:void 0;h.push({type:_.literal,value:r.getDateTimeFormat(e,p).format(f)})}else if((0,m.Qh)(c)){p="string"==typeof c.style?n.time[c.style]:(0,m.Tu)(c.style)?c.style.parsedOptions:n.time.medium;h.push({type:_.literal,value:r.getDateTimeFormat(e,p).format(f)})}else if((0,m.oF)(c)){(p="string"==typeof c.style?n.number[c.style]:(0,m.N1)(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),h.push({type:_.literal,value:r.getNumberFormat(e,p).format(f)})}else{if((0,m.xm)(c)){var E=c.children,b=c.value,d=i[b];if(!T(d))throw new g.Zo(b,"function",s);var B=d(v(E,e,r,n,i,o).map((function(t){return t.value})));Array.isArray(B)||(B=[B]),h.push.apply(h,B.map((function(t){return{type:"string"==typeof t?_.literal:_.object,value:t}})))}if((0,m.Jp)(c)){if(!(y=c.options[f]||c.options.other))throw new g.$x(c.value,f,Object.keys(c.options),s);h.push.apply(h,v(y.value,e,r,n,i))}else if((0,m.N6)(c)){var y;if(!(y=c.options["=".concat(f)])){if(!Intl.PluralRules)throw new g.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',g.O4.MISSING_INTL_API,s);var A=r.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0));y=c.options[A]||c.options.other}if(!y)throw new g.$x(c.value,f,Object.keys(c.options),s);h.push.apply(h,v(y.value,e,r,n,i,f-(c.offset||0)))}else;}}}return H(h)},T=function(t){return"function"==typeof t},H=function(t){return t.length<2?t:t.reduce((function(t,e){var r=t[t.length-1];return r&&r.type===_.literal&&e.type===_.literal?r.value+=e.value:t.push(e),t}),[])},r.d(e,{RK:function(){return T},TT:function(){return _},hN:function(){return v}}),s=r(13265),h=r(97741),a=r(89655),u=r(46469),c=r(10507),l=r(39790),f=r(253),p=r(16891),E=r(37679),m=r(45390),g=r(18791),!(b=n([s])).then){t.next=32;break}return t.next=28,b;case 28:t.t1=t.sent,t.t0=(0,t.t1)(),t.next=33;break;case 32:t.t0=b;case 33:s=t.t0[0],function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(_||(_={})),o(),t.next=41;break;case 38:t.prev=38,t.t2=t.catch(0),o(t.t2);case 41:case"end":return t.stop()}}),t,null,[[0,38]])})));return function(e,r){return t.apply(this,arguments)}}())},78232:function(t,e,r){var n=r(26887),i=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&i(t)===t}},52043:function(t,e,r){var n=r(21621),i=r(26906),o=r(13113),s=r(53138),h=r(38971).trim,a=r(69329),u=o("".charAt),c=n.parseFloat,l=n.Symbol,f=l&&l.iterator,p=1/c(a+"-0")!=-1/0||f&&!i((function(){c(Object(f))}));t.exports=p?function(t){var e=h(s(t)),r=c(e);return 0===r&&"-"===u(e,0)?-0:r}:c},38583:function(t,e,r){var n=r(38971).end,i=r(34465);t.exports=i("trimEnd")?function(){return n(this)}:"".trimEnd},37962:function(t,e,r){var n=r(38971).start,i=r(34465);t.exports=i("trimStart")?function(){return n(this)}:"".trimStart},8524:function(t,e,r){var n=r(41765),i=r(78232),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},64550:function(t,e,r){var n=r(41765),i=r(73201),o=r(5609);n({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,(function(t,r){o(e,t,r)}),{AS_ENTRIES:!0}),e}})},28552:function(t,e,r){var n=r(41765),i=r(52043);n({global:!0,forced:parseFloat!==i},{parseFloat:i})},52353:function(t,e,r){var n=r(41765),i=r(59260).codeAt;n({target:"String",proto:!0},{codePointAt:function(t){return i(this,t)}})},14137:function(t,e,r){r(75666);var n=r(41765),i=r(38583);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},34635:function(t,e,r){var n=r(41765),i=r(37962);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},75666:function(t,e,r){var n=r(41765),i=r(38583);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},70888:function(t,e,r){r(34635);var n=r(41765),i=r(37962);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})}}]);
//# sourceMappingURL=532.0j77O9-5ZcE.js.map