iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 48 kB
JavaScript
export const __rspack_esm_id=37976;export const __rspack_esm_ids=[37976];export const __webpack_modules__={13579(e,t,a){var r=a(46518),n=a(69565),i=a(72652),o=a(79306),s=a(28551),c=a(1767),u=a(9539),l=a(84549)("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(l)return n(l,this,e);var t=c(this),a=0;return i(t,function(t,r){if(e(t,a++))return r()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},97309(e,t,a){a.d(t,{Ay:()=>s,Ww:()=>s,gZ:()=>s});var r=function(e){return e[e.NONE=0]="NONE",e[e.NAN=1]="NAN",e[e.POSITIVE_INFINITY=2]="POSITIVE_INFINITY",e[e.NEGATIVE_INFINITY=3]="NEGATIVE_INFINITY",e}(r||{});function n(e,t){if(0n===e)return[0n,0];for(;e%10n==0n;)e/=10n,t++;return[e,t]}function i(e){return e<0n?-e:e}function o(e){if(e<=0)return 1n;let t=1n,a=10n,r=e;for(;r>0;)1&r&&(t*=a),a*=a,r>>=1;return t}var s=class e{static _create(t,a,r,n){const i=Object.create(e.prototype);return i._mantissa=t,i._exponent=a,i._special=r,i._negativeZero=n,i}static _coerce(t){return t instanceof e?t:new e(t)}times(t){const a=e._coerce(t);if(this._special||a._special)return this._specialArith(a,"times");if(0n===this._mantissa||0n===a._mantissa){const t=this._isSignNegative()?!a._isSignNegative():a._isSignNegative();return e._create(0n,0,r.NONE,t)}const[i,o]=n(this._mantissa*a._mantissa,this._exponent+a._exponent);return e._create(i,o,r.NONE,!1)}div(t){const a=e._coerce(t);if(this._special||a._special)return this._specialArith(a,"div");if(0n===a._mantissa){if(0n===this._mantissa)return e._create(0n,0,r.NAN,!1);const t=this._isSignNegative()!==a._isSignNegative();return e._create(0n,0,t?r.NEGATIVE_INFINITY:r.POSITIVE_INFINITY,!1)}if(0n===this._mantissa){const t=this._isSignNegative()!==a._isSignNegative();return e._create(0n,0,r.NONE,t)}const[i,s]=n(this._mantissa*o(40)/a._mantissa,this._exponent-a._exponent-40);return e._create(i,s,r.NONE,!1)}plus(t){const a=e._coerce(t);if(this._special||a._special)return this._specialArith(a,"plus");if(0n===this._mantissa&&0n===a._mantissa){const t=this._negativeZero&&a._negativeZero;return e._create(0n,0,r.NONE,t)}if(0n===this._mantissa)return a;if(0n===a._mantissa)return this;let i=this._mantissa,s=a._mantissa;const c=this._exponent,u=a._exponent,l=Math.min(c,u);c>l&&(i*=o(c-l)),u>l&&(s*=o(u-l));const f=i+s;if(0n===f)return e._create(0n,0,r.NONE,!1);const[m,h]=n(f,l);return e._create(m,h,r.NONE,!1)}minus(t){return this.plus(e._coerce(t).negated())}mod(t){const a=e._coerce(t);if(this._special||a._special){if(this._special===r.NAN||a._special===r.NAN)return e._create(0n,0,r.NAN,!1);if(this._special===r.POSITIVE_INFINITY||this._special===r.NEGATIVE_INFINITY)return e._create(0n,0,r.NAN,!1);if(a._special===r.POSITIVE_INFINITY||a._special===r.NEGATIVE_INFINITY)return this}if(0n===a._mantissa)return e._create(0n,0,r.NAN,!1);if(0n===this._mantissa)return this;let i=this._mantissa,s=a._mantissa;const c=this._exponent,u=a._exponent,l=Math.min(c,u);c>l&&(i*=o(c-l)),u>l&&(s*=o(u-l));const f=i%s;if(0n===f)return e._create(0n,0,r.NONE,!1);const[m,h]=n(f,l);return e._create(m,h,r.NONE,!1)}abs(){return this._special===r.NAN?this:this._special===r.NEGATIVE_INFINITY?e._create(0n,0,r.POSITIVE_INFINITY,!1):e._create(i(this._mantissa),this._exponent,this._special,!1)}negated(){return this._special===r.NAN?this:this._special===r.POSITIVE_INFINITY?e._create(0n,0,r.NEGATIVE_INFINITY,!1):this._special===r.NEGATIVE_INFINITY?e._create(0n,0,r.POSITIVE_INFINITY,!1):0n===this._mantissa?e._create(0n,0,r.NONE,!this._negativeZero):e._create(-this._mantissa,this._exponent,r.NONE,!1)}pow(t){if(this._special===r.NAN)return this;if(0===t)return new e(1);if(t<0)return new e(1).div(this.pow(-t));if(this._special===r.POSITIVE_INFINITY)return this;if(this._special===r.NEGATIVE_INFINITY)return t%2==0?e._create(0n,0,r.POSITIVE_INFINITY,!1):this;if(0n===this._mantissa)return new e(0);const[a,i]=n(this._mantissa**BigInt(t),this._exponent*t);return e._create(a,i,r.NONE,!1)}floor(){if(this._special!==r.NONE)return this;if(0n===this._mantissa)return this;if(this._exponent>=0)return this;const t=o(-this._exponent),a=this._mantissa;let i=a/t;if(a<0n&&a%t!==0n&&(i-=1n),0n===i){const t=this._mantissa<0n;return e._create(0n,0,r.NONE,t)}const[s,c]=n(i,0);return e._create(s,c,r.NONE,!1)}ceil(){if(this._special!==r.NONE)return this;if(0n===this._mantissa)return this;if(this._exponent>=0)return this;const t=o(-this._exponent),a=this._mantissa;let i=a/t;if(a>0n&&a%t!==0n&&(i+=1n),0n===i)return e._create(0n,0,r.NONE,!1);const[s,c]=n(i,0);return e._create(s,c,r.NONE,!1)}log(t){if(this._special===r.NAN)return this;if(this._special===r.NEGATIVE_INFINITY)return e._create(0n,0,r.NAN,!1);if(this._special===r.POSITIVE_INFINITY)return e._create(0n,0,r.POSITIVE_INFINITY,!1);if(this._mantissa<0n)return e._create(0n,0,r.NAN,!1);if(0n===this._mantissa)return e._create(0n,0,r.NEGATIVE_INFINITY,!1);if(10===t)return this._log10();const a=this._log10(),n=new e(Math.log10(t));return a.div(n)}_log10(){const t=i(this._mantissa),a=function(e){if(0n===e)return 1;e<0n&&(e=-e);let t=0;const a=1000000000000000n;for(;e>=a;)e/=a,t+=15;let r=Number(e);for(;r>=1;)r/=10,t++;return t}(t);let r;if(a<=15)r=Math.log10(Number(t));else{const e=a-17,n=t/o(e);r=Math.log10(Number(n))+e}return new e(r+this._exponent)}eq(t){const a=e._coerce(t);return this._special!==r.NAN&&a._special!==r.NAN&&(this._special===a._special&&(this._special!==r.NONE||(0n===this._mantissa&&0n===a._mantissa||this._mantissa===a._mantissa&&this._exponent===a._exponent)))}_compareTo(e){if(this._special===r.NAN||e._special===r.NAN)return NaN;if(this._special===r.POSITIVE_INFINITY)return e._special===r.POSITIVE_INFINITY?0:1;if(this._special===r.NEGATIVE_INFINITY)return e._special===r.NEGATIVE_INFINITY?0:-1;if(e._special===r.POSITIVE_INFINITY)return-1;if(e._special===r.NEGATIVE_INFINITY)return 1;const t=0n===this._mantissa,a=0n===e._mantissa;if(t&&a)return 0;if(t)return e._mantissa>0n?-1:1;if(a)return this._mantissa>0n?1:-1;const n=this._mantissa<0n;if(n!==e._mantissa<0n)return n?-1:1;let i=this._mantissa,s=e._mantissa;const c=this._exponent,u=e._exponent,l=Math.min(c,u);return c>l&&(i*=o(c-l)),u>l&&(s*=o(u-l)),i<s?-1:i>s?1:0}lessThan(t){return-1===this._compareTo(e._coerce(t))}greaterThan(t){return 1===this._compareTo(e._coerce(t))}lessThanOrEqualTo(t){const a=this._compareTo(e._coerce(t));return 0===a||-1===a}greaterThanOrEqualTo(t){const a=this._compareTo(e._coerce(t));return 0===a||1===a}isZero(){return this._special===r.NONE&&0n===this._mantissa}isNaN(){return this._special===r.NAN}isFinite(){return this._special===r.NONE}isNegative(){return this._special!==r.NAN&&(this._special===r.NEGATIVE_INFINITY||this._special!==r.POSITIVE_INFINITY&&(0n===this._mantissa?this._negativeZero:this._mantissa<0n))}isPositive(){return this._special!==r.NAN&&(this._special===r.POSITIVE_INFINITY||this._special!==r.NEGATIVE_INFINITY&&(0n===this._mantissa?!this._negativeZero:this._mantissa>0n))}isInteger(){return this._special===r.NONE&&(0n===this._mantissa||this._exponent>=0)}toJSON(){return this.toString()}toNumber(){return this._special===r.NAN?NaN:this._special===r.POSITIVE_INFINITY?1/0:this._special===r.NEGATIVE_INFINITY?-1/0:0n===this._mantissa?this._negativeZero?-0:0:Number(this.toString())}toString(){if(this._special===r.NAN)return"NaN";if(this._special===r.POSITIVE_INFINITY)return"Infinity";if(this._special===r.NEGATIVE_INFINITY)return"-Infinity";if(0n===this._mantissa)return"0";const e=this._mantissa<0n,t=i(this._mantissa).toString(),a=e?"-":"";if(0===this._exponent)return a+t;if(this._exponent>0)return a+t+"0".repeat(this._exponent);const n=-this._exponent;if(n<t.length){return a+t.slice(0,t.length-n)+"."+t.slice(t.length-n)}{const e=n-t.length;return a+"0."+"0".repeat(e)+t}}static pow(t,a){const n="number"==typeof a?a:a.toNumber();return"number"==typeof t&&10===t?e._create(1n,n,r.NONE,!1):(t instanceof e?t:new e(t)).pow(n)}static set(e){}_isSignNegative(){return this._special===r.NEGATIVE_INFINITY||(this._mantissa<0n||0n===this._mantissa&&this._negativeZero)}_specialArith(t,a){const n=this._special,i=t._special;if(n===r.NAN||i===r.NAN)return e._create(0n,0,r.NAN,!1);const o=this._isSignNegative(),s=t._isSignNegative(),c=n===r.POSITIVE_INFINITY||n===r.NEGATIVE_INFINITY,u=i===r.POSITIVE_INFINITY||i===r.NEGATIVE_INFINITY;if("times"===a&&(c||u)){if(c&&0n===t._mantissa&&!u||u&&0n===this._mantissa&&!c)return e._create(0n,0,r.NAN,!1);const a=o!==s;return e._create(0n,0,a?r.NEGATIVE_INFINITY:r.POSITIVE_INFINITY,!1)}if("div"===a){if(c&&u)return e._create(0n,0,r.NAN,!1);if(c){const t=o!==s;return e._create(0n,0,t?r.NEGATIVE_INFINITY:r.POSITIVE_INFINITY,!1)}if(u){const t=o!==s;return e._create(0n,0,r.NONE,t)}}if("plus"===a){if(c&&u)return o!==s?e._create(0n,0,r.NAN,!1):this;if(c)return this;if(u)return t}return e._create(0n,0,r.NAN,!1)}constructor(e){if("bigint"==typeof e){const[t,a]=n(e,0);return this._mantissa=t,this._exponent=a,this._special=r.NONE,void(this._negativeZero=!1)}if("number"==typeof e){if(Number.isNaN(e))return this._mantissa=0n,this._exponent=0,this._special=r.NAN,void(this._negativeZero=!1);if(e===1/0)return this._mantissa=0n,this._exponent=0,this._special=r.POSITIVE_INFINITY,void(this._negativeZero=!1);if(e===-1/0)return this._mantissa=0n,this._exponent=0,this._special=r.NEGATIVE_INFINITY,void(this._negativeZero=!1);if(0===e)return this._mantissa=0n,this._exponent=0,this._special=r.NONE,void(this._negativeZero=Object.is(e,-0));e=String(e)}const t=function(e){if("NaN"===(e=e.trim()))return{mantissa:0n,exponent:0,special:r.NAN,negativeZero:!1};if("Infinity"===e||"+Infinity"===e)return{mantissa:0n,exponent:0,special:r.POSITIVE_INFINITY,negativeZero:!1};if("-Infinity"===e)return{mantissa:0n,exponent:0,special:r.NEGATIVE_INFINITY,negativeZero:!1};let t=!1,a=0;"-"===e[a]?(t=!0,a++):"+"===e[a]&&a++;let i=e.indexOf("e",a);-1===i&&(i=e.indexOf("E",a));let o,s=0;-1!==i?(s=parseInt(e.substring(i+1),10),o=e.substring(a,i)):o=e.substring(a);const c=o.indexOf(".");let u,l;-1!==c?(u=o.substring(0,c),l=o.substring(c+1)):(u=o,l="");const f=u+l,m=s-l.length;if(""===f||"0"===f||/^0+$/.test(f))return{mantissa:0n,exponent:0,special:r.NONE,negativeZero:t};let h=BigInt(f);t&&(h=-h);const[d,p]=n(h,m);return{mantissa:d,exponent:p,special:r.NONE,negativeZero:!1}}(e);this._mantissa=t.mantissa,this._exponent=t.exponent,this._special=t.special,this._negativeZero=t.negativeZero}}},52811(e,t,a){a.r(t);a(74423),a(44114),a(18111),a(22489),a(7588),a(61701),a(18237),a(13579),a(33110),a(17642),a(58004),a(33853),a(45876),a(32475),a(15024),a(31698),a(88454),a(29452);var r=a(97309),n=a(32838);function i(e,t){const a=t&&t.cache?t.cache:m,r=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:u)(e,{cache:a,serializer:r})}function o(e,t,a,r){const n=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:a(r);var i;let o=t.get(n);return void 0===o&&(o=e.call(this,r),t.set(n,o)),o}function s(e,t,a){const r=Array.prototype.slice.call(arguments,3),n=a(r);let i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function c(e,t,a,r,n){return a.bind(t,e,r,n)}function u(e,t){return c(e,this,1===e.length?o:s,t.cache.create(),t.serializer)}const l=function(){return JSON.stringify(arguments)};var f=class{get(e){return this.cache[e]}set(e,t){this.cache[e]=t}constructor(){this.cache=Object.create(null)}};const m={create:function(){return new f}},h={variadic:function(e,t){return c(e,this,s,t.cache.create(),t.serializer)},monadic:function(e,t){return c(e,this,o,t.cache.create(),t.serializer)}};function d(e,t,{value:a}){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:a})}function p(e,t,a=Error){if(!e)throw new a(t)}const A=i((...e)=>new Intl.NumberFormat(...e),{strategy:h.variadic});function g(e,t,a){if("function"!=typeof e)return!1;if(a?.boundTargetFunction)return t instanceof a?.boundTargetFunction;if("object"!=typeof t)return!1;let 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 _(e){return"function"==typeof e}function N(e,t){if("object"==typeof e&&null!=e){const a=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0;let r;if(void 0!==a){void 0===t?r="default":"string"===t?r="string":(!function(e,t,a=Error){if(!e)throw new a(t)}("number"===t,'preferredType must be "string" or "number"'),r="number");let n=a.call(e,r);if("object"!=typeof n)return n;throw new TypeError("Cannot convert exotic object to primitive.")}return void 0===t&&(t="number"),function(e,t){let a;a="string"===t?["toString","valueOf"]:["valueOf","toString"];for(const t of a){const a=e[t];if(_(a)){let t=a.call(e);if("object"!=typeof t)return t}}throw new TypeError("Cannot convert object to primitive value")}(e,t)}return e}i((...e)=>new Intl.PluralRules(...e),{strategy:h.variadic}),i((...e)=>new Intl.Locale(...e),{strategy:h.variadic}),i((...e)=>new Intl.ListFormat(...e),{strategy:h.variadic});const I=new r.Ww(0);function y(e,t,a=Error){if(!e)throw new a(t)}function E(e){if("number"==typeof e)return new r.Ww(e);if("bigint"==typeof e)return new r.Ww(e.toString());if(y("symbol"!=typeof e,"Symbol is not supported",TypeError),void 0===e)return new r.Ww(NaN);if(null===e||0===e)return I;if(!0===e)return new r.Ww(1);if("string"==typeof e)try{return new r.Ww(e)}catch{return new r.Ww(NaN)}y("object"==typeof e,"object expected",TypeError);let t=N(e,"number");return y("object"!=typeof t,"object expected",TypeError),E(t)}function v(e){return Intl.getCanonicalLocales(e)}const T=/^[+-]/,b=/^([+-])(\d{2})(?::?(\d{2}))?(?::?(\d{2}))?(?:\.(\d{1,9}))?$/,S=/0+$/;function P(e,{zoneNames:t,uppercaseLinks:a}){if(r=e,T.test(r))return function(e){const t=b.exec(e);if(!t)return e;const a=t[1],r=t[2],n=t[3]?t[3]:"00",i=t[4],o=t[5];let s=`${a}${r}:${n}`;if(i&&(0!==parseInt(i,10)||o)&&(s+=`:${i}`,o)){const e=o.replace(S,"");e&&(s+=`.${e}`)}return s}(e);var r;const n=e.toUpperCase(),i=t.reduce((e,t)=>(e[t.toUpperCase()]=t,e),{}),o=a[n]||i[n];return"Etc/UTC"===o||"Etc/GMT"===o?"UTC":o}const w=/^[+-]/,D=/^([+-])(\d{2})(?::?(\d{2}))?(?::?(\d{2}))?(?:\.(\d{1,9}))?$/;function O(e,{zoneNamesFromData:t,uppercaseLinks:a}){if(function(e){if(!w.test(e))return!1;const t=D.exec(e);if(!t)return!1;const a=parseInt(t[2],10),r=t[3]?parseInt(t[3],10):0,n=t[4]?parseInt(t[4],10):0;return!(a>23||r>59||n>59)}(e))return!0;const r=e.toUpperCase(),n=new Set,i=new Set;return t.map(e=>e.toUpperCase()).forEach(e=>n.add(e)),Object.keys(a).forEach(e=>{i.add(e.toUpperCase()),n.add(a[e].toUpperCase())}),!(!n.has(r)&&!i.has(r))}function F(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function M(e,t,a,r,n){if("object"!=typeof e)throw new TypeError("Options must be an object");let i=e[t];if(void 0!==i){if("boolean"!==a&&"string"!==a)throw new TypeError("invalid type");if("boolean"===a&&(i=Boolean(i)),"string"===a&&(i=function(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}(i)),void 0!==r&&!r.filter(e=>e==i).length)throw new RangeError(`${i} is not within ${r.join(", ")}`);return i}return n}let C=function(e){return e.startRange="startRange",e.shared="shared",e.endRange="endRange",e}({});const k=new r.Ww(0);function x(e){return e.isFinite()?e.abs().greaterThan(8640000000000001)?new r.Ww(NaN):function(e){const t=E(e);if(t.isNaN()||t.isZero())return k;if(t.isFinite())return t;let a=t.abs().floor();return t.isNegative()&&(a=a.negated()),a}(e):new r.Ww(NaN)}function j(e){const t=[];let a=e.indexOf("{"),r=0,n=0;const i=e.length;for(;a<e.length&&a>-1;)r=e.indexOf("}",a),p(r>a,`Invalid pattern ${e}`),a>n&&t.push({type:"literal",value:e.substring(n,a)}),t.push({type:e.substring(a+1,r),value:void 0}),n=r+1,a=e.indexOf("{",n);return n<i&&t.push({type:"literal",value:e.substring(n,i)}),t}const R=864e5;function L(e,t){return e-Math.floor(e/t)*t}function Z(e){return Math.floor(e/R)}function G(e){return L(Z(e)+4,7)}function Y(e){return new Date(e).getUTCFullYear()}function V(e){return Z(e)-function(e){if(e<100){const t=new Date(0);return t.setUTCFullYear(e,0,1),t.setUTCHours(0,0,0,0),t.getTime()/R}return Date.UTC(e,0)/R}(Y(e))}function B(e){return 365==((t=Y(e))%4!=0?365:t%100!=0?366:t%400!=0?365:366)?0:1;var t}function z(e){const t=V(e),a=B(e);if(t>=0&&t<31)return 0;if(t<59+a)return 1;if(t<90+a)return 2;if(t<120+a)return 3;if(t<151+a)return 4;if(t<181+a)return 5;if(t<212+a)return 6;if(t<243+a)return 7;if(t<273+a)return 8;if(t<304+a)return 9;if(t<334+a)return 10;if(t<365+a)return 11;throw new Error("Invalid time")}function U(e){const t=V(e),a=z(e),r=B(e);if(0===a)return t+1;if(1===a)return t-30;if(2===a)return t-58-r;if(3===a)return t-89-r;if(4===a)return t-119-r;if(5===a)return t-150-r;if(6===a)return t-180-r;if(7===a)return t-211-r;if(8===a)return t-242-r;if(9===a)return t-272-r;if(10===a)return t-303-r;if(11===a)return t-333-r;throw new Error("Invalid time")}const $=1e3;function K(e){return L(Math.floor(e/36e5),24)}function H(e){return L(Math.floor(e/6e4),60)}function W(e){return L(Math.floor(e/$),60)}function J(e){return L(e,$)}const q=/^[+-]/,Q=/^([+-])(\d{2})(?::?(\d{2}))?(?::?(\d{2}))?(?:\.(\d{1,9}))?$/;function X(e){const t=Q.exec(e);if(!t)return 0;const a="+"===t[1]?1:-1,r=parseInt(t[2],10),n=t[3]?parseInt(t[3],10):0,i=t[4]?parseInt(t[4],10):0,o=((t[5]||"0")+"000000000").slice(0,9);return a*(36e5*r+6e4*n+1e3*i+parseInt(o,10)/1e6)}function ee(e,t,a){if(r=t,q.test(r))return[X(t),!1];var r;const n=a[t];if(!n)return[0,!1];let i=0,o=0,s=!1;for(;i<=n.length;i++)if(i===n.length||1e3*n[i][0]>e){[,,o,s]=n[i-1];break}return[1e3*o,s]}function te(e,t,a,{tzData:r}){p("gregory"===t,"We only support Gregory calendar right now");const[n,i]=ee(e.toNumber(),a,r),o=e.plus(n).toNumber(),s=Y(o);return{weekday:G(o),era:s<0?"BC":"AD",year:s,relatedYear:void 0,yearName:void 0,month:z(o),day:U(o),hour:K(o),minute:H(o),second:W(o),millisecond:J(o),inDST:i,timeZoneOffset:n}}const ae=["weekday","era","year","month","day","dayPeriod","hour","minute","second","fractionalSecondDigits","timeZoneName"];function re(e){return e<10?`0${e}`:String(e)}function ne(e,t,a,r){const n=Math.floor(a/6e4),i=Math.abs(n)%60,o=Math.floor(Math.abs(n)/60),[s,c]=t.split(";");let u="",l=a<0?c:s;return"long"===r?u=l.replace("HH",re(o)).replace("H",String(o)).replace("mm",re(i)).replace("m",String(i)):(i||o)&&(i||(l=l.replace(/:?m+/,"")),u=l.replace(/H+/,String(o)).replace(/m+/,String(i))),e.replace("{0}",u)}function ie(e,t,a,{getInternalSlots:n,localeData:i,getDefaultTimeZone:o,tzData:s,rangeFormatOptions:c}){a=x(a);const u=n(e),l=i[u.dataLocale],f=u.locale,m=Object.create(null);m.useGrouping=!1;const h=A(f,m),d=Object.create(null);d.minimumIntegerDigits=2,d.useGrouping=!1;const p=A(f,d),g=u.fractionalSecondDigits;let _;if(void 0!==g){const e=Object.create(null);e.minimumIntegerDigits=g,e.useGrouping=!1,_=A(f,e)}const N=te(a,u.calendar,u.timeZone,{tzData:s}),I=[],y=t.some(e=>"month"===e.type),E=t.some(e=>"day"===e.type||"year"===e.type||"weekday"===e.type||"era"===e.type),v=y&&!E;for(const e of t){const t=e.type;if("literal"===t)I.push({type:"literal",value:e.value});else if("fractionalSecondDigits"===t){const e=new r.Ay(N.millisecond).times(r.Ay.pow(10,(g||0)-3)).floor().toNumber();I.push({type:"fractionalSecond",value:_.format(e)})}else if("dayPeriod"===t)I.push({type:t,value:N.hour<12?l.am:l.pm});else if("timeZoneName"===t){const e=u.timeZoneName;let a;const{timeZoneName:r,gmtFormat:n,hourFormat:i}=l,s=r[u.timeZone||o()];if(s&&s[e]){const t=s[e];a=N.inDST&&t.length>=2&&t[0]===t[1]?ne(n,i,N.timeZoneOffset,e):t[+N.inDST]}else a=ne(n,i,N.timeZoneOffset,e);I.push({type:t,value:a})}else if(ae.indexOf(t)>-1){let e="";const a=u[t];let r=N[t];"year"===t&&r<=0&&(r=1-r),"month"===t&&r++;const n=u.hourCycle;"hour"!==t||"h11"!==n&&"h12"!==n||(r%=12,0===r&&"h12"===n&&(r=12)),"hour"===t&&"h24"===n&&(0!==r||c||(r=24)),"numeric"===a?e=h.format(r):"2-digit"===a?(e=p.format(r),e.length>2&&(e=e.slice(e.length-2,e.length))):"narrow"!==a&&"short"!==a&&"long"!==a||(e="era"===t?l[t][a][r]:"month"===t?(v&&l.monthStandalone?l.monthStandalone:l.month)[a][r-1]:l[t][a][r]),I.push({type:t,value:e})}else if("ampm"===t){let e;e=N.hour>11?l.pm:l.am,I.push({type:"dayPeriod",value:e})}else if("relatedYear"===t){const e=N.relatedYear,t=h.format(e);I.push({type:"relatedYear",value:t})}else if("yearName"===t){const e=N.yearName,t=h.format(e);I.push({type:"yearName",value:t})}}return I}function oe(e,t,a){p(!(t=x(t)).isNaN(),"Invalid time",RangeError);const{getInternalSlots:r}=a,{pattern:n}=r(e);return ie(e,j(n),t,a)}function se(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}const ce=["era","year","month","day","dayPeriod","ampm","hour","minute","second","fractionalSecondDigits"];function ue(e,t,a,r){if((t=x(t)).isNaN())throw new RangeError("Invalid start time");if((a=x(a)).isNaN())throw new RangeError("Invalid end time");const{getInternalSlots:n,tzData:i,localeData:o}=r,s=n(e),c=o[s.dataLocale],u=te(t,s.calendar,s.timeZone,{tzData:i}),l=te(a,s.calendar,s.timeZone,{tzData:i}),{pattern:f,rangePatterns:m}=s;let h,d,p=!0,A=!1;for(const e of ce)if(p&&!A){let t=e in m?m[e]:void 0;if(void 0!==h&&void 0===t)A=!0;else if(h=t,"ampm"===e){let t=u.hour,a=l.hour;(t>11&&a<11||t<11&&a>11)&&(p=!1,d=e)}else if("dayPeriod"===e);else if("fractionalSecondDigits"===e){let t=s.fractionalSecondDigits;void 0===t&&(t=3),se(Math.floor(u.millisecond*10**(t-3)),Math.floor(l.millisecond*10**(t-3)))||(p=!1,d=e)}else{se(u[e],l[e])||(p=!1,d=e)}}if(p){let a=ie(e,j(f),t,r);for(const e of a)e.source=C.shared;return a}void 0===h&&"ampm"===d&&(h="hour"in m?m.hour:void 0);const g=u.year!==l.year||u.month!==l.month||u.day!==l.day;let _=[];if(void 0===h){if(h=m.default,!h){const e=c.intervalFormatFallback,t=e.indexOf("{0}"),a=e.indexOf("{1}"),r=t<a?e.substring(t+3,a):e.substring(a+3,t);h={patternParts:t<a?[{source:C.startRange,pattern:"{0}"},{source:C.shared,pattern:r},{source:C.endRange,pattern:"{1}"}]:[{source:C.endRange,pattern:"{1}"},{source:C.shared,pattern:r},{source:C.startRange,pattern:"{0}"}]}}for(const e of h.patternParts)"{0}"!==e.pattern&&"{1}"!==e.pattern||(e.pattern=f)}for(const n of h.patternParts){const{source:i,pattern:o}=n;let s;s=i===C.startRange||i===C.shared?t:a;let c=ie(e,j(o),s,{...r,rangeFormatOptions:{isDifferentDate:g}});for(const e of c)e.source=i;_=_.concat(c)}return _}function le(e,t,a){const r=oe(e,t,a),n=(i=0,Array.from({length:i}));var i;for(const e of r)n.push({type:e.type,value:e.value});return n}function fe(e,t,a,r,n){return function(e,t,a,r){if(void 0===e)return r;const n=Number(e);if(isNaN(n)||n<t||n>a)throw new RangeError(`${n} is outside of range [${t}, ${a}]`);return Math.floor(n)}(e[t],a,r,n)}const me=/(?:[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,he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function de(e,t){const a=e.length;switch(e[0]){case"G":return t.era=4===a?"long":5===a?"narrow":"short","{era}";case"y":case"Y":case"u":case"U":case"r":return t.year=2===a?"2-digit":"numeric","{year}";case"q":case"Q":throw new RangeError("`w/Q` (quarter) patterns are not supported");case"M":case"L":return t.month=["numeric","2-digit","short","long","narrow"][a-1],"{month}";case"w":case"W":throw new RangeError("`w/W` (week of year) patterns are not supported");case"d":return t.day=["numeric","2-digit"][a-1],"{day}";case"D":case"F":case"g":return t.day="numeric","{day}";case"E":return t.weekday=4===a?"long":5===a?"narrow":"short","{weekday}";case"e":case"c":return t.weekday=[void 0,void 0,"short","long","narrow","short"][a-1],"{weekday}";case"a":case"b":case"B":return t.hour12=!0,"{ampm}";case"h":case"K":return t.hour=["numeric","2-digit"][a-1],t.hour12=!0,"{hour}";case"H":case"k":return t.hour=["numeric","2-digit"][a-1],"{hour}";case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":return t.minute=["numeric","2-digit"][a-1],"{minute}";case"s":return t.second=["numeric","2-digit"][a-1],"{second}";case"S":case"A":return t.second="numeric","{second}";case"z":case"Z":case"O":case"v":case"V":case"X":case"x":return t.timeZoneName=a<4?"short":"long","{timeZoneName}"}return""}function pe(e){switch(e){case"G":return"era";case"y":case"Y":case"u":case"U":case"r":return"year";case"M":case"L":return"month";case"d":case"D":case"F":case"g":return"day";case"a":case"b":case"B":return"ampm";case"h":case"H":case"K":case"k":return"hour";case"m":return"minute";case"s":case"S":case"A":return"second";default:throw new RangeError("Invalid range pattern token")}}function Ae(e,t){const a=[];let r=e.replace(/'{2}/g,"{apostrophe}").replace(/'(.*?)'/g,(e,t)=>(a.push(t),`$$${a.length-1}$$`)).replace(me,e=>de(e,t||{}));return a.length&&(r=r.replace(/\$\$(\d+)\$\$/g,(e,t)=>a[+t]).replace(/\{apostrophe\}/g,"'")),[r.replace(/([\s\uFEFF\xA0])\{ampm\}([\s\uFEFF\xA0])/,"$1").replace("{ampm}","").replace(he,""),r]}function ge(e,t=e,a,r){const n={pattern:"",pattern12:"",skeleton:e,rawPattern:t,rangePatterns:{},rangePatterns12:{}};if(a)for(const e in a){const t=pe(e),r=a[e],i={patternParts:[]},[o,s]=Ae(r,i);n.rangePatterns[t]={...i,patternParts:_e(o)},n.rangePatterns12[t]={...i,patternParts:_e(s)}}if(r){const e=function(e){return e.split(/(\{[0|1]\})/g).filter(Boolean).map(e=>{switch(e){case"{0}":return{source:C.startRange,pattern:e};case"{1}":return{source:C.endRange,pattern:e};default:return{source:C.shared,pattern:e}}})}(r);n.rangePatterns.default={patternParts:e},n.rangePatterns12.default={patternParts:e}}e.replace(me,e=>de(e,n));const[i,o]=Ae(t);return n.pattern=i,n.pattern12=o,n}function _e(e){const t=/\{(.*?)\}/g,a={};let r,n=0;for(;r=t.exec(e);){if(r[0]in a){n=r.index;break}a[r[0]]=r.index}return n?[{source:C.startRange,pattern:e.slice(0,n)},{source:C.endRange,pattern:e.slice(n)}]:[{source:C.startRange,pattern:e}]}function Ne(e){return"numeric"===e||"2-digit"===e}function Ie(e,t){let a=0;e.hour12&&!t.hour12?a-=120:!e.hour12&&t.hour12&&(a-=20);for(const r of ae){const n=e[r],i=t[r];if(void 0===n&&void 0!==i)a-=20;else if(void 0!==n&&void 0===i)a-=120;else if(n!==i)if(Ne(n)!==Ne(i))a-=15;else{const e=["2-digit","numeric","narrow","short","long"],t=e.indexOf(n),r=e.indexOf(i),o=Math.max(-2,Math.min(r-t,2));2===o?a-=6:1===o?a-=3:-1===o?a-=6:-2===o&&(a-=8)}}return a}function ye(e,t,a){e=void 0===e?null:F(e),e=Object.create(e);let r=!0;if("date"===t||"any"===t)for(const t of["weekday","year","month","day"])void 0!==e[t]&&(r=!1);if("time"===t||"any"===t)for(const t of["dayPeriod","hour","minute","second","fractionalSecondDigits"])void 0!==e[t]&&(r=!1);if(void 0===e.dateStyle&&void 0===e.timeStyle||(r=!1),"date"===t&&e.timeStyle)throw new TypeError("Intl.DateTimeFormat date was required but timeStyle was included");if("time"===t&&e.dateStyle)throw new TypeError("Intl.DateTimeFormat time was required but dateStyle was included");if(r&&("date"===a||"all"===a))for(const t of["year","month","day"])e[t]="numeric";if(r&&("time"===a||"all"===a))for(const t of["hour","minute","second"])e[t]="numeric";return e}function Ee(e,t,a){return null==e&&(e=t),void 0!==a&&(a?e="h11"===t||"h23"===t?"h11":"h12":(p(!a,"hour12 must not be set"),e="h11"===t||"h23"===t?"h23":"h24")),e}const ve=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function Te(e,t,a,{getInternalSlots:r,availableLocales:i,localeData:o,getDefaultLocale:s,getDefaultTimeZone:c,relevantExtensionKeys:u,tzData:l,uppercaseLinks:f}){const m=v(t),h=ye(a,"any","date");let d=Object.create(null),A=M(h,"localeMatcher","string",["lookup","best fit"],"best fit");d.localeMatcher=A;let g=M(h,"calendar","string",void 0,void 0);if(void 0!==g&&!ve.test(g))throw new RangeError("Malformed calendar");const _=r(e);d.ca=g;const N=M(h,"numberingSystem","string",void 0,void 0);if(void 0!==N&&!ve.test(N))throw new RangeError("Malformed numbering system");d.nu=N;const I=M(h,"hour12","boolean",void 0,void 0);let y=M(h,"hourCycle","string",["h11","h12","h23","h24"],void 0);void 0!==I&&(y=null),d.hc=y;const E=(0,n.Bg)(i,m,d,u,o,s);_.locale=E.locale,g=E.ca,_.calendar=g,_.hourCycle=E.hc,_.numberingSystem=E.nu;const{dataLocale:T}=E;_.dataLocale=T;let{timeZone:b}=h;if(void 0!==b){if(b=String(b),!O(b,{zoneNamesFromData:Object.keys(l),uppercaseLinks:f}))throw new RangeError("Invalid timeZoneName");b=P(b,{zoneNames:Object.keys(l),uppercaseLinks:f})}else b=c();_.timeZone=b,d=Object.create(null),d.weekday=M(h,"weekday","string",["narrow","short","long"],void 0),d.era=M(h,"era","string",["narrow","short","long"],void 0),d.year=M(h,"year","string",["2-digit","numeric"],void 0),d.month=M(h,"month","string",["2-digit","numeric","narrow","short","long"],void 0),d.day=M(h,"day","string",["2-digit","numeric"],void 0),d.dayPeriod=M(h,"dayPeriod","string",["narrow","short","long"],void 0),d.hour=M(h,"hour","string",["2-digit","numeric"],void 0),d.minute=M(h,"minute","string",["2-digit","numeric"],void 0),d.second=M(h,"second","string",["2-digit","numeric"],void 0),d.timeZoneName=M(h,"timeZoneName","string",["long","short","longOffset","shortOffset","longGeneric","shortGeneric"],void 0),d.fractionalSecondDigits=fe(h,"fractionalSecondDigits",1,3,void 0);const S=o[T];p(!!S,`Missing locale data for ${T}`);const w=S.formats[g];if(!w)throw new RangeError(`Calendar "${g}" is not supported. Try setting "calendar" to 1 of the following: ${Object.keys(S.formats).join(", ")}`);const D=M(h,"formatMatcher","string",["basic","best fit"],"best fit"),F=M(h,"dateStyle","string",["full","long","medium","short"],void 0);_.dateStyle=F;const C=M(h,"timeStyle","string",["full","long","medium","short"],void 0);let k,x,j;if(_.timeStyle=C,void 0===F&&void 0===C)if("basic"===D)k=function(e,t){let a=-1/0,r=t[0];p(Array.isArray(t),"formats should be a list of things");for(const n of t){let t=0;for(const a of ae){const r=e[a],i=n[a];if(void 0===r&&void 0!==i)t-=20;else if(void 0!==r&&void 0===i)t-=120;else if("timeZoneName"===a)"short"===r||"shortGeneric"===r?"shortOffset"===i?t-=1:"longOffset"===i?t-=4:"short"===r&&"long"===i||"shortGeneric"===r&&"longGeneric"===i?t-=3:r!==i&&(t-=120):"shortOffset"===r&&"longOffset"===i?t-=3:"long"===r||"longGeneric"===r?"longOffset"===i?t-=1:"shortOffset"===i?t-=9:"long"===r&&"short"===i||"longGeneric"===r&&"shortGeneric"===i?t-=8:r!==i&&(t-=120):"longOffset"===r&&"shortOffset"===i?t-=8:r!==i&&(t-=120);else if(r!==i){let e;e="fractionalSecondDigits"===a?[1,2,3]:["2-digit","numeric","narrow","short","long"];const n=e.indexOf(r),o=e.indexOf(i),s=Math.max(-2,Math.min(o-n,2));2===s?t-=6:1===s?t-=3:-1===s?t-=6:-2===s&&(t-=8)}}t>a&&(a=t,r=n)}return{...r}}(d,w);else{if(function(e){for(const t of["hour","minute","second"])if(void 0!==e[t])return!0;return!1}(d)){const e=Ee(_.hourCycle,S.hourCycle,I);d.hour12="h11"===e||"h12"===e}k=function(e,t){let a=-1/0,r=t[0];p(Array.isArray(t),"formats should be a list of things");for(const n of t){const t=Ie(e,n);t>a&&(a=t,r=n)}const n={...r},i={rawPattern:r.rawPattern};Ae(r.rawPattern,i);for(const t in n){const a=n[t],r=i[t],o=e[t];"minute"!==t&&"second"!==t&&o&&(Ne(r)&&!Ne(o)||a!==o&&(i[t]=o))}return i.pattern=n.pattern,i.pattern12=n.pattern12,i.skeleton=n.skeleton,i.rangePatterns=n.rangePatterns,i.rangePatterns12=n.rangePatterns12,i}(d,w)}else{for(const e of ae)if(void 0!==d[e])throw new TypeError(`Intl.DateTimeFormat can't set option ${e} when ${F?"dateStyle":"timeStyle"} is used`);k=function(e,t,a){let r,n;if(void 0!==t&&(p("full"===t||"long"===t||"medium"===t||"short"===t,"invalid timeStyle"),n=a.timeFormat[t]),void 0!==e&&(p("full"===e||"long"===e||"medium"===e||"short"===e,"invalid dateStyle"),r=a.dateFormat[e]),void 0!==e&&void 0!==t){const t={};for(const e in r)"pattern"!==e&&"rangePatterns"!==e&&"rangePatterns12"!==e&&(t[e]=r[e]);for(const e in n)"pattern"!==e&&"pattern12"!==e&&"rangePatterns"!==e&&"rangePatterns12"!==e&&(t[e]=n[e]);const i=a.dateTimeFormat[e];return t.pattern=i.replace("{0}",n.pattern).replace("{1}",r.pattern),"pattern12"in n&&(t.pattern12=i.replace("{0}",n.pattern12).replace("{1}",r.pattern)),n.rangePatterns&&(t.rangePatterns=n.rangePatterns),n.rangePatterns12&&(t.rangePatterns12=n.rangePatterns12),t}return void 0!==t?n:(p(void 0!==e,"dateStyle should not be undefined"),r)}(F,C,S)}_.format=k;for(const e in d){const t=k[e];void 0!==t&&(_[e]=t)}if(void 0!==d.dayPeriod&&(_.dayPeriod=d.dayPeriod),void 0!==d.fractionalSecondDigits&&(_.fractionalSecondDigits=d.fractionalSecondDigits),void 0!==_.hour){const e=Ee(_.hourCycle,S.hourCycle,I);_.hourCycle=e,"h11"===e||"h12"===e?(x=k.pattern12,j=k.rangePatterns12):(x=k.pattern,j=k.rangePatterns)}else _.hourCycle=void 0,x=k.pattern,j=k.rangePatterns;return x=function(e,t){return void 0!==t.fractionalSecondDigits&&e.includes("{second}")&&!e.includes("{fractionalSecondDigits}")&&(e=e.replace("{second}","{second}.{fractionalSecondDigits}")),void 0!==t.dayPeriod&&(e=e.replace("{ampm}","{dayPeriod}")),e}(x,d),_.pattern=x,_.rangePatterns=j,e}var be={"Africa/Accra":"Africa/Abidjan","Africa/Addis_Ababa":"Africa/Nairobi","Africa/Asmara":"Africa/Nairobi","Africa/Asmera":"Africa/Nairobi","Africa/Bamako":"Africa/Abidjan","Africa/Bangui":"Africa/Lagos","Africa/Banjul":"Africa/Abidjan","Africa/Blantyre":"Africa/Maputo","Africa/Brazzaville":"Africa/Lagos","Africa/Bujumbura":"Africa/Maputo","Africa/Conakry":"Africa/Abidjan","Africa/Dakar":"Africa/Abidjan","Africa/Dar_es_Salaam":"Africa/Nairobi","Africa/Djibouti":"Africa/Nairobi","Africa/Douala":"Africa/Lagos","Africa/Freetown":"Africa/Abidjan","Africa/Gaborone":"Africa/Maputo","Africa/Harare":"Africa/Maputo","Africa/Kampala":"Africa/Nairobi","Africa/Kigali":"Africa/Maputo","Africa/Kinshasa":"Africa/Lagos","Africa/Libreville":"Africa/Lagos","Africa/Lome":"Africa/Abidjan","Africa/Luanda":"Africa/Lagos","Africa/Lubumbashi":"Africa/Maputo","Africa/Lusaka":"Africa/Maputo","Africa/Malabo":"Africa/Lagos","Africa/Maseru":"Africa/Johannesburg","Africa/Mbabane":"Africa/Johannesburg","Africa/Mogadishu":"Africa/Nairobi","Africa/Niamey":"Africa/Lagos","Africa/Nouakchott":"Africa/Abidjan","Africa/Ouagadougou":"Africa/Abidjan","Africa/Porto-Novo":"Africa/Lagos","Africa/Timbuktu":"Africa/Abidjan","America/Anguilla":"America/Puerto_Rico","America/Antigua":"America/Puerto_Rico","America/Argentina/ComodRivadavia":"America/Argentina/Catamarca","America/Aruba":"America/Puerto_Rico","America/Atikokan":"America/Panama","America/Atka":"America/Adak","America/Blanc-Sablon":"America/Puerto_Rico","America/Buenos_Aires":"America/Argentina/Buenos_Aires","America/Catamarca":"America/Argentina/Catamarca","America/Cayman":"America/Panama","America/Coral_Harbour":"America/Panama","America/Cordoba":"America/Argentina/Cordoba","America/Creston":"America/Phoenix","America/Curacao":"America/Puerto_Rico","America/Dominica":"America/Puerto_Rico","America/Ensenada":"America/Tijuana","America/Fort_Wayne":"America/Indiana/Indianapolis","America/Godthab":"America/Nuuk","America/Grenada":"America/Puerto_Rico","America/Guadeloupe":"America/Puerto_Rico","America/Indianapolis":"America/Indiana/Indianapolis","America/Jujuy":"America/Argentina/Jujuy","America/Knox_IN":"America/Indiana/Knox","America/Kralendijk":"America/Puerto_Rico","America/Louisville":"America/Kentucky/Louisville","America/Lower_Princes":"America/Puerto_Rico","America/Marigot":"America/Puerto_Rico","America/Mendoza":"America/Argentina/Mendoza","America/Montreal":"America/Toronto","America/Montserrat":"America/Puerto_Rico","America/Nassau":"America/Toronto","America/Nipigon":"America/Toronto","America/Pangnirtung":"America/Iqaluit","America/Port_of_Spain":"America/Puerto_Rico","America/Porto_Acre":"America/Rio_Branco","America/Rainy_River":"America/Winnipeg","America/Rosario":"America/Argentina/Cordoba","America/Santa_Isabel":"America/Tijuana","America/Shiprock":"America/Denver","America/St_Barthelemy":"America/Puerto_Rico","America/St_Kitts":"America/Puerto_Rico","America/St_Lucia":"America/Puerto_Rico","America/St_Thomas":"America/Puerto_Rico","America/St_Vincent":"America/Puerto_Rico","America/Thunder_Bay":"America/Toronto","America/Tortola":"America/Puerto_Rico","America/Virgin":"America/Puerto_Rico","America/Yellowknife":"America/Edmonton","Antarctica/DumontDUrville":"Pacific/Port_Moresby","Antarctica/McMurdo":"Pacific/Auckland","Antarctica/South_Pole":"Pacific/Auckland","Antarctica/Syowa":"Asia/Riyadh","Arctic/Longyearbyen":"Europe/Berlin","Asia/Aden":"Asia/Riyadh","Asia/Ashkhabad":"Asia/Ashgabat","Asia/Bahrain":"Asia/Qatar","Asia/Brunei":"Asia/Kuching","Asia/Calcutta":"Asia/Kolkata","Asia/Choibalsan":"Asia/Ulaanbaatar","Asia/Chongqing":"Asia/Shanghai","Asia/Chungking":"Asia/Shanghai","Asia/Dacca":"Asia/Dhaka","Asia/Harbin":"Asia/Shanghai","Asia/Istanbul":"Europe/Istanbul","Asia/Kashgar":"Asia/Urumqi","Asia/Katmandu":"Asia/Kathmandu","Asia/Kuala_Lumpur":"Asia/Singapore","Asia/Kuwait":"Asia/Riyadh","Asia/Macao":"Asia/Macau","Asia/Muscat":"Asia/Dubai","Asia/Phnom_Penh":"Asia/Bangkok","Asia/Rangoon":"Asia/Yangon","Asia/Saigon":"Asia/Ho_Chi_Minh","Asia/Tel_Aviv":"Asia/Jerusalem","Asia/Thimbu":"Asia/Thimphu","Asia/Ujung_Pandang":"Asia/Makassar","Asia/Ulan_Bator":"Asia/Ulaanbaatar","Asia/Vientiane":"Asia/Bangkok","Atlantic/Faeroe":"Atlantic/Faroe","Atlantic/Jan_Mayen":"Europe/Berlin","Atlantic/Reykjavik":"Africa/Abidjan","Atlantic/St_Helena":"Africa/Abidjan","Australia/ACT":"Australia/Sydney","Australia/Canberra":"Australia/Sydney","Australia/Currie":"Australia/Hobart","Australia/LHI":"Australia/Lord_Howe","Australia/NSW":"Australia/Sydney","Australia/North":"Australia/Darwin","Australia/Queensland":"Australia/Brisbane","Australia/South":"Australia/Adelaide","Australia/Tasmania":"Australia/Hobart","Australia/Victoria":"Australia/Melbourne","Australia/West":"Australia/Perth","Australia/Yancowinna":"Australia/Broken_Hill","Brazil/Acre":"America/Rio_Branco","Brazil/DeNoronha":"America/Noronha","Brazil/East":"America/Sao_Paulo","Brazil/West":"America/Manaus",CET:"Europe/Brussels",CST6CDT:"America/Chicago","Canada/Atlantic":"America/Halifax","Canada/Central":"America/Winnipeg","Canada/Eastern":"America/Toronto","Canada/Mountain":"America/Edmonton","Canada/Newfoundland":"America/St_Johns","Canada/Pacific":"America/Vancouver","Canada/Saskatchewan":"America/Regina","Canada/Yukon":"America/Whitehorse","Chile/Continental":"America/Santiago","Chile/EasterIsland":"Pacific/Easter",Cuba:"America/Havana",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",Egypt:"Africa/Cairo",Eire:"Europe/Dublin","Etc/GMT+0":"Etc/GMT","Etc/GMT-0":"Etc/GMT","Etc/GMT0":"Etc/GMT","Etc/Greenwich":"Etc/GMT","Etc/UCT":"Etc/UTC","Etc/Universal":"Etc/UTC","Etc/Zulu":"Etc/UTC","Europe/Amsterdam":"Europe/Brussels","Europe/Belfast":"Europe/London","Europe/Bratislava":"Europe/Prague","Europe/Busingen":"Europe/Zurich","Europe/Copenhagen":"Europe/Berlin","Europe/Guernsey":"Europe/London","Europe/Isle_of_Man":"Europe/London","Europe/Jersey":"Europe/London","Europe/Kiev":"Europe/Kyiv","Europe/Ljubljana":"Europe/Belgrade","Europe/Luxembourg":"Europe/Brussels","Europe/Mariehamn":"Europe/Helsinki","Europe/Monaco":"Europe/Paris","Europe/Nicosia":"Asia/Nicosia","Europe/Oslo":"Europe/Berlin","Europe/Podgorica":"Europe/Belgrade","Europe/San_Marino":"Europe/Rome","Europe/Sarajevo":"Europe/Belgrade","Europe/Skopje":"Europe/Belgrade","Europe/Stockholm":"Europe/Berlin","Europe/Tiraspol":"Europe/Chisinau","Europe/Uzhgorod":"Europe/Kyiv","Europe/Vaduz":"Europe/Zurich","Europe/Vatican":"Europe/Rome","Europe/Zagreb":"Europe/Belgrade","Europe/Zaporozhye":"Europe/Kyiv",GB:"Europe/London","GB-Eire":"Europe/London","GMT+0":"Etc/GMT","GMT-0":"Etc/GMT",GMT0:"Etc/GMT",Greenwich:"Etc/GMT",HST:"Pacific/Honolulu",Hongkong:"Asia/Hong_Kong",Iceland:"Africa/Abidjan","Indian/Antananarivo":"Africa/Nairobi","Indian/Christmas":"Asia/Bangkok","Indian/Cocos":"Asia/Yangon","Indian/Comoro":"Africa/Nairobi","Indian/Kerguelen":"Indian/Maldives","Indian/Mahe":"Asia/Dubai","Indian/Mayotte":"Africa/Nairobi","Indian/Reunion":"Asia/Dubai",Iran:"Asia/Tehran",Israel:"Asia/Jerusalem",Jamaica:"America/Jamaica",Japan:"Asia/Tokyo",Kwajalein:"Pacific/Kwajalein",Libya:"Africa/Tripoli",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver","Mexico/BajaNorte":"America/Tijuana","Mexico/BajaSur":"America/Mazatlan","Mexico/General":"America/Mexico_City",NZ:"Pacific/Auckland","NZ-CHAT":"Pacific/Chatham",Navajo:"America/Denver",PRC:"Asia/Shanghai",PST8PDT:"America/Los_Angeles","Pacific/Chuuk":"Pacific/Port_Moresby","Pacific/Enderbury":"Pacific/Kanton","Pacific/Funafuti":"Pacific/Tarawa","Pacific/Johnston":"Pacific/Honolulu","Pacific/Majuro":"Pacific/Tarawa","Pacific/Midway":"Pacific/Pago_Pago","Pacific/Pohnpei":"Pacific/Guadalcanal","Pacific/Ponape":"Pacific/Guadalcanal","Pacific/Saipan":"Pacific/Guam","Pacific/Samoa":"Pacific/Pago_Pago","Pacific/Truk":"Pacific/Port_Moresby","Pacific/Wake":"Pacific/Tarawa","Pacific/Wallis":"Pacific/Tarawa","Pacific/Yap":"Pacific/Port_Moresby",Poland:"Europe/Warsaw",Portugal:"Europe/Lisbon",ROC:"Asia/Taipei",ROK:"Asia/Seoul",Singapore:"Asia/Singapore",Turkey:"Europe/Istanbul",UCT:"Etc/UTC","US/Alaska":"America/Anchorage","US/Aleutian":"America/Adak","US/Arizona":"America/Phoenix","US/Central":"America/Chicago","US/East-Indiana":"America/Indiana/Indianapolis","US/Eastern":"America/New_York","US/Hawaii":"Pacific/Honolulu","US/Indiana-Starke":"America/Indiana/Knox","US/Michigan":"America/Detroit","US/Mountain":"America/Denver","US/Pacific":"America/Los_Angeles","US/Samoa":"Pacific/Pago_Pago",UTC:"Etc/UTC",Universal:"Etc/UTC","W-SU":"Europe/Moscow",WET:"Europe/Lisbon",Zulu:"Etc/UTC"};const Se=new WeakMap;function Pe(e){let t=Se.get(e);return t||(t=Object.create(null),Se.set(e,t)),t}const we=Object.keys(be).reduce((e,t)=>(e[t.toUpperCase()]=be[t],e),{}),De=["locale","calendar","numberingSystem","dateStyle","timeStyle","timeZone","hourCycle","weekday","era","year","month","day","dayPeriod","hour","minute","second","fractionalSecondDigits","timeZoneName"],Oe={enumerable:!1,configurable:!0,get(){if("object"!=typeof this||!g(Fe,this))throw TypeError("Intl.DateTimeFormat format property accessor called on incompatible receiver");const e=Pe(this),t=this;let a=e.boundFormat;if(void 0===a){a=e=>{let a;return a=void 0===e?new r.Ay(Date.now()):E(e),function(e,t,a){const r=oe(e,t,a);let n="";for(const e of r)n+=e.value;return n}(t,a,{getInternalSlots:Pe,localeData:Fe.localeData,tzData:Fe.tzData,getDefaultTimeZone:Fe.getDefaultTimeZone})};try{Object.defineProperty(a,"name",{configurable:!0,enumerable:!1,writable:!1,value:""})}catch{}e.boundFormat=a}return a}};try{Object.defineProperty(Oe.get,"name",{configurable:!0,enumerable:!1,writable:!1,value:"get format"})}catch{}const Fe=function(e,t){if(!this||!g(Fe,this))return new Fe(e,t);Te(this,e,t,{tzData:Fe.tzData,uppercaseLinks:we,availableLocales:Fe.availableLocales,relevantExtensionKeys:Fe.relevantExtensionKeys,getDefaultLocale:Fe.getDefaultLocale,getDefaultTimeZone:Fe.getDefaultTimeZone,getInternalSlots:Pe,localeData:Fe.localeData});const a=Pe(this).dataLocale;p(void 0!==Fe.localeData[a],`Cannot load locale-dependent data for ${a}.`)};d(Fe,"supportedLocalesOf",{value:function(e,t){return function(e,t,a){let r="best fit";return void 0!==a&&(r=M(a=F(a),"localeMatcher","string",["lookup","best fit"],"best fit")),(0,n.s8)(Array.from(e),t)}(Fe.availableLocales,v(e),t)}}),d(Fe.prototype,"resolvedOptions",{value:function(){if("object"!=typeof this||!g(Fe,this))throw TypeError("Method Intl.DateTimeFormat.prototype.resolvedOptions called on incompatible receiver");const e=Pe(this),t={};for(const a of De){let r=e[a];if("hourCycle"===a){const e="h11"===r||"h12"===r||"h23"!==r&&"h24"!==r&&void 0;void 0!==e&&(t.hour12=e)}ae.indexOf(a)>-1&&(void 0===e.dateStyle&&void 0===e.timeStyle||(r=void 0)),void 0!==r&&(t[a]=r)}return t}}),d(Fe.prototype,"formatToParts",{value:function(e){let t;return t=void 0===e?new r.Ay(Date.now()):E(e),le(this,t,{getInternalSlots:Pe,localeData:Fe.localeData,tzData:Fe.tzData,getDefaultTimeZone:Fe.getDefaultTimeZone})}}),d(Fe.prototype,"formatRangeToParts",{value:function(e,t){return p("object"==typeof this,"receiver is not an object",TypeError),p(void 0!==e&&void 0!==t,"startDate/endDate cannot be undefined",TypeError),function(e,t,a,r){const n=ue(e,t,a,r),i=[];for(const e of n)i.push({type:e.type,value:e.value,source:e.source});return i}(this,E(e),E(t),{getInternalSlots:Pe,localeData:Fe.localeData,tzData:Fe.tzData,getDefaultTimeZone:Fe.getDefaultTimeZone})}}),d(Fe.prototype,"formatRange",{value:function(e,t){return p("object"==typeof this,"receiver is not an object",TypeError),p(void 0!==e&&void 0!==t,"startDate/endDate cannot be undefined",TypeError),function(e,t,a,r){const n=ue(e,t,a,r);let i="";for(const e of n)i+=e.value;return i}(this,E(e),E(t),{getInternalSlots:Pe,localeData:Fe.localeData,tzData:Fe.tzData,getDefaultTimeZone:Fe.getDefaultTimeZone})}});function Me(e,t){const a=e.indexOf(", ");if(-1===a)return;const r=e.slice(0,a),n=e.slice(a+2),i=n.replace(/[^a-zA-Z]/g,"").replace(/[abB]/g,"").replace(/(.)\1+/g,"$1");return i!==n?t[`${r}, ${i}`]:void 0}Fe.__setDefaultTimeZone=e=>{if(void 0!==e){if(!O(e=String(e),{zoneNamesFromData:Object.keys(Fe.tzData),uppercaseLinks:we}))throw new RangeError("Invalid timeZoneName");e=P(e,{zoneNames:Object.keys(Fe.tzData),uppercaseLinks:we})}else e="UTC";Fe.__defaultTimeZone=e},Fe.relevantExtensionKeys=["nu","ca","hc"],Fe.__defaultTimeZone="UTC",Fe.getDefaultTimeZone=()=>Fe.__defaultTimeZone,Fe.__addLocaleData=function(...e){for(const{data:t,locale:a}of e){const{dateFormat:e,timeFormat:r,dateTimeFormat:n,formats:i,intervalFormats:o,...s}=t,c={...s,dateFormat:{full:ge(e.full),long:ge(e.long),medium:ge(e.medium),short:ge(e.short)},timeFormat:{full:ge(r.full),long:ge(r.long),medium:ge(r.medium),short:ge(r.short)},dateTimeFormat:{full:ge(n.full).pattern,long:ge(n.long).pattern,medium:ge(n.medium).pattern,short:ge(n.short).pattern},intervalFormatFallback:o.intervalFormatFallback,formats:{}};for(const e in i)c.formats[e]=Object.keys(i[e]).map(t=>ge(t,i[e][t],o[t]||Me(t,o),o.intervalFormatFallback));const u=new Intl.Locale(a).minimize().toString();Fe.localeData[a]=Fe.localeData[u]=c,Fe.availableLocales.add(a),Fe.availableLocales.add(u),Fe.__defaultLocale||(Fe.__defaultLocale=u)}},Object.defineProperty(Fe.prototype,"format",Oe),Fe.__defaultLocale="",Fe.localeData={},Fe.availableLocales=new Set,Fe.getDefaultLocale=()=>Fe.__defaultLocale,Fe.polyfilled=!0,Fe.tzData={},Fe.__addTZData=function(e){Fe.tzData=function(e){const t=e.abbrvs.split("|"),a=e.offsets.split("|").map(e=>parseInt(e,36)),r=e.zones,n={};for(const e of r){const[r,...i]=e.split("|");n[r]=i.map(e=>e.split(",")).map(([e,r,n,i])=>[""===e?-1/0:parseInt(e,36),t[+r],a[+n],"1"===i])}return n}(e)};try{"undefined"!=typeof Symbol&&Object.defineProperty(Fe.prototype,Symbol.toStringTag,{value:"Intl.DateTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype.constructor,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch{}d(("undefined"==typeof Intl&&Object.defineProperty(globalThis,"Intl",{configurable:!0,enumerable:!1,writable:!0,value:{}}),Intl),"DateTimeFormat",{value:Fe}),d(Date.prototype,"toLocaleString",{value:function(e,t={dateStyle:"short",timeStyle:"medium"}){try{return function(e,t,a){return new Fe(t,a).format(e)}(this,e,t)}catch{return"Invalid Date"}}}),d(Date.prototype,"toLocaleDateString",{value:function(e,t={dateStyle:"short"}){try{return function(e,t,a){return new Fe(t,ye(a,"date","date")).format(e)}(this,e,t)}catch{return"Invalid Date"}}}),d(Date.prototype,"toLocaleTimeString",{value:function(e,t={timeStyle:"medium"}){try{return function(e,t,a){return new Fe(t,ye(a,"time","time")).format(e)}(this,e,t)}catch{return"Invalid Date"}}});const Ce=globalThis.__FORMATJS_DATETIMEFORMAT_DATA__;if(Ce){for(const e of Ce)Fe.__addLocaleData(e);delete globalThis.__FORMATJS_DATETIMEFORMAT_DATA__}}};