@everymatrix/player-account-betting-history 1.87.26 → 1.87.27
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.
- package/components/PlayerAccountBettingHistory-BkAZPuNT.js +4589 -0
- package/components/PlayerAccountBettingHistory-DjDTO2Jf.cjs +18 -0
- package/components/PlayerAccountBettingHistory-kS0afGgl.js +4628 -0
- package/es2015/player-account-betting-history.cjs +1 -1
- package/es2015/player-account-betting-history.js +1 -1
- package/esnext/player-account-betting-history.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBettingHistory-D9hZSJ6A.js +0 -4561
- package/components/PlayerAccountBettingHistory-DT6Ae5JK.js +0 -4599
- package/components/PlayerAccountBettingHistory-DZlQyORX.cjs +0 -18
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";var br=Object.defineProperty,gr=Object.defineProperties;var yr=Object.getOwnPropertyDescriptors;var ae=Object.getOwnPropertySymbols;var vr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable;var Ot=(t,e,r)=>e in t?br(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ue=(t,e)=>{for(var r in e||(e={}))vr.call(e,r)&&Ot(t,r,e[r]);if(ae)for(var r of ae(e))_r.call(e,r)&&Ot(t,r,e[r]);return t},he=(t,e)=>gr(t,yr(e));var I=(t,e,r)=>(Ot(t,typeof e!="symbol"?e+"":e,r),r);var le=(t,e,r)=>new Promise((n,i)=>{var o=h=>{try{a(r.next(h))}catch(u){i(u)}},s=h=>{try{a(r.throw(h))}catch(u){i(u)}},a=h=>h.done?n(h.value):Promise.resolve(h.value).then(o,s);a((r=r.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function P(){}function Ce(t){return t()}function ce(){return Object.create(null)}function et(t){t.forEach(Ce)}function ne(t){return typeof t=="function"}function $e(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Er(t){return Object.keys(t).length===0}function Re(t,...e){if(t==null){for(const n of e)n(void 0);return P}const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function xr(t,e,r){t.$$.on_destroy.push(Re(e,r))}function _(t,e){t.appendChild(e)}function Br(t,e,r){const n=Hr(t);if(!n.getElementById(e)){const i=L("style");i.id=e,i.textContent=r,Sr(n,i)}}function Hr(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Sr(t,e){return _(t.head||t,e),e.sheet}function ie(t,e,r){t.insertBefore(e,r||null)}function Bt(t){t.parentNode&&t.parentNode.removeChild(t)}function L(t){return document.createElement(t)}function X(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Q(t){return document.createTextNode(t)}function k(){return Q(" ")}function mt(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function H(t,e,r){r==null?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function U(t,e,r){const n=e.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&r===""?!0:r:e in t?t[e]=typeof t[e]=="boolean"&&r===""?!0:r:H(t,e,r)}function Tr(t){return Array.from(t.childNodes)}function dt(t,e){e=""+e,t.data!==e&&(t.data=e)}function wr(t,e,r){t.classList.toggle(e,!!r)}function Ar(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}let at;function st(t){at=t}function Pr(){if(!at)throw new Error("Function called outside component initialization");return at}function Or(t){Pr().$$.on_mount.push(t)}const Z=[],Dt=[];let J=[];const fe=[],Ir=Promise.resolve();let Gt=!1;function Mr(){Gt||(Gt=!0,Ir.then(D))}function Ft(t){J.push(t)}const It=new Set;let W=0;function D(){if(W!==0)return;const t=at;do{try{for(;W<Z.length;){const e=Z[W];W++,st(e),Nr(e.$$)}}catch(e){throw Z.length=0,W=0,e}for(st(null),Z.length=0,W=0;Dt.length;)Dt.pop()();for(let e=0;e<J.length;e+=1){const r=J[e];It.has(r)||(It.add(r),r())}J.length=0}while(Z.length);for(;fe.length;)fe.pop()();Gt=!1,It.clear(),st(t)}function Nr(t){if(t.fragment!==null){t.update(),et(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Ft)}}function Lr(t){const e=[],r=[];J.forEach(n=>t.indexOf(n)===-1?e.push(n):r.push(n)),r.forEach(n=>n()),J=e}const Cr=new Set;function $r(t,e){t&&t.i&&(Cr.delete(t),t.i(e))}function Rr(t,e,r){const{fragment:n,after_update:i}=t.$$;n&&n.m(e,r),Ft(()=>{const o=t.$$.on_mount.map(Ce).filter(ne);t.$$.on_destroy?t.$$.on_destroy.push(...o):et(o),t.$$.on_mount=[]}),i.forEach(Ft)}function Ur(t,e){const r=t.$$;r.fragment!==null&&(Lr(r.after_update),et(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function Dr(t,e){t.$$.dirty[0]===-1&&(Z.push(t),Mr(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Gr(t,e,r,n,i,o,s=null,a=[-1]){const h=at;st(t);const u=t.$$={fragment:null,ctx:[],props:o,update:P,not_equal:i,bound:ce(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(h?h.$$.context:[])),callbacks:ce(),dirty:a,skip_bound:!1,root:e.target||h.$$.root};s&&s(u.root);let l=!1;if(u.ctx=r?r(t,e.props||{},(c,f,...p)=>{const m=p.length?p[0]:f;return u.ctx&&i(u.ctx[c],u.ctx[c]=m)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](m),l&&Dr(t,c)),f}):[],u.update(),l=!0,et(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const c=Tr(e.target);u.fragment&&u.fragment.l(c),c.forEach(Bt)}else u.fragment&&u.fragment.c();e.intro&&$r(t.$$.fragment),Rr(t,e.target,e.anchor),D()}st(h)}let Ue;typeof HTMLElement=="function"&&(Ue=class extends HTMLElement{constructor(e,r,n){super();I(this,"$$ctor");I(this,"$$s");I(this,"$$c");I(this,"$$cn",!1);I(this,"$$d",{});I(this,"$$r",!1);I(this,"$$p_d",{});I(this,"$$l",{});I(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const i=this.$$c.$on(e,r);this.$$l_u.set(r,i)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return le(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(o){return()=>{let s;return{c:function(){s=L("slot"),o!=="default"&&H(s,"name",o)},m:function(u,l){ie(u,s,l)},d:function(u){u&&Bt(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ar(this);for(const o of this.$$s)o in n&&(r[o]=[e(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=bt(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:he(ue({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=bt(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(e,r,n){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=bt(e,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function bt(t,e,r,n){var o;const i=(o=r[t])==null?void 0:o.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Fr(t,e,r,n,i,o){let s=class extends Ue{constructor(){super(t,r,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Object.keys(e).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(h){var u;h=bt(a,h,e),this.$$d[a]=h,(u=this.$$c)==null||u.$set({[a]:h})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var h;return(h=this.$$c)==null?void 0:h[a]}})}),t.element=s,s}class jr{constructor(){I(this,"$$");I(this,"$$set")}$destroy(){Ur(this,1),this.$destroy=P}$on(e,r){if(!ne(r))return P;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!Er(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const kr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(kr);/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */var jt=function(t,e){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},jt(t,e)};function lt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");jt(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function kt(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vt(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function Xt(t,e,r){if(arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||e)}function G(t){return typeof t=="function"}function De(t){var e=function(n){Error.call(n),n.stack=new Error().stack},r=t(e);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Mt=De(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
15
|
-
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
16
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function Wt(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Ht=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=kt(s),h=a.next();!h.done;h=a.next()){var u=h.value;u.remove(this)}}catch(d){e={error:d}}finally{try{h&&!h.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}else s.remove(this);var l=this.initialTeardown;if(G(l))try{l()}catch(d){o=d instanceof Mt?d.errors:[d]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var f=kt(c),p=f.next();!p.done;p=f.next()){var m=p.value;try{pe(m)}catch(d){o=o!=null?o:[],d instanceof Mt?o=Xt(Xt([],Vt(o)),Vt(d.errors)):o.push(d)}}}catch(d){n={error:d}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new Mt(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)pe(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&Wt(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&Wt(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Ge=Ht.EMPTY;function Fe(t){return t instanceof Ht||t&&"closed"in t&&G(t.remove)&&G(t.add)&&G(t.unsubscribe)}function pe(t){G(t)?t():t.unsubscribe()}var Vr={Promise:void 0},Xr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Xt([t,e],Vt(r)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function Wr(t){Xr.setTimeout(function(){throw t})}function me(){}function gt(t){t()}var je=function(t){lt(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Fe(r)&&r.add(n)):n.destination=Qr,n}return e.create=function(r,n,i){return new zt(r,n,i)},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Ht),zr=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){ft(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){ft(n)}else ft(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){ft(r)}},t}(),zt=function(t){lt(e,t);function e(r,n,i){var o=t.call(this)||this,s;return G(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,o.destination=new zr(s),o}return e}(je);function ft(t){Wr(t)}function Zr(t){throw t}var Qr={closed:!0,next:me,error:Zr,complete:me},Jr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function qr(t){return t}function Yr(t){return t.length===0?qr:t.length===1?t[0]:function(r){return t.reduce(function(n,i){return i(n)},r)}}var de=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var i=this,o=tn(e)?e:new zt(e,r,n);return gt(function(){var s=i,a=s.operator,h=s.source;o.add(a?a.call(o,h):h?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=be(r),new r(function(i,o){var s=new zt({next:function(a){try{e(a)}catch(h){o(h),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[Jr]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Yr(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=be(e),new e(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},t.create=function(e){return new t(e)},t}();function be(t){var e;return(e=t!=null?t:Vr.Promise)!==null&&e!==void 0?e:Promise}function Kr(t){return t&&G(t.next)&&G(t.error)&&G(t.complete)}function tn(t){return t&&t instanceof je||Kr(t)&&Fe(t)}var en=De(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ke=function(t){lt(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new ge(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new en},e.prototype.next=function(r){var n=this;gt(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=kt(n.currentObservers),a=s.next();!a.done;a=s.next()){var h=a.value;h.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},e.prototype.error=function(r){var n=this;gt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},e.prototype.complete=function(){var r=this;gt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?Ge:(this.currentObservers=null,a.push(r),new Ht(function(){n.currentObservers=null,Wt(a,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},e.prototype.asObservable=function(){var r=new de;return r.source=this,r},e.create=function(r,n){return new ge(r,n)},e}(de),ge=function(t){lt(e,t);function e(r,n){var i=t.call(this)||this;return i.destination=r,i.source=n,i}return e.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},e.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Ge},e}(ke),Ve={now:function(){return(Ve.delegate||Date).now()},delegate:void 0},rn=function(t){lt(e,t);function e(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ve);var o=t.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return e.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,h=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+h)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),h=0;h<a.length&&!r.closed;h+=o?1:2)r.next(a[h]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var h=i.now(),u=0,l=1;l<o.length&&o[l]<=h;l+=2)u=l;u&&o.splice(0,u+1)}},e}(ke);const ye=[],ve={},nn=(t,e=0)=>{if(ye.indexOf(t)==-1){const r=new rn(e);ve[t]=r,ye.push(t)}return ve[t]},z=[];function on(t,e){return{subscribe:St(t,e).subscribe}}function St(t,e=P){let r;const n=new Set;function i(a){if($e(t,a)&&(t=a,r)){const h=!z.length;for(const u of n)u[1](),z.push(u,t);if(h){for(let u=0;u<z.length;u+=2)z[u][0](z[u+1]);z.length=0}}}function o(a){i(a(t))}function s(a,h=P){const u=[a,h];return n.add(u),n.size===1&&(r=e(i,o)||P),a(t),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function rt(t,e,r){const n=!Array.isArray(t),i=n?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=e.length<2;return on(r,(s,a)=>{let h=!1;const u=[];let l=0,c=P;const f=()=>{if(l)return;c();const m=e(n?u[0]:u,s,a);o?s(m):c=ne(m)?m:P},p=i.map((m,d)=>Re(m,x=>{u[d]=x,l&=~(1<<d),h&&f()},()=>{l|=1<<d}));return h=!0,f(),function(){et(p),c(),h=!1}})}function sn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var an=function(e){return un(e)&&!hn(e)};function un(t){return!!t&&typeof t=="object"}function hn(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||fn(t)}var ln=typeof Symbol=="function"&&Symbol.for,cn=ln?Symbol.for("react.element"):60103;function fn(t){return t.$$typeof===cn}function pn(t){return Array.isArray(t)?[]:{}}function ut(t,e){return e.clone!==!1&&e.isMergeableObject(t)?q(pn(t),t,e):t}function mn(t,e,r){return t.concat(e).map(function(n){return ut(n,r)})}function dn(t,e){if(!e.customMerge)return q;var r=e.customMerge(t);return typeof r=="function"?r:q}function bn(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function _e(t){return Object.keys(t).concat(bn(t))}function Xe(t,e){try{return e in t}catch(r){return!1}}function gn(t,e){return Xe(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function yn(t,e,r){var n={};return r.isMergeableObject(t)&&_e(t).forEach(function(i){n[i]=ut(t[i],r)}),_e(e).forEach(function(i){gn(t,i)||(Xe(t,i)&&r.isMergeableObject(e[i])?n[i]=dn(i,r)(t[i],e[i],r):n[i]=ut(e[i],r))}),n}function q(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||mn,r.isMergeableObject=r.isMergeableObject||an,r.cloneUnlessOtherwiseSpecified=ut;var n=Array.isArray(e),i=Array.isArray(t),o=n===i;return o?n?r.arrayMerge(t,e,r):yn(t,e,r):ut(e,r)}q.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return q(n,i,r)},{})};var vn=q,_n=vn;const En=sn(_n);var Zt=function(t,e){return Zt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Zt(t,e)};function Tt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Zt(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var $=function(){return $=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},$.apply(this,arguments)};function xn(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function Nt(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}function Lt(t,e){var r=e&&e.cache?e.cache:Pn,n=e&&e.serializer?e.serializer:wn,i=e&&e.strategy?e.strategy:Sn;return i(t,{cache:r,serializer:n})}function Bn(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Hn(t,e,r,n){var i=Bn(n)?n:r(n),o=e.get(i);return typeof o=="undefined"&&(o=t.call(this,n),e.set(i,o)),o}function We(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=e.get(i);return typeof o=="undefined"&&(o=t.apply(this,n),e.set(i,o)),o}function ze(t,e,r,n,i){return r.bind(e,t,n,i)}function Sn(t,e){var r=t.length===1?Hn:We;return ze(t,this,r,e.cache.create(),e.serializer)}function Tn(t,e){return ze(t,this,We,e.cache.create(),e.serializer)}var wn=function(){return JSON.stringify(arguments)},An=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,r){this.cache[e]=r},t}(),Pn={create:function(){return new An}},Ct={variadic:Tn},_t=function(){return _t=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},_t.apply(this,arguments)};var g;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(g||(g={}));var E;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(E||(E={}));var Y;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Y||(Y={}));function Ee(t){return t.type===E.literal}function On(t){return t.type===E.argument}function Ze(t){return t.type===E.number}function Qe(t){return t.type===E.date}function Je(t){return t.type===E.time}function qe(t){return t.type===E.select}function Ye(t){return t.type===E.plural}function In(t){return t.type===E.pound}function Ke(t){return t.type===E.tag}function tr(t){return!!(t&&typeof t=="object"&&t.type===Y.number)}function Qt(t){return!!(t&&typeof t=="object"&&t.type===Y.dateTime)}var er=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Nn(t){var e={};return t.replace(Mn,function(r){var n=r.length;switch(r[0]){case"G":e.era=n===4?"long":n===5?"narrow":"short";break;case"y":e.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][n-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][n-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][n-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][n-1];break;case"s":e.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var B=function(){return B=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},B.apply(this,arguments)};var Ln=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Cn(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Ln).filter(function(f){return f.length>0}),r=[],n=0,i=e;n<i.length;n++){var o=i[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],h=s.slice(1),u=0,l=h;u<l.length;u++){var c=l[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:h})}return r}function $n(t){return t.replace(/^(.*?)-/,"")}var xe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,rr=/^(@+)?(\+|#+)?[rs]?$/g,Rn=/(\*)(0+)|(#+)(0+)|(0+)/g,nr=/^(0+)$/;function Be(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(rr,function(r,n,i){return typeof i!="string"?(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length):i==="+"?e.minimumSignificantDigits=n.length:n[0]==="#"?e.maximumSignificantDigits=n.length:(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),e}function ir(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Un(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(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)),!nr.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function He(t){var e={},r=ir(t);return r||e}function Dn(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=$n(i.options[0]);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=B(B(B({},e),{notation:"scientific"}),i.options.reduce(function(h,u){return B(B({},h),He(u))},{}));continue;case"engineering":e=B(B(B({},e),{notation:"engineering"}),i.options.reduce(function(h,u){return B(B({},h),He(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Rn,function(h,u,l,c,f,p){if(u)e.minimumIntegerDigits=l.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nr.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(xe.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(xe,function(h,u,l,c,f,p){return l==="*"?e.minimumFractionDigits=u.length:c&&c[0]==="#"?e.maximumFractionDigits=c.length:f&&p?(e.minimumFractionDigits=f.length,e.maximumFractionDigits=f.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?e=B(B({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=B(B({},e),Be(o)));continue}if(rr.test(i.stem)){e=B(B({},e),Be(i.stem));continue}var s=ir(i.stem);s&&(e=B(B({},e),s));var a=Un(i.stem);a&&(e=B(B({},e),a))}return e}var pt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Gn(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if(i==="j"){for(var o=0;n+1<t.length&&t.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),h="a",u=Fn(e);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=h;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Fn(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=t.language,n;r!=="root"&&(n=t.maximize().region);var i=pt[n||""]||pt[r||""]||pt["".concat(r,"-001")]||pt["001"];return i[0]}var $t,jn=new RegExp("^".concat(er.source,"*")),kn=new RegExp("".concat(er.source,"*$"));function y(t,e){return{start:t,end:e}}var Vn=!!String.prototype.startsWith&&"_a".startsWith("a",1),Xn=!!String.fromCodePoint,Wn=!!Object.fromEntries,zn=!!String.prototype.codePointAt,Zn=!!String.prototype.trimStart,Qn=!!String.prototype.trimEnd,Jn=!!Number.isSafeInteger,qn=Jn?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Jt=!0;try{var Yn=sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Jt=(($t=Yn.exec("a"))===null||$t===void 0?void 0:$t[0])==="a"}catch(t){Jt=!1}var Se=Vn?function(e,r,n){return e.startsWith(r,n)}:function(e,r,n){return e.slice(n,n+r.length)===r},qt=Xn?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=e.length,o=0,s;i>o;){if(s=e[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Te=Wn?Object.fromEntries:function(e){for(var r={},n=0,i=e;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},or=zn?function(e,r){return e.codePointAt(r)}:function(e,r){var n=e.length;if(!(r<0||r>=n)){var i=e.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Kn=Zn?function(e){return e.trimStart()}:function(e){return e.replace(jn,"")},ti=Qn?function(e){return e.trimEnd()}:function(e){return e.replace(kn,"")};function sr(t,e){return new RegExp(t,e)}var Yt;if(Jt){var we=sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Yt=function(e,r){var n;we.lastIndex=r;var i=we.exec(e);return(n=i[1])!==null&&n!==void 0?n:""}}else Yt=function(e,r){for(var n=[];;){var i=or(e,r);if(i===void 0||ar(i)||ii(i))break;n.push(i),r+=i>=65536?2:1}return qt.apply(void 0,n)};var ei=function(){function t(e,r){r===void 0&&(r={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(e,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&e>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:E.pound,location:y(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,y(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Kt(this.peek()||0)){var s=this.parseTag(e,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:E.literal,value:"<".concat(i,"/>"),location:y(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Kt(this.char()))return this.error(g.INVALID_TAG,y(a,this.clonePosition()));var h=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(g.UNMATCHED_CLOSING_TAG,y(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:E.tag,value:i,children:s,location:y(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,y(a,this.clonePosition())))}else return this.error(g.UNCLOSED_TAG,y(n,this.clonePosition()))}else return this.error(g.INVALID_TAG,y(n,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&ni(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(e,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var h=y(n,this.clonePosition());return{val:{type:E.literal,value:i,location:h},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ri(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return qt.apply(void 0,r)},t.prototype.tryParseUnquoted=function(e,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&e>0?null:(this.bump(),qt(n))},t.prototype.parseArgument=function(e,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(g.EMPTY_ARGUMENT,y(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(g.MALFORMED_ARGUMENT,y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:E.argument,value:i,location:y(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition())):this.parseArgumentOptions(e,r,i,n);default:return this.error(g.MALFORMED_ARGUMENT,y(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),n=Yt(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=y(e,o);return{value:n,location:s}},t.prototype.parseArgumentOptions=function(e,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(a){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,y(s,h));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=ti(c.val);if(f.length===0)return this.error(g.EXPECT_ARGUMENT_STYLE,y(this.clonePosition(),this.clonePosition()));var p=y(l,this.clonePosition());u={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var d=y(i,this.clonePosition());if(u&&Se(u==null?void 0:u.style,"::",0)){var x=Kn(u.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(x,u.styleLocation);return c.err?c:{val:{type:E.number,value:n,location:d,style:c.val},err:null}}else{if(x.length===0)return this.error(g.EXPECT_DATE_TIME_SKELETON,d);var M=x;this.locale&&(M=Gn(x,this.locale));var f={type:Y.dateTime,pattern:M,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Nn(M):{}},S=a==="date"?E.date:E.time;return{val:{type:S,value:n,location:d,style:f},err:null}}}return{val:{type:a==="number"?E.number:a==="date"?E.date:E.time,value:n,location:d,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,y(w,_t({},w)));this.bumpSpace();var N=this.parseIdentifierIfPossible(),O=0;if(a!=="select"&&N.value==="offset"){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),N=this.parseIdentifierIfPossible(),O=c.val}var C=this.tryParsePluralOrSelectOptions(e,a,r,N);if(C.err)return C;var m=this.tryParseArgumentClose(i);if(m.err)return m;var j=y(i,this.clonePosition());return a==="select"?{val:{type:E.select,value:n,options:Te(C.val),location:j},err:null}:{val:{type:E.plural,value:n,options:Te(C.val),offset:O,pluralType:a==="plural"?"cardinal":"ordinal",location:j},err:null}}default:return this.error(g.INVALID_ARGUMENT_TYPE,y(s,h))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,y(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,y(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,r){var n=[];try{n=Cn(e)}catch(i){return this.error(g.INVALID_NUMBER_SKELETON,r)}return{val:{type:Y.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Dn(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,r,n,i){for(var o,s=!1,a=[],h=new Set,u=i.value,l=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=y(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(h.has(u))return this.error(r==="select"?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,y(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,r,n);if(m.err)return m;var d=this.tryParseArgumentClose(p);if(d.err)return d;a.push([u,{value:m.val,location:y(p,this.clonePosition())}]),h.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,l=o.location}return a.length===0?this.error(r==="select"?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(g.MISSING_OTHER_CLAUSE,y(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(e,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var h=y(i,this.clonePosition());return o?(s*=n,qn(s)?{val:s,err:null}:this.error(r,h)):this.error(e,h)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=or(this.message,e);if(r===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Se(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var r=this.offset(),n=this.message.indexOf(e,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(r>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&ar(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(e>=65536?2:1));return n!=null?n:null},t}();function Kt(t){return t>=97&&t<=122||t>=65&&t<=90}function ri(t){return Kt(t)||t===47}function ni(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function ar(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function ii(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===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>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||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||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===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>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===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>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||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||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function te(t){t.forEach(function(e){if(delete e.location,qe(e)||Ye(e))for(var r in e.options)delete e.options[r].location,te(e.options[r].value);else Ze(e)&&tr(e.style)||(Qe(e)||Je(e))&&Qt(e.style)?delete e.style.location:Ke(e)&&te(e.children)})}function oi(t,e){e===void 0&&(e={}),e=_t({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new ei(t,e).parse();if(r.err){var n=SyntaxError(g[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return e!=null&&e.captureLocation||te(r.val),r.val}var K;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(K||(K={}));var wt=function(t){Tt(e,t);function e(r,n,i){var o=t.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Ae=function(t){Tt(e,t);function e(r,n,i,o){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),K.INVALID_VALUE,o)||this}return e}(wt),si=function(t){Tt(e,t);function e(r,n,i){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),K.INVALID_VALUE,i)||this}return e}(wt),ai=function(t){Tt(e,t);function e(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),K.MISSING_VALUE,n)||this}return e}(wt),A;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(A||(A={}));function ui(t){return t.length<2?t:t.reduce(function(e,r){var n=e[e.length-1];return!n||n.type!==A.literal||r.type!==A.literal?e.push(r):n.value+=r.value,e},[])}function hi(t){return typeof t=="function"}function yt(t,e,r,n,i,o,s){if(t.length===1&&Ee(t[0]))return[{type:A.literal,value:t[0].value}];for(var a=[],h=0,u=t;h<u.length;h++){var l=u[h];if(Ee(l)){a.push({type:A.literal,value:l.value});continue}if(In(l)){typeof o=="number"&&a.push({type:A.literal,value:r.getNumberFormat(e).format(o)});continue}var c=l.value;if(!(i&&c in i))throw new ai(c,s);var f=i[c];if(On(l)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?A.literal:A.object,value:f});continue}if(Qe(l)){var p=typeof l.style=="string"?n.date[l.style]:Qt(l.style)?l.style.parsedOptions:void 0;a.push({type:A.literal,value:r.getDateTimeFormat(e,p).format(f)});continue}if(Je(l)){var p=typeof l.style=="string"?n.time[l.style]:Qt(l.style)?l.style.parsedOptions:n.time.medium;a.push({type:A.literal,value:r.getDateTimeFormat(e,p).format(f)});continue}if(Ze(l)){var p=typeof l.style=="string"?n.number[l.style]:tr(l.style)?l.style.parsedOptions:void 0;p&&p.scale&&(f=f*(p.scale||1)),a.push({type:A.literal,value:r.getNumberFormat(e,p).format(f)});continue}if(Ke(l)){var m=l.children,d=l.value,x=i[d];if(!hi(x))throw new si(d,"function",s);var M=yt(m,e,r,n,i,o),S=x(M.map(function(O){return O.value}));Array.isArray(S)||(S=[S]),a.push.apply(a,S.map(function(O){return{type:typeof O=="string"?A.literal:A.object,value:O}}))}if(qe(l)){var w=l.options[f]||l.options.other;if(!w)throw new Ae(l.value,f,Object.keys(l.options),s);a.push.apply(a,yt(w.value,e,r,n,i));continue}if(Ye(l)){var w=l.options["=".concat(f)];if(!w){if(!Intl.PluralRules)throw new wt(`Intl.PluralRules is not available in this environment.
|
|
17
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
-
`,K.MISSING_INTL_API,s);var N=r.getPluralRules(e,{type:l.pluralType}).select(f-(l.offset||0));w=l.options[N]||l.options.other}if(!w)throw new Ae(l.value,f,Object.keys(l.options),s);a.push.apply(a,yt(w.value,e,r,n,i,f-(l.offset||0)));continue}}return ui(a)}function li(t,e){return e?$($($({},t||{}),e||{}),Object.keys(t).reduce(function(r,n){return r[n]=$($({},t[n]),e[n]||{}),r},{})):t}function ci(t,e){return e?Object.keys(t).reduce(function(r,n){return r[n]=li(t[n],e[n]),r},$({},t)):t}function Rt(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}function fi(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Lt(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Nt([void 0],r,!1)))},{cache:Rt(t.number),strategy:Ct.variadic}),getDateTimeFormat:Lt(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Nt([void 0],r,!1)))},{cache:Rt(t.dateTime),strategy:Ct.variadic}),getPluralRules:Lt(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Nt([void 0],r,!1)))},{cache:Rt(t.pluralRules),strategy:Ct.variadic})}}var pi=function(){function t(e,r,n,i){r===void 0&&(r=t.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var u=o.formatToParts(h);if(u.length===1)return u[0].value;var l=u.reduce(function(c,f){return!c.length||f.type!==A.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(h){return yt(o.ast,o.locales,o.formatters,o.formats,h,void 0,o.message)},this.resolvedOptions=function(){var h;return{locale:((h=o.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=xn(s,["formatters"]);this.ast=t.__parse(e,$($({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ci(t.formats,n),this.formatters=i&&i.formatters||fi(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(e);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=oi,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}();function mi(t,e){if(e==null)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const F={},di=(t,e,r)=>r&&(e in F||(F[e]={}),t in F[e]||(F[e][t]=r),r),ur=(t,e)=>{if(e==null)return;if(e in F&&t in F[e])return F[e][t];const r=At(e);for(let n=0;n<r.length;n++){const i=r[n],o=gi(i,t);if(o)return di(t,e,o)}};let oe;const ct=St({});function bi(t){return oe[t]||null}function hr(t){return t in oe}function gi(t,e){if(!hr(t))return null;const r=bi(t);return mi(r,e)}function yi(t){if(t==null)return;const e=At(t);for(let r=0;r<e.length;r++){const n=e[r];if(hr(n))return n}}function lr(t,...e){delete F[t],ct.update(r=>(r[t]=En.all([r[t]||{},...e]),r))}rt([ct],([t])=>Object.keys(t));ct.subscribe(t=>oe=t);const vt={};function vi(t,e){vt[t].delete(e),vt[t].size===0&&delete vt[t]}function cr(t){return vt[t]}function _i(t){return At(t).map(e=>{const r=cr(e);return[e,r?[...r]:[]]}).filter(([,e])=>e.length>0)}function ee(t){return t==null?!1:At(t).some(e=>{var r;return(r=cr(e))==null?void 0:r.size})}function Ei(t,e){return Promise.all(e.map(n=>(vi(t,n),n().then(i=>i.default||i)))).then(n=>lr(t,...n))}const ot={};function fr(t){if(!ee(t))return t in ot?ot[t]:Promise.resolve();const e=_i(t);return ot[t]=Promise.all(e.map(([r,n])=>Ei(r,n))).then(()=>{if(ee(t))return fr(t);delete ot[t]}),ot[t]}const xi={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"}}},Bi={fallbackLocale:null,loadingDelay:200,formats:xi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Hi=Bi;function tt(){return Hi}const Ut=St(!1);var Si=Object.defineProperty,Ti=Object.defineProperties,wi=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,Oe=(t,e,r)=>e in t?Si(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Oi=(t,e)=>{for(var r in e||(e={}))Ai.call(e,r)&&Oe(t,r,e[r]);if(Pe)for(var r of Pe(e))Pi.call(e,r)&&Oe(t,r,e[r]);return t},Ii=(t,e)=>Ti(t,wi(e));let re;const Et=St(null);function Ie(t){return t.split("-").map((e,r,n)=>n.slice(0,r+1).join("-")).reverse()}function At(t,e=tt().fallbackLocale){const r=Ie(t);return e?[...new Set([...r,...Ie(e)])]:r}function V(){return re!=null?re:void 0}Et.subscribe(t=>{re=t!=null?t:void 0,typeof window!="undefined"&&t!=null&&document.documentElement.setAttribute("lang",t)});const Mi=t=>{if(t&&yi(t)&&ee(t)){const{loadingDelay:e}=tt();let r;return typeof window!="undefined"&&V()!=null&&e?r=window.setTimeout(()=>Ut.set(!0),e):Ut.set(!0),fr(t).then(()=>{Et.set(t)}).finally(()=>{clearTimeout(r),Ut.set(!1)})}return Et.set(t)},nt=Ii(Oi({},Et),{set:Mi}),Pt=t=>{const e=Object.create(null);return n=>{const i=JSON.stringify(n);return i in e?e[i]:e[i]=t(n)}};var Ni=Object.defineProperty,xt=Object.getOwnPropertySymbols,pr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,Me=(t,e,r)=>e in t?Ni(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,se=(t,e)=>{for(var r in e||(e={}))pr.call(e,r)&&Me(t,r,e[r]);if(xt)for(var r of xt(e))mr.call(e,r)&&Me(t,r,e[r]);return t},it=(t,e)=>{var r={};for(var n in t)pr.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&xt)for(var n of xt(t))e.indexOf(n)<0&&mr.call(t,n)&&(r[n]=t[n]);return r};const ht=(t,e)=>{const{formats:r}=tt();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Li=Pt(t=>{var e=t,{locale:r,format:n}=e,i=it(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ht("number",n)),new Intl.NumberFormat(r,i)}),Ci=Pt(t=>{var e=t,{locale:r,format:n}=e,i=it(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ht("date",n):Object.keys(i).length===0&&(i=ht("date","short")),new Intl.DateTimeFormat(r,i)}),$i=Pt(t=>{var e=t,{locale:r,format:n}=e,i=it(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ht("time",n):Object.keys(i).length===0&&(i=ht("time","short")),new Intl.DateTimeFormat(r,i)}),Ri=(t={})=>{var e=t,{locale:r=V()}=e,n=it(e,["locale"]);return Li(se({locale:r},n))},Ui=(t={})=>{var e=t,{locale:r=V()}=e,n=it(e,["locale"]);return Ci(se({locale:r},n))},Di=(t={})=>{var e=t,{locale:r=V()}=e,n=it(e,["locale"]);return $i(se({locale:r},n))},Gi=Pt((t,e=V())=>new pi(t,e,tt().formats,{ignoreTag:tt().ignoreTag})),Fi=(t,e={})=>{var r,n,i,o;let s=e;typeof t=="object"&&(s=t,t=s.id);const{values:a,locale:h=V(),default:u}=s;if(h==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=ur(t,h);if(!l)l=(o=(i=(n=(r=tt()).handleMissingMessage)==null?void 0:n.call(r,{locale:h,id:t,defaultValue:u}))!=null?i:u)!=null?o:t;else if(typeof l!="string")return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l;if(!a)return l;let c=l;try{c=Gi(l,h).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,f.message)}return c},ji=(t,e)=>Di(e).format(t),ki=(t,e)=>Ui(e).format(t),Vi=(t,e)=>Ri(e).format(t),Xi=(t,e=V())=>ur(t,e),Wi=rt([nt,ct],()=>Fi);rt([nt],()=>ji);rt([nt],()=>ki);rt([nt],()=>Vi);rt([nt,ct],()=>Xi);window.emWidgets={topic:nn};const zi=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function Zi(t,e){if(t){const r=document.createElement("style");r.innerHTML=e,t.appendChild(r)}}function Qi(t,e){if(!t||!e)return;const r=new URL(e);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,t&&t.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ji(t,e,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(e,i=>{n.innerHTML=i,t&&t.appendChild(n)})}}function Ne(t,e){lr(t,e)}function qi(t){nt.set(t)}const Yi={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function Ki(t){Br(t,"svelte-1kgy21f",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function to(t){let e,r,n,i,o,s,a,h,u,l,c=t[4]("titleBettingHistory")+"",f,p,m;return{c(){e=L("div"),r=X("svg"),n=X("defs"),i=X("style"),o=Q(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),s=X("g"),a=X("g"),h=X("path"),u=k(),l=L("h2"),f=Q(c),H(h,"class","aaa"),H(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),H(h,"transform","translate(15 15) rotate(180)"),H(a,"transform","translate(20 158)"),H(s,"transform","translate(-20 -158)"),H(r,"xmlns","http://www.w3.org/2000/svg"),H(r,"width","15"),H(r,"height","15"),H(r,"viewBox","0 0 15 15"),H(l,"class","BettingHistoryTitleMobile"),H(e,"class","MenuReturnButton")},m(d,x){ie(d,e,x),_(e,r),_(r,n),_(n,i),_(i,o),_(r,s),_(s,a),_(a,h),_(e,u),_(e,l),_(l,f),p||(m=mt(e,"click",t[14]),p=!0)},p(d,x){x&16&&c!==(c=d[4]("titleBettingHistory")+"")&&dt(f,c)},d(d){d&&Bt(e),p=!1,m()}}}function Le(t){return{c:P,m:P,d:P}}function eo(t){let e,r,n,i=t[4]("bettingHistory.title")+"",o,s,a,h,u=t[4]("bettingHistory.openBets")+"",l,c,f,p,m=t[4]("bettingHistory.settledBets")+"",d,x,M,S,w,N,O,C,j,b=t[5]&&to(t),v=t[3]==="true"&&t[1]&&Le();return{c(){e=L("div"),b&&b.c(),r=k(),n=L("h2"),o=Q(i),s=k(),a=L("div"),h=L("button"),l=Q(u),f=k(),p=L("button"),d=Q(m),M=k(),S=L("om-betting-history-list"),w=k(),v&&v.c(),N=k(),O=L("div"),H(n,"class","BettingHistoryTitle "+(t[5]?"BettingHistoryTitleNone":"")),H(n,"part","`BettingHistoryTitleMobile"),H(h,"class",c=`BettingHistoryButton ${t[5]?"BettingHistoryButtonMobile":""} ${t[0]==="openBets"?"BettingHistoryButtonSelected":""}`),H(p,"class",x=`BettingHistoryButton ${t[5]?"BettingHistoryButtonMobile":""} ${t[0]==="settledBets"?"BettingHistoryButtonSelected":""}`),H(a,"class","BettingHistoryTabs"),U(S,"bet-status",t[0]),U(S,"item-layout","V2"),U(S,"match-score-layout","v2"),U(S,"match-score-scope","BHDetailed"),U(S,"date-format","dd.mm.yyyy"),U(S,"time-format","HH:MM"),U(S,"tournament-route",":sportId/:tournamentId"),U(S,"match-route",":betId"),H(O,"class","OM-MatchScore OM-MatchScore__List"),H(e,"class","BettingHistoryWrapper"),wr(e,"BettingHistoryWrapperMobile",t[5])},m(T,R){ie(T,e,R),b&&b.m(e,null),_(e,r),_(e,n),_(n,o),_(e,s),_(e,a),_(a,h),_(h,l),_(a,f),_(a,p),_(p,d),_(e,M),_(e,S),_(e,w),v&&v.m(e,null),_(e,N),_(e,O),t[17](e),C||(j=[mt(h,"click",t[15]),mt(p,"click",t[16]),mt(S,"routeChange",t[8])],C=!0)},p(T,[R]){T[5]&&b.p(T,R),R&16&&i!==(i=T[4]("bettingHistory.title")+"")&&dt(o,i),R&16&&u!==(u=T[4]("bettingHistory.openBets")+"")&&dt(l,u),R&1&&c!==(c=`BettingHistoryButton ${T[5]?"BettingHistoryButtonMobile":""} ${T[0]==="openBets"?"BettingHistoryButtonSelected":""}`)&&H(h,"class",c),R&16&&m!==(m=T[4]("bettingHistory.settledBets")+"")&&dt(d,m),R&1&&x!==(x=`BettingHistoryButton ${T[5]?"BettingHistoryButtonMobile":""} ${T[0]==="settledBets"?"BettingHistoryButtonSelected":""}`)&&H(p,"class",x),R&1&&U(S,"bet-status",T[0]),T[3]==="true"&&T[1]?v||(v=Le(),v.c(),v.m(e,N)):v&&(v.d(1),v=null)},i:P,o:P,d(T){T&&Bt(e),b&&b.d(),v&&v.d(),t[17](null),C=!1,et(j)}}}function ro(t,e,r){let n;xr(t,Wi,b=>r(4,n=b));let{betstatus:i="openBets"}=e,{lang:o="en"}=e,{selectedBetId:s=null}=e,{clientstyling:a=""}=e,{clientstylingurl:h=""}=e,{mbsource:u}=e,{translationurl:l=""}=e,c="false",f=window.navigator.userAgent,p=zi(f)!=="PC",m;const d=()=>{fetch(l).then(v=>v.json()).then(v=>{Object.keys(v).forEach(T=>{Ne(T,v[T])})}).catch(v=>{console.log(v)})};Object.entries(Yi).forEach(([b,v])=>{Ne(b,v)});const x=b=>{r(0,i=b)},M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)},S=b=>{const{betId:v}=b.detail.params;r(1,s=v),r(3,c="true")},w=b=>{var v;((v=b.data)==null?void 0:v.type)==="ModalClosed"&&r(3,c="false")};Or(()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}));const N=()=>M(),O=()=>x("openBets"),C=()=>x("settledBets");function j(b){Dt[b?"unshift":"push"](()=>{m=b,r(2,m)})}return t.$$set=b=>{"betstatus"in b&&r(0,i=b.betstatus),"lang"in b&&r(9,o=b.lang),"selectedBetId"in b&&r(1,s=b.selectedBetId),"clientstyling"in b&&r(10,a=b.clientstyling),"clientstylingurl"in b&&r(11,h=b.clientstylingurl),"mbsource"in b&&r(12,u=b.mbsource),"translationurl"in b&&r(13,l=b.translationurl)},t.$$.update=()=>{t.$$.dirty&512&&o&&qi(o),t.$$.dirty&1028&&a&&m&&Zi(m,a),t.$$.dirty&2052&&h&&m&&Qi(m,h),t.$$.dirty&4100&&u&&m&&Ji(m,`${u}.Style`),t.$$.dirty&8192&&l&&d()},[i,s,m,c,n,p,x,M,S,o,a,h,u,l,N,O,C,j]}class dr extends jr{constructor(e){super(),Gr(this,e,ro,eo,$e,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},Ki)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),D()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),D()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),D()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),D()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),D()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),D()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),D()}}Fr(dr,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=dr;
|