@everymatrix/general-icon-progress-bar 1.24.7 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,11 +100,11 @@ function k(t,e,r){var n={};return r.isMergeableObject(t)&&$(t).forEach((function
100
100
  })(t,i)||(F(t,i)&&r.isMergeableObject(e[i])?n[i]=function(t,e){if(!e.customMerge)return x;var r=e.customMerge(t);return"function"==typeof r?r:x}(i,r)(t[i],e[i],r):n[i]=G(e[i],r))})),n}function x(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||D,r.isMergeableObject=r.isMergeableObject||M,
101
101
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
102
102
  // implementations can use it. The caller may not replace it.
103
- r.cloneUnlessOtherwiseSpecified=G;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):k(t,e,r):G(e,r)}x.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return x(t,r,e)}),{})};var j=x,V=function(t,e){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},V(t,e)};function X(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}V(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var K,Y,Z,z=function(){return z=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},z.apply(this,arguments)};function W(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}
103
+ r.cloneUnlessOtherwiseSpecified=G;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):k(t,e,r):G(e,r)}x.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return x(t,r,e)}),{})};var j=x,V=function(t,e){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},V(t,e)};function X(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}V(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var K,Y,z,Z=function(){return Z=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Z.apply(this,arguments)};function W(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}
104
104
  /**
105
105
  * Type Guards
106
106
  */
107
- function Q(t){return t.type===Y.literal}function J(t){return t.type===Y.argument}function q(t){return t.type===Y.number}function tt(t){return t.type===Y.date}function et(t){return t.type===Y.time}function rt(t){return t.type===Y.select}function nt(t){return t.type===Y.plural}function it(t){return t.type===Y.pound}function ot(t){return t.type===Y.tag}function st(t){return!(!t||"object"!=typeof t||t.type!==Z.number)}function at(t){return!(!t||"object"!=typeof t||t.type!==Z.dateTime)}
107
+ function Q(t){return t.type===Y.literal}function J(t){return t.type===Y.argument}function q(t){return t.type===Y.number}function tt(t){return t.type===Y.date}function et(t){return t.type===Y.time}function rt(t){return t.type===Y.select}function nt(t){return t.type===Y.plural}function it(t){return t.type===Y.pound}function ot(t){return t.type===Y.tag}function st(t){return!(!t||"object"!=typeof t||t.type!==z.number)}function at(t){return!(!t||"object"!=typeof t||t.type!==z.dateTime)}
108
108
  // @generated from regex-gen.ts
109
109
  "function"==typeof SuppressedError&&SuppressedError,function(t){
110
110
  /** Argument is unclosed (e.g. `{0`) */
@@ -203,7 +203,7 @@ t[t.pound=7]="pound",
203
203
  /**
204
204
  * XML-like tag
205
205
  */
206
- t[t.tag=8]="tag"}(Y||(Y={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(Z||(Z={}));var ht=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ut=/(?:[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;
206
+ t[t.tag=8]="tag"}(Y||(Y={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(z||(z={}));var ht=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ut=/(?:[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;
207
207
  /**
208
208
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
209
209
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -256,7 +256,7 @@ return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignifica
256
256
  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)),!gt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function yt(t){var e=Et(t);return e||{}}
257
257
  /**
258
258
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
259
- */function vt(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.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=i.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=z(z(z({},e),{notation:"scientific"}),i.options.reduce((function(t,e){return z(z({},t),yt(e))}),{}));continue;case"engineering":e=z(z(z({},e),{notation:"engineering"}),i.options.reduce((function(t,e){return z(z({},t),yt(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;
259
+ */function vt(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.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=i.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=Z(Z(Z({},e),{notation:"scientific"}),i.options.reduce((function(t,e){return Z(Z({},t),yt(e))}),{}));continue;case"engineering":e=Z(Z(Z({},e),{notation:"engineering"}),i.options.reduce((function(t,e){return Z(Z({},t),yt(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;
260
260
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
261
261
  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(i.options[0]);continue;
262
262
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
@@ -270,9 +270,9 @@ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept
270
270
  // .000* case (before ICU67 it was .000+)
271
271
  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 o=i.options[0];
272
272
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
273
- "w"===o?e=z(z({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=z(z({},e),bt(o)))}
273
+ "w"===o?e=Z(Z({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=Z(Z({},e),bt(o)))}
274
274
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
275
- else if(pt.test(i.stem))e=z(z({},e),bt(i.stem));else{var s=Et(i.stem);s&&(e=z(z({},e),s));var a=dt(i.stem);a&&(e=z(z({},e),a))}}return e}
275
+ else if(pt.test(i.stem))e=Z(Z({},e),bt(i.stem));else{var s=Et(i.stem);s&&(e=Z(Z({},e),s));var a=dt(i.stem);a&&(e=Z(Z({},e),a))}}return e}
276
276
  // @generated from time-data-gen.ts
277
277
  // prettier-ignore
278
278
  var Ht,Tt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
@@ -411,13 +411,13 @@ var l=Ft(h.style.slice(2));if("number"===s)return(E=this.parseNumberSkeletonFrom
411
411
  // Get "best match" pattern only if locale is passed, if not, let it
412
412
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
413
413
  // for unsupported patterns.
414
- this.locale&&(f=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),a=o<2?1:3+(o>>1),h=Bt(e);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=h+r}else r+="J"===i?"H":i}return r}(l,this.locale));var p={type:Z.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?ct(f):{}};return{val:{type:"date"===s?Y.date:Y.time,value:r,location:c,style:p},err:null}}
414
+ this.locale&&(f=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),a=o<2?1:3+(o>>1),h=Bt(e);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=h+r}else r+="J"===i?"H":i}return r}(l,this.locale));var p={type:z.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?ct(f):{}};return{val:{type:"date"===s?Y.date:Y.time,value:r,location:c,style:p},err:null}}
415
415
  // Regular style or no style.
416
416
  return{val:{type:"number"===s?Y.number:"date"===s?Y.date:Y.time,value:r,location:c,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
417
417
  // Parse this range:
418
418
  // {name, plural, options}
419
419
  // ^---------^
420
- var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,Pt(m,z({},m)));this.bumpSpace();
420
+ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,Pt(m,Z({},m)));this.bumpSpace();
421
421
  // Parse offset:
422
422
  // {name, plural, offset:1, options}
423
423
  // ^-----^
@@ -437,7 +437,7 @@ t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePos
437
437
  // Find the end of the quoted literal text.
438
438
  this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(K.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Pt(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");
439
439
  // Parse the skeleton
440
- for(var e=[],r=0,n=t.split(lt).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),a=0,h=s;a<h.length;a++)if(0===h[a].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:s})}return e}(t)}catch(t){return this.error(K.INVALID_NUMBER_SKELETON,e)}return{val:{type:Z.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?vt(r):{}},err:null}},
440
+ for(var e=[],r=0,n=t.split(lt).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),a=0,h=s;a<h.length;a++)if(0===h[a].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:s})}return e}(t)}catch(t){return this.error(K.INVALID_NUMBER_SKELETON,e)}return{val:{type:z.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?vt(r):{}},err:null}},
441
441
  /**
442
442
  * @param nesting_level The current nesting level of messages.
443
443
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -513,11 +513,11 @@ function Kt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||
513
513
  /**
514
514
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
515
515
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
516
- */function Yt(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 Zt(t){t.forEach((function(t){if(delete t.location,rt(t)||nt(t))for(var e in t.options)delete t.options[e].location,Zt(t.options[e].value);else q(t)&&st(t.style)||(tt(t)||et(t))&&at(t.style)?delete t.style.location:ot(t)&&Zt(t.children)}))}function zt(t,e){void 0===e&&(e={}),e=z({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Vt(t,e).parse();if(r.err){var n=SyntaxError(K[r.err.kind]);
516
+ */function Yt(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 zt(t){t.forEach((function(t){if(delete t.location,rt(t)||nt(t))for(var e in t.options)delete t.options[e].location,zt(t.options[e].value);else q(t)&&st(t.style)||(tt(t)||et(t))&&at(t.style)?delete t.style.location:ot(t)&&zt(t.children)}))}function Zt(t,e){void 0===e&&(e={}),e=Z({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Vt(t,e).parse();if(r.err){var n=SyntaxError(K[r.err.kind]);
517
517
  // @ts-expect-error Assign to error object
518
518
  throw n.location=r.err.location,
519
519
  // @ts-expect-error Assign to error object
520
- n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||Zt(r.val),r.val}
520
+ n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||zt(r.val),r.val}
521
521
 
522
522
  // Main
523
523
 
@@ -563,7 +563,7 @@ if(tt(c)){var p="string"==typeof c.style?n.date[c.style]:at(c.style)?c.style.par
563
563
  See the accompanying LICENSE file for terms.
564
564
  */
565
565
  // -- MessageFormat --------------------------------------------------------
566
- function pe(t,e){return e?Object.keys(t).reduce((function(r,n){var i,o;return r[n]=(i=t[n],(o=e[n])?z(z(z({},i||{}),o||{}),Object.keys(i).reduce((function(t,e){return t[e]=z(z({},i[e]),o[e]||{}),t}),{})):i),r}),z({},t)):t}function me(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(se||(se={}));var ge=/** @class */function(){function t(e,r,n,i){var o,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);
566
+ function pe(t,e){return e?Object.keys(t).reduce((function(r,n){var i,o;return r[n]=(i=t[n],(o=e[n])?Z(Z(Z({},i||{}),o||{}),Object.keys(i).reduce((function(t,e){return t[e]=Z(Z({},i[e]),o[e]||{}),t}),{})):i),r}),Z({},t)):t}function me(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(se||(se={}));var ge=/** @class */function(){function t(e,r,n,i){var o,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);
567
567
  // Hot path for straight simple msg translations
568
568
  if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===se.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 fe(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
569
569
  // Defined first because it's used to build the format pattern.
@@ -572,13 +572,13 @@ this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(thi
572
572
  this.ast=t.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,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.");
573
573
  // Creates a new object with the specified `formats` merged with the default
574
574
  // formats.
575
- this.formats=pe(t.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Wt((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,W([void 0],e,!1)))}),{cache:me(o.number),strategy:oe.variadic}),getDateTimeFormat:Wt((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,W([void 0],e,!1)))}),{cache:me(o.dateTime),strategy:oe.variadic}),getPluralRules:Wt((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,W([void 0],e,!1)))}),{cache:me(o.pluralRules),strategy:oe.variadic})})}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){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=zt,
575
+ this.formats=pe(t.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Wt((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,W([void 0],e,!1)))}),{cache:me(o.number),strategy:oe.variadic}),getDateTimeFormat:Wt((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,W([void 0],e,!1)))}),{cache:me(o.dateTime),strategy:oe.variadic}),getPluralRules:Wt((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,W([void 0],e,!1)))}),{cache:me(o.pluralRules),strategy:oe.variadic})})}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){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=Zt,
576
576
  // Default format options used as the prototype of the `formats` provided to the
577
577
  // constructor. These are used when constructing the internal Intl.NumberFormat
578
578
  // and Intl.DateTimeFormat instances.
579
- 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}();const be={},Ee=(t,e,r)=>r?(e in be||(be[e]={}),t in be[e]||(be[e][t]=r),r):r,de=(t,e)=>{if(null==e)return;if(e in be&&t in be[e])return be[e][t];const r=je(e);for(let n=0;n<r.length;n++){const i=Te(r[n],t);if(i)return Ee(t,e,i)}};let ye;const ve=C({});function He(t){return t in ye}function Te(t,e){if(!He(t))return null;const r=function(t){return ye[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Be(t,...e){delete be[t],ve.update((r=>(r[t]=j.all([r[t]||{},...e]),r)))}R([ve],(([t])=>Object.keys(t))),ve.subscribe((t=>ye=t));const _e={};function Ae(t){return _e[t]}function Pe(t){return null!=t&&je(t).some((t=>{var e;return null==(e=Ae(t))?void 0:e.size}))}function Se(t,e){const r=Promise.all(e.map((e=>(function(t,e){_e[t].delete(e),0===_e[t].size&&delete _e[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Be(t,...e)))}const Le={};function Ne(t){if(!Pe(t))return t in Le?Le[t]:Promise.resolve();const e=function(t){return je(t).map((t=>{const e=Ae(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Le[t]=Promise.all(e.map((([t,e])=>Se(t,e)))).then((()=>{if(Pe(t))return Ne(t);delete Le[t]})),Le[t]}const Oe={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Ie(){return Oe}const we=C(!1);var Ce=Object.defineProperty,Re=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,$e=(t,e,r)=>e in t?Ce(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;let Fe;const ke=C(null);function xe(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function je(t,e=Ie().fallbackLocale){const r=xe(t);return e?[...new Set([...r,...xe(e)])]:r}function Ve(){return null!=Fe?Fe:void 0}ke.subscribe((t=>{Fe=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Xe=(Ke=((t,e)=>{for(var r in e||(e={}))Ge.call(e,r)&&$e(t,r,e[r]);if(Ue)for(var r of Ue(e))De.call(e,r)&&$e(t,r,e[r]);return t})({},ke),Re(Ke,Me({set:t=>{if(t&&function(t){if(null==t)return;const e=je(t);for(let t=0;t<e.length;t++){const r=e[t];if(He(r))return r}}(t)&&Pe(t)){const{loadingDelay:e}=Ie();let r;return"undefined"!=typeof window&&null!=Ve()&&e?r=window.setTimeout((()=>we.set(!0)),e):we.set(!0),Ne(t).then((()=>{ke.set(t)})).finally((()=>{clearTimeout(r),we.set(!1)}))}return ke.set(t)}})));var Ke;const Ye=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}};var Ze=Object.defineProperty,ze=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Je=(t,e,r)=>e in t?Ze(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qe=(t,e)=>{for(var r in e||(e={}))We.call(e,r)&&Je(t,r,e[r]);if(ze)for(var r of ze(e))Qe.call(e,r)&&Je(t,r,e[r]);return t},tr=(t,e)=>{var r={};for(var n in t)We.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&ze)for(var n of ze(t))e.indexOf(n)<0&&Qe.call(t,n)&&(r[n]=t[n]);return r};const er=(t,e)=>{const{formats:r}=Ie();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},rr=Ye((t=>{var e=t,{locale:r,format:n}=e,i=tr(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=er("number",n)),new Intl.NumberFormat(r,i)})),nr=Ye((t=>{var e=t,{locale:r,format:n}=e,i=tr(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=er("date",n):0===Object.keys(i).length&&(i=er("date","short")),new Intl.DateTimeFormat(r,i)})),ir=Ye((t=>{var e=t,{locale:r,format:n}=e,i=tr(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=er("time",n):0===Object.keys(i).length&&(i=er("time","short")),new Intl.DateTimeFormat(r,i)})),or=Ye((
579
+ 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}();const be={},Ee=(t,e,r)=>r?(e in be||(be[e]={}),t in be[e]||(be[e][t]=r),r):r,de=(t,e)=>{if(null==e)return;if(e in be&&t in be[e])return be[e][t];const r=je(e);for(let n=0;n<r.length;n++){const i=Te(r[n],t);if(i)return Ee(t,e,i)}};let ye;const ve=C({});function He(t){return t in ye}function Te(t,e){if(!He(t))return null;const r=function(t){return ye[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Be(t,...e){delete be[t],ve.update((r=>(r[t]=j.all([r[t]||{},...e]),r)))}R([ve],(([t])=>Object.keys(t))),ve.subscribe((t=>ye=t));const _e={};function Ae(t){return _e[t]}function Pe(t){return null!=t&&je(t).some((t=>{var e;return null==(e=Ae(t))?void 0:e.size}))}function Se(t,e){const r=Promise.all(e.map((e=>(function(t,e){_e[t].delete(e),0===_e[t].size&&delete _e[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Be(t,...e)))}const Le={};function Ne(t){if(!Pe(t))return t in Le?Le[t]:Promise.resolve();const e=function(t){return je(t).map((t=>{const e=Ae(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Le[t]=Promise.all(e.map((([t,e])=>Se(t,e)))).then((()=>{if(Pe(t))return Ne(t);delete Le[t]})),Le[t]}const Oe={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Ie(){return Oe}const we=C(!1);var Ce=Object.defineProperty,Re=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,$e=(t,e,r)=>e in t?Ce(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;let Fe;const ke=C(null);function xe(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function je(t,e=Ie().fallbackLocale){const r=xe(t);return e?[...new Set([...r,...xe(e)])]:r}function Ve(){return null!=Fe?Fe:void 0}ke.subscribe((t=>{Fe=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Xe=(Ke=((t,e)=>{for(var r in e||(e={}))Ge.call(e,r)&&$e(t,r,e[r]);if(Ue)for(var r of Ue(e))De.call(e,r)&&$e(t,r,e[r]);return t})({},ke),Re(Ke,Me({set:t=>{if(t&&function(t){if(null==t)return;const e=je(t);for(let t=0;t<e.length;t++){const r=e[t];if(He(r))return r}}(t)&&Pe(t)){const{loadingDelay:e}=Ie();let r;return"undefined"!=typeof window&&null!=Ve()&&e?r=window.setTimeout((()=>we.set(!0)),e):we.set(!0),Ne(t).then((()=>{ke.set(t)})).finally((()=>{clearTimeout(r),we.set(!1)}))}return ke.set(t)}})));var Ke;const Ye=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}};var ze=Object.defineProperty,Ze=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Je=(t,e,r)=>e in t?ze(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qe=(t,e)=>{for(var r in e||(e={}))We.call(e,r)&&Je(t,r,e[r]);if(Ze)for(var r of Ze(e))Qe.call(e,r)&&Je(t,r,e[r]);return t},tr=(t,e)=>{var r={};for(var n in t)We.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&Ze)for(var n of Ze(t))e.indexOf(n)<0&&Qe.call(t,n)&&(r[n]=t[n]);return r};const er=(t,e)=>{const{formats:r}=Ie();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},rr=Ye((t=>{var e=t,{locale:r,format:n}=e,i=tr(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=er("number",n)),new Intl.NumberFormat(r,i)})),nr=Ye((t=>{var e=t,{locale:r,format:n}=e,i=tr(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=er("date",n):0===Object.keys(i).length&&(i=er("date","short")),new Intl.DateTimeFormat(r,i)})),ir=Ye((t=>{var e=t,{locale:r,format:n}=e,i=tr(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=er("time",n):0===Object.keys(i).length&&(i=er("time","short")),new Intl.DateTimeFormat(r,i)})),or=Ye((
580
580
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
581
- (t,e=Ve())=>new ge(t,e,Ie().formats,{ignoreTag:Ie().ignoreTag}))),sr=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:h=Ve(),default:u}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=de(t,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(n=(r=Ie()).handleMissingMessage)?void 0:n.call(r,{locale:h,id:t,defaultValue:u}))?i:u)?o:t;if(!a)return c;let l=c;try{l=or(c,h).format(a)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return l},ar=(t,e)=>((t={})=>{var e=t,{locale:r=Ve()}=e,n=tr(e,["locale"]);return ir(qe({locale:r},n))})(e).format(t),hr=(t,e)=>((t={})=>{var e=t,{locale:r=Ve()}=e,n=tr(e,["locale"]);return nr(qe({locale:r},n))})(e).format(t),ur=(t,e)=>((t={})=>{var e=t,{locale:r=Ve()}=e,n=tr(e,["locale"]);return rr(qe({locale:r},n))})(e).format(t),cr=(t,e=Ve())=>de(t,e),lr=R([Xe,ve],(()=>sr));function fr(t,e){Be(t,e)}R([Xe],(()=>ar)),R([Xe],(()=>hr)),R([Xe],(()=>ur)),R([Xe,ve],(()=>cr));const pr={en:{bets:"bets"},tr:{bets:"bets"},es:{bets:"apuestas"},el:{bets:"bets"}};
581
+ (t,e=Ve())=>new ge(t,e,Ie().formats,{ignoreTag:Ie().ignoreTag}))),sr=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:h=Ve(),default:u}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=de(t,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(n=(r=Ie()).handleMissingMessage)?void 0:n.call(r,{locale:h,id:t,defaultValue:u}))?i:u)?o:t;if(!a)return c;let l=c;try{l=or(c,h).format(a)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return l},ar=(t,e)=>((t={})=>{var e=t,{locale:r=Ve()}=e,n=tr(e,["locale"]);return ir(qe({locale:r},n))})(e).format(t),hr=(t,e)=>((t={})=>{var e=t,{locale:r=Ve()}=e,n=tr(e,["locale"]);return nr(qe({locale:r},n))})(e).format(t),ur=(t,e)=>((t={})=>{var e=t,{locale:r=Ve()}=e,n=tr(e,["locale"]);return rr(qe({locale:r},n))})(e).format(t),cr=(t,e=Ve())=>de(t,e),lr=R([Xe,ve],(()=>sr));function fr(t,e){Be(t,e)}R([Xe],(()=>ar)),R([Xe],(()=>hr)),R([Xe],(()=>ur)),R([Xe,ve],(()=>cr));const pr={en:{bets:"bets"},tr:{bets:"bets"},es:{bets:"apuestas"},el:{bets:"bets"},hr:{bets:"ulozi"}};
582
582
  /* src/GeneralIconProgressBar.svelte generated by Svelte v3.59.2 */function mr(e){let r,n,i,o,s;return{c(){var a;r=c("div"),n=c("div"),i=c("span"),a=/*progressText*/e[3],o=document.createTextNode(a),this.c=t,l(i,"part","progressText"),l(n,"class",s="stepBar "+/*curTatus*/e[4]),l(n,"part","stepBar"),l(r,"class","general-icon-progress-bar"),l(r,"part","totalBar")},m(t,s){h(t,r,s),a(r,n),a(n,i),a(i,o),
583
583
  /*span_binding*/e[13](i),
584
584
  /*div0_binding*/e[14](n),