clipcc-l10n
Version:
Localization library for ClipCC.
17 lines (15 loc) • 49.5 kB
JavaScript
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveLocale=t.LookupSupportedLocales=t.match=void 0;var r=n(13),u=n(5);t.match=function(e,t,n,i){var a=t.reduce((function(e,t){return e.add(t),e}),new Set);return(0,u.ResolveLocale)(a,(0,r.CanonicalizeLocaleList)(e),{localeMatcher:(null==i?void 0:i.algorithm)||"best fit"},[],{},(function(){return n})).locale};var i=n(17);Object.defineProperty(t,"LookupSupportedLocales",{enumerable:!0,get:function(){return i.LookupSupportedLocales}});var a=n(5);Object.defineProperty(t,"ResolveLocale",{enumerable:!0,get:function(){return a.ResolveLocale}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invariant=t.UNICODE_EXTENSION_SEQUENCE_REGEX=void 0,t.UNICODE_EXTENSION_SEQUENCE_REGEX=/-u(?:-[0-9a-z]{2,8})+/gi,t.invariant=function(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}},function(e,t,n){"use strict";function r(e){return Intl.getCanonicalLocales(e)}function u(e,t){var n=t.tzData,r=t.uppercaseLinks,u=e.toUpperCase(),i=Object.keys(n).reduce((function(e,t){return e[t.toUpperCase()]=t,e}),{}),a=r[u]||i[u];return"Etc/UTC"===a||"Etc/GMT"===a?"UTC":a}function i(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function a(e){if(void 0===e)return NaN;if(null===e)return 0;if("boolean"==typeof e)return e?1:0;if("number"==typeof e)return e;if("symbol"==typeof e||"bigint"==typeof e)throw new TypeError("Cannot convert symbol/bigint to number");return Number(e)}function o(e){return isFinite(e)?Math.abs(e)>8640000000000001?NaN:function(e){var t=a(e);if(isNaN(t)||l(t,-0))return 0;if(isFinite(t))return t;var n=Math.floor(Math.abs(t));return t<0&&(n=-n),l(n,-0)?0:n}(e):NaN}function c(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function l(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}function s(e){return new Array(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0}n.r(t),n.d(t,"CanonicalizeLocaleList",(function(){return r})),n.d(t,"CanonicalizeTimeZoneName",(function(){return u})),n.d(t,"CoerceOptionsToObject",(function(){return P})),n.d(t,"GetNumberOption",(function(){return L})),n.d(t,"GetOption",(function(){return I})),n.d(t,"GetOptionsObject",(function(){return k})),n.d(t,"SANCTIONED_UNITS",(function(){return N})),n.d(t,"removeUnitNamespace",(function(){return A})),n.d(t,"SIMPLE_UNITS",(function(){return M})),n.d(t,"IsSanctionedSimpleUnitIdentifier",(function(){return T})),n.d(t,"IsValidTimeZoneName",(function(){return B})),n.d(t,"IsWellFormedCurrencyCode",(function(){return z})),n.d(t,"IsWellFormedUnitIdentifier",(function(){return U})),n.d(t,"ComputeExponent",(function(){return te})),n.d(t,"ComputeExponentForMagnitude",(function(){return q})),n.d(t,"CurrencyDigits",(function(){return ne})),n.d(t,"FormatNumericToParts",(function(){return pe})),n.d(t,"FormatNumericToString",(function(){return ee})),n.d(t,"InitializeNumberFormat",(function(){return ye})),n.d(t,"PartitionNumberPattern",(function(){return de})),n.d(t,"SetNumberFormatDigitOptions",(function(){return ve})),n.d(t,"SetNumberFormatUnitOptions",(function(){return ge})),n.d(t,"ToRawFixed",(function(){return J})),n.d(t,"ToRawPrecision",(function(){return K})),n.d(t,"_formatToParts",(function(){return ce})),n.d(t,"PartitionPattern",(function(){return he})),n.d(t,"SupportedLocales",(function(){return be})),n.d(t,"getInternalSlot",(function(){return Y})),n.d(t,"getMultiInternalSlots",(function(){return H})),n.d(t,"isLiteralPart",(function(){return $})),n.d(t,"setInternalSlot",(function(){return V})),n.d(t,"setMultiInternalSlots",(function(){return W})),n.d(t,"getMagnitude",(function(){return G})),n.d(t,"defineProperty",(function(){return Q})),n.d(t,"isMissingLocaleDataError",(function(){return Ee})),n.d(t,"RangePatternType",(function(){return De})),n.d(t,"invariant",(function(){return Z})),n.d(t,"ToString",(function(){return i})),n.d(t,"ToNumber",(function(){return a})),n.d(t,"TimeClip",(function(){return o})),n.d(t,"ToObject",(function(){return c})),n.d(t,"SameValue",(function(){return l})),n.d(t,"ArrayCreate",(function(){return s})),n.d(t,"HasOwnProperty",(function(){return f})),n.d(t,"Type",(function(){return d})),n.d(t,"Day",(function(){return m})),n.d(t,"WeekDay",(function(){return g})),n.d(t,"DayFromYear",(function(){return v})),n.d(t,"TimeFromYear",(function(){return y})),n.d(t,"YearFromTime",(function(){return h})),n.d(t,"DaysInYear",(function(){return b})),n.d(t,"DayWithinYear",(function(){return D})),n.d(t,"InLeapYear",(function(){return F})),n.d(t,"MonthFromTime",(function(){return E})),n.d(t,"DateFromTime",(function(){return w})),n.d(t,"HourFromTime",(function(){return O})),n.d(t,"MinFromTime",(function(){return S})),n.d(t,"SecFromTime",(function(){return _})),n.d(t,"OrdinaryHasInstance",(function(){return C})),n.d(t,"msFromTime",(function(){return j}));function p(e,t){return e-Math.floor(e/t)*t}function m(e){return Math.floor(e/864e5)}function g(e){return p(m(e)+4,7)}function v(e){return Date.UTC(e,0)/864e5}function y(e){return Date.UTC(e,0)}function h(e){return new Date(e).getUTCFullYear()}function b(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function D(e){return m(e)-v(h(e))}function F(e){return 365===b(h(e))?0:1}function E(e){var t=D(e),n=F(e);if(t>=0&&t<31)return 0;if(t<59+n)return 1;if(t<90+n)return 2;if(t<120+n)return 3;if(t<151+n)return 4;if(t<181+n)return 5;if(t<212+n)return 6;if(t<243+n)return 7;if(t<273+n)return 8;if(t<304+n)return 9;if(t<334+n)return 10;if(t<365+n)return 11;throw new Error("Invalid time")}function w(e){var t=D(e),n=E(e),r=F(e);if(0===n)return t+1;if(1===n)return t-30;if(2===n)return t-58-r;if(3===n)return t-89-r;if(4===n)return t-119-r;if(5===n)return t-150-r;if(6===n)return t-180-r;if(7===n)return t-211-r;if(8===n)return t-242-r;if(9===n)return t-272-r;if(10===n)return t-303-r;if(11===n)return t-333-r;throw new Error("Invalid time")}function O(e){return p(Math.floor(e/36e5),24)}function S(e){return p(Math.floor(e/6e4),60)}function _(e){return p(Math.floor(e/1e3),60)}function C(e,t,n){if("function"!=typeof e)return!1;if(null==n?void 0:n.boundTargetFunction)return t instanceof(null==n?void 0:n.boundTargetFunction);if("object"!=typeof t)return!1;var r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,t)}function j(e){return p(e,1e3)}function P(e){return void 0===e?Object.create(null):c(e)}function x(e,t,n,r){if(void 0!==e){if(e=Number(e),isNaN(e)||e<t||e>n)throw new RangeError("".concat(e," is outside of range [").concat(t,", ").concat(n,"]"));return Math.floor(e)}return r}function L(e,t,n,r,u){return x(e[t],n,r,u)}function I(e,t,n,r,u){if("object"!=typeof e)throw new TypeError("Options must be an object");var a=e[t];if(void 0!==a){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(a=Boolean(a)),"string"===n&&(a=i(a)),void 0!==r&&!r.filter((function(e){return e==a})).length)throw new RangeError("".concat(a," is not within ").concat(r.join(", ")));return a}return u}function k(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")}var N=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function A(e){return e.slice(e.indexOf("-")+1)}var M=N.map(A);function T(e){return M.indexOf(e)>-1}function B(e,t){var n=t.tzData,r=t.uppercaseLinks,u=e.toUpperCase(),i=new Set,a=new Set;return Object.keys(n).map((function(e){return e.toUpperCase()})).forEach((function(e){return i.add(e)})),Object.keys(r).forEach((function(e){a.add(e.toUpperCase()),i.add(r[e].toUpperCase())})),i.has(u)||a.has(u)}var R=/[^A-Z]/;function z(e){return 3===(e=e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))).length&&!R.test(e)}function U(e){if(T(e=e.replace(/([A-Z])/g,(function(e,t){return t.toLowerCase()}))))return!0;var t=e.split("-per-");if(2!==t.length)return!1;var n=t[0],r=t[1];return!(!T(n)||!T(r))}function G(e){return Math.floor(Math.log(e)*Math.LOG10E)}function X(e,t){if("function"==typeof e.repeat)return e.repeat(t);for(var n=new Array(t),r=0;r<n.length;r++)n[r]=e;return n.join("")}function V(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function W(e,t,n){for(var r=0,u=Object.keys(n);r<u.length;r++){var i=u[r];V(e,t,i,n[i])}}function Y(e,t,n){return H(e,t,n)[n]}function H(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var u=e.get(t);if(!u)throw new TypeError("".concat(t," InternalSlot has not been initialized"));return n.reduce((function(e,t){return e[t]=u[t],e}),Object.create(null))}function $(e){return"literal"===e.type}function Q(e,t,n){var r=n.value;Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:r})}function Z(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function q(e,t,n){var r=(0,n.getInternalSlots)(e),u=r.notation,i=r.dataLocaleData,a=r.numberingSystem;switch(u){case"standard":return 0;case"scientific":return t;case"engineering":return 3*Math.floor(t/3);default:var o=r.compactDisplay,c=r.style,l=r.currencyDisplay,s=void 0;if("currency"===c&&"name"!==l){s=(i.numbers.currency[a]||i.numbers.currency[i.numbers.nu[0]]).short}else{var f=i.numbers.decimal[a]||i.numbers.decimal[i.numbers.nu[0]];s="long"===o?f.long:f.short}if(!s)return 0;var d=String(Math.pow(10,t)),p=Object.keys(s);if(d<p[0])return 0;if(d>p[p.length-1])return p[p.length-1].length-1;var m=p.indexOf(d);if(-1===m)return 0;var g=p[m];return"0"===s[g].other?0:g.length-s[g].other.match(/0+/)[0].length}}function K(e,t,n){var r,u,i,a,o=n;if(0===e)r=X("0",o),u=0,i=0;else{var c=e.toString(),l=c.indexOf("e"),s=c.split("e"),f=s[0],d=s[1],p=f.replace(".","");if(l>=0&&p.length<=o)u=+d,r=p+X("0",o-p.length),i=e;else{var m=(u=G(e))-o+1,g=Math.round(y(e,m));y(g,o-1)>=10&&(u+=1,g=Math.floor(g/10)),r=g.toString(),i=y(g,o-1-u)}}if(u>=o-1?(r+=X("0",u-o+1),a=u+1):u>=0?(r="".concat(r.slice(0,u+1),".").concat(r.slice(u+1)),a=u+1):(r="0.".concat(X("0",-u-1)).concat(r),a=1),r.indexOf(".")>=0&&n>t){for(var v=n-t;v>0&&"0"===r[r.length-1];)r=r.slice(0,-1),v--;"."===r[r.length-1]&&(r=r.slice(0,-1))}return{formattedString:r,roundedNumber:i,integerDigitsCount:a};function y(e,t){return t<0?e*Math.pow(10,-t):e/Math.pow(10,t)}}function J(e,t,n){var r,u,i=n,a=Math.round(e*Math.pow(10,i)),o=a/Math.pow(10,i);if(a<1e21)r=a.toString();else{var c=(r=a.toString()).split("e"),l=c[0],s=c[1];r=l.replace(".",""),r+=X("0",Math.max(+s-r.length+1,0))}if(0!==i){var f=r.length;if(f<=i)r=X("0",i+1-f)+r,f=i+1;var d=r.slice(0,f-i),p=r.slice(f-i);r="".concat(d,".").concat(p),u=d.length}else u=r.length;for(var m=n-t;m>0&&"0"===r[r.length-1];)r=r.slice(0,-1),m--;return"."===r[r.length-1]&&(r=r.slice(0,-1)),{formattedString:r,roundedNumber:o,integerDigitsCount:u}}function ee(e,t){var n,r=t<0||l(t,-0);switch(r&&(t=-t),e.roundingType){case"significantDigits":n=K(t,e.minimumSignificantDigits,e.maximumSignificantDigits);break;case"fractionDigits":n=J(t,e.minimumFractionDigits,e.maximumFractionDigits);break;default:(n=K(t,1,2)).integerDigitsCount>1&&(n=J(t,0,0))}t=n.roundedNumber;var u=n.formattedString,i=n.integerDigitsCount,a=e.minimumIntegerDigits;i<a&&(u=X("0",a-i)+u);return r&&(t=-t),{roundedNumber:t,formattedString:u}}function te(e,t,n){var r=n.getInternalSlots;if(0===t)return[0,0];t<0&&(t=-t);var u=G(t),i=q(e,u,{getInternalSlots:r});t=i<0?t*Math.pow(10,-i):t/Math.pow(10,i);var a=ee(r(e),t);return 0===a.roundedNumber||G(a.roundedNumber)===u-i?[i,u]:[q(e,u+1,{getInternalSlots:r}),u+1]}function ne(e,t){var n=t.currencyDigitsData;return f(n,e)?n[e]:2}var re={adlm:["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],ahom:["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],bhks:["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],brah:["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],cakm:["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],cham:["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],deva:["०","१","२","३","४","५","६","७","८","९"],diak:["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gong:["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],gonm:["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],hmng:["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],hmnp:["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],java:["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],lana:["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],lepc:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mathbold:["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],mathdbl:["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],mathmono:["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],mathsanb:["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],mathsans:["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],modi:["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mroo:["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],mymrshan:["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],nkoo:["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],olck:["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],osma:["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],rohg:["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],saur:["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],shrd:["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],sind:["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],sinh:["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],sora:["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],sund:["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],takr:["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],talu:["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],wcho:["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]},ue=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/,ie=new RegExp("^".concat(ue.source)),ae=new RegExp("".concat(ue.source,"$")),oe=/[#0](?:[\.,][#0]+)*/g;function ce(e,t,n,r){var u,i,a=e.sign,o=e.exponent,c=e.magnitude,l=r.notation,s=r.style,f=r.numberingSystem,d=t.numbers.nu[0],p=null;if("compact"===l&&c&&(p=function(e,t,n,r,u,i,a){var o,c,l=e.roundedNumber,s=e.sign,f=e.magnitude,d=String(Math.pow(10,f)),p=n.numbers.nu[0];if("currency"===r&&"name"!==i){var m=(v=n.numbers.currency)[a]||v[p],g=null===(o=m.short)||void 0===o?void 0:o[d];if(!g)return null;c=fe(t,l,g)}else{var v,y=((v=n.numbers.decimal)[a]||v[p])[u][d];if(!y)return null;c=fe(t,l,y)}if("0"===c)return null;return c=se(c,s).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0")}(e,n,t,s,r.compactDisplay,r.currencyDisplay,f)),"currency"===s&&"name"!==r.currencyDisplay){var m=t.currencies[r.currency];if(m)switch(r.currencyDisplay){case"code":u=r.currency;break;case"symbol":u=m.symbol;break;default:u=m.narrow}else u=r.currency}if(p)i=p;else if("decimal"===s||"unit"===s||"currency"===s&&"name"===r.currencyDisplay)i=se((t.numbers.decimal[f]||t.numbers.decimal[d]).standard,a);else if("currency"===s){i=se((v=t.numbers.currency[f]||t.numbers.currency[d])[r.currencySign],a)}else{i=se(t.numbers.percent[f]||t.numbers.percent[d],a)}var g=oe.exec(i)[0];if(i=i.replace(oe,"{0}").replace(/'(.)'/g,"$1"),"currency"===s&&"name"!==r.currencyDisplay){var v,y=(v=t.numbers.currency[f]||t.numbers.currency[d]).currencySpacing.afterInsertBetween;y&&!ae.test(u)&&(i=i.replace("¤{0}","¤".concat(y,"{0}")));var h=v.currencySpacing.beforeInsertBetween;h&&!ie.test(u)&&(i=i.replace("{0}¤","{0}".concat(h,"¤")))}for(var b=i.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),D=[],F=t.numbers.symbols[f]||t.numbers.symbols[d],E=0,w=b;E<w.length;E++){if(G=w[E])switch(G){case"{0}":D.push.apply(D,le(F,e,l,o,f,!p&&r.useGrouping,g));break;case"-":D.push({type:"minusSign",value:F.minusSign});break;case"+":D.push({type:"plusSign",value:F.plusSign});break;case"%":D.push({type:"percentSign",value:F.percentSign});break;case"¤":D.push({type:"currency",value:u});break;default:/^\{c:/.test(G)?D.push({type:"compact",value:G.substring(3,G.length-1)}):D.push({type:"literal",value:G})}}switch(s){case"currency":if("name"===r.currencyDisplay){var O=(t.numbers.currency[f]||t.numbers.currency[d]).unitPattern,S=void 0,_=t.currencies[r.currency];S=_?fe(n,e.roundedNumber*Math.pow(10,o),_.displayName):r.currency;for(var C=[],j=0,P=O.split(/(\{[01]\})/g);j<P.length;j++){switch(G=P[j]){case"{0}":C.push.apply(C,D);break;case"{1}":C.push({type:"currency",value:S});break;default:G&&C.push({type:"literal",value:G})}}return C}return D;case"unit":var x=r.unit,L=r.unitDisplay,I=t.units.simple[x];O=void 0;if(I)O=fe(n,e.roundedNumber*Math.pow(10,o),t.units.simple[x][L]);else{var k=x.split("-per-"),N=k[0],A=k[1];I=t.units.simple[N];var M=fe(n,e.roundedNumber*Math.pow(10,o),t.units.simple[N][L]),T=t.units.simple[A].perUnit[L];if(T)O=T.replace("{0}",M);else{var B=t.units.compound.per[L],R=fe(n,1,t.units.simple[A][L]);O=O=B.replace("{0}",M).replace("{1}",R.replace("{0}",""))}}C=[];for(var z=0,U=O.split(/(\s*\{0\}\s*)/);z<U.length;z++){var G=U[z],X=/^(\s*)\{0\}(\s*)$/.exec(G);X?(X[1]&&C.push({type:"literal",value:X[1]}),C.push.apply(C,D),X[2]&&C.push({type:"literal",value:X[2]})):G&&C.push({type:"unit",value:G})}return C;default:return D}}function le(e,t,n,r,u,i,a){var o=[],c=t.formattedString,l=t.roundedNumber;if(isNaN(l))return[{type:"nan",value:c}];if(!isFinite(l))return[{type:"infinity",value:c}];var s=re[u];s&&(c=c.replace(/\d/g,(function(e){return s[+e]||e})));var f,d,p=c.indexOf(".");if(p>0?(f=c.slice(0,p),d=c.slice(p+1)):f=c,i&&("compact"!==n||l>=1e4)){var m=e.group,g=[],v=a.split(".")[0].split(","),y=3,h=3;v.length>1&&(y=v[v.length-1].length),v.length>2&&(h=v[v.length-2].length);var b=f.length-y;if(b>0){for(g.push(f.slice(b,b+y)),b-=h;b>0;b-=h)g.push(f.slice(b,b+h));g.push(f.slice(0,b+h))}else g.push(f);for(;g.length>0;){var D=g.pop();o.push({type:"integer",value:D}),g.length>0&&o.push({type:"group",value:m})}}else o.push({type:"integer",value:f});if(void 0!==d&&o.push({type:"decimal",value:e.decimal},{type:"fraction",value:d}),("scientific"===n||"engineering"===n)&&isFinite(l)){o.push({type:"exponentSeparator",value:e.exponential}),r<0&&(o.push({type:"exponentMinusSign",value:e.minusSign}),r=-r);var F=J(r,0,0);o.push({type:"exponentInteger",value:F.formattedString})}return o}function se(e,t){e.indexOf(";")<0&&(e="".concat(e,";-").concat(e));var n=e.split(";"),r=n[0],u=n[1];switch(t){case 0:return r;case-1:return u;default:return u.indexOf("-")>=0?u.replace(/-/g,"+"):"+".concat(r)}}function fe(e,t,n){return n[e.select(t)]||n.other}function de(e,t,n){var r,u,i,a=n.getInternalSlots,o=a(e),c=o.pl,s=o.dataLocaleData,f=o.numberingSystem,d=s.numbers.symbols[f]||s.numbers.symbols[s.numbers.nu[0]],p=0,m=0;if(isNaN(t))u=d.nan;else if(isFinite(t)){"percent"===o.style&&(t*=100),m=(r=te(e,t,{getInternalSlots:a}))[0],p=r[1];var g=ee(o,t=m<0?t*Math.pow(10,-m):t/Math.pow(10,m));u=g.formattedString,t=g.roundedNumber}else u=d.infinity;switch(o.signDisplay){case"never":i=0;break;case"auto":i=l(t,0)||t>0||isNaN(t)?0:-1;break;case"always":i=l(t,0)||t>0||isNaN(t)?1:-1;break;default:i=0===t||isNaN(t)?0:t>0?1:-1}return ce({roundedNumber:t,formattedString:u,exponent:m,magnitude:p,sign:i},o.dataLocaleData,c,o)}function pe(e,t,n){for(var r=de(e,t,n),u=s(0),i=0,a=r;i<a.length;i++){var o=a[i];u.push({type:o.type,value:o.value})}return u}var me=n(0);function ge(e,t,n){void 0===t&&(t=Object.create(null));var r=(0,n.getInternalSlots)(e),u=I(t,"style","string",["decimal","percent","currency","unit"],"decimal");r.style=u;var i=I(t,"currency","string",void 0,void 0);if(void 0!==i&&!z(i))throw RangeError("Malformed currency code");if("currency"===u&&void 0===i)throw TypeError("currency cannot be undefined");var a=I(t,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),o=I(t,"currencySign","string",["standard","accounting"],"standard"),c=I(t,"unit","string",void 0,void 0);if(void 0!==c&&!U(c))throw RangeError("Invalid unit argument for Intl.NumberFormat()");if("unit"===u&&void 0===c)throw TypeError("unit cannot be undefined");var l=I(t,"unitDisplay","string",["short","narrow","long"],"short");"currency"===u&&(r.currency=i.toUpperCase(),r.currencyDisplay=a,r.currencySign=o),"unit"===u&&(r.unit=c,r.unitDisplay=l)}function ve(e,t,n,r,u){var i=L(t,"minimumIntegerDigits",1,21,1),a=t.minimumFractionDigits,o=t.maximumFractionDigits,c=t.minimumSignificantDigits,l=t.maximumSignificantDigits;if(e.minimumIntegerDigits=i,void 0!==c||void 0!==l)e.roundingType="significantDigits",c=x(c,1,21,1),l=x(l,c,21,21),e.minimumSignificantDigits=c,e.maximumSignificantDigits=l;else if(void 0!==a||void 0!==o){e.roundingType="fractionDigits",a=x(a,0,20,n),o=x(o,a,20,Math.max(a,r)),e.minimumFractionDigits=a,e.maximumFractionDigits=o}else"compact"===u?e.roundingType="compactRounding":(e.roundingType="fractionDigits",e.minimumFractionDigits=n,e.maximumFractionDigits=r)}function ye(e,t,n,u){var i=u.getInternalSlots,a=u.localeData,o=u.availableLocales,c=u.numberingSystemNames,l=u.getDefaultLocale,s=u.currencyDigitsData,f=r(t),d=P(n),p=Object.create(null),m=I(d,"localeMatcher","string",["lookup","best fit"],"best fit");p.localeMatcher=m;var g=I(d,"numberingSystem","string",void 0,void 0);if(void 0!==g&&c.indexOf(g)<0)throw RangeError("Invalid numberingSystems: ".concat(g));p.nu=g;var v=Object(me.ResolveLocale)(o,f,p,["nu"],a,l),y=a[v.dataLocale];Z(!!y,"Missing locale data for ".concat(v.dataLocale));var h=i(e);h.locale=v.locale,h.dataLocale=v.dataLocale,h.numberingSystem=v.nu,h.dataLocaleData=y,ge(e,d,{getInternalSlots:i});var b,D,F=h.style;if("currency"===F){var E=ne(h.currency,{currencyDigitsData:s});b=E,D=E}else b=0,D="percent"===F?0:3;var w=I(d,"notation","string",["standard","scientific","engineering","compact"],"standard");h.notation=w,ve(h,d,b,D,w);var O=I(d,"compactDisplay","string",["short","long"],"short");"compact"===w&&(h.compactDisplay=O);var S=I(d,"useGrouping","boolean",void 0,!0);h.useGrouping=S;var _=I(d,"signDisplay","string",["auto","never","always","exceptZero"],"auto");return h.signDisplay=_,e}function he(e){for(var t=[],n=e.indexOf("{"),r=0,u=0,i=e.length;n<e.length&&n>-1;)Z((r=e.indexOf("}",n))>n,"Invalid pattern ".concat(e)),n>u&&t.push({type:"literal",value:e.substring(u,n)}),t.push({type:e.substring(n+1,r),value:void 0}),u=r+1,n=e.indexOf("{",u);return u<i&&t.push({type:"literal",value:e.substring(u,i)}),t}function be(e,t,n){return void 0!==n&&I(n=c(n),"localeMatcher","string",["lookup","best fit"],"best fit"),Object(me.LookupSupportedLocales)(e,t)}var De,Fe=n(4);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}Object(Fe.__extends)(t,e)}(Error);function Ee(e){return"MISSING_LOCALE_DATA"===e.type}!function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(De||(De={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestAvailableLocale=void 0,t.BestAvailableLocale=function(e,t){for(var n=t;;){if(e.has(n))return n;var r=n.lastIndexOf("-");if(!~r)return;r>=2&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return u})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return o})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return l})),n.d(t,"__awaiter",(function(){return s})),n.d(t,"__generator",(function(){return f})),n.d(t,"__createBinding",(function(){return d})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return m})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return v})),n.d(t,"__spreadArrays",(function(){return y})),n.d(t,"__spreadArray",(function(){return h})),n.d(t,"__await",(function(){return b})),n.d(t,"__asyncGenerator",(function(){return D})),n.d(t,"__asyncDelegator",(function(){return F})),n.d(t,"__asyncValues",(function(){return E})),n.d(t,"__makeTemplateObject",(function(){return w})),n.d(t,"__importStar",(function(){return S})),n.d(t,"__importDefault",(function(){return _})),n.d(t,"__classPrivateFieldGet",(function(){return C})),n.d(t,"__classPrivateFieldSet",(function(){return j}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var u in t=arguments[n])Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var u=0;for(r=Object.getOwnPropertySymbols(e);u<r.length;u++)t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u])&&(n[r[u]]=e[r[u]])}return n}function o(e,t,n,r){var u,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(u=e[o])&&(a=(i<3?u(a):i>3?u(t,n,a):u(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e,t,n,r){return new(n||(n=Promise))((function(u,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function o(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?u(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,u,i,a={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(i){return function(o){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=2&i[0]?r.return:i[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,i[1])).done)return u;switch(r=0,u&&(i=[2&i[0],u.value]),i[0]){case 0:case 1:u=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(u=a.trys,(u=u.length>0&&u[u.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!u||i[1]>u[0]&&i[1]<u[3])){a.label=i[1];break}if(6===i[0]&&a.label<u[1]){a.label=u[1],u=i;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(i);break}u[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=u=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,o])}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,u,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){u={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(u)throw u.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),u=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,o=i.length;a<o;a++,u++)r[u]=i[a];return r}function h(e,t,n){if(n||2===arguments.length)for(var r,u=0,i=t.length;u<i;u++)!r&&u in t||(r||(r=Array.prototype.slice.call(t,0,u)),r[u]=t[u]);return e.concat(r||Array.prototype.slice.call(t))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function D(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,u=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){u[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=u[e](t)).value instanceof b?Promise.resolve(n.value.v).then(c,l):s(i[0][2],n)}catch(e){s(i[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function s(e,t){e(t),i.shift(),i.length&&o(i[0][0],i[0][1])}}function F(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,u){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:u?u(t):t}:u}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,u){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,u,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return O(t,e),t}function _(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function j(e,t,n,r,u){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!u)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!u:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?u.call(e,n):u?u.value=n:t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveLocale=void 0;var r=n(14),u=n(15),i=n(1),a=n(16);t.ResolveLocale=function(e,t,n,o,c,l){for(var s,f=(s="lookup"===n.localeMatcher?(0,r.LookupMatcher)(e,t,l):(0,u.BestFitMatcher)(e,t,l)).locale,d={locale:"",dataLocale:f},p="-u",m=0,g=o;m<g.length;m++){var v=g[m];(0,i.invariant)(f in c,"Missing locale data for ".concat(f));var y=c[f];(0,i.invariant)("object"==typeof y&&null!==y,"locale data ".concat(v," must be an object"));var h=y[v];(0,i.invariant)(Array.isArray(h),"keyLocaleData for ".concat(v," must be an array"));var b=h[0];(0,i.invariant)("string"==typeof b||null===b,"value must be string or null but got ".concat(typeof b," in key ").concat(v));var D="";if(s.extension){var F=(0,a.UnicodeExtensionValue)(s.extension,v);void 0!==F&&(""!==F?~h.indexOf(F)&&(b=F,D="-".concat(v,"-").concat(b)):~F.indexOf("true")&&(b="true",D="-".concat(v)))}if(v in n){var E=n[v];(0,i.invariant)("string"==typeof E||null==E,"optionsValue must be String, Undefined or Null"),~h.indexOf(E)&&E!==b&&(b=E,D="")}d[v]=b,p+=D}if(p.length>2){var w=f.indexOf("-x-");if(-1===w)f+=p;else{var O=f.slice(0,w),S=f.slice(w,f.length);f=O+p+S}f=Intl.getCanonicalLocales(f)[0]}return d.locale=f,d}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);(0,n(22).shouldPolyfill)()&&Object.defineProperty(Intl,"PluralRules",{value:r.PluralRules,writable:!0,enumerable:!1,configurable:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluralRules=void 0;var r=n(4),u=n(2),i=n(18),a=n(19),o=(0,r.__importDefault)(n(21));function c(e,t){if(!(e instanceof s))throw new TypeError("Method Intl.PluralRules.prototype.".concat(t," called on incompatible receiver ").concat(String(e)))}function l(e,t,n,r){var u=r.IntegerDigits,i=r.NumberOfFractionDigits,a=r.FractionDigits;return s.localeData[e].fn(i?"".concat(u,".").concat(a):u,"ordinal"===t)}var s=function(){function e(t,n){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.PluralRules must be called with 'new'");return(0,i.InitializePluralRules)(this,t,n,{availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale,getInternalSlots:o.default})}return e.prototype.resolvedOptions=function(){c(this,"resolvedOptions");var t=Object.create(null),n=(0,o.default)(this);return t.locale=n.locale,t.type=n.type,["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach((function(e){var r=n[e];void 0!==r&&(t[e]=r)})),t.pluralCategories=(0,r.__spreadArray)([],e.localeData[t.locale].categories[t.type],!0),t},e.prototype.select=function(e){c(this,"select");var t=(0,u.ToNumber)(e);return(0,a.ResolvePlural)(this,t,{getInternalSlots:o.default,PluralRuleSelect:l})},e.prototype.toString=function(){return"[object Intl.PluralRules]"},e.supportedLocalesOf=function(t,n){return(0,u.SupportedLocales)(e.availableLocales,(0,u.CanonicalizeLocaleList)(t),n)},e.__addLocaleData=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,u=t;r<u.length;r++){var i=u[r],a=i.data,o=i.locale;e.localeData[o]=a,e.availableLocales.add(o),e.__defaultLocale||(e.__defaultLocale=o)}},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=new Set,e.__defaultLocale="",e.relevantExtensionKeys=[],e.polyfilled=!0,e}();t.PluralRules=s;try{"undefined"!=typeof Symbol&&Object.defineProperty(s.prototype,Symbol.toStringTag,{value:"Intl.PluralRules",writable:!1,enumerable:!1,configurable:!0});try{Object.defineProperty(s,"length",{value:0,writable:!1,enumerable:!1,configurable:!0})}catch(e){}Object.defineProperty(s.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(s.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanonicalizeLocaleList=void 0,t.CanonicalizeLocaleList=function(e){return Intl.getCanonicalLocales(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LookupMatcher=void 0;var r=n(1),u=n(3);t.LookupMatcher=function(e,t,n){for(var i={locale:""},a=0,o=t;a<o.length;a++){var c=o[a],l=c.replace(r.UNICODE_EXTENSION_SEQUENCE_REGEX,""),s=(0,u.BestAvailableLocale)(e,l);if(s)return i.locale=s,c!==l&&(i.extension=c.slice(l.length+1,c.length)),i}return i.locale=n(),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestFitMatcher=void 0;var r=n(3),u=n(1);t.BestFitMatcher=function(e,t,n){var i,a={},o={},c={},l=new Set;e.forEach((function(e){var t=new Intl.Locale(e).minimize().toString(),n=Intl.getCanonicalLocales(e)[0]||e;a[t]=e,o[e]=e,c[n]=e,l.add(t),l.add(e),l.add(n)}));for(var s=0,f=t;s<f.length;s++){var d=f[s];if(i)break;var p=d.replace(u.UNICODE_EXTENSION_SEQUENCE_REGEX,"");if(e.has(p)){i=p;break}if(l.has(p)){i=p;break}var m=new Intl.Locale(p),g=m.maximize().toString(),v=m.minimize().toString();if(l.has(v)){i=v;break}i=(0,r.BestAvailableLocale)(l,g)}return i?{locale:o[i]||c[i]||a[i]||i}:{locale:n()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeExtensionValue=void 0;var r=n(1);t.UnicodeExtensionValue=function(e,t){(0,r.invariant)(2===t.length,"key must have 2 elements");var n=e.length,u="-".concat(t,"-"),i=e.indexOf(u);if(-1!==i){for(var a=i+4,o=a,c=a,l=!1;!l;){var s=e.indexOf("-",c);2===(-1===s?n-c:s-c)?l=!0:-1===s?(o=n,l=!0):(o=s,c=s+1)}return e.slice(a,o)}if(u="-".concat(t),-1!==(i=e.indexOf(u))&&i+3===n)return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LookupSupportedLocales=void 0;var r=n(1),u=n(3);t.LookupSupportedLocales=function(e,t){for(var n=[],i=0,a=t;i<a.length;i++){var o=a[i].replace(r.UNICODE_EXTENSION_SEQUENCE_REGEX,""),c=(0,u.BestAvailableLocale)(e,o);c&&n.push(c)}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InitializePluralRules=void 0;var r=n(2),u=n(0);t.InitializePluralRules=function(e,t,n,i){var a=i.availableLocales,o=i.relevantExtensionKeys,c=i.localeData,l=i.getDefaultLocale,s=i.getInternalSlots,f=(0,r.CanonicalizeLocaleList)(t),d=Object.create(null),p=(0,r.CoerceOptionsToObject)(n),m=s(e);m.initializedPluralRules=!0;var g=(0,r.GetOption)(p,"localeMatcher","string",["best fit","lookup"],"best fit");d.localeMatcher=g,m.type=(0,r.GetOption)(p,"type","string",["cardinal","ordinal"],"cardinal"),(0,r.SetNumberFormatDigitOptions)(m,p,0,3,"standard");var v=(0,u.ResolveLocale)(a,f,d,o,c,l);return m.locale=v.locale,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolvePlural=void 0;var r=n(2),u=n(20);t.ResolvePlural=function(e,t,n){var i=n.getInternalSlots,a=n.PluralRuleSelect,o=i(e);if((0,r.invariant)("Object"===(0,r.Type)(o),"pl has to be an object"),(0,r.invariant)("initializedPluralRules"in o,"pluralrules must be initialized"),(0,r.invariant)("Number"===(0,r.Type)(t),"n must be a number"),!isFinite(t))return"other";var c=o.locale,l=o.type,s=(0,r.FormatNumericToString)(o,t).formattedString;return a(c,l,t,(0,u.GetOperands)(s))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOperands=void 0;var r=n(2);t.GetOperands=function(e){(0,r.invariant)("string"==typeof e,"GetOperands should have been called with a string");var t=(0,r.ToNumber)(e);(0,r.invariant)(isFinite(t),"n should be finite");var n,u,i,a=e.indexOf("."),o="";-1===a?(n=t,u=0,i=0):(n=e.slice(0,a),o=e.slice(a,e.length),u=(0,r.ToNumber)(o),i=o.length);var c,l,s=Math.abs((0,r.ToNumber)(n));if(0!==u){var f=o.replace(/0+$/,"");c=f.length,l=(0,r.ToNumber)(f)}else c=0,l=0;return{Number:t,IntegerDigits:s,NumberOfFractionDigits:i,NumberOfFractionDigitsWithoutTrailing:c,FractionDigits:u,FractionDigitsWithoutTrailing:l}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new WeakMap;t.default=function(e){var t=r.get(e);return t||(t=Object.create(null),r.set(e,t)),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=void 0;var r=n(0),u=n(23);t.shouldPolyfill=function(e){if(void 0===e&&(e="en"),!("PluralRules"in Intl)||"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1)||!function(e){if(!e)return!0;var t=Array.isArray(e)?e:[e];return Intl.PluralRules.supportedLocalesOf(t).length===t.length}(e))return e?(0,r.match)([e],u.supportedLocales,"en"):void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedLocales=void 0,t.supportedLocales=["af","ak","am","an","ar","ars","as","asa","ast","az","bal","be","bem","bez","bg","bho","bm","bn","bo","br","brx","bs","ca","ce","ceb","cgg","chr","ckb","cs","cy","da","de","doi","dsb","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fil","fo","fr","fur","fy","ga","gd","gl","gsw","gu","guw","gv","ha","haw","he","hi","hnj","hr","hsb","hu","hy","ia","id","ig","ii","io","is","it","iu","ja","jbo","jgo","jmc","jv","jw","ka","kab","kaj","kcg","kde","kea","kk","kkj","kl","km","kn","ko","ks","ksb","ksh","ku","kw","ky","lag","lb","lg","lij","lkt","ln","lo","lt","lv","mas","mg","mgo","mk","ml","mn","mo","mr","ms","mt","my","nah","naq","nb","nd","ne","nl","nn","nnh","no","nqo","nr","nso","ny","nyn","om","or","os","osa","pa","pap","pcm","pl","prg","ps","pt-PT","pt","rm","ro","rof","ru","rwk","sah","saq","sat","sc","scn","sd","sdh","se","seh","ses","sg","sh","shi","si","sk","sl","sma","smi","smj","smn","sms","sn","so","sq","sr","ss","ssy","st","su","sv","sw","syr","ta","te","teo","th","ti","tig","tk","tl","tn","to","tpi","tr","ts","tzm","ug","uk","und","ur","uz","ve","vi","vo","vun","wa","wae","wo","xh","xog","yi","yo","yue","zh","zu"]},function(e,t){Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,t){var n=String(e).split("."),r=!n[1],u=Number(n[0])==e,i=u&&n[0].slice(-1),a=u&&n[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&r?"one":"other"}},locale:"en"})},function(e,t){Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(e,t){return"other"}},locale:"zh"})},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r})),n.d(t,"localeMap",(function(){return u})),n.d(t,"isRtl",(function(){return a}));var r={en:{name:"English"},fr:{name:"Français"},"zh-cn":{name:"简体中文"},"zh-tw":{name:"繁體中文"},"zh-cn-chunibyo":{name:"中二模式"}},u={"zh-cn":"zh-Hans","zh-tw":"zh-Hant","zh-cn-chunibyo":"zh-cn-Chunibyo"},i=["ar","ckb","fa","he"],a=function(e){return-1!==i.indexOf(e)};n(11),n(24),n(25)}]);
//# sourceMappingURL=clipcc-l10n.js.map