@everymatrix/casino-wagering-bonus-slider-controller 1.1.1 → 1.1.2

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.
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function o(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s,a;function l(t,e){return s||(s=document.createElement("a")),s.href=e,t===s.href}function u(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function c(t,e,r){t.$$.on_destroy.push(u(e,r))}function h(t,e){t.appendChild(e)}function f(t,e,r){t.insertBefore(e,r||null)}function p(t){t.parentNode.removeChild(t)}function d(t){return document.createElement(t)}function g(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function m(t){return document.createTextNode(t)}function y(){return m(" ")}function b(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function v(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function E(t,e,r){e in t?t[e]="boolean"==typeof t[e]&&""===r||r:v(t,e,r)}function w(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function _(t){const e={};for(const r of t)e[r.name]=r.value;return e}function T(t){a=t}function A(t){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(t)}const B=[],S=[],H=[],L=[],P=Promise.resolve();let O=!1;function I(t){H.push(t)}
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function o(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s,a;function l(t,e){return s||(s=document.createElement("a")),s.href=e,t===s.href}function u(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function c(t,e,r){t.$$.on_destroy.push(u(e,r))}function h(t,e){t.appendChild(e)}function p(t,e,r){t.insertBefore(e,r||null)}function f(t){t.parentNode.removeChild(t)}function d(t){return document.createElement(t)}function g(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function m(t){return document.createTextNode(t)}function y(){return m(" ")}function b(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function v(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function E(t,e,r){e in t?t[e]="boolean"==typeof t[e]&&""===r||r:v(t,e,r)}function w(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function _(t){const e={};for(const r of t)e[r.name]=r.value;return e}function T(t){a=t}function A(t){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(t)}const B=[],S=[],H=[],L=[],P=Promise.resolve();let I=!1;function C(t){H.push(t)}
2
2
  // flush() calls callbacks in this order:
3
3
  // 1. All beforeUpdate callbacks, in order: parents before children
4
4
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -17,7 +17,7 @@
17
17
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
- const C=new Set;let x=0;// Do *not* move this inside the flush() function
20
+ const O=new Set;let x=0;// Do *not* move this inside the flush() function
21
21
  function R(){const t=a;do{
22
22
  // first, call beforeUpdate functions
23
23
  // and update components
@@ -25,26 +25,26 @@ for(;x<B.length;){const t=B[x];x++,T(t),N(t.$$)}for(T(null),B.length=0,x=0;S.len
25
25
  // then, once components are updated, call
26
26
  // afterUpdate functions. This may cause
27
27
  // subsequent updates...
28
- for(let t=0;t<H.length;t+=1){const e=H[t];C.has(e)||(
28
+ for(let t=0;t<H.length;t+=1){const e=H[t];O.has(e)||(
29
29
  // ...so guard against infinite loops
30
- C.add(e),e())}H.length=0}while(B.length);for(;L.length;)L.pop()();O=!1,C.clear(),T(t)}function N(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I)}}const M=new Set;function U(t,e){-1===t.$$.dirty[0]&&(B.push(t),O||(O=!0,P.then(R)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function D(i,s,l,u,c,h,f,d=[-1]){const g=a;T(i);const m=i.$$={fragment:null,ctx:null,
30
+ O.add(e),e())}H.length=0}while(B.length);for(;L.length;)L.pop()();I=!1,O.clear(),T(t)}function N(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(C)}}const M=new Set;function U(t,e){-1===t.$$.dirty[0]&&(B.push(t),I||(I=!0,P.then(R)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function D(i,s,l,u,c,h,p,d=[-1]){const g=a;T(i);const m=i.$$={fragment:null,ctx:null,
31
31
  // state
32
32
  props:h,update:t,not_equal:c,bound:r(),
33
33
  // lifecycle
34
34
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(g?g.$$.context:[])),
35
35
  // everything else
36
- callbacks:r(),dirty:d,skip_bound:!1,root:s.target||g.$$.root};f&&f(m.root);let y=!1;if(m.ctx=l?l(i,s.props||{},((t,e,...r)=>{const n=r.length?r[0]:e;return m.ctx&&c(m.ctx[t],m.ctx[t]=n)&&(!m.skip_bound&&m.bound[t]&&m.bound[t](n),y&&U(i,t)),e})):[],m.update(),y=!0,n(m.before_update),
36
+ callbacks:r(),dirty:d,skip_bound:!1,root:s.target||g.$$.root};p&&p(m.root);let y=!1;if(m.ctx=l?l(i,s.props||{},((t,e,...r)=>{const n=r.length?r[0]:e;return m.ctx&&c(m.ctx[t],m.ctx[t]=n)&&(!m.skip_bound&&m.bound[t]&&m.bound[t](n),y&&U(i,t)),e})):[],m.update(),y=!0,n(m.before_update),
37
37
  // `false` as a special case of no DOM component
38
38
  m.fragment=!!u&&u(m.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);
39
39
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
40
- m.fragment&&m.fragment.l(t),t.forEach(p)}else
40
+ m.fragment&&m.fragment.l(t),t.forEach(f)}else
41
41
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
42
42
  m.fragment&&m.fragment.c();s.intro&&((b=i.$$.fragment)&&b.i&&(M.delete(b),b.i(v))),function(t,r,i,s){const{fragment:a,on_mount:l,on_destroy:u,after_update:c}=t.$$;a&&a.m(r,i),s||
43
43
  // onMount happens before the initial afterUpdate
44
- I((()=>{const r=l.map(e).filter(o);u?u.push(...r):
44
+ C((()=>{const r=l.map(e).filter(o);u?u.push(...r):
45
45
  // Edge case - component was destroyed immediately,
46
46
  // most likely as a result of a binding initialising
47
- n(r),t.$$.on_mount=[]})),c.forEach(I)}(i,s.target,s.anchor,s.customElement),R()}var b,v;T(g)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(o);
47
+ n(r),t.$$.on_mount=[]})),c.forEach(C)}(i,s.target,s.anchor,s.customElement),R()}var b,v;T(g)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(o);
48
48
  // @ts-ignore todo: improve typings
49
49
  for(const t in this.$$.slotted)
50
50
  // @ts-ignore todo: improve typings
@@ -53,7 +53,7 @@ this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}d
53
53
  // preserve final state?)
54
54
  r.on_destroy=r.fragment=null,r.ctx=[])}(this,1),this.$destroy=t}$on(t,e){
55
55
  // TODO should this delegate to addEventListener?
56
- const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var $="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$&&$,k="URLSearchParams"in $,G="Symbol"in $&&"iterator"in Symbol,j="FileReader"in $&&"Blob"in $&&function(){try{return new Blob,!0}catch(t){return!1}}(),W="FormData"in $,X="ArrayBuffer"in $;if(X)var V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(t){return t&&V.indexOf(Object.prototype.toString.call(t))>-1};function K(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Z(t){return"string"!=typeof t&&(t=String(t)),t}
56
+ const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var F="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==F&&F,k="URLSearchParams"in F,G="Symbol"in F&&"iterator"in Symbol,j="FileReader"in F&&"Blob"in F&&function(){try{return new Blob,!0}catch(t){return!1}}(),W="FormData"in F,X="ArrayBuffer"in F;if(X)var V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(t){return t&&V.indexOf(Object.prototype.toString.call(t))>-1};function K(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Z(t){return"string"!=typeof t&&(t=String(t)),t}
57
57
  // Build a destructive iterator for the value list
58
58
  function Y(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return G&&(e[Symbol.iterator]=function(){return e}),e}function q(t){this.map={},t instanceof q?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function J(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Q(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function tt(t){var e=new FileReader,r=Q(e);return e.readAsArrayBuffer(t),r}function et(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function rt(){return this.bodyUsed=!1,this._initBody=function(t){var e;
59
59
  /*
@@ -74,13 +74,13 @@ q.prototype.append=function(t,e){t=K(t),e=Z(e);var r=this.map[t];this.map[t]=r?r
74
74
  // Search for a '_' parameter in the query string
75
75
  var i=/([?&])_=[^&]*/;if(i.test(this.url))
76
76
  // If it already exists then set the value with the current time
77
- this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function it(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function st(t,e){if(!(this instanceof st))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new q(e.headers),this.url=e.url||"",this._initBody(t)}ot.prototype.clone=function(){return new ot(this,{body:this._bodyInit})},rt.call(ot.prototype),rt.call(st.prototype),st.prototype.clone=function(){return new st(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},st.error=function(){var t=new st(null,{status:0,statusText:""});return t.type="error",t};var at=[301,302,303,307,308];st.redirect=function(t,e){if(-1===at.indexOf(e))throw new RangeError("Invalid status code");return new st(null,{status:e,headers:{location:t}})};var lt=$.DOMException;try{new lt}catch(t){(lt=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lt.prototype.constructor=lt}function ut(t,e){return new Promise((function(r,n){var o=new ot(t,e);if(o.signal&&o.signal.aborted)return n(new lt("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new q,
77
+ this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function it(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function st(t,e){if(!(this instanceof st))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new q(e.headers),this.url=e.url||"",this._initBody(t)}ot.prototype.clone=function(){return new ot(this,{body:this._bodyInit})},rt.call(ot.prototype),rt.call(st.prototype),st.prototype.clone=function(){return new st(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},st.error=function(){var t=new st(null,{status:0,statusText:""});return t.type="error",t};var at=[301,302,303,307,308];st.redirect=function(t,e){if(-1===at.indexOf(e))throw new RangeError("Invalid status code");return new st(null,{status:e,headers:{location:t}})};var lt=F.DOMException;try{new lt}catch(t){(lt=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lt.prototype.constructor=lt}function ut(t,e){return new Promise((function(r,n){var o=new ot(t,e);if(o.signal&&o.signal.aborted)return n(new lt("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new q,
78
78
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
79
79
  // https://github.com/github/fetch/issues/748
80
80
  // https://github.com/zloirock/core-js/issues/751
81
- t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){r(new st(o,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new lt("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&$.location.href?$.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(j?i.responseType="blob":X&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof q?o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){i.setRequestHeader(t,Z(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){
81
+ t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){r(new st(o,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new lt("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&F.location.href?F.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(j?i.responseType="blob":X&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof q?o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){i.setRequestHeader(t,Z(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){
82
82
  // DONE (success or failure)
83
- 4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}ut.polyfill=!0,$.fetch||($.fetch=ut,$.Headers=q,$.Request=ot,$.Response=st);var ct="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
83
+ 4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}ut.polyfill=!0,F.fetch||(F.fetch=ut,F.Headers=q,F.Request=ot,F.Response=st);var ct="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
84
84
  // the whatwg-fetch polyfill installs the fetch() function
85
85
  // on the global object (window or self)
86
86
  // Return that as the export for use in Webpack, Browserify etc.
@@ -100,7 +100,7 @@ self.fetch.bind(self);
100
100
  PERFORMANCE OF THIS SOFTWARE.
101
101
  ***************************************************************************** */
102
102
  /* global Reflect, Promise */
103
- var ht=function(t,e){return ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},ht(t,e)};function ft(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}ht(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function pt(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)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 dt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function gt(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function mt(t){return"function"==typeof t}function yt(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var bt=yt((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function vt(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Et=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=pt(i),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);var l=this.initialTeardown;if(mt(l))try{l()}catch(t){o=t instanceof bt?t.errors:[t]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=pt(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{Tt(f)}catch(t){o=null!=o?o:[],t instanceof bt?o=gt(gt([],dt(o)),dt(t.errors)):o.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(o)throw new bt(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Tt(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&vt(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&vt(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),wt=Et.EMPTY;function _t(t){return t instanceof Et||t&&"closed"in t&&mt(t.remove)&&mt(t.add)&&mt(t.unsubscribe)}function Tt(t){mt(t)?t():t.unsubscribe()}var At={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bt={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Bt.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,gt([t,e],dt(r))):setTimeout.apply(void 0,gt([t,e],dt(r)))},clearTimeout:function(t){var e=Bt.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function St(){}var Ht=null;function Lt(t){if(At.useDeprecatedSynchronousErrorHandling){var e=!Ht;if(e&&(Ht={errorThrown:!1,error:null}),t(),e){var r=Ht,n=r.errorThrown,o=r.error;if(Ht=null,n)throw o}}else t()}var Pt=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,_t(e)&&e.add(r)):r.destination=Nt,r}return ft(e,t),e.create=function(t,e,r){return new xt(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},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(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Et),Ot=Function.prototype.bind;function It(t,e){return Ot.call(t,e)}var Ct=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){Rt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Rt(t)}else Rt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Rt(t)}},t}(),xt=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;mt(e)||!e?o={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&At.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},o={next:e.next&&It(e.next,i),error:e.error&&It(e.error,i),complete:e.complete&&It(e.complete,i)}):o=e;return s.destination=new Ct(o),s}return ft(e,t),e}(Pt);function Rt(t){var e;e=t,Bt.setTimeout((function(){throw e}))}var Nt={closed:!0,next:St,error:function(t){throw t},complete:St},Mt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ut(t){return t}function Dt(t){return 0===t.length?Ut:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var Ft=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,o=this,i=(n=t)&&n instanceof Pt||function(t){return t&&mt(t.next)&&mt(t.error)&&mt(t.complete)}(n)&&_t(n)?t:new xt(t,e,r);return Lt((function(){var t=o,e=t.operator,r=t.source;i.add(e?e.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=$t(e))((function(e,n){var o=new xt({next:function(e){try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});r.subscribe(o)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[Mt]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Dt(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=$t(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function $t(t){var e;return null!==(e=null!=t?t:At.Promise)&&void 0!==e?e:Promise}var kt=yt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Gt=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return ft(e,t),e.prototype.lift=function(t){var e=new jt(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new kt},e.prototype.next=function(t){var e=this;Lt((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=pt(e.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(t)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Lt((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Lt((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?wt:(this.currentObservers=null,i.push(t),new Et((function(){e.currentObservers=null,vt(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,o=e.isStopped;r?t.error(n):o&&t.complete()},e.prototype.asObservable=function(){var t=new Ft;return t.source=this,t},e.create=function(t,e){return new jt(t,e)},e}(Ft),jt=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return ft(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:wt},e}(Gt),Wt={now:function(){return(Wt.delegate||Date).now()},delegate:void 0},Xt=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=Wt);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return ft(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(o.push(e),!i&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!t.closed;o+=r?1:2)t.next(n[o]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},e}(Gt);let Vt=[],zt={};
103
+ var ht=function(t,e){return ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},ht(t,e)};function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}ht(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function ft(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)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 dt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function gt(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function mt(t){return"function"==typeof t}function yt(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var bt=yt((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function vt(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Et=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=ft(i),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);var l=this.initialTeardown;if(mt(l))try{l()}catch(t){o=t instanceof bt?t.errors:[t]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=ft(u),h=c.next();!h.done;h=c.next()){var p=h.value;try{Tt(p)}catch(t){o=null!=o?o:[],t instanceof bt?o=gt(gt([],dt(o)),dt(t.errors)):o.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(o)throw new bt(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Tt(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&vt(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&vt(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),wt=Et.EMPTY;function _t(t){return t instanceof Et||t&&"closed"in t&&mt(t.remove)&&mt(t.add)&&mt(t.unsubscribe)}function Tt(t){mt(t)?t():t.unsubscribe()}var At={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bt={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Bt.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,gt([t,e],dt(r))):setTimeout.apply(void 0,gt([t,e],dt(r)))},clearTimeout:function(t){var e=Bt.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function St(){}var Ht=null;function Lt(t){if(At.useDeprecatedSynchronousErrorHandling){var e=!Ht;if(e&&(Ht={errorThrown:!1,error:null}),t(),e){var r=Ht,n=r.errorThrown,o=r.error;if(Ht=null,n)throw o}}else t()}var Pt=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,_t(e)&&e.add(r)):r.destination=Nt,r}return pt(e,t),e.create=function(t,e,r){return new xt(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},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(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Et),It=Function.prototype.bind;function Ct(t,e){return It.call(t,e)}var Ot=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){Rt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Rt(t)}else Rt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Rt(t)}},t}(),xt=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;mt(e)||!e?o={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&At.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},o={next:e.next&&Ct(e.next,i),error:e.error&&Ct(e.error,i),complete:e.complete&&Ct(e.complete,i)}):o=e;return s.destination=new Ot(o),s}return pt(e,t),e}(Pt);function Rt(t){var e;e=t,Bt.setTimeout((function(){throw e}))}var Nt={closed:!0,next:St,error:function(t){throw t},complete:St},Mt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ut(t){return t}function Dt(t){return 0===t.length?Ut:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var $t=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,o=this,i=(n=t)&&n instanceof Pt||function(t){return t&&mt(t.next)&&mt(t.error)&&mt(t.complete)}(n)&&_t(n)?t:new xt(t,e,r);return Lt((function(){var t=o,e=t.operator,r=t.source;i.add(e?e.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=Ft(e))((function(e,n){var o=new xt({next:function(e){try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});r.subscribe(o)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[Mt]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Dt(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=Ft(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function Ft(t){var e;return null!==(e=null!=t?t:At.Promise)&&void 0!==e?e:Promise}var kt=yt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Gt=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return pt(e,t),e.prototype.lift=function(t){var e=new jt(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new kt},e.prototype.next=function(t){var e=this;Lt((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=ft(e.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(t)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Lt((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Lt((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?wt:(this.currentObservers=null,i.push(t),new Et((function(){e.currentObservers=null,vt(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,o=e.isStopped;r?t.error(n):o&&t.complete()},e.prototype.asObservable=function(){var t=new $t;return t.source=this,t},e.create=function(t,e){return new jt(t,e)},e}($t),jt=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return pt(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:wt},e}(Gt),Wt={now:function(){return(Wt.delegate||Date).now()},delegate:void 0},Xt=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=Wt);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return pt(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(o.push(e),!i&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!t.closed;o+=r?1:2)t.next(n[o]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},e}(Gt);let Vt=[],zt={};
104
104
  /**
105
105
  * @name topic
106
106
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -115,7 +115,7 @@ const Kt=[];
115
115
  * @param {StartStopNotifier=}start start and stop notifications for subscriptions
116
116
  */
117
117
  function Zt(e,r=t){let n;const o=new Set;function s(t){if(i(e,t)&&(e=t,n)){// store is ready
118
- const t=!Kt.length;for(const t of o)t[1](),Kt.push(t,e);if(t){for(let t=0;t<Kt.length;t+=2)Kt[t][0](Kt[t+1]);Kt.length=0}}}return{set:s,update:function(t){s(t(e))},subscribe:function(i,a=t){const l=[i,a];return o.add(l),1===o.size&&(n=r(s)||t),i(e),()=>{o.delete(l),0===o.size&&(n(),n=null)}}}}function Yt(e,r,i){const s=!Array.isArray(e),a=s?[e]:e,l=r.length<2;return c=e=>{let i=!1;const c=[];let h=0,f=t;const p=()=>{if(h)return;f();const n=r(s?c[0]:c,e);l?e(n):f=o(n)?n:t},d=a.map(((t,e)=>u(t,(t=>{c[e]=t,h&=~(1<<e),i&&p()}),(()=>{h|=1<<e}))));return i=!0,p(),function(){n(d),f()}},{subscribe:Zt(i,c).subscribe};
118
+ const t=!Kt.length;for(const t of o)t[1](),Kt.push(t,e);if(t){for(let t=0;t<Kt.length;t+=2)Kt[t][0](Kt[t+1]);Kt.length=0}}}return{set:s,update:function(t){s(t(e))},subscribe:function(i,a=t){const l=[i,a];return o.add(l),1===o.size&&(n=r(s)||t),i(e),()=>{o.delete(l),0===o.size&&(n(),n=null)}}}}function Yt(e,r,i){const s=!Array.isArray(e),a=s?[e]:e,l=r.length<2;return c=e=>{let i=!1;const c=[];let h=0,p=t;const f=()=>{if(h)return;p();const n=r(s?c[0]:c,e);l?e(n):p=o(n)?n:t},d=a.map(((t,e)=>u(t,(t=>{c[e]=t,h&=~(1<<e),i&&f()}),(()=>{h|=1<<e}))));return i=!0,f(),function(){n(d),p()}},{subscribe:Zt(i,c).subscribe};
119
119
  /**
120
120
  * Creates a `Readable` store that allows reading by subscription.
121
121
  * @param value initial value
@@ -129,11 +129,11 @@ function ne(t,e,r){var n={};return r.isMergeableObject(t)&&ee(t).forEach((functi
129
129
  })(t,o)||(re(t,o)&&r.isMergeableObject(e[o])?n[o]=function(t,e){if(!e.customMerge)return oe;var r=e.customMerge(t);return"function"==typeof r?r:oe}(o,r)(t[o],e[o],r):n[o]=Qt(e[o],r))})),n}function oe(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||te,r.isMergeableObject=r.isMergeableObject||qt,
130
130
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
131
131
  // implementations can use it. The caller may not replace it.
132
- r.cloneUnlessOtherwiseSpecified=Qt;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):ne(t,e,r):Qt(e,r)}oe.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return oe(t,r,e)}),{})};var ie=oe,se=function(t,e){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},se(t,e)};function ae(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}se(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var le,ue,ce,he=function(){return he=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},he.apply(this,arguments)};function fe(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}
132
+ r.cloneUnlessOtherwiseSpecified=Qt;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):ne(t,e,r):Qt(e,r)}oe.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return oe(t,r,e)}),{})};var ie=oe,se=function(t,e){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},se(t,e)};function ae(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}se(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var le,ue,ce,he=function(){return he=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},he.apply(this,arguments)};function pe(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}
133
133
  /**
134
134
  * Type Guards
135
135
  */
136
- function pe(t){return t.type===ue.literal}function de(t){return t.type===ue.argument}function ge(t){return t.type===ue.number}function me(t){return t.type===ue.date}function ye(t){return t.type===ue.time}function be(t){return t.type===ue.select}function ve(t){return t.type===ue.plural}function Ee(t){return t.type===ue.pound}function we(t){return t.type===ue.tag}function _e(t){return!(!t||"object"!=typeof t||t.type!==ce.number)}function Te(t){return!(!t||"object"!=typeof t||t.type!==ce.dateTime)}
136
+ function fe(t){return t.type===ue.literal}function de(t){return t.type===ue.argument}function ge(t){return t.type===ue.number}function me(t){return t.type===ue.date}function ye(t){return t.type===ue.time}function be(t){return t.type===ue.select}function ve(t){return t.type===ue.plural}function Ee(t){return t.type===ue.pound}function we(t){return t.type===ue.tag}function _e(t){return!(!t||"object"!=typeof t||t.type!==ce.number)}function Te(t){return!(!t||"object"!=typeof t||t.type!==ce.dateTime)}
137
137
  // @generated from regex-gen.ts
138
138
  !function(t){
139
139
  /** Argument is unclosed (e.g. `{0`) */
@@ -278,20 +278,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
278
278
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
279
279
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}
280
280
  // @generated from regex-gen.ts
281
- var He=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pe=/^(@+)?(\+|#+)?[rs]?$/g,Oe=/(\*)(0+)|(#+)(0+)|(0+)/g,Ie=/^(0+)$/;function Ce(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Pe,(function(t,r,n){
281
+ var He=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pe=/^(@+)?(\+|#+)?[rs]?$/g,Ie=/(\*)(0+)|(#+)(0+)|(0+)/g,Ce=/^(0+)$/;function Oe(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Pe,(function(t,r,n){
282
282
  // @@@ case
283
283
  return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),e}function xe(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 Re(t){
284
284
  // Engineering
285
- var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Ie.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ne(t){var e=xe(t);return e||{}}
285
+ var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Ce.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ne(t){var e=xe(t);return e||{}}
286
286
  /**
287
287
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
288
288
  */function Me(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=he(he(he({},e),{notation:"scientific"}),o.options.reduce((function(t,e){return he(he({},t),Ne(e))}),{}));continue;case"engineering":e=he(he(he({},e),{notation:"engineering"}),o.options.reduce((function(t,e){return he(he({},t),Ne(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;
289
289
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
290
290
  case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(o.options[0]);continue;
291
291
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
292
- case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Oe,(function(t,r,n,o,i,s){if(r)e.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
292
+ case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Ie,(function(t,r,n,o,i,s){if(r)e.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
293
293
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
294
- if(Ie.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(Le.test(o.stem)){
294
+ if(Ce.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(Le.test(o.stem)){
295
295
  // Precision
296
296
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
297
297
  // precision-integer case
@@ -299,9 +299,9 @@ if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept
299
299
  // .000* case (before ICU67 it was .000+)
300
300
  return"*"===n?e.minimumFractionDigits=r.length:o&&"#"===o[0]?e.maximumFractionDigits=o.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var i=o.options[0];
301
301
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
302
- "w"===i?e=he(he({},e),{trailingZeroDisplay:"stripIfInteger"}):i&&(e=he(he({},e),Ce(i)))}
302
+ "w"===i?e=he(he({},e),{trailingZeroDisplay:"stripIfInteger"}):i&&(e=he(he({},e),Oe(i)))}
303
303
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
304
- else if(Pe.test(o.stem))e=he(he({},e),Ce(o.stem));else{var s=xe(o.stem);s&&(e=he(he({},e),s));var a=Re(o.stem);a&&(e=he(he({},e),a))}}return e}
304
+ else if(Pe.test(o.stem))e=he(he({},e),Oe(o.stem));else{var s=xe(o.stem);s&&(e=he(he({},e),s));var a=Re(o.stem);a&&(e=he(he({},e),a))}}return e}
305
305
  // @generated from time-data-gen.ts
306
306
  // prettier-ignore
307
307
  var Ue,De={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
@@ -317,7 +317,7 @@ var Ue,De={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
317
317
  * of the given `locale` to the corresponding time pattern.
318
318
  * @param locale
319
319
  */
320
- function Fe(t){var e=t.hourCycle;if(void 0===e&&
320
+ function $e(t){var e=t.hourCycle;if(void 0===e&&
321
321
  // @ts-ignore hourCycle(s) is not identified yet
322
322
  t.hourCycles&&
323
323
  // @ts-ignore
@@ -325,7 +325,7 @@ t.hourCycles.length&&(
325
325
  // @ts-ignore
326
326
  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")}
327
327
  // TODO: Once hourCycle is fully supported remove the following with data generation
328
- var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(De[r||""]||De[n||""]||De["".concat(n,"-001")]||De["001"])[0]}var $e=new RegExp("^".concat(Ae.source,"*")),ke=new RegExp("".concat(Ae.source,"*$"));function Ge(t,e){return{start:t,end:e}}
328
+ var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(De[r||""]||De[n||""]||De["".concat(n,"-001")]||De["001"])[0]}var Fe=new RegExp("^".concat(Ae.source,"*")),ke=new RegExp("".concat(Ae.source,"*$"));function Ge(t,e){return{start:t,end:e}}
329
329
  // #region Ponyfills
330
330
  // Consolidate these variables up top for easier toggling during debugging
331
331
  var je=!!String.prototype.startsWith,We=!!String.fromCodePoint,Xe=!!Object.fromEntries,Ve=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ke=!!String.prototype.trimEnd,Ze=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Ye=!0;try{
@@ -345,7 +345,7 @@ function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],s=o[1];e[i]=s
345
345
  function(t,e){return t.codePointAt(e)}:// IE 11
346
346
  function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,o=t.charCodeAt(e);return o<55296||o>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},rr=ze?// Native
347
347
  function(t){return t.trimStart()}:// Ponyfill
348
- function(t){return t.replace($e,"")},nr=Ke?// Native
348
+ function(t){return t.replace(Fe,"")},nr=Ke?// Native
349
349
  function(t){return t.trimEnd()}:// Ponyfill
350
350
  function(t){return t.replace(ke,"")};
351
351
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
@@ -432,15 +432,15 @@ return this.error(le.EXPECT_ARGUMENT_TYPE,Ge(i,a));case"number":case"date":case"
432
432
  // Parse this range:
433
433
  // {name, number, style}
434
434
  // ^-------^
435
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(p=nr(y.val)).length)return this.error(le.EXPECT_ARGUMENT_STYLE,Ge(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:Ge(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Ge(n,this.clonePosition());
435
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=nr(y.val)).length)return this.error(le.EXPECT_ARGUMENT_STYLE,Ge(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Ge(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Ge(n,this.clonePosition());
436
436
  // Extract style or skeleton
437
437
  if(l&&Je(null==l?void 0:l.style,"::",0)){
438
438
  // Skeleton starts with `::`.
439
- var h=rr(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:ue.number,value:r,location:c,style:y.val},err:null};if(0===h.length)return this.error(le.EXPECT_DATE_TIME_SKELETON,c);var f=h;
439
+ var h=rr(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:ue.number,value:r,location:c,style:y.val},err:null};if(0===h.length)return this.error(le.EXPECT_DATE_TIME_SKELETON,c);var p=h;
440
440
  // Get "best match" pattern only if locale is passed, if not, let it
441
441
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
442
442
  // for unsupported patterns.
443
- this.locale&&(f=function(t,e){for(var r="",n=0;n<t.length;n++){var o=t.charAt(n);if("j"===o){for(var i=0;n+1<t.length&&t.charAt(n+1)===o;)i++,n++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=Fe(e);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=l+r}else r+="J"===o?"H":o}return r}(h,this.locale));var p={type:ce.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Se(f):{}};return{val:{type:"date"===s?ue.date:ue.time,value:r,location:c,style:p},err:null}}
443
+ this.locale&&(p=function(t,e){for(var r="",n=0;n<t.length;n++){var o=t.charAt(n);if("j"===o){for(var i=0;n+1<t.length&&t.charAt(n+1)===o;)i++,n++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=$e(e);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=l+r}else r+="J"===o?"H":o}return r}(h,this.locale));var f={type:ce.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Se(p):{}};return{val:{type:"date"===s?ue.date:ue.time,value:r,location:c,style:f},err:null}}
444
444
  // Regular style or no style.
445
445
  return{val:{type:"number"===s?ue.number:"date"===s?ue.date:ue.time,value:r,location:c,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":
446
446
  // Parse this range:
@@ -489,7 +489,7 @@ if(a.has(l))return this.error("select"===e?le.DUPLICATE_SELECT_ARGUMENT_SELECTOR
489
489
  // Parse:
490
490
  // one {one apple}
491
491
  // ^----------^
492
- this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?le.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:le.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ge(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,e,r);if(p.err)return p;var d=this.tryParseArgumentClose(f);if(d.err)return d;s.push([l,{value:p.val,location:Ge(f,this.clonePosition())}]),
492
+ this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?le.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:le.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ge(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(t+1,e,r);if(f.err)return f;var d=this.tryParseArgumentClose(p);if(d.err)return d;s.push([l,{value:f.val,location:Ge(p,this.clonePosition())}]),
493
493
  // Keep track of the existing selectors
494
494
  a.add(l),
495
495
  // Prep next selector clause.
@@ -541,7 +541,7 @@ t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this
541
541
  /**
542
542
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
543
543
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
544
- */function cr(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function hr(t){t.forEach((function(t){if(delete t.location,be(t)||ve(t))for(var e in t.options)delete t.options[e].location,hr(t.options[e].value);else ge(t)&&_e(t.style)||(me(t)||ye(t))&&Te(t.style)?delete t.style.location:we(t)&&hr(t.children)}))}function fr(t,e){void 0===e&&(e={}),e=he({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new sr(t,e).parse();if(r.err){var n=SyntaxError(le[r.err.kind]);
544
+ */function cr(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function hr(t){t.forEach((function(t){if(delete t.location,be(t)||ve(t))for(var e in t.options)delete t.options[e].location,hr(t.options[e].value);else ge(t)&&_e(t.style)||(me(t)||ye(t))&&Te(t.style)?delete t.style.location:we(t)&&hr(t.children)}))}function pr(t,e){void 0===e&&(e={}),e=he({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new sr(t,e).parse();if(r.err){var n=SyntaxError(le[r.err.kind]);
545
545
  // @ts-expect-error Assign to error object
546
546
  throw n.location=r.err.location,
547
547
  // @ts-expect-error Assign to error object
@@ -549,7 +549,7 @@ n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||hr(r
549
549
 
550
550
  // Main
551
551
 
552
- function pr(t,e){var r=e&&e.cache?e.cache:wr,n=e&&e.serializer?e.serializer:br;return(e&&e.strategy?e.strategy:yr)(t,{cache:r,serializer:n})}
552
+ function fr(t,e){var r=e&&e.cache?e.cache:wr,n=e&&e.serializer?e.serializer:br;return(e&&e.strategy?e.strategy:yr)(t,{cache:r,serializer:n})}
553
553
 
554
554
  // Strategy
555
555
 
@@ -573,25 +573,25 @@ function Pr(t,e,r,n,o,i,
573
573
  // For debugging
574
574
  s){
575
575
  // Hot path for straight simple msg translations
576
- if(1===t.length&&pe(t[0]))return[{type:Tr.literal,value:t[0].value}];for(var a=[],l=0,u=t;l<u.length;l++){var c=u[l];
576
+ if(1===t.length&&fe(t[0]))return[{type:Tr.literal,value:t[0].value}];for(var a=[],l=0,u=t;l<u.length;l++){var c=u[l];
577
577
  // Exit early for string parts.
578
- if(pe(c))a.push({type:Tr.literal,value:c.value});else
578
+ if(fe(c))a.push({type:Tr.literal,value:c.value});else
579
579
  // TODO: should this part be literal type?
580
580
  // Replace `#` in plural rules with the actual numeric value.
581
581
  if(Ee(c))"number"==typeof i&&a.push({type:Tr.literal,value:r.getNumberFormat(e).format(i)});else{var h=c.value;
582
582
  // Enforce that all required values are provided by the caller.
583
- if(!o||!(h in o))throw new Hr(h,s);var f=o[h];if(de(c))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),a.push({type:"string"==typeof f?Tr.literal:Tr.object,value:f});else
583
+ if(!o||!(h in o))throw new Hr(h,s);var p=o[h];if(de(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?Tr.literal:Tr.object,value:p});else
584
584
  // Recursively format plural and select parts' option — which can be a
585
585
  // nested pattern structure. The choosing of the option to use is
586
586
  // abstracted-by and delegated-to the part helper object.
587
- if(me(c)){var p="string"==typeof c.style?n.date[c.style]:Te(c.style)?c.style.parsedOptions:void 0;a.push({type:Tr.literal,value:r.getDateTimeFormat(e,p).format(f)})}else if(ye(c)){p="string"==typeof c.style?n.time[c.style]:Te(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:Tr.literal,value:r.getDateTimeFormat(e,p).format(f)})}else if(ge(c)){(p="string"==typeof c.style?n.number[c.style]:_e(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),a.push({type:Tr.literal,value:r.getNumberFormat(e,p).format(f)})}else{if(we(c)){var d=c.children,g=c.value,m=o[g];if(!Lr(m))throw new Sr(g,"function",s);var y=m(Pr(d,e,r,n,o,i).map((function(t){return t.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(t){return{type:"string"==typeof t?Tr.literal:Tr.object,value:t}})))}if(be(c)){if(!(b=c.options[f]||c.options.other))throw new Br(c.value,f,Object.keys(c.options),s);a.push.apply(a,Pr(b.value,e,r,n,o))}else if(ve(c)){var b;if(!(b=c.options["=".concat(f)])){if(!Intl.PluralRules)throw new Ar('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Er.MISSING_INTL_API,s);var v=r.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Br(c.value,f,Object.keys(c.options),s);a.push.apply(a,Pr(b.value,e,r,n,o,f-(c.offset||0)))}else;}}}return function(t){return t.length<2?t:t.reduce((function(t,e){var r=t[t.length-1];return r&&r.type===Tr.literal&&e.type===Tr.literal?r.value+=e.value:t.push(e),t}),[])}(a)}
587
+ if(me(c)){var f="string"==typeof c.style?n.date[c.style]:Te(c.style)?c.style.parsedOptions:void 0;a.push({type:Tr.literal,value:r.getDateTimeFormat(e,f).format(p)})}else if(ye(c)){f="string"==typeof c.style?n.time[c.style]:Te(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:Tr.literal,value:r.getDateTimeFormat(e,f).format(p)})}else if(ge(c)){(f="string"==typeof c.style?n.number[c.style]:_e(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:Tr.literal,value:r.getNumberFormat(e,f).format(p)})}else{if(we(c)){var d=c.children,g=c.value,m=o[g];if(!Lr(m))throw new Sr(g,"function",s);var y=m(Pr(d,e,r,n,o,i).map((function(t){return t.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(t){return{type:"string"==typeof t?Tr.literal:Tr.object,value:t}})))}if(be(c)){if(!(b=c.options[p]||c.options.other))throw new Br(c.value,p,Object.keys(c.options),s);a.push.apply(a,Pr(b.value,e,r,n,o))}else if(ve(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new Ar('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Er.MISSING_INTL_API,s);var v=r.getPluralRules(e,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Br(c.value,p,Object.keys(c.options),s);a.push.apply(a,Pr(b.value,e,r,n,o,p-(c.offset||0)))}else;}}}return function(t){return t.length<2?t:t.reduce((function(t,e){var r=t[t.length-1];return r&&r.type===Tr.literal&&e.type===Tr.literal?r.value+=e.value:t.push(e),t}),[])}(a)}
588
588
  /*
589
589
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
590
590
  Copyrights licensed under the New BSD License.
591
591
  See the accompanying LICENSE file for terms.
592
592
  */
593
593
  // -- MessageFormat --------------------------------------------------------
594
- function Or(t,e){return e?Object.keys(t).reduce((function(r,n){var o,i;return r[n]=(o=t[n],(i=e[n])?he(he(he({},o||{}),i||{}),Object.keys(o).reduce((function(t,e){return t[e]=he(he({},o[e]),i[e]||{}),t}),{})):o),r}),he({},t)):t}function Ir(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Tr||(Tr={}));var Cr=/** @class */function(){function t(e,r,n,o){var i,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);
594
+ function Ir(t,e){return e?Object.keys(t).reduce((function(r,n){var o,i;return r[n]=(o=t[n],(i=e[n])?he(he(he({},o||{}),i||{}),Object.keys(o).reduce((function(t,e){return t[e]=he(he({},o[e]),i[e]||{}),t}),{})):o),r}),he({},t)):t}function Cr(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Tr||(Tr={}));var Or=/** @class */function(){function t(e,r,n,o){var i,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);
595
595
  // Hot path for straight simple msg translations
596
596
  if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===Tr.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return Pr(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
597
597
  // Defined first because it's used to build the format pattern.
@@ -600,16 +600,16 @@ this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(thi
600
600
  this.ast=t.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
601
601
  // Creates a new object with the specified `formats` merged with the default
602
602
  // formats.
603
- this.formats=Or(t.formats,n),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pr((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,fe([void 0],e,!1)))}),{cache:Ir(i.number),strategy:_r.variadic}),getDateTimeFormat:pr((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,fe([void 0],e,!1)))}),{cache:Ir(i.dateTime),strategy:_r.variadic}),getPluralRules:pr((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,fe([void 0],e,!1)))}),{cache:Ir(i.pluralRules),strategy:_r.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])},t.__parse=fr,
603
+ this.formats=Ir(t.formats,n),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:fr((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,pe([void 0],e,!1)))}),{cache:Cr(i.number),strategy:_r.variadic}),getDateTimeFormat:fr((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,pe([void 0],e,!1)))}),{cache:Cr(i.dateTime),strategy:_r.variadic}),getPluralRules:fr((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,pe([void 0],e,!1)))}),{cache:Cr(i.pluralRules),strategy:_r.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])},t.__parse=pr,
604
604
  // Default format options used as the prototype of the `formats` provided to the
605
605
  // constructor. These are used when constructing the internal Intl.NumberFormat
606
606
  // and Intl.DateTimeFormat instances.
607
- 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}(),xr=Cr;
607
+ 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}(),xr=Or;
608
608
  /*
609
609
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
610
610
  Copyrights licensed under the New BSD License.
611
611
  See the accompanying LICENSE file for terms.
612
- */const Rr={},Nr=(t,e,r)=>r?(e in Rr||(Rr[e]={}),t in Rr[e]||(Rr[e][t]=r),r):r,Mr=(t,e)=>{if(null==e)return;if(e in Rr&&t in Rr[e])return Rr[e][t];const r=tn(e);for(let n=0;n<r.length;n++){const o=$r(r[n],t);if(o)return Nr(t,e,o)}};let Ur;const Dr=Zt({});function Fr(t){return t in Ur}function $r(t,e){if(!Fr(t))return null;const r=function(t){return Ur[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function kr(t,...e){delete Rr[t],Dr.update((r=>(r[t]=ie.all([r[t]||{},...e]),r)))}Yt([Dr],(([t])=>Object.keys(t))),Dr.subscribe((t=>Ur=t));const Gr={};function jr(t){return Gr[t]}function Wr(t){return null!=t&&tn(t).some((t=>{var e;return null===(e=jr(t))||void 0===e?void 0:e.size}))}const Xr={};function Vr(t){if(!Wr(t))return t in Xr?Xr[t]:Promise.resolve();const e=function(t){return tn(t).map((t=>{const e=jr(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Xr[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){Gr[t].delete(e),0===Gr[t].size&&delete Gr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>kr(t,...e)))}(t,e)))).then((()=>{if(Wr(t))return Vr(t);delete Xr[t]})),Xr[t]}
612
+ */const Rr={},Nr=(t,e,r)=>r?(e in Rr||(Rr[e]={}),t in Rr[e]||(Rr[e][t]=r),r):r,Mr=(t,e)=>{if(null==e)return;if(e in Rr&&t in Rr[e])return Rr[e][t];const r=tn(e);for(let n=0;n<r.length;n++){const o=Fr(r[n],t);if(o)return Nr(t,e,o)}};let Ur;const Dr=Zt({});function $r(t){return t in Ur}function Fr(t,e){if(!$r(t))return null;const r=function(t){return Ur[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function kr(t,...e){delete Rr[t],Dr.update((r=>(r[t]=ie.all([r[t]||{},...e]),r)))}Yt([Dr],(([t])=>Object.keys(t))),Dr.subscribe((t=>Ur=t));const Gr={};function jr(t){return Gr[t]}function Wr(t){return null!=t&&tn(t).some((t=>{var e;return null===(e=jr(t))||void 0===e?void 0:e.size}))}const Xr={};function Vr(t){if(!Wr(t))return t in Xr?Xr[t]:Promise.resolve();const e=function(t){return tn(t).map((t=>{const e=jr(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Xr[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){Gr[t].delete(e),0===Gr[t].size&&delete Gr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>kr(t,...e)))}(t,e)))).then((()=>{if(Wr(t))return Vr(t);delete Xr[t]})),Xr[t]}
613
613
  /*! *****************************************************************************
614
614
  Copyright (c) Microsoft Corporation.
615
615
 
@@ -623,7 +623,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
623
623
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
624
624
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
625
625
  PERFORMANCE OF THIS SOFTWARE.
626
- ***************************************************************************** */function zr(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const Kr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Zr(){return Kr}const Yr=Zt(!1);let qr;const Jr=Zt(null);function Qr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function tn(t,e=Zr().fallbackLocale){const r=Qr(t);return e?[...new Set([...r,...Qr(e)])]:r}function en(){return null!=qr?qr:void 0}Jr.subscribe((t=>{qr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const rn=Object.assign(Object.assign({},Jr),{set:t=>{if(t&&function(t){if(null==t)return;const e=tn(t);for(let t=0;t<e.length;t++){const r=e[t];if(Fr(r))return r}}(t)&&Wr(t)){const{loadingDelay:e}=Zr();let r;return"undefined"!=typeof window&&null!=en()&&e?r=window.setTimeout((()=>Yr.set(!0)),e):Yr.set(!0),Vr(t).then((()=>{Jr.set(t)})).finally((()=>{clearTimeout(r),Yr.set(!1)}))}return Jr.set(t)}}),nn=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},on=(t,e)=>{const{formats:r}=Zr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},sn=nn((t=>{var{locale:e,format:r}=t,n=zr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=on("number",r)),new Intl.NumberFormat(e,n)})),an=nn((t=>{var{locale:e,format:r}=t,n=zr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=on("date",r):0===Object.keys(n).length&&(n=on("date","short")),new Intl.DateTimeFormat(e,n)})),ln=nn((t=>{var{locale:e,format:r}=t,n=zr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=on("time",r):0===Object.keys(n).length&&(n=on("time","short")),new Intl.DateTimeFormat(e,n)})),un=nn(((t,e=en())=>new xr(t,e,Zr().formats,{ignoreTag:Zr().ignoreTag}))),cn=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=en(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Mr(t,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(i=null!==(o=null===(n=(r=Zr()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:u}))&&void 0!==o?o:u)&&void 0!==i?i:t;if(!a)return c;let h=c;try{h=un(c,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},hn=(t,e)=>((t={})=>{var{locale:e=en()}=t,r=zr(t,["locale"]);return ln(Object.assign({locale:e},r))})(e).format(t),fn=(t,e)=>((t={})=>{var{locale:e=en()}=t,r=zr(t,["locale"]);return an(Object.assign({locale:e},r))})(e).format(t),pn=(t,e)=>((t={})=>{var{locale:e=en()}=t,r=zr(t,["locale"]);return sn(Object.assign({locale:e},r))})(e).format(t),dn=(t,e=en())=>Mr(t,e),gn=Yt([rn,Dr],(()=>cn));Yt([rn],(()=>hn)),Yt([rn],(()=>fn)),Yt([rn],(()=>pn)),Yt([rn,Dr],(()=>dn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Vt.indexOf(t)){let r=new Xt(e);zt[t]=r,Vt.push(t)}return zt[t]}};function mn(t,e){kr(t,e)}const yn={en:{wageringSlider:{title:"- Wagering Bonus -"}},tr:{wageringSlider:{title:"- Wagering Bonus -"}},el:{wageringSlider:{title:"- Wagering Bonus -"}},ro:{wageringSlider:{title:"- Wagering Bonus -"}}};var bn=function(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}((function(t,e){
626
+ ***************************************************************************** */function zr(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const Kr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Zr(){return Kr}const Yr=Zt(!1);let qr;const Jr=Zt(null);function Qr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function tn(t,e=Zr().fallbackLocale){const r=Qr(t);return e?[...new Set([...r,...Qr(e)])]:r}function en(){return null!=qr?qr:void 0}Jr.subscribe((t=>{qr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const rn=Object.assign(Object.assign({},Jr),{set:t=>{if(t&&function(t){if(null==t)return;const e=tn(t);for(let t=0;t<e.length;t++){const r=e[t];if($r(r))return r}}(t)&&Wr(t)){const{loadingDelay:e}=Zr();let r;return"undefined"!=typeof window&&null!=en()&&e?r=window.setTimeout((()=>Yr.set(!0)),e):Yr.set(!0),Vr(t).then((()=>{Jr.set(t)})).finally((()=>{clearTimeout(r),Yr.set(!1)}))}return Jr.set(t)}}),nn=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},on=(t,e)=>{const{formats:r}=Zr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},sn=nn((t=>{var{locale:e,format:r}=t,n=zr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=on("number",r)),new Intl.NumberFormat(e,n)})),an=nn((t=>{var{locale:e,format:r}=t,n=zr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=on("date",r):0===Object.keys(n).length&&(n=on("date","short")),new Intl.DateTimeFormat(e,n)})),ln=nn((t=>{var{locale:e,format:r}=t,n=zr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=on("time",r):0===Object.keys(n).length&&(n=on("time","short")),new Intl.DateTimeFormat(e,n)})),un=nn(((t,e=en())=>new xr(t,e,Zr().formats,{ignoreTag:Zr().ignoreTag}))),cn=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=en(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Mr(t,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(i=null!==(o=null===(n=(r=Zr()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:u}))&&void 0!==o?o:u)&&void 0!==i?i:t;if(!a)return c;let h=c;try{h=un(c,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},hn=(t,e)=>((t={})=>{var{locale:e=en()}=t,r=zr(t,["locale"]);return ln(Object.assign({locale:e},r))})(e).format(t),pn=(t,e)=>((t={})=>{var{locale:e=en()}=t,r=zr(t,["locale"]);return an(Object.assign({locale:e},r))})(e).format(t),fn=(t,e)=>((t={})=>{var{locale:e=en()}=t,r=zr(t,["locale"]);return sn(Object.assign({locale:e},r))})(e).format(t),dn=(t,e=en())=>Mr(t,e),gn=Yt([rn,Dr],(()=>cn));Yt([rn],(()=>hn)),Yt([rn],(()=>pn)),Yt([rn],(()=>fn)),Yt([rn,Dr],(()=>dn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Vt.indexOf(t)){let r=new Xt(e);zt[t]=r,Vt.push(t)}return zt[t]}};function mn(t,e){kr(t,e)}const yn={en:{wageringSlider:{title:"- Wagering Bonus -"}},tr:{wageringSlider:{title:"- Wagering Bonus -"}},el:{wageringSlider:{title:"- Wagering Bonus -"}},ro:{wageringSlider:{title:"- Wagering Bonus -"}}};var bn=function(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}((function(t,e){
627
627
  /** @license
628
628
  * eventsource.js
629
629
  * Available under MIT License (MIT)
@@ -631,7 +631,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
631
631
  */
632
632
  /*jslint indent: 2, vars: true, plusplus: true */
633
633
  /*global setTimeout, clearTimeout */
634
- !function(r){var n=r.setTimeout,o=r.clearTimeout,i=r.XMLHttpRequest,s=r.XDomainRequest,a=r.ActiveXObject,l=r.EventSource,u=r.document,c=r.Promise,h=r.fetch,f=r.Response,p=r.TextDecoder,d=r.TextEncoder,g=r.AbortController;
634
+ !function(r){var n=r.setTimeout,o=r.clearTimeout,i=r.XMLHttpRequest,s=r.XDomainRequest,a=r.ActiveXObject,l=r.EventSource,u=r.document,c=r.Promise,h=r.fetch,p=r.Response,f=r.TextDecoder,d=r.TextEncoder,g=r.AbortController;
635
635
  // see #118 (Promise#finally with polyfilled Promise)
636
636
  // see #123 (data URLs crash Edge)
637
637
  // see #125 (CSP violations)
@@ -641,9 +641,9 @@ if("undefined"==typeof window||void 0===u||"readyState"in u||null!=u.body||(// F
641
641
  u.readyState="loading",window.addEventListener("load",(function(t){u.readyState="complete"}),!1)),null==i&&null!=a&&(// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest_in_IE6
642
642
  i=function(){return new a("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==g){var m=h;h=function(t,e){var r=e.signal;return m(t,{headers:e.headers,credentials:e.credentials,cache:e.cache}).then((function(t){var e=t.body.getReader();return r._reader=e,r._aborted&&r._reader.cancel(),{status:t.status,statusText:t.statusText,headers:t.headers,body:{getReader:function(){return e}}}}))},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function y(){this.bitsNeeded=0,this.codePoint=0}y.prototype.decode=function(t){function e(t,e,r){if(1===r)return t>=128>>e&&t<<e<=2047;if(2===r)return t>=2048>>e&&t<<e<=55295||t>=57344>>e&&t<<e<=65535;if(3===r)return t>=65536>>e&&t<<e<=1114111;throw new Error}function r(t,e){if(6===t)return e>>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var n=65533,o="",i=this.bitsNeeded,s=this.codePoint,a=0;a<t.length;a+=1){var l=t[a];0!==i&&(l<128||l>191||!e(s<<6|63&l,i-6,r(i,s)))&&(i=0,s=n,o+=String.fromCharCode(s)),0===i?(l>=0&&l<=127?(i=0,s=l):l>=192&&l<=223?(i=6,s=31&l):l>=224&&l<=239?(i=12,s=15&l):l>=240&&l<=247?(i=18,s=7&l):(i=0,s=n),0===i||e(s,i,r(i,s))||(i=0,s=n)):(i-=6,s=s<<6|63&l),0===i&&(s<=65535?o+=String.fromCharCode(s):(o+=String.fromCharCode(55296+(s-65535-1>>10)),o+=String.fromCharCode(56320+(s-65535-1&1023))))}return this.bitsNeeded=i,this.codePoint=s,o};
643
643
  // IE, Edge
644
- null!=p&&null!=d&&function(){try{return"test"===(new p).decode((new d).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(p=y);var b=function(){};function v(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=b,this.onload=b,this.onerror=b,this.onreadystatechange=b,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=b}function E(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function w(t){for(
644
+ null!=f&&null!=d&&function(){try{return"test"===(new f).decode((new d).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(f=y);var b=function(){};function v(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=b,this.onload=b,this.onerror=b,this.onreadystatechange=b,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=b}function E(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function w(t){for(
645
645
  // Get headers: implemented according to mozilla's example code: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders#Example
646
- var e=Object.create(null),r=t.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),i=o.shift(),s=o.join(": ");e[E(i)]=s}this._map=e}function _(){}function T(t){this._headers=t}function A(){}function B(){this._listeners=Object.create(null)}function S(t){n((function(){throw t}),0)}function H(t){this.type=t,this.target=void 0}function L(t,e){H.call(this,t),this.data=e.data,this.lastEventId=e.lastEventId}function P(t,e){H.call(this,t),this.status=e.status,this.statusText=e.statusText,this.headers=e.headers}function O(t,e){H.call(this,t),this.error=e.error}v.prototype.open=function(t,e){this._abort(!0);var r=this,s=this._xhr,a=1,l=0;this._abort=function(t){0!==r._sendTimeout&&(o(r._sendTimeout),r._sendTimeout=0),1!==a&&2!==a&&3!==a||(a=4,s.onload=b,s.onerror=b,s.onabort=b,s.onprogress=b,s.onreadystatechange=b,
646
+ var e=Object.create(null),r=t.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),i=o.shift(),s=o.join(": ");e[E(i)]=s}this._map=e}function _(){}function T(t){this._headers=t}function A(){}function B(){this._listeners=Object.create(null)}function S(t){n((function(){throw t}),0)}function H(t){this.type=t,this.target=void 0}function L(t,e){H.call(this,t),this.data=e.data,this.lastEventId=e.lastEventId}function P(t,e){H.call(this,t),this.status=e.status,this.statusText=e.statusText,this.headers=e.headers}function I(t,e){H.call(this,t),this.error=e.error}v.prototype.open=function(t,e){this._abort(!0);var r=this,s=this._xhr,a=1,l=0;this._abort=function(t){0!==r._sendTimeout&&(o(r._sendTimeout),r._sendTimeout=0),1!==a&&2!==a&&3!==a||(a=4,s.onload=b,s.onerror=b,s.onabort=b,s.onprogress=b,s.onreadystatechange=b,
647
647
  // IE 8 - 9: XDomainRequest#abort() does not fire any event
648
648
  // Opera < 10: XMLHttpRequest#abort() does not fire any event
649
649
  s.abort(),0!==l&&(o(l),l=0),t||(r.readyState=4,r.onabort(null),r.onreadystatechange())),a=0};var u=function(){if(1===a){
@@ -657,7 +657,7 @@ t=0,e="",n=void 0}0!==t&&(a=2,r.readyState=2,r.status=t,r.statusText=e,r._conten
657
657
  }r.readyState=3,r.responseText=t,r.onprogress()}},h=function(t,e){if(null!=e&&null!=e.preventDefault||(e={preventDefault:b}),
658
658
  // Firefox 52 fires "readystatechange" (xhr.readyState === 4) without final "readystatechange" (xhr.readyState === 3)
659
659
  // IE 8 fires "onload" without "onprogress"
660
- c(),1===a||2===a||3===a){if(a=4,0!==l&&(o(l),l=0),r.readyState=4,"load"===t)r.onload(e);else if("error"===t)r.onerror(e);else{if("abort"!==t)throw new TypeError;r.onabort(e)}r.onreadystatechange()}},f=function(){l=n((function(){f()}),500),3===s.readyState&&c()};
660
+ c(),1===a||2===a||3===a){if(a=4,0!==l&&(o(l),l=0),r.readyState=4,"load"===t)r.onload(e);else if("error"===t)r.onerror(e);else{if("abort"!==t)throw new TypeError;r.onabort(e)}r.onreadystatechange()}},p=function(){l=n((function(){p()}),500),3===s.readyState&&c()};
661
661
  // XDomainRequest#abort removes onprogress, onerror, onload
662
662
  "onload"in s&&(s.onload=function(t){h("load",t)}),"onerror"in s&&(s.onerror=function(t){h("error",t)}),
663
663
  // improper fix to match Firefox behaviour, but it is better than just ignore abort
@@ -678,7 +678,7 @@ c(),1===a||2===a||3===a){if(a=4,0!==l&&(o(l),l=0),r.readyState=4,"load"===t)r.on
678
678
  c():2===s.readyState&&u())}(t)}),!("contentType"in s)&&"ontimeout"in i.prototype||(e+=(-1===e.indexOf("?")?"?":"&")+"padding=true"),s.open(t,e,!0),"readyState"in s&&(
679
679
  // workaround for Opera 12 issue with "progress" events
680
680
  // #91 (XMLHttpRequest onprogress not fired for streaming response in Edge 14-15-?)
681
- l=n((function(){f()}),0))},v.prototype.abort=function(){this._abort(!1)},v.prototype.getResponseHeader=function(t){return this._contentType},v.prototype.setRequestHeader=function(t,e){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(t,e)},v.prototype.getAllResponseHeaders=function(){
681
+ l=n((function(){p()}),0))},v.prototype.abort=function(){this._abort(!1)},v.prototype.getResponseHeader=function(t){return this._contentType},v.prototype.setRequestHeader=function(t,e){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(t,e)},v.prototype.getAllResponseHeaders=function(){
682
682
  // XMLHttpRequest#getAllResponseHeaders returns null for CORS requests in Firefox 3.6.28
683
683
  return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},v.prototype.send=function(){
684
684
  // loading indicator in Safari < ? (6), Chrome < 14, Firefox
@@ -690,47 +690,52 @@ if("ontimeout"in i.prototype&&("sendAsBinary"in i.prototype||"mozAnon"in i.proto
690
690
  t.send(void 0)}catch(t){
691
691
  // Safari 5.1.7, Opera 12
692
692
  throw t}}else{var e=this;e._sendTimeout=n((function(){e._sendTimeout=0,e.send()}),4)}},w.prototype.get=function(t){return this._map[E(t)]},null!=i&&null==i.HEADERS_RECEIVED&&(// IE < 9, Firefox 3.6
693
- i.HEADERS_RECEIVED=2),_.prototype.open=function(t,e,r,n,o,s,a){t.open("GET",o);var l=0;for(var u in t.onprogress=function(){var e=t.responseText.slice(l);l+=e.length,r(e)},t.onerror=function(t){t.preventDefault(),n(new Error("NetworkError"))},t.onload=function(){n(null)},t.onabort=function(){n(null)},t.onreadystatechange=function(){if(t.readyState===i.HEADERS_RECEIVED){var r=t.status,n=t.statusText,o=t.getResponseHeader("Content-Type"),s=t.getAllResponseHeaders();e(r,n,o,new w(s))}},t.withCredentials=s,a)Object.prototype.hasOwnProperty.call(a,u)&&t.setRequestHeader(u,a[u]);return t.send(),t},T.prototype.get=function(t){return this._headers.get(t)},A.prototype.open=function(t,e,r,n,o,i,s){var a=null,l=new g,u=l.signal,f=new p;return h(o,{headers:s,credentials:i?"include":"same-origin",signal:u,cache:"no-store"}).then((function(t){
693
+ i.HEADERS_RECEIVED=2),_.prototype.open=function(t,e,r,n,o,s,a){t.open("GET",o);var l=0;for(var u in t.onprogress=function(){var e=t.responseText.slice(l);l+=e.length,r(e)},t.onerror=function(t){t.preventDefault(),n(new Error("NetworkError"))},t.onload=function(){n(null)},t.onabort=function(){n(null)},t.onreadystatechange=function(){if(t.readyState===i.HEADERS_RECEIVED){var r=t.status,n=t.statusText,o=t.getResponseHeader("Content-Type"),s=t.getAllResponseHeaders();e(r,n,o,new w(s))}},t.withCredentials=s,a)Object.prototype.hasOwnProperty.call(a,u)&&t.setRequestHeader(u,a[u]);return t.send(),t},T.prototype.get=function(t){return this._headers.get(t)},A.prototype.open=function(t,e,r,n,o,i,s){var a=null,l=new g,u=l.signal,p=new f;return h(o,{headers:s,credentials:i?"include":"same-origin",signal:u,cache:"no-store"}).then((function(t){
694
694
  // see https://github.com/promises-aplus/promises-spec/issues/179
695
695
  return a=t.body.getReader(),e(t.status,t.statusText,t.headers.get("Content-Type"),new T(t.headers)),new c((function(t,e){var n=function(){a.read().then((function(e){if(e.done)
696
696
  //Note: bytes in textDecoder are ignored
697
- t(void 0);else{var o=f.decode(e.value,{stream:!0});r(o),n()}})).catch((function(t){e(t)}))};n()}))})).catch((function(t){return"AbortError"===t.name?void 0:t})).then((function(t){n(t)})),{abort:function(){null!=a&&a.cancel(),l.abort()}}},B.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(null!=e)for(var r=e.length,n=0;n<r;n+=1){var o=e[n];try{"function"==typeof o.handleEvent?o.handleEvent(t):o.call(this,t)}catch(t){S(t)}}},B.prototype.addEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];null==n&&(n=[],r[t]=n);for(var o=!1,i=0;i<n.length;i+=1)n[i]===e&&(o=!0);o||n.push(e)},B.prototype.removeEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];if(null!=n){for(var o=[],i=0;i<n.length;i+=1)n[i]!==e&&o.push(n[i]);0===o.length?delete r[t]:r[t]=o}},L.prototype=Object.create(H.prototype),P.prototype=Object.create(H.prototype),O.prototype=Object.create(H.prototype);var I=-1,C=-1,x=/^text\/event\-stream(;.*)?$/i,R=function(t,e){var r=null==t?e:parseInt(t,10);return r!=r&&(r=e),N(r)},N=function(t){return Math.min(Math.max(t,1e3),18e6)},M=function(t,e,r){try{"function"==typeof e&&e.call(t,r)}catch(t){S(t)}};function U(t,e){B.call(this),e=e||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(t,e,r){e=String(e);var a=Boolean(r.withCredentials),l=r.lastEventIdQueryParameterName||"lastEventId",u=N(1e3),c=R(r.heartbeatTimeout,45e3),h="",f=u,p=!1,d=0,g=r.headers||{},m=r.Transport,y=D&&null==m?void 0:new v(null!=m?new m:null!=i&&"withCredentials"in i.prototype||null==s?new i:new s),b=null!=m&&"string"!=typeof m?new m:null==y?new A:new _,E=void 0,w=0,T=I,B="",S="",H="",U="",F=0,$=0,k=0,G=function(e,r,n,o){if(0===T)if(200===e&&null!=n&&x.test(n)){T=1,p=Date.now(),f=u,t.readyState=1;var i=new P("open",{status:e,statusText:r,headers:o});t.dispatchEvent(i),M(t,t.onopen,i)}else{var s="";200!==e?(r&&(r=r.replace(/\s+/g," ")),s="EventSource's response has a status "+e+" "+r+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",X();i=new P("error",{status:e,statusText:r,headers:o});t.dispatchEvent(i),M(t,t.onerror,i),console.error(s)}},j=function(e){if(1===T){for(var r=-1,i=0;i<e.length;i+=1){(l=e.charCodeAt(i))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(r=i)}var s=(-1!==r?U:"")+e.slice(0,r+1);U=(-1===r?U:"")+e.slice(r+1),""!==e&&(p=Date.now(),d+=e.length);for(var a=0;a<s.length;a+=1){var l=s.charCodeAt(a);if(F===C&&l==="\n".charCodeAt(0))F=0;else if(F===C&&(F=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==F){1===F&&(k=a+1);var g=s.slice($,k-1),m=s.slice(k+(k<a&&s.charCodeAt(k)===" ".charCodeAt(0)?1:0),a);"data"===g?(B+="\n",B+=m):"id"===g?S=m:"event"===g?H=m:"retry"===g?(u=R(m,u),f=u):"heartbeatTimeout"===g&&(c=R(m,c),0!==w&&(o(w),w=n((function(){V()}),c)))}if(0===F){if(""!==B){h=S,""===H&&(H="message");var y=new L(H,{data:B.slice(1),lastEventId:S});if(t.dispatchEvent(y),"open"===H?M(t,t.onopen,y):"message"===H?M(t,t.onmessage,y):"error"===H&&M(t,t.onerror,y),2===T)return}B="",H=""}F=l==="\r".charCodeAt(0)?C:0}else 0===F&&($=a,F=1),1===F?l===":".charCodeAt(0)&&(k=a+1,F=2):2===F&&(F=3)}}},W=function(e){if(1===T||0===T){T=I,0!==w&&(o(w),w=0),w=n((function(){V()}),f),f=N(Math.min(16*u,2*f)),t.readyState=0;var r=new O("error",{error:e});t.dispatchEvent(r),M(t,t.onerror,r),null!=e&&console.error(e)}},X=function(){T=2,null!=E&&(E.abort(),E=void 0),0!==w&&(o(w),w=0),t.readyState=2},V=function(){if(w=0,T===I){p=!1,d=0,w=n((function(){V()}),c),T=0,B="",H="",S=h,U="",$=0,k=0,F=0;
697
+ t(void 0);else{var o=p.decode(e.value,{stream:!0});r(o),n()}})).catch((function(t){e(t)}))};n()}))})).catch((function(t){return"AbortError"===t.name?void 0:t})).then((function(t){n(t)})),{abort:function(){null!=a&&a.cancel(),l.abort()}}},B.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(null!=e)for(var r=e.length,n=0;n<r;n+=1){var o=e[n];try{"function"==typeof o.handleEvent?o.handleEvent(t):o.call(this,t)}catch(t){S(t)}}},B.prototype.addEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];null==n&&(n=[],r[t]=n);for(var o=!1,i=0;i<n.length;i+=1)n[i]===e&&(o=!0);o||n.push(e)},B.prototype.removeEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];if(null!=n){for(var o=[],i=0;i<n.length;i+=1)n[i]!==e&&o.push(n[i]);0===o.length?delete r[t]:r[t]=o}},L.prototype=Object.create(H.prototype),P.prototype=Object.create(H.prototype),I.prototype=Object.create(H.prototype);var C=-1,O=-1,x=/^text\/event\-stream(;.*)?$/i,R=function(t,e){var r=null==t?e:parseInt(t,10);return r!=r&&(r=e),N(r)},N=function(t){return Math.min(Math.max(t,1e3),18e6)},M=function(t,e,r){try{"function"==typeof e&&e.call(t,r)}catch(t){S(t)}};function U(t,e){B.call(this),e=e||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(t,e,r){e=String(e);var a=Boolean(r.withCredentials),l=r.lastEventIdQueryParameterName||"lastEventId",u=N(1e3),c=R(r.heartbeatTimeout,45e3),h="",p=u,f=!1,d=0,g=r.headers||{},m=r.Transport,y=D&&null==m?void 0:new v(null!=m?new m:null!=i&&"withCredentials"in i.prototype||null==s?new i:new s),b=null!=m&&"string"!=typeof m?new m:null==y?new A:new _,E=void 0,w=0,T=C,B="",S="",H="",U="",$=0,F=0,k=0,G=function(e,r,n,o){if(0===T)if(200===e&&null!=n&&x.test(n)){T=1,f=Date.now(),p=u,t.readyState=1;var i=new P("open",{status:e,statusText:r,headers:o});t.dispatchEvent(i),M(t,t.onopen,i)}else{var s="";200!==e?(r&&(r=r.replace(/\s+/g," ")),s="EventSource's response has a status "+e+" "+r+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",X();i=new P("error",{status:e,statusText:r,headers:o});t.dispatchEvent(i),M(t,t.onerror,i),console.error(s)}},j=function(e){if(1===T){for(var r=-1,i=0;i<e.length;i+=1){(l=e.charCodeAt(i))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(r=i)}var s=(-1!==r?U:"")+e.slice(0,r+1);U=(-1===r?U:"")+e.slice(r+1),""!==e&&(f=Date.now(),d+=e.length);for(var a=0;a<s.length;a+=1){var l=s.charCodeAt(a);if($===O&&l==="\n".charCodeAt(0))$=0;else if($===O&&($=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==$){1===$&&(k=a+1);var g=s.slice(F,k-1),m=s.slice(k+(k<a&&s.charCodeAt(k)===" ".charCodeAt(0)?1:0),a);"data"===g?(B+="\n",B+=m):"id"===g?S=m:"event"===g?H=m:"retry"===g?(u=R(m,u),p=u):"heartbeatTimeout"===g&&(c=R(m,c),0!==w&&(o(w),w=n((function(){V()}),c)))}if(0===$){if(""!==B){h=S,""===H&&(H="message");var y=new L(H,{data:B.slice(1),lastEventId:S});if(t.dispatchEvent(y),"open"===H?M(t,t.onopen,y):"message"===H?M(t,t.onmessage,y):"error"===H&&M(t,t.onerror,y),2===T)return}B="",H=""}$=l==="\r".charCodeAt(0)?O:0}else 0===$&&(F=a,$=1),1===$?l===":".charCodeAt(0)&&(k=a+1,$=2):2===$&&($=3)}}},W=function(e){if(1===T||0===T){T=C,0!==w&&(o(w),w=0),w=n((function(){V()}),p),p=N(Math.min(16*u,2*p)),t.readyState=0;var r=new I("error",{error:e});t.dispatchEvent(r),M(t,t.onerror,r),null!=e&&console.error(e)}},X=function(){T=2,null!=E&&(E.abort(),E=void 0),0!==w&&(o(w),w=0),t.readyState=2},V=function(){if(w=0,T===C){f=!1,d=0,w=n((function(){V()}),c),T=0,B="",H="",S=h,U="",F=0,k=0,$=0;
698
698
  // https://bugzilla.mozilla.org/show_bug.cgi?id=428916
699
699
  // Request header field Last-Event-ID is not allowed by Access-Control-Allow-Headers.
700
700
  var r=e;if("data:"!==e.slice(0,5)&&"blob:"!==e.slice(0,5)&&""!==h){
701
701
  // Remove the lastEventId parameter if it's already part of the request URL.
702
702
  var o=e.indexOf("?");r=-1===o?e:e.slice(0,o+1)+e.slice(o+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(t,e){return e===l?"":t})),
703
703
  // Append the current lastEventId to the request URL.
704
- r+=(-1===e.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var i=t.withCredentials,s={Accept:"text/event-stream"},a=t.headers;if(null!=a)for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(s[u]=a[u]);try{E=b.open(y,G,j,W,r,i,s)}catch(t){throw X(),t}}else if(p||null==E){var f=Math.max((p||Date.now())+c-Date.now(),1);p=!1,w=n((function(){V()}),f)}else W(new Error("No activity within "+c+" milliseconds. "+(0===T?"No response received.":d+" chars received.")+" Reconnecting.")),null!=E&&(E.abort(),E=void 0)};t.url=e,t.readyState=0,t.withCredentials=a,t.headers=g,t._close=X,V()}(this,t,e)}var D=null!=h&&null!=f&&"body"in f.prototype;U.prototype=Object.create(B.prototype),U.prototype.CONNECTING=0,U.prototype.OPEN=1,U.prototype.CLOSED=2,U.prototype.close=function(){this._close()},U.CONNECTING=0,U.OPEN=1,U.CLOSED=2,U.prototype.withCredentials=void 0;var F=l;null==i||null!=l&&"withCredentials"in l.prototype||(
704
+ r+=(-1===e.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var i=t.withCredentials,s={Accept:"text/event-stream"},a=t.headers;if(null!=a)for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(s[u]=a[u]);try{E=b.open(y,G,j,W,r,i,s)}catch(t){throw X(),t}}else if(f||null==E){var p=Math.max((f||Date.now())+c-Date.now(),1);f=!1,w=n((function(){V()}),p)}else W(new Error("No activity within "+c+" milliseconds. "+(0===T?"No response received.":d+" chars received.")+" Reconnecting.")),null!=E&&(E.abort(),E=void 0)};t.url=e,t.readyState=0,t.withCredentials=a,t.headers=g,t._close=X,V()}(this,t,e)}var D=null!=h&&null!=p&&"body"in p.prototype;U.prototype=Object.create(B.prototype),U.prototype.CONNECTING=0,U.prototype.OPEN=1,U.prototype.CLOSED=2,U.prototype.close=function(){this._close()},U.CONNECTING=0,U.OPEN=1,U.CLOSED=2,U.prototype.withCredentials=void 0;var $=l;null==i||null!=l&&"withCredentials"in l.prototype||(
705
705
  // Why replace a native EventSource ?
706
706
  // https://bugzilla.mozilla.org/show_bug.cgi?id=444328
707
707
  // https://bugzilla.mozilla.org/show_bug.cgi?id=831392
708
708
  // https://code.google.com/p/chromium/issues/detail?id=260144
709
709
  // https://code.google.com/p/chromium/issues/detail?id=225654
710
710
  // ...
711
- F=U),n((function(){if(-1!==["Asia/Anadyr","Asia/Barnaul","Asia/Chita","Asia/Irkutsk","Asia/Kamchatka","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Magadan","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Tomsk","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Europe/Astrakhan","Europe/Kaliningrad","Europe/Kirov","Europe/Moscow","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Ulyanovsk","Europe/Volgograd","W-SU"].indexOf((new Intl.DateTimeFormat).resolvedOptions().timeZone)){var t=function(t){return""+t+""},e=["","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","","24 февраля "+t("Россия напала на Украину")+".","","Народ Украины всеобще мобилизован и готов защищать свою страну от вражеского вторжения. "+t("91% украинцев полностью поддерживает своего президента Владимира Зеленского")+" и его ответные действия на нападение России.","","Весь мир осудил необоснованное вторжение и решил ввести "+t("невиданные ранее санкции против России")+". С каждым новым днем они будут ощущаться все сильнее и сильнее среди мирных граждан.","","В то же время, "+t("российское правительство ограничивает доступ граждан к внешней информации")+", насаждая однобокие формулировки и версии происходящего.","","В качестве надежного источника информации загрузите безопасный браузер Tor:","",t("https://www.torproject.org/"),"","И посетите:","",t("https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/russian"),"","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","",t("Прекратите эту бессмысленную войну! Остановите военного преступника Путина!")+"","","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦",""].join("\n");alert(e),window.open("http://www.change.org/NetVoyne")}}),15e3),function(r){var n=function(t){t.EventSourcePolyfill=U,t.NativeEventSource=l,t.EventSource=F}(e);void 0!==n&&(t.exports=n)}()}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:ct:globalThis)})),vn="data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e";function En(t,e){kr(t,e)}const wn={en:{progressBar:{bets:"bets"}},tr:{progressBar:{bets:"bets"}},el:{progressBar:{bets:"bets"}}};
712
- /* ../general-icon-progress-bar/src/GeneralIconProgressBar.svelte generated by Svelte v3.48.0 */function _n(e){let r,n,o,i,s;return{c(){r=d("div"),n=d("div"),o=d("span"),i=m(/*progressText*/e[3]),this.c=t,v(o,"part","progressText"),v(n,"class",s="stepBar "+/*curTatus*/e[4]),v(n,"part","stepBar"),v(r,"class","general-icon-progress-bar"),v(r,"part","totalBar")},m(t,s){f(t,r,s),h(r,n),h(n,o),h(o,i),
713
- /*span_binding*/e[11](o),
714
- /*div0_binding*/e[12](n),
715
- /*div1_binding*/e[13](r)},p(t,[e]){/*progressText*/8&e&&w(i,/*progressText*/t[3]),/*curTatus*/16&e&&s!==(s="stepBar "+/*curTatus*/t[4])&&v(n,"class",s)},i:t,o:t,d(t){t&&p(r)
716
- /*span_binding*/,e[11](null),
717
- /*div0_binding*/e[12](null),
718
- /*div1_binding*/e[13](null)}}}function Tn(t,e,r){let n;c(t,gn,(t=>r(18,n=t)));let o,i,s,a,l,u,h,{currentstep:f=0}=e,{total:p=1}=e,{showaspercent:d}=e,{lang:g="en"}=e,{status:m}=e,{translationUrl:y=""}=e,b="0px",v="active";!function({withLocale:t,translations:e}){rn.subscribe((r=>{null==r&&(Dr.set(e),rn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
711
+ $=U),n((function(){if(-1!==["Asia/Anadyr","Asia/Barnaul","Asia/Chita","Asia/Irkutsk","Asia/Kamchatka","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Magadan","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Tomsk","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Europe/Astrakhan","Europe/Kaliningrad","Europe/Kirov","Europe/Moscow","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Ulyanovsk","Europe/Volgograd","W-SU"].indexOf((new Intl.DateTimeFormat).resolvedOptions().timeZone)){var t=function(t){return""+t+""},e=["","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","","24 февраля "+t("Россия напала на Украину")+".","","Народ Украины всеобще мобилизован и готов защищать свою страну от вражеского вторжения. "+t("91% украинцев полностью поддерживает своего президента Владимира Зеленского")+" и его ответные действия на нападение России.","","Весь мир осудил необоснованное вторжение и решил ввести "+t("невиданные ранее санкции против России")+". С каждым новым днем они будут ощущаться все сильнее и сильнее среди мирных граждан.","","В то же время, "+t("российское правительство ограничивает доступ граждан к внешней информации")+", насаждая однобокие формулировки и версии происходящего.","","В качестве надежного источника информации загрузите безопасный браузер Tor:","",t("https://www.torproject.org/"),"","И посетите:","",t("https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/russian"),"","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","",t("Прекратите эту бессмысленную войну! Остановите военного преступника Путина!")+"","","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦",""].join("\n");alert(e),window.open("http://www.change.org/NetVoyne")}}),15e3),function(r){var n=function(t){t.EventSourcePolyfill=U,t.NativeEventSource=l,t.EventSource=$}(e);void 0!==n&&(t.exports=n)}()}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:ct:globalThis)})),vn="data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e";function En(t,e){kr(t,e)}const wn={en:{progressBar:{bets:"bets"}},tr:{progressBar:{bets:"bets"}},el:{progressBar:{bets:"bets"}}};
712
+ /* ../general-icon-progress-bar/src/GeneralIconProgressBar.svelte generated by Svelte v3.48.0 */function _n(e){let r,n,o,i,s;return{c(){r=d("div"),n=d("div"),o=d("span"),i=m(/*progressText*/e[3]),this.c=t,v(o,"part","progressText"),v(n,"class",s="stepBar "+/*curTatus*/e[4]),v(n,"part","stepBar"),v(r,"class","general-icon-progress-bar"),v(r,"part","totalBar")},m(t,s){p(t,r,s),h(r,n),h(n,o),h(o,i),
713
+ /*span_binding*/e[13](o),
714
+ /*div0_binding*/e[14](n),
715
+ /*div1_binding*/e[15](r)},p(t,[e]){/*progressText*/8&e&&w(i,/*progressText*/t[3]),/*curTatus*/16&e&&s!==(s="stepBar "+/*curTatus*/t[4])&&v(n,"class",s)},i:t,o:t,d(t){t&&f(r)
716
+ /*span_binding*/,e[13](null),
717
+ /*div0_binding*/e[14](null),
718
+ /*div1_binding*/e[15](null)}}}function Tn(t,e,r){let n;c(t,gn,(t=>r(20,n=t)));let o,i,s,a,l,u,h,{currentstep:p=0}=e,{total:f=1}=e,{showaspercent:d}=e,{lang:g="en"}=e,{status:m}=e,{translationUrl:y=""}=e,{progressfractiondigit:b=1}=e,{triggerreset:v}=e,E="0px",w="active";!function({withLocale:t,translations:e}){rn.subscribe((r=>{null==r&&(Dr.set(e),rn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
719
719
  /*dictionary.set(translations);
720
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(wn).forEach((t=>{En(t,wn[t])}));const E=()=>{var t;t=g,rn.set(t)},w=()=>{let t=f/p*100;setTimeout((()=>{r(3,a=d||"true"===d?`${t}%`:`${f}/${p} ${n("progressBar.bets")}`)}),a?573:0),0==t||100==t?(u="0px",h="0px",b=100==t?"3px":"0px"):(u=`${o.offsetHeight}px`,l=u,h=o.offsetHeight/3+"px",b="0px"),i.style.setProperty("--parentElementHeight",l),s.style.setProperty("--currentStep",t+"%"),s.style.setProperty("--triangleHeight",u),s.style.setProperty("--halfOfTriangleHeight",h),s.style.setProperty("--stepBarBorderRadius",b)};return A((()=>{w()})),t.$$set=t=>{"currentstep"in t&&r(5,f=t.currentstep),"total"in t&&r(6,p=t.total),"showaspercent"in t&&r(7,d=t.showaspercent),"lang"in t&&r(8,g=t.lang),"status"in t&&r(9,m=t.status),"translationUrl"in t&&r(10,y=t.translationUrl)},t.$$.update=()=>{/*currentstep, total*/96&t.$$.dirty&&f&&p&&w(),/*lang*/256&t.$$.dirty&&g&&E(),/*status*/512&t.$$.dirty&&m&&r(4,v="active"==m?"":"inactive"),/*translationUrl*/1024&t.$$.dirty&&y&&fetch(y).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{En(e,t[e])}))})).catch((t=>{console.log(t)}))},[o,i,s,a,v,f,p,d,g,m,y,function(t){S[t?"unshift":"push"]((()=>{i=t,r(1,i)}))},function(t){S[t?"unshift":"push"]((()=>{s=t,r(2,s)}))},function(t){S[t?"unshift":"push"]((()=>{o=t,r(0,o)}))}]}
720
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(wn).forEach((t=>{En(t,wn[t])}));const _=()=>{var t;t=g,rn.set(t)},T=()=>{let t=(p/f*100).toFixed(b);setTimeout((()=>{r(3,a=d||"true"===d?`${t}%`:`${p}/${f} ${n("progressBar.bets")}`)}),a?573:0),0==t||100==t?(u="0px",h="0px",E=100==t?"3px":"0px"):(u=`${o.offsetHeight}px`,l=u,h=o.offsetHeight/3+"px",E="0px"),i.style.setProperty("--parentElementHeight",l),s.style.setProperty("--currentStep",t+"%"),s.style.setProperty("--triangleHeight",u),s.style.setProperty("--halfOfTriangleHeight",h),s.style.setProperty("--stepBarBorderRadius",E)};return A((()=>{T()})),t.$$set=t=>{"currentstep"in t&&r(5,p=t.currentstep),"total"in t&&r(6,f=t.total),"showaspercent"in t&&r(7,d=t.showaspercent),"lang"in t&&r(8,g=t.lang),"status"in t&&r(9,m=t.status),"translationUrl"in t&&r(10,y=t.translationUrl),"progressfractiondigit"in t&&r(11,b=t.progressfractiondigit),"triggerreset"in t&&r(12,v=t.triggerreset)},t.$$.update=()=>{/*triggerreset, total*/4160&t.$$.dirty&&v&&f&&T(),/*lang*/256&t.$$.dirty&&g&&_(),/*status*/512&t.$$.dirty&&m&&r(4,w="active"==m?"":"inactive"),/*translationUrl*/1024&t.$$.dirty&&y&&fetch(y).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{En(e,t[e])}))})).catch((t=>{console.log(t)}))},[o,i,s,a,w,p,f,d,g,m,y,b,v,function(t){S[t?"unshift":"push"]((()=>{i=t,r(1,i)}))},function(t){S[t?"unshift":"push"]((()=>{s=t,r(2,s)}))},function(t){S[t?"unshift":"push"]((()=>{o=t,r(0,o)}))}]}
721
721
  /* src/CasinoWageringBonusSliderController.svelte generated by Svelte v3.48.0 */
722
- function An(t,e,r){const n=t.slice();return n[49]=e[r],n[51]=r,n}
723
- // (292:6) {#if wageringList}
724
- function Bn(t){let e,r=/*wageringList*/t[1],n=[];for(let e=0;e<r.length;e+=1)n[e]=Sn(An(t,r,e));return{c(){e=d("div");for(let t=0;t<n.length;t+=1)n[t].c();v(e,"class","WagerList"),v(e,"part","WageringBonusList")},m(t,r){f(t,e,r);for(let t=0;t<n.length;t+=1)n[t].m(e,null)},p(t,o){if(/*currentWagerIdx, wageringList, onWagingBonusTitleClick*/1030&o[0]){let i;for(r=/*wageringList*/t[1],i=0;i<r.length;i+=1){const s=An(t,r,i);n[i]?n[i].p(s,o):(n[i]=Sn(s),n[i].c(),n[i].m(e,null))}for(;i<n.length;i+=1)n[i].d(1);n.length=r.length}},d(t){t&&p(e),function(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}(n,t)}}}
725
- // (294:8) {#each wageringList as wagerInfo, index}
726
- function Sn(t){let e,r,n,o,i,s,a,u,c,g,_,T,A,B,S,H,L,P,O,I=/*wagerInfo*/t[49].title+"";function C(){/*click_handler_1*/
727
- return t[18](/*wagerInfo*/t[49])}return{c(){var h,f,p,b;e=d("div"),r=d("div"),n=d("div"),o=d("img"),s=y(),a=d("div"),u=m(I),c=y(),g=d("div"),_=d("general-icon-progress-bar"),H=y(),v(o,"alt","crown"),v(o,"part","Icon"),v(o,"class","MiniIcon"),l(o.src,i=vn)||v(o,"src","data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e"),v(n,"class","trophy"),v(a,"class","gameInfo"),v(a,"part","WageringBonusTitleRow Title"),v(r,"class","bonusName"),h=r,f="display",null===(p="table")?h.style.removeProperty(f):h.style.setProperty(f,p,b?"important":""),v(r,"part","WageringBonusTitleRow"),E(_,"currentstep",T=/*wagerInfo*/t[49].currentStep),E(_,"status",A=/*wagerInfo*/t[49].status),E(_,"total",B=/*wagerInfo*/t[49].levelIncrement),E(_,"showaspercent",S=/*wagerInfo*/"money"==t[49].type),E(_,"lang",""),v(g,"class","ProgressBar bottom"),v(g,"part","ProgressBar"),v(e,"class",L="WageringBonusInfo "+(/*currentWagerIdx*/t[2]!=/*index*/t[51]?"hiddenDiv":"shownDiv")),v(e,"part","WageringBonusInfo")},m(t,i){f(t,e,i),h(e,r),h(r,n),h(n,o),h(r,s),h(r,a),h(a,u),h(e,c),h(e,g),h(g,_),h(e,H),P||(O=b(a,"click",C),P=!0)},p(r,n){t=r,/*wageringList*/2&n[0]&&I!==(I=/*wagerInfo*/t[49].title+"")&&w(u,I),/*wageringList*/2&n[0]&&T!==(T=/*wagerInfo*/t[49].currentStep)&&E(_,"currentstep",T),/*wageringList*/2&n[0]&&A!==(A=/*wagerInfo*/t[49].status)&&E(_,"status",A),/*wageringList*/2&n[0]&&B!==(B=/*wagerInfo*/t[49].levelIncrement)&&E(_,"total",B),/*wageringList*/2&n[0]&&S!==(S=/*wagerInfo*/"money"==t[49].type)&&E(_,"showaspercent",S),/*currentWagerIdx*/4&n[0]&&L!==(L="WageringBonusInfo "+(/*currentWagerIdx*/t[2]!=/*index*/t[51]?"hiddenDiv":"shownDiv"))&&v(e,"class",L)},d(t){t&&p(e),P=!1,O()}}}function Hn(e){let r,o,i,s,a,u,c,E,_,T,A,B,S,H,L,P,O,I,C,x,R,N,M,U,D,F,$,k=/*$_*/e[7]("wageringSlider.title")+"",G=/*wageringList*/e[1]&&Bn(e);return{c(){r=d("div"),o=d("div"),i=d("div"),s=g("svg"),a=g("path"),c=y(),E=d("div"),_=d("div"),T=m(k),A=y(),G&&G.c(),B=y(),S=d("div"),H=g("svg"),L=g("path"),I=y(),C=d("section"),x=d("div"),R=d("img"),M=y(),U=d("div"),U.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> \n <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',this.c=t,v(a,"d","M3 7L1 4L3 1"),v(a,"stroke","currentColor"),v(a,"stroke-linecap","round"),v(a,"stroke-linejoin","round"),v(s,"part","LeftArrowSvg"),v(s,"width","7"),v(s,"height","14"),v(s,"viewBox","0 0 4 8"),v(s,"fill","none"),v(s,"xmlns","http://www.w3.org/2000/svg"),v(i,"class",u="LeftArrow "+(/*isFirst*/e[4]?"Disabled":"")),v(i,"part","LeftArrow"),v(_,"class","Title Top"),v(_,"part","WageringBonusTitle"),v(E,"class","SliderCenter"),v(E,"part","WageringBonusContent"),v(L,"d","M1 1L3 4L1 7"),v(L,"stroke","currentColor"),v(L,"stroke-linecap","round"),v(L,"stroke-linejoin","round"),v(H,"width","7"),v(H,"height","14"),v(H,"viewBox","0 0 4 8"),v(H,"fill","none"),v(H,"xmlns","http://www.w3.org/2000/svg"),v(S,"part","RightRow"),v(S,"class",P="RightArrow "+(/*isLast*/e[0]?"Disabled":"")),v(o,"part","SliderWrapper"),v(o,"class",O="SliderWrapper "+(/*isIconMode*/e[6]?"HiddenWidget":"ShowWidget")),v(R,"alt","crown"),v(R,"part","Icon"),v(R,"class","MiniIcon"),l(R.src,N=vn)||v(R,"src","data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e"),v(x,"class","svg"),v(x,"part","AnimatorIconWrapper"),v(U,"class","restoreButton"),v(U,"part","RestoreButton"),v(C,"id","animator"),v(C,"part","Animator"),v(C,"class",D="SliderIcon "+(/*isIconMode*/e[6]?"ShowWidget":"HiddenWidget")),v(r,"class","WageringBonusWrapper"),v(r,"part","WageringBonusWrapper")},m(t,n){f(t,r,n),h(r,o),h(o,i),h(i,s),h(s,a),h(o,c),h(o,E),h(E,_),h(_,T),h(E,A),G&&G.m(E,null),h(o,B),h(o,S),h(S,H),h(H,L),
728
- /*div4_binding*/e[20](o),h(r,I),h(r,C),h(C,x),h(x,R),h(C,M),h(C,U),
729
- /*section_binding*/e[21](C),F||($=[b(i,"click",/*click_handler*/e[17]),b(S,"click",/*click_handler_2*/e[19]),b(C,"click",/*click_handler_3*/e[22])],F=!0)},p(t,e){/*isFirst*/16&e[0]&&u!==(u="LeftArrow "+(/*isFirst*/t[4]?"Disabled":""))&&v(i,"class",u),/*$_*/128&e[0]&&k!==(k=/*$_*/t[7]("wageringSlider.title")+"")&&w(T,k),/*wageringList*/t[1]?G?G.p(t,e):(G=Bn(t),G.c(),G.m(E,null)):G&&(G.d(1),G=null),/*isLast*/1&e[0]&&P!==(P="RightArrow "+(/*isLast*/t[0]?"Disabled":""))&&v(S,"class",P),/*isIconMode*/64&e[0]&&O!==(O="SliderWrapper "+(/*isIconMode*/t[6]?"HiddenWidget":"ShowWidget"))&&v(o,"class",O),/*isIconMode*/64&e[0]&&D!==(D="SliderIcon "+(/*isIconMode*/t[6]?"ShowWidget":"HiddenWidget"))&&v(C,"class",D)},i:t,o:t,d(t){t&&p(r),G&&G.d()
730
- /*div4_binding*/,e[20](null),
731
- /*section_binding*/e[21](null),F=!1,n($)}}}function Ln(t,e,r){let n;c(t,gn,(t=>r(7,n=t)));let o,i,s,a,l,{endpoint:u}=e,{session:h}=e,{lang:f="en"}=e,{numberofrecords:p="5"}=e,{looptime:d="5"}=e,{translationUrl:g=""}=e,m=window.navigator.userAgent,y=!0,b=!1,v=0,E=null,w=null,_=!1;!function({withLocale:t,translations:e}){rn.subscribe((r=>{null==r&&(Dr.set(e),rn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
722
+ function An(t,e,r){const n=t.slice();return n[56]=e[r],n[58]=r,n}
723
+ // (367:8) {:else}
724
+ function Bn(e){let r;return{c(){r=d("div"),r.textContent=" "},m(t,e){p(t,r,e)},p:t,d(t){t&&f(r)}}}
725
+ // (346:6) {#if wageringList && wageringList.length > 0}
726
+ function Sn(t){let e,r=/*wageringList*/t[1],n=[];for(let e=0;e<r.length;e+=1)n[e]=Hn(An(t,r,e));return{c(){e=d("div");for(let t=0;t<n.length;t+=1)n[t].c();v(e,"class","WagerList"),v(e,"part","WageringBonusList")},m(t,r){p(t,e,r);for(let t=0;t<n.length;t+=1)n[t].m(e,null)},p(t,o){if(/*currentWagerIdx, hiddenDivClass, wageringList, progressfractiondigit, onWagingBonusTitleClick*/8455&o[0]){let i;for(r=/*wageringList*/t[1],i=0;i<r.length;i+=1){const s=An(t,r,i);n[i]?n[i].p(s,o):(n[i]=Hn(s),n[i].c(),n[i].m(e,null))}for(;i<n.length;i+=1)n[i].d(1);n.length=r.length}},d(t){t&&f(e),function(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}(n,t)}}}
727
+ // (348:8) {#each wageringList as wagerInfo, index}
728
+ function Hn(t){let e,r,n,o,i,s,a,u,c,g,_,T,A,B,S,H,L,P,I,C,O=/*wagerInfo*/t[56].title+"";function x(){/*click_handler_2*/
729
+ return t[25](/*wagerInfo*/t[56])}return{c(){var h,p,f,b;e=d("div"),r=d("div"),n=d("div"),o=d("img"),s=y(),a=d("div"),u=m(O),c=y(),g=d("div"),_=d("general-icon-progress-bar"),L=y(),v(o,"alt","crown"),v(o,"part","Icon"),v(o,"class","MiniIcon"),l(o.src,i=vn)||v(o,"src","data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e"),v(n,"class","trophy"),v(a,"class","gameInfo"),v(a,"part","WageringBonusTitleRow Title"),v(r,"class","bonusName"),h=r,p="display",null===(f="table")?h.style.removeProperty(p):h.style.setProperty(p,f,b?"important":""),v(r,"part","WageringBonusTitleRow"),E(_,"currentstep",T=/*wagerInfo*/t[56].currentStep),E(_,"status",A=/*wagerInfo*/t[56].status),E(_,"triggerreset",B=/*wagerInfo*/t[56].triggerreset),E(_,"total",S=/*wagerInfo*/t[56].levelIncrement),E(_,"progressfractiondigit",/*progressfractiondigit*/t[0]),E(_,"showaspercent",H=/*wagerInfo*/"money"==t[56].type),E(_,"lang",""),v(g,"class","ProgressBar bottom"),v(g,"part","ProgressBar"),v(e,"class",P="WageringBonusInfo "+(/*currentWagerIdx*/t[2]!=/*index*/t[58]?/*hiddenDivClass*/t[8]:"shownDiv")),v(e,"part","WageringBonusInfo")},m(t,i){p(t,e,i),h(e,r),h(r,n),h(n,o),h(r,s),h(r,a),h(a,u),h(e,c),h(e,g),h(g,_),h(e,L),I||(C=b(a,"click",x),I=!0)},p(r,n){t=r,/*wageringList*/2&n[0]&&O!==(O=/*wagerInfo*/t[56].title+"")&&w(u,O),/*wageringList*/2&n[0]&&T!==(T=/*wagerInfo*/t[56].currentStep)&&E(_,"currentstep",T),/*wageringList*/2&n[0]&&A!==(A=/*wagerInfo*/t[56].status)&&E(_,"status",A),/*wageringList*/2&n[0]&&B!==(B=/*wagerInfo*/t[56].triggerreset)&&E(_,"triggerreset",B),/*wageringList*/2&n[0]&&S!==(S=/*wagerInfo*/t[56].levelIncrement)&&E(_,"total",S),/*progressfractiondigit*/1&n[0]&&E(_,"progressfractiondigit",/*progressfractiondigit*/t[0]),/*wageringList*/2&n[0]&&H!==(H=/*wagerInfo*/"money"==t[56].type)&&E(_,"showaspercent",H),/*currentWagerIdx, hiddenDivClass*/260&n[0]&&P!==(P="WageringBonusInfo "+(/*currentWagerIdx*/t[2]!=/*index*/t[58]?/*hiddenDivClass*/t[8]:"shownDiv"))&&v(e,"class",P)},d(t){t&&f(e),I=!1,C()}}}function Ln(e){let r,o,i,s,a,u,c,E,_,T,A,B,S,H,L,P,I,C,O,x,R,N,M,U,D,$,F,k,G,j=/*$_*/e[9]("wageringSlider.title")+"";function W(t,e){/*wageringList*/
730
+ return t[1]&&/*wageringList*/t[1].length>0?Sn:Bn}let X=W(e),V=X(e);return{c(){r=d("div"),o=d("div"),i=d("div"),i.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> \n <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',s=y(),a=d("div"),u=g("svg"),c=g("path"),_=y(),T=d("div"),A=d("div"),B=m(j),S=y(),V.c(),H=y(),L=d("div"),P=g("svg"),I=g("path"),x=y(),R=d("section"),N=d("div"),M=d("img"),D=y(),$=d("div"),$.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> \n <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',this.c=t,v(i,"class","hideButton"),v(i,"part","HideWidgetButton"),v(c,"d","M3 7L1 4L3 1"),v(c,"stroke","currentColor"),v(c,"stroke-linecap","round"),v(c,"stroke-linejoin","round"),v(u,"part","LeftArrowSvg"),v(u,"width","6"),v(u,"height","14"),v(u,"viewBox","0 0 4 8"),v(u,"fill","none"),v(u,"xmlns","http://www.w3.org/2000/svg"),v(a,"class",E="LeftArrow "+(/*isFirst*/e[4]?"Disabled":"")),v(a,"part","LeftArrow"),v(A,"class","Title Top"),v(A,"part","WageringBonusTitle"),v(T,"class","SliderCenter"),v(T,"part","WageringBonusContent"),v(I,"d","M1 1L3 4L1 7"),v(I,"stroke","currentColor"),v(I,"stroke-linecap","round"),v(I,"stroke-linejoin","round"),v(P,"width","6"),v(P,"height","14"),v(P,"viewBox","0 0 4 8"),v(P,"fill","none"),v(P,"xmlns","http://www.w3.org/2000/svg"),v(L,"part","RightRow"),v(L,"class",C="RightArrow "+(/*isLast*/e[5]?"Disabled":"")),v(o,"part","SliderWrapper"),v(o,"class",O="SliderWrapper "+(/*isIconMode*/e[7]?"HiddenWidget":"ShowWidget")),v(M,"alt","crown"),v(M,"part","Icon"),v(M,"class","MiniIcon"),l(M.src,U=vn)||v(M,"src","data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e"),v(N,"class","svg"),v(N,"part","AnimatorIconWrapper"),v($,"class","restoreButton"),v($,"part","RestoreButton"),v(R,"id","animator"),v(R,"part","Animator"),v(R,"class",F="SliderIcon "+(/*isIconMode*/e[7]?"ShowWidget":"HiddenWidget")),v(r,"class","WageringBonusWrapper"),v(r,"part","WageringBonusWrapper")},m(t,n){p(t,r,n),h(r,o),h(o,i),h(o,s),h(o,a),h(a,u),h(u,c),h(o,_),h(o,T),h(T,A),h(A,B),h(T,S),V.m(T,null),h(o,H),h(o,L),h(L,P),h(P,I),
731
+ /*div5_binding*/e[27](o),h(r,x),h(r,R),h(R,N),h(N,M),h(R,D),h(R,$),
732
+ /*section_binding*/e[28](R),k||(G=[b(i,"click",/*click_handler*/e[21]),b(a,"click",/*click_handler_1*/e[22]),b(a,"mouseenter",/*mouseenter_handler*/e[23]),b(a,"mouseleave",/*mouseleave_handler*/e[24]),b(L,"click",/*click_handler_3*/e[26]),b(R,"click",/*click_handler_4*/e[29])],k=!0)},p(t,e){/*isFirst*/16&e[0]&&E!==(E="LeftArrow "+(/*isFirst*/t[4]?"Disabled":""))&&v(a,"class",E),/*$_*/512&e[0]&&j!==(j=/*$_*/t[9]("wageringSlider.title")+"")&&w(B,j),X===(X=W(t))&&V?V.p(t,e):(V.d(1),V=X(t),V&&(V.c(),V.m(T,null))),/*isLast*/32&e[0]&&C!==(C="RightArrow "+(/*isLast*/t[5]?"Disabled":""))&&v(L,"class",C),/*isIconMode*/128&e[0]&&O!==(O="SliderWrapper "+(/*isIconMode*/t[7]?"HiddenWidget":"ShowWidget"))&&v(o,"class",O),/*isIconMode*/128&e[0]&&F!==(F="SliderIcon "+(/*isIconMode*/t[7]?"ShowWidget":"HiddenWidget"))&&v(R,"class",F)},i:t,o:t,d(t){t&&f(r),V.d(),
733
+ /*div5_binding*/e[27](null),
734
+ /*section_binding*/e[28](null),k=!1,n(G)}}}function Pn(t,e,r){let n;c(t,gn,(t=>r(9,n=t)));let o,i,s,a,l,{endpoint:u}=e,{session:h}=e,{lang:p="en"}=e,{numberofrecords:f="5"}=e,{looptime:d="5"}=e,{translationUrl:g=""}=e,{progressfractiondigit:m=1}=e,y=window.navigator.userAgent,b=!0,v=!1,E=0,w=null,_=null,T=!1,B="Hidden";!function({withLocale:t,translations:e}){rn.subscribe((r=>{null==r&&(Dr.set(e),rn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
732
735
  /*dictionary.set(translations);
733
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(yn).forEach((t=>{mn(t,yn[t])}));const T=()=>{var t;t=f,rn.set(t)},B=t=>{let e=0;for(let r of t.levels||[]){e+=r.maxRepeats||1}let r=t.currentLevel;return{maxLevel:e,bonusWalletID:t.bonusWalletID,levelIncrement:r.levelIncrement,gap:r.gap,currentStep:r.levelIncrement-r.gap,title:t.title,type:t.type,status:t.status}},H=()=>{clearInterval(o),o=setInterval((()=>{i&&i&&0!==i.length&&(r(2,v=(v+1)%i.length),b&&"0"!=d&&O())}),1e3*Number(d))},L=t=>{H(),a.style.setProperty("--transformFromValue",t>0?"-100%":"100%"),a.style.setProperty("--transformToValue",t>0?"100%":"-100%"),t>0&&b||t<0&&y||(r(2,v+=t),r(2,v=v<0?r(2,v=0):v),r(2,v=v==i.length?r(2,v=i.length-1):v))},P=()=>{r(6,_=!1),H()},O=()=>{r(6,_=!0),r(2,v=0),r(4,y=!0),r(0,b=i.length<2),clearInterval(o),window.postMessage({type:"onWagingBonusSliderHide"},window.location.href)},I=t=>{if(!t.data)return;let e=t.data;var n;if(e)try{let t=JSON.parse(e);if(!t||!t.items)return;"WageringProgressUpdate"===t.messageType&&(n=t.items,i.forEach((t=>{let e=n[t.bonusWalletID];e&&(t.gap=e.gap,t.levelIncrement=e.levelIncrement,t.status=e.status,t.currentStep=e.levelIncrement-e.gap)})),r(1,i))}catch(t){console.log(t)}},C=t=>{if(!u||!h)return;let e=new URL(`${t}/bonus/wagering`),n=new Headers;e.searchParams.append("language",f),e.searchParams.append("platform",(t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(m)),e.searchParams.append("status","active"),e.searchParams.append("pagination",`limit=${p},offset=0`),h&&n.append("X-SessionID",h),fetch(e,{method:"GET",headers:n}).then((t=>t.json())).then((t=>{if(e.searchParams.toString(),(t=>{r(1,i=[]);for(let e of t.items)i.push(B(e));r(2,v=0)})(t),!i||0==i.length)return;(t=>{if((t=>{if(!t||"false"==t||"undefined"==t)return!0})(h))return;setTimeout((()=>{}),1e3),s&&(s.removeEventListener("message",I),s.close());let e=`${u}/bonus/wagering/updates?bonusWalletIDs=${t}&XSessionId=${h}`;s=EventSource?new EventSource(e):new bn.EventSourcePolyfill(e,{headers:{accept:"text/event-stream"}}),void 0!==s&&s.addEventListener("message",I)})(i.map((t=>t.bonusWalletID)).toString())}))},x=t=>{window.postMessage({type:"onWageringBonusClick",bonusWalletID:t},window.location.href)},R=t=>{const e=(t=>t.touches||t.originalEvent.touches)(t)[0];E=e.clientX,w=e.clientY},N=t=>{if(!E||!w)return;let e=t.touches[0].clientX,r=t.touches[0].clientY,n=E-e,o=w-r;Math.abs(n)>Math.abs(o)&&L(n>0?1:-1),E=null,w=null},M=t=>{t.data&&t.data.type}//TODO
736
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(yn).forEach((t=>{mn(t,yn[t])}));const H=()=>{var t;t=p,rn.set(t)},L=t=>{let e=0;for(let r of t.levels||[]){e+=r.maxRepeats||1}let r=t.wageringProgress;return{maxLevel:e,id:t.id,bonusWalletID:t.bonusWalletID,levelIncrement:r.currentLevelIncrement,gap:r.gap,currentStep:r.currentLevelIncrement-r.gap,title:t.name,description:t.description,type:t.wageringType,status:t.status,triggerreset:t.bonusWalletID}},P=()=>{"0"!=d&&(clearInterval(o),o=setInterval((()=>{if(i){
737
+ //slideAuto();
738
+ r(8,B="hiddenDiv");let t=E+1;if(t>=i.length)return void O();r(2,E=t),I(E)}}),1e3*Number(d)))},I=t=>{if(r(8,B="hiddenDiv"),t>0&&v||t<0&&b)return;P(),a.style.setProperty("--transformFromValue",t>0?"100%":"-100%"),a.style.setProperty("--transformToValue",t>0?"-100%":"100%");let e=E+t;e=e<0?0:e,e=e==i.length?i.length-1:e,r(2,E=e)},C=()=>{r(7,T=!1),r(2,E=0),P()},O=()=>{r(7,T=!0),clearInterval(o),window.postMessage({type:"onWagingBonusSliderHide"},window.location.href)},x=t=>{if(!t.data)return;let e=t.data;var n;if(e)try{let t=JSON.parse(e);if(!t||!t.items)return;"WageringProgressUpdate"===t.messageType&&(n=t.items,i.forEach((t=>{let e=n[t.bonusWalletID];e&&(t.status=e.status,0==e.levelIncrement&&(e.levelIncrement=1,e.gap),t.gap=e.gap,t.levelIncrement=e.levelIncrement,t.currentStep=t.levelIncrement-t.gap,t.triggerreset+=1)})),r(1,i))}catch(t){console.log(t)}},R=()=>{s&&(s.removeEventListener("message",x),s.close())},N=t=>{if(!u||!h)return;let e=new URL(`${t}/bonus/granted`),n=new Headers;e.searchParams.append("language",p),e.searchParams.append("platform",(t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(y)),e.searchParams.append("status","active"),e.searchParams.append("type","wagering"),e.searchParams.append("pagination",`limit=${f},offset=0`),h&&n.append("X-SessionID",h),fetch(e,{method:"GET",headers:n}).then((t=>t.json())).then((t=>{if(e.searchParams.toString(),r(1,i=[]),t.items&&(t=>{let e=[];for(let r of t.items)e.push(L(r));r(2,E=0),r(1,i=e)})(t),t.errorMessage&&console.error(t.errorMessage),!i||0==i.length)return r(1,i=[...i]),void R();(t=>{if((t=>{if(!t||"false"==t||"undefined"==t)return!0})(h))return;setTimeout((()=>{}),1e3),R();let e=`${u}/bonus/wagering/updates?bonusWalletIDs=${t}&XSessionId=${h}`;s=EventSource?new EventSource(e):new bn.EventSourcePolyfill(e,{headers:{accept:"text/event-stream"}}),void 0!==s&&s.addEventListener("message",x)})(i.map((t=>t.bonusWalletID)).toString())}))},M=t=>{window.postMessage({type:"onWageringBonusClick",bonusWalletID:t},window.location.href)},U=t=>{parseInt(d)>0&&(t?clearInterval(o):P())},D=t=>{const e=(t=>t.touches||t.originalEvent.touches)(t)[0];w=e.clientX,_=e.clientY},$=t=>{if(!w||!_)return;let e=t.touches[0].clientX,r=t.touches[0].clientY,n=w-e,o=_-r;Math.abs(n)>Math.abs(o)&&I(n>0?1:-1),w=null,_=null},F=t=>{t.data&&t.data.type}//TODO
734
739
  //getData(endpoint, 0, tournamentsShownNumber);
735
- A((()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M,!1),a.removeEventListener("touchstart",R),a.removeEventListener("touchmove",N)})));return t.$$set=t=>{"endpoint"in t&&r(11,u=t.endpoint),"session"in t&&r(12,h=t.session),"lang"in t&&r(13,f=t.lang),"numberofrecords"in t&&r(14,p=t.numberofrecords),"looptime"in t&&r(15,d=t.looptime),"translationUrl"in t&&r(16,g=t.translationUrl)},t.$$.update=()=>{/*endpoint, session*/6144&t.$$.dirty[0]&&u&&h&&C(u),/*lang*/8192&t.$$.dirty[0]&&f&&T(),/*looptime*/32768&t.$$.dirty[0]&&d&&H(),/*wagerSlider*/8&t.$$.dirty[0]&&a&&(a.addEventListener("touchstart",R,{passive:!0}),a.addEventListener("touchmove",N,{passive:!0})),/*translationUrl*/65536&t.$$.dirty[0]&&g&&fetch(g).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{mn(e,t[e])}))})).catch((t=>{console.log(t)})),/*currentWagerIdx*/4&t.$$.dirty[0]&&r(4,y=0==v),/*wageringList, currentWagerIdx*/6&t.$$.dirty[0]&&r(0,b=!i||v==i.length-1),/*currentWagerIdx, isLast*/5&t.$$.dirty[0]&&v>0&&b&&O()},[b,i,v,a,y,l,_,n,L,P,x,u,h,f,p,d,g,()=>L(-1),t=>x(t.bonusWalletID),()=>L(1),function(t){S[t?"unshift":"push"]((()=>{a=t,r(3,a)}))},function(t){S[t?"unshift":"push"]((()=>{l=t,r(5,l)}))},()=>P()]}!customElements.get("general-icon-progress-bar")&&customElements.define("general-icon-progress-bar",class extends F{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:rgba(0, 0, 0, 0.8);text-align:right}.stepBar::after{content:' ';position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}</style>",D(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Tn,_n,i,{currentstep:5,total:6,showaspercent:7,lang:8,status:9,translationUrl:10},null),t&&(t.target&&f(t.target,this,t.anchor),t.props&&(this.$set(t.props),R()))}static get observedAttributes(){return["currentstep","total","showaspercent","lang","status","translationUrl"]}get currentstep(){return this.$$.ctx[5]}set currentstep(t){this.$$set({currentstep:t}),R()}get total(){return this.$$.ctx[6]}set total(t){this.$$set({total:t}),R()}get showaspercent(){return this.$$.ctx[7]}set showaspercent(t){this.$$set({showaspercent:t}),R()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),R()}get status(){return this.$$.ctx[9]}set status(t){this.$$set({status:t}),R()}get translationUrl(){return this.$$.ctx[10]}set translationUrl(t){this.$$set({translationUrl:t}),R()}});class Pn extends F{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:calc(100%);display:table-cell;vertical-align:middle;cursor:pointer;color:#FF8364}.LeftArrow.Disabled,.RightArrow.Disabled{color:darkgrey}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:calc(100%);overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:#FFD700;margin:5px auto 3px}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .bonusName{height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .bonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:#FFFFFF;vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}</style>",D(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Ln,Hn,i,{endpoint:11,session:12,lang:13,numberofrecords:14,looptime:15,translationUrl:16},null,[-1,-1]),t&&(t.target&&f(t.target,this,t.anchor),t.props&&(this.$set(t.props),R()))}static get observedAttributes(){return["endpoint","session","lang","numberofrecords","looptime","translationUrl"]}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),R()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),R()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),R()}get numberofrecords(){return this.$$.ctx[14]}set numberofrecords(t){this.$$set({numberofrecords:t}),R()}get looptime(){return this.$$.ctx[15]}set looptime(t){this.$$set({looptime:t}),R()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),R()}}return!customElements.get("casino-wagering-bonus-slider-controller")&&customElements.define("casino-wagering-bonus-slider-controller",Pn),Pn}));
740
+ A((()=>(P(),window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F,!1),a.removeEventListener("touchstart",D),a.removeEventListener("touchmove",$)})));return t.$$set=t=>{"endpoint"in t&&r(15,u=t.endpoint),"session"in t&&r(16,h=t.session),"lang"in t&&r(17,p=t.lang),"numberofrecords"in t&&r(18,f=t.numberofrecords),"looptime"in t&&r(19,d=t.looptime),"translationUrl"in t&&r(20,g=t.translationUrl),"progressfractiondigit"in t&&r(0,m=t.progressfractiondigit)},t.$$.update=()=>{/*lang, endpoint, session*/229376&t.$$.dirty[0]&&p&&u&&h&&N(u),/*lang*/131072&t.$$.dirty[0]&&p&&H(),/*wagerSlider*/8&t.$$.dirty[0]&&a&&(a.addEventListener("touchstart",D,{passive:!0}),a.addEventListener("touchmove",$,{passive:!0})),/*translationUrl*/1048576&t.$$.dirty[0]&&g&&fetch(g).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{mn(e,t[e])}))})).catch((t=>{console.log(t)})),/*currentWagerIdx*/4&t.$$.dirty[0]&&r(4,b=0==E),/*wageringList, currentWagerIdx*/6&t.$$.dirty[0]&&r(5,v=!i||E==i.length-1)},[m,i,E,a,b,v,l,T,B,n,I,C,O,M,U,u,h,p,f,d,g,()=>{O()},()=>I(-1),()=>{U(!0)},()=>{U(!1)},t=>M(t.bonusWalletID),()=>I(1),function(t){S[t?"unshift":"push"]((()=>{a=t,r(3,a)}))},function(t){S[t?"unshift":"push"]((()=>{l=t,r(6,l)}))},()=>C()]}!customElements.get("general-icon-progress-bar")&&customElements.define("general-icon-progress-bar",class extends ${constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1}.stepBar::after{content:' ';position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}</style>",D(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Tn,_n,i,{currentstep:5,total:6,showaspercent:7,lang:8,status:9,translationUrl:10,progressfractiondigit:11,triggerreset:12},null),t&&(t.target&&p(t.target,this,t.anchor),t.props&&(this.$set(t.props),R()))}static get observedAttributes(){return["currentstep","total","showaspercent","lang","status","translationUrl","progressfractiondigit","triggerreset"]}get currentstep(){return this.$$.ctx[5]}set currentstep(t){this.$$set({currentstep:t}),R()}get total(){return this.$$.ctx[6]}set total(t){this.$$set({total:t}),R()}get showaspercent(){return this.$$.ctx[7]}set showaspercent(t){this.$$set({showaspercent:t}),R()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),R()}get status(){return this.$$.ctx[9]}set status(t){this.$$set({status:t}),R()}get translationUrl(){return this.$$.ctx[10]}set translationUrl(t){this.$$set({translationUrl:t}),R()}get progressfractiondigit(){return this.$$.ctx[11]}set progressfractiondigit(t){this.$$set({progressfractiondigit:t}),R()}get triggerreset(){return this.$$.ctx[12]}set triggerreset(t){this.$$set({triggerreset:t}),R()}});class In extends ${constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:calc(100%);display:table-cell;vertical-align:middle;cursor:pointer;color:#FF8364}.LeftArrow.Disabled,.RightArrow.Disabled{color:darkgrey}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:calc(100%);overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:#FFD700;margin:5px auto 3px}.SliderCenter .Hidden{opacity:0;transition:opacity;animation:0.2s}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .bonusName{height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .bonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:#FFFFFF;vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}.hideButton{transform:rotate(180deg);position:absolute;top:0px;right:2px;display:table;color:#FF8364;cursor:pointer}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}</style>",D(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Pn,Ln,i,{endpoint:15,session:16,lang:17,numberofrecords:18,looptime:19,translationUrl:20,progressfractiondigit:0},null,[-1,-1]),t&&(t.target&&p(t.target,this,t.anchor),t.props&&(this.$set(t.props),R()))}static get observedAttributes(){return["endpoint","session","lang","numberofrecords","looptime","translationUrl","progressfractiondigit"]}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),R()}get session(){return this.$$.ctx[16]}set session(t){this.$$set({session:t}),R()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),R()}get numberofrecords(){return this.$$.ctx[18]}set numberofrecords(t){this.$$set({numberofrecords:t}),R()}get looptime(){return this.$$.ctx[19]}set looptime(t){this.$$set({looptime:t}),R()}get translationUrl(){return this.$$.ctx[20]}set translationUrl(t){this.$$set({translationUrl:t}),R()}get progressfractiondigit(){return this.$$.ctx[0]}set progressfractiondigit(t){this.$$set({progressfractiondigit:t}),R()}}return!customElements.get("casino-wagering-bonus-slider-controller")&&customElements.define("casino-wagering-bonus-slider-controller",In),In}));
736
741
  //# sourceMappingURL=casino-wagering-bonus-slider-controller.js.map