@everymatrix/casino-wagering-bonus-slider-controller 1.13.9 → 1.13.11

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.
@@ -77,9 +77,9 @@ for(const t in this.$$.slotted)
77
77
  this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){D(this,1),this.$destroy=t}$on(e,r){
78
78
  // TODO should this delegate to addEventListener?
79
79
  if(!o(r))return t;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const t=n.indexOf(r);-1!==t&&n.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)}})
80
- /* eslint-disable no-prototype-builtins */;var k="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
80
+ /* eslint-disable no-prototype-builtins */;var G="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
81
81
  // eslint-disable-next-line no-undef
82
- "undefined"!=typeof global&&global||{},G="URLSearchParams"in k,j="Symbol"in k&&"iterator"in Symbol,W="FileReader"in k&&"Blob"in k&&function(){try{return new Blob,!0}catch(t){return!1}}(),X="FormData"in k,V="ArrayBuffer"in k;if(V)var z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],K=ArrayBuffer.isView||function(t){return t&&z.indexOf(Object.prototype.toString.call(t))>-1};function Z(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 Y(t){return"string"!=typeof t&&(t=String(t)),t}
82
+ "undefined"!=typeof global&&global||{},k="URLSearchParams"in G,j="Symbol"in G&&"iterator"in Symbol,W="FileReader"in G&&"Blob"in G&&function(){try{return new Blob,!0}catch(t){return!1}}(),X="FormData"in G,V="ArrayBuffer"in G;if(V)var z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],K=ArrayBuffer.isView||function(t){return t&&z.indexOf(Object.prototype.toString.call(t))>-1};function Z(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 Y(t){return"string"!=typeof t&&(t=String(t)),t}
83
83
  // Build a destructive iterator for the value list
84
84
  function q(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function J(t){this.map={},t instanceof J?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function Q(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function tt(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function et(t){var e=new FileReader,r=tt(e);return e.readAsArrayBuffer(t),r}function rt(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function nt(){return this.bodyUsed=!1,this._initBody=function(t){var e;
85
85
  /*
@@ -93,21 +93,21 @@ function q(t){var e={next:function(){var e=t.shift();return{done:void 0===e,valu
93
93
  _initBody is called.
94
94
  */
95
95
  // eslint-disable-next-line no-self-assign
96
- this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:W&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:X&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:G&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():V&&W&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=rt(t.buffer),
96
+ this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:W&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:X&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:k&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():V&&W&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=rt(t.buffer),
97
97
  // IE 10-11 can't handle a DataView body.
98
- this._bodyInit=new Blob([this._bodyArrayBuffer])):V&&(ArrayBuffer.prototype.isPrototypeOf(t)||K(t))?this._bodyArrayBuffer=rt(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):G&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},W&&(this.blob=function(){var t=Q(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=Q(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(W)return this.blob().then(et);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,r,n,o,i=Q(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=tt(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),o=n?n[1]:"utf-8",e.readAsText(t,o),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},X&&(this.formData=function(){return this.text().then(st)}),this.json=function(){return this.text().then(JSON.parse)},this}
98
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):V&&(ArrayBuffer.prototype.isPrototypeOf(t)||K(t))?this._bodyArrayBuffer=rt(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):k&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},W&&(this.blob=function(){var t=Q(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=Q(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(W)return this.blob().then(et);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,r,n,o,i=Q(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=tt(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),o=n?n[1]:"utf-8",e.readAsText(t,o),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},X&&(this.formData=function(){return this.text().then(st)}),this.json=function(){return this.text().then(JSON.parse)},this}
99
99
  // HTTP methods whose capitalization should be normalized
100
- J.prototype.append=function(t,e){t=Z(t),e=Y(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},J.prototype.delete=function(t){delete this.map[Z(t)]},J.prototype.get=function(t){return t=Z(t),this.has(t)?this.map[t]:null},J.prototype.has=function(t){return this.map.hasOwnProperty(Z(t))},J.prototype.set=function(t,e){this.map[Z(t)]=Y(e)},J.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},J.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),q(t)},J.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),q(t)},J.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),q(t)},j&&(J.prototype[Symbol.iterator]=J.prototype.entries);var ot=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function it(t,e){if(!(this instanceof it))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(e=e||{}).body;if(t instanceof it){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new J(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new J(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),ot.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in k)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){
100
+ J.prototype.append=function(t,e){t=Z(t),e=Y(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},J.prototype.delete=function(t){delete this.map[Z(t)]},J.prototype.get=function(t){return t=Z(t),this.has(t)?this.map[t]:null},J.prototype.has=function(t){return this.map.hasOwnProperty(Z(t))},J.prototype.set=function(t,e){this.map[Z(t)]=Y(e)},J.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},J.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),q(t)},J.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),q(t)},J.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),q(t)},j&&(J.prototype[Symbol.iterator]=J.prototype.entries);var ot=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function it(t,e){if(!(this instanceof it))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(e=e||{}).body;if(t instanceof it){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new J(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new J(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),ot.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in G)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){
101
101
  // Search for a '_' parameter in the query string
102
102
  var i=/([?&])_=[^&]*/;if(i.test(this.url))
103
103
  // If it already exists then set the value with the current time
104
- this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function st(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 at(t,e){if(!(this instanceof at))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new J(e.headers),this.url=e.url||"",this._initBody(t)}it.prototype.clone=function(){return new it(this,{body:this._bodyInit})},nt.call(it.prototype),nt.call(at.prototype),at.prototype.clone=function(){return new at(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new J(this.headers),url:this.url})},at.error=function(){var t=new at(null,{status:200,statusText:""});return t.status=0,t.type="error",t};var lt=[301,302,303,307,308];at.redirect=function(t,e){if(-1===lt.indexOf(e))throw new RangeError("Invalid status code");return new at(null,{status:e,headers:{location:t}})};var ut=k.DOMException;try{new ut}catch(t){(ut=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),ut.prototype.constructor=ut}function ct(t,e){return new Promise((function(r,n){var o=new it(t,e);if(o.signal&&o.signal.aborted)return n(new ut("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}if(i.onload=function(){var t=i.getAllResponseHeaders(),e=i.getResponseHeader("set-cookie");e&&(t=t.replace(e,e.replace(/\r?\n/g,", ")));var n,o,s={status:i.status,statusText:i.statusText,headers:(n=t||"",o=new J,
104
+ this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function st(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 at(t,e){if(!(this instanceof at))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new J(e.headers),this.url=e.url||"",this._initBody(t)}it.prototype.clone=function(){return new it(this,{body:this._bodyInit})},nt.call(it.prototype),nt.call(at.prototype),at.prototype.clone=function(){return new at(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new J(this.headers),url:this.url})},at.error=function(){var t=new at(null,{status:200,statusText:""});return t.status=0,t.type="error",t};var lt=[301,302,303,307,308];at.redirect=function(t,e){if(-1===lt.indexOf(e))throw new RangeError("Invalid status code");return new at(null,{status:e,headers:{location:t}})};var ut=G.DOMException;try{new ut}catch(t){(ut=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),ut.prototype.constructor=ut}function ct(t,e){return new Promise((function(r,n){var o=new it(t,e);if(o.signal&&o.signal.aborted)return n(new ut("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}if(i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new J,
105
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
106
106
  // https://github.com/github/fetch/issues/748
107
107
  // https://github.com/zloirock/core-js/issues/751
108
- n.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 e=t.split(":"),r=e.shift().trim();if(r){var n=e.join(":").trim();try{o.append(r,n)}catch(t){console.warn("Response "+t.message)}}})),o)};s.url="responseURL"in i?i.responseURL:s.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;setTimeout((function(){r(new at(a,s))}),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 ut("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&k.location.href?k.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&&(W?i.responseType="blob":V&&(i.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof J||k.Headers&&e.headers instanceof k.Headers)){var a=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){a.push(Z(t)),i.setRequestHeader(t,Y(e.headers[t]))})),o.headers.forEach((function(t,e){-1===a.indexOf(e)&&i.setRequestHeader(e,t)}))}else o.headers.forEach((function(t,e){i.setRequestHeader(e,t)}));o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){
108
+ 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();try{e.append(n,o)}catch(t){console.warn("Response "+t.message)}}})),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 at(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 ut("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&G.location.href?G.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&&(W?i.responseType="blob":V&&(i.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof J||G.Headers&&e.headers instanceof G.Headers)){var a=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){a.push(Z(t)),i.setRequestHeader(t,Y(e.headers[t]))})),o.headers.forEach((function(t,e){-1===a.indexOf(e)&&i.setRequestHeader(e,t)}))}else o.headers.forEach((function(t,e){i.setRequestHeader(e,t)}));o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){
109
109
  // DONE (success or failure)
110
- 4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}ct.polyfill=!0,k.fetch||(k.fetch=ct,k.Headers=J,k.Request=it,k.Response=at);var ht="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
110
+ 4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}ct.polyfill=!0,G.fetch||(G.fetch=ct,G.Headers=J,G.Request=it,G.Response=at);var ht="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
111
111
  // the whatwg-fetch polyfill installs the fetch() function
112
112
  // on the global object (window or self)
113
113
  // Return that as the export for use in Webpack, Browserify etc.
@@ -127,7 +127,7 @@ self.fetch.bind(self);
127
127
  PERFORMANCE OF THIS SOFTWARE.
128
128
  ***************************************************************************** */
129
129
  /* global Reflect, Promise, SuppressedError, Symbol */
130
- var ft=function(t,e){return ft=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])},ft(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}ft(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function dt(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 gt(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 mt(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 yt(t){return"function"==typeof t}function bt(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}"function"==typeof SuppressedError&&SuppressedError;var vt=bt((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 Et(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var wt=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=dt(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(yt(l))try{l()}catch(t){o=t instanceof vt?t.errors:[t]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=dt(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{Bt(f)}catch(t){o=null!=o?o:[],t instanceof vt?o=mt(mt([],gt(o)),gt(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 vt(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Bt(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)&&Et(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Et(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),_t=wt.EMPTY;function Tt(t){return t instanceof wt||t&&"closed"in t&&yt(t.remove)&&yt(t.add)&&yt(t.unsubscribe)}function Bt(t){yt(t)?t():t.unsubscribe()}var At={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},St={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=St.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,mt([t,e],gt(r))):setTimeout.apply(void 0,mt([t,e],gt(r)))},clearTimeout:function(t){var e=St.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Ht(){}var Lt=null;function Pt(t){if(At.useDeprecatedSynchronousErrorHandling){var e=!Lt;if(e&&(Lt={errorThrown:!1,error:null}),t(),e){var r=Lt,n=r.errorThrown,o=r.error;if(Lt=null,n)throw o}}else t()}var Ct=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Tt(e)&&e.add(r)):r.destination=Mt,r}return pt(e,t),e.create=function(t,e,r){return new Rt(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}(wt),It=Function.prototype.bind;function xt(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){Nt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Nt(t)}else Nt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Nt(t)}},t}(),Rt=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;yt(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&&xt(e.next,i),error:e.error&&xt(e.error,i),complete:e.complete&&xt(e.complete,i)}):o=e;return s.destination=new Ot(o),s}return pt(e,t),e}(Ct);function Nt(t){var e;e=t,St.setTimeout((function(){throw e}))}var Mt={closed:!0,next:Ht,error:function(t){throw t},complete:Ht},Dt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ut(t){return t}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 Ct||function(t){return t&&yt(t.next)&&yt(t.error)&&yt(t.complete)}(n)&&Tt(n)?t:new Rt(t,e,r);return Pt((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 Rt({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[Dt]=function(){return this},t.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ut:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)})(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=bt((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;Pt((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=dt(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;Pt((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;Pt((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?_t:(this.currentObservers=null,i.push(t),new wt((function(){e.currentObservers=null,Et(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:_t},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={};
130
+ var ft=function(t,e){return ft=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])},ft(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}ft(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function dt(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 gt(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 mt(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 yt(t){return"function"==typeof t}function bt(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}"function"==typeof SuppressedError&&SuppressedError;var vt=bt((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 Et(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var wt=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=dt(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(yt(l))try{l()}catch(t){o=t instanceof vt?t.errors:[t]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=dt(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{Bt(f)}catch(t){o=null!=o?o:[],t instanceof vt?o=mt(mt([],gt(o)),gt(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 vt(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Bt(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)&&Et(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Et(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),_t=wt.EMPTY;function Tt(t){return t instanceof wt||t&&"closed"in t&&yt(t.remove)&&yt(t.add)&&yt(t.unsubscribe)}function Bt(t){yt(t)?t():t.unsubscribe()}var At={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},St={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=St.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,mt([t,e],gt(r))):setTimeout.apply(void 0,mt([t,e],gt(r)))},clearTimeout:function(t){var e=St.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Ht(){}var Lt=null;function Pt(t){if(At.useDeprecatedSynchronousErrorHandling){var e=!Lt;if(e&&(Lt={errorThrown:!1,error:null}),t(),e){var r=Lt,n=r.errorThrown,o=r.error;if(Lt=null,n)throw o}}else t()}var Ct=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Tt(e)&&e.add(r)):r.destination=Mt,r}return pt(e,t),e.create=function(t,e,r){return new Rt(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}(wt),It=Function.prototype.bind;function xt(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){Nt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Nt(t)}else Nt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Nt(t)}},t}(),Rt=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;yt(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&&xt(e.next,i),error:e.error&&xt(e.error,i),complete:e.complete&&xt(e.complete,i)}):o=e;return s.destination=new Ot(o),s}return pt(e,t),e}(Ct);function Nt(t){var e;e=t,St.setTimeout((function(){throw e}))}var Mt={closed:!0,next:Ht,error:function(t){throw t},complete:Ht},Dt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ut(t){return t}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 Ct||function(t){return t&&yt(t.next)&&yt(t.error)&&yt(t.complete)}(n)&&Tt(n)?t:new Rt(t,e,r);return Pt((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 Rt({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[Dt]=function(){return this},t.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ut:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)})(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 Gt=bt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),kt=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 Gt},e.prototype.next=function(t){var e=this;Pt((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=dt(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;Pt((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;Pt((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?_t:(this.currentObservers=null,i.push(t),new wt((function(){e.currentObservers=null,Et(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:_t},e}(kt),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}(kt);let Vt=[],zt={};
131
131
  /**
132
132
  * @name topic
133
133
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -356,7 +356,7 @@ t.hourCycles.length&&(
356
356
  // @ts-ignore
357
357
  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")}
358
358
  // TODO: Once hourCycle is fully supported remove the following with data generation
359
- var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(Ue[r||""]||Ue[n||""]||Ue["".concat(n,"-001")]||Ue["001"])[0]}var Fe=new RegExp("^".concat(Be.source,"*")),ke=new RegExp("".concat(Be.source,"*$"));function Ge(t,e){return{start:t,end:e}}
359
+ var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(Ue[r||""]||Ue[n||""]||Ue["".concat(n,"-001")]||Ue["001"])[0]}var Fe=new RegExp("^".concat(Be.source,"*")),Ge=new RegExp("".concat(Be.source,"*$"));function ke(t,e){return{start:t,end:e}}
360
360
  // #region Ponyfills
361
361
  // Consolidate these variables up top for easier toggling during debugging
362
362
  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{
@@ -378,7 +378,7 @@ function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,o=t.charCodeAt(e);return o<5
378
378
  function(t){return t.trimStart()}:// Ponyfill
379
379
  function(t){return t.replace(Fe,"")},nr=Ke?// Native
380
380
  function(t){return t.trimEnd()}:// Ponyfill
381
- function(t){return t.replace(ke,"")};
381
+ function(t){return t.replace(Ge,"")};
382
382
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
383
383
  function or(t,e){return new RegExp(t,e)}
384
384
  // #endregion
@@ -386,7 +386,7 @@ if(Ye){
386
386
  // Native
387
387
  var ir=or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");qe=function(t,e){var r;return ir.lastIndex=e,null!==(r=ir.exec(t)[1])&&void 0!==r?r:""}}else
388
388
  // IE11
389
- qe=function(t,e){for(var r=[];;){var n=er(t,e);if(void 0===n||ur(n)||cr(n))break;r.push(n),e+=n>=65536?2:1}return Qe.apply(void 0,r)};var sr=/** @class */function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125/* `}` */===o&&t>0)break;if(35/* `#` */!==o||"plural"!==e&&"selectordinal"!==e){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(le.UNMATCHED_CLOSING_TAG,Ge(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&ar(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:ue.pound,location:Ge(s,this.clonePosition())})}}}return{val:n,err:null}},
389
+ qe=function(t,e){for(var r=[];;){var n=er(t,e);if(void 0===n||ur(n)||cr(n))break;r.push(n),e+=n>=65536?2:1}return Qe.apply(void 0,r)};var sr=/** @class */function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125/* `}` */===o&&t>0)break;if(35/* `#` */!==o||"plural"!==e&&"selectordinal"!==e){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(le.UNMATCHED_CLOSING_TAG,ke(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&ar(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:ue.pound,location:ke(s,this.clonePosition())})}}}return{val:n,err:null}},
390
390
  /**
391
391
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
392
392
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -408,14 +408,14 @@ qe=function(t,e){for(var r=[];;){var n=er(t,e);if(void 0===n||ur(n)||cr(n))break
408
408
  t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();// `<`
409
409
  var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
410
410
  // Self closing tag
411
- return{val:{type:ue.literal,value:"<".concat(n,"/>"),location:Ge(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();
411
+ return{val:{type:ue.literal,value:"<".concat(n,"/>"),location:ke(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();
412
412
  // Expecting a close tag
413
- if(this.bumpIf("</")){if(this.isEOF()||!ar(this.char()))return this.error(le.INVALID_TAG,Ge(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(le.UNMATCHED_CLOSING_TAG,Ge(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ue.tag,value:n,children:i,location:Ge(r,this.clonePosition())},err:null}:this.error(le.INVALID_TAG,Ge(s,this.clonePosition())))}return this.error(le.UNCLOSED_TAG,Ge(r,this.clonePosition()))}return this.error(le.INVALID_TAG,Ge(r,this.clonePosition()))},
413
+ if(this.bumpIf("</")){if(this.isEOF()||!ar(this.char()))return this.error(le.INVALID_TAG,ke(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(le.UNMATCHED_CLOSING_TAG,ke(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ue.tag,value:n,children:i,location:ke(r,this.clonePosition())},err:null}:this.error(le.INVALID_TAG,ke(s,this.clonePosition())))}return this.error(le.UNCLOSED_TAG,ke(r,this.clonePosition()))}return this.error(le.INVALID_TAG,ke(r,this.clonePosition()))},
414
414
  /**
415
415
  * This method assumes that the caller has peeked ahead for the first tag character.
416
416
  */
417
417
  t.prototype.parseTagName=function(){var t=this.offset();// the first tag name character
418
- for(this.bump();!this.isEOF()&&lr(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{var i=this.tryParseUnquoted(t,e);if(i)n+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Ge(r,this.clonePosition());return{val:{type:ue.literal,value:n,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(ar(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t;
418
+ for(this.bump();!this.isEOF()&&lr(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{var i=this.tryParseUnquoted(t,e);if(i)n+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=ke(r,this.clonePosition());return{val:{type:ue.literal,value:n,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(ar(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t;
419
419
  /** See `parseTag` function docs. */},
420
420
  /**
421
421
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -438,32 +438,32 @@ for(this.bump();!this.isEOF();){var r=this.char();if(39/* `'` */===r){if(39/* `'
438
438
  this.bump();break}e.push(39),
439
439
  // Bump one more time because we need to skip 2 characters.
440
440
  this.bump()}else e.push(r);this.bump()}return Qe.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60/* `<` */===r||123/* `{` */===r||35/* `#` */===r&&("plural"===e||"selectordinal"===e)||125/* `}` */===r&&t>0?null:(this.bump(),Qe(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),// `{`
441
- this.bumpSpace(),this.isEOF())return this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(le.EMPTY_ARGUMENT,Ge(r,this.clonePosition()));
441
+ this.bumpSpace(),this.isEOF())return this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,ke(r,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(le.EMPTY_ARGUMENT,ke(r,this.clonePosition()));
442
442
  // argument name
443
- var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(le.MALFORMED_ARGUMENT,Ge(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition()));switch(this.char()){
443
+ var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(le.MALFORMED_ARGUMENT,ke(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,ke(r,this.clonePosition()));switch(this.char()){
444
444
  // Simple argument: `{name}`
445
445
  case 125/* `}` */:// `}`
446
446
  return this.bump(),{val:{type:ue.argument,
447
447
  // value does not include the opening and closing braces.
448
- value:n,location:Ge(r,this.clonePosition())},err:null};
448
+ value:n,location:ke(r,this.clonePosition())},err:null};
449
449
  // Argument with options: `{name, format, ...}`
450
450
  case 44/* `,` */:return this.bump(),// `,`
451
- this.bumpSpace(),this.isEOF()?this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(le.MALFORMED_ARGUMENT,Ge(r,this.clonePosition()))}},
451
+ this.bumpSpace(),this.isEOF()?this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,ke(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(le.MALFORMED_ARGUMENT,ke(r,this.clonePosition()))}},
452
452
  /**
453
453
  * Advance the parser until the end of the identifier, if it is currently on
454
454
  * an identifier character. Return an empty string otherwise.
455
455
  */
456
- t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=qe(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:Ge(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
456
+ t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=qe(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:ke(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
457
457
  // Parse this range:
458
458
  // {name, type, style}
459
459
  // ^---^
460
460
  switch(s){case"":
461
461
  // Expecting a style string number, date, time, plural, selectordinal, or select.
462
- return this.error(le.EXPECT_ARGUMENT_TYPE,Ge(i,a));case"number":case"date":case"time":
462
+ return this.error(le.EXPECT_ARGUMENT_TYPE,ke(i,a));case"number":case"date":case"time":
463
463
  // Parse this range:
464
464
  // {name, number, style}
465
465
  // ^-------^
466
- 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());
466
+ 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,ke(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:ke(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=ke(n,this.clonePosition());
467
467
  // Extract style or skeleton
468
468
  if(l&&Je(null==l?void 0:l.style,"::",0)){
469
469
  // Skeleton starts with `::`.
@@ -477,25 +477,25 @@ return{val:{type:"number"===s?ue.number:"date"===s?ue.date:ue.time,value:r,locat
477
477
  // Parse this range:
478
478
  // {name, plural, options}
479
479
  // ^---------^
480
- var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(le.EXPECT_SELECT_ARGUMENT_OPTIONS,Ge(d,he({},d)));this.bumpSpace();
480
+ var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(le.EXPECT_SELECT_ARGUMENT_OPTIONS,ke(d,he({},d)));this.bumpSpace();
481
481
  // Parse offset:
482
482
  // {name, plural, offset:1, options}
483
483
  // ^-----^
484
484
  // or the first option:
485
485
  // {name, plural, one {...} other {...}}
486
486
  // ^--^
487
- var g=this.parseIdentifierIfPossible(),m=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(le.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ge(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(le.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,le.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
487
+ var g=this.parseIdentifierIfPossible(),m=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(le.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ke(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(le.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,le.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
488
488
  // Parse another identifier for option parsing
489
- this.bumpSpace(),g=this.parseIdentifierIfPossible(),m=y.val}var b,v=this.tryParsePluralOrSelectOptions(t,s,e,g);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=Ge(n,this.clonePosition());return"select"===s?{val:{type:ue.select,value:r,options:tr(v.val),location:E},err:null}:{val:{type:ue.plural,value:r,options:tr(v.val),offset:m,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(le.INVALID_ARGUMENT_TYPE,Ge(i,a))}},t.prototype.tryParseArgumentClose=function(t){
489
+ this.bumpSpace(),g=this.parseIdentifierIfPossible(),m=y.val}var b,v=this.tryParsePluralOrSelectOptions(t,s,e,g);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=ke(n,this.clonePosition());return"select"===s?{val:{type:ue.select,value:r,options:tr(v.val),location:E},err:null}:{val:{type:ue.plural,value:r,options:tr(v.val),offset:m,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(le.INVALID_ARGUMENT_TYPE,ke(i,a))}},t.prototype.tryParseArgumentClose=function(t){
490
490
  // Parse: {value, number, ::currency/GBP }
491
- return this.isEOF()||125/* `}` */!==this.char()?this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},
491
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,ke(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},
492
492
  /**
493
493
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
494
494
  */
495
495
  t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
496
496
  // Treat apostrophe as quoting but include it in the style part.
497
497
  // Find the end of the quoted literal text.
498
- this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(le.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ge(r,this.clonePosition()));this.bump();break;case 123/* `{` */:t+=1,this.bump();break;case 125/* `}` */:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");
498
+ this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(le.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ke(r,this.clonePosition()));this.bump();break;case 123/* `{` */:t+=1,this.bump();break;case 125/* `}` */:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");
499
499
  // Parse the skeleton
500
500
  for(var e=t.split(He).filter((function(t){return t.length>0})),r=[],n=0,o=e;n<o.length;n++){var i=o[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],a=i.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");r.push({stem:s,options:a})}return r}(t)}catch(t){return this.error(le.INVALID_NUMBER_SKELETON,e)}return{val:{type:ce.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?Me(r):{}},err:null}},
501
501
  /**
@@ -514,17 +514,17 @@ t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){
514
514
  // ^--^
515
515
  for(var o,i=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===e||!this.bumpIf("="))break;
516
516
  // Try parse `={number}` selector
517
- var h=this.tryParseDecimalInteger(le.EXPECT_PLURAL_ARGUMENT_SELECTOR,le.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Ge(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
517
+ var h=this.tryParseDecimalInteger(le.EXPECT_PLURAL_ARGUMENT_SELECTOR,le.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=ke(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
518
518
  // Duplicate selector clauses
519
519
  if(a.has(l))return this.error("select"===e?le.DUPLICATE_SELECT_ARGUMENT_SELECTOR:le.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(i=!0),
520
520
  // Parse:
521
521
  // one {one apple}
522
522
  // ^----------^
523
- 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())}]),
523
+ 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,ke(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:ke(f,this.clonePosition())}]),
524
524
  // Keep track of the existing selectors
525
525
  a.add(l),
526
526
  // Prep next selector clause.
527
- this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,u=o.location}return 0===s.length?this.error("select"===e?le.EXPECT_SELECT_ARGUMENT_SELECTOR:le.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(le.MISSING_OTHER_CLAUSE,Ge(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;o=!0,i=10*i+(s-48),this.bump()}var a=Ge(n,this.clonePosition());return o?Ze(i*=r)?{val:i,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){
527
+ this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,u=o.location}return 0===s.length?this.error("select"===e?le.EXPECT_SELECT_ARGUMENT_SELECTOR:le.EXPECT_PLURAL_ARGUMENT_SELECTOR,ke(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(le.MISSING_OTHER_CLAUSE,ke(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;o=!0,i=10*i+(s-48),this.bump()}var a=ke(n,this.clonePosition());return o?Ze(i*=r)?{val:i,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){
528
528
  // This is much faster than `Object.assign` or spread.
529
529
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
530
530
  /**
@@ -640,7 +640,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
640
640
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
641
641
  Copyrights licensed under the New BSD License.
642
642
  See the accompanying LICENSE file for terms.
643
- */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=Qr(e);for(let n=0;n<r.length;n++){const o=Fr(r[n],t);if(o)return Nr(t,e,o)}};let Dr;const Ur=Zt({});function $r(t){return t in Dr}function Fr(t,e){if(!$r(t))return null;const r=function(t){return Dr[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],Ur.update((r=>(r[t]=ie.all([r[t]||{},...e]),r)))}Yt([Ur],(([t])=>Object.keys(t))),Ur.subscribe((t=>Dr=t));const Gr={};function jr(t){return Gr[t]}function Wr(t){return null!=t&&Qr(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 Qr(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]}const zr={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 Kr(){return zr}const Zr=Zt(!1);let Yr;const qr=Zt(null);function Jr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Qr(t,e=Kr().fallbackLocale){const r=Jr(t);return e?[...new Set([...r,...Jr(e)])]:r}function tn(){return null!=Yr?Yr:void 0}qr.subscribe((t=>{Yr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const en={...qr,set:t=>{if(t&&function(t){if(null==t)return;const e=Qr(t);for(let t=0;t<e.length;t++){const r=e[t];if($r(r))return r}}(t)&&Wr(t)){const{loadingDelay:e}=Kr();let r;return"undefined"!=typeof window&&null!=tn()&&e?r=window.setTimeout((()=>Zr.set(!0)),e):Zr.set(!0),Vr(t).then((()=>{qr.set(t)})).finally((()=>{clearTimeout(r),Zr.set(!1)}))}return qr.set(t)}},rn=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},nn=(t,e)=>{const{formats:r}=Kr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},on=rn((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return e&&(r=nn("number",e)),new Intl.NumberFormat(t,r)})),sn=rn((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return e?r=nn("date",e):0===Object.keys(r).length&&(r=nn("date","short")),new Intl.DateTimeFormat(t,r)})),an=rn((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return e?r=nn("time",e):0===Object.keys(r).length&&(r=nn("time","short")),new Intl.DateTimeFormat(t,r)})),ln=rn(((t,e=tn())=>new Or(t,e,Kr().formats,{ignoreTag:Kr().ignoreTag}))),un=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=tn(),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=Kr()).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=ln(c,l).format(a)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},cn=(t,e)=>(({locale:t=tn(),...e}={})=>an({locale:t,...e}))(e).format(t),hn=(t,e)=>(({locale:t=tn(),...e}={})=>sn({locale:t,...e}))(e).format(t),fn=(t,e)=>(({locale:t=tn(),...e}={})=>on({locale:t,...e}))(e).format(t),pn=(t,e=tn())=>Mr(t,e),dn=Yt([en,Ur],(()=>un));Yt([en],(()=>cn)),Yt([en],(()=>hn)),Yt([en],(()=>fn)),Yt([en,Ur],(()=>pn)),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 gn(t,e){kr(t,e)}const mn={en:{wageringSlider:{title:"- Wagering Bonus -"}},tr:{wageringSlider:{title:"- Wagering Bonus -"}},es:{wageringSlider:{title:"Bono de Apuesta"}},el:{wageringSlider:{title:"- Wagering Bonus -"}},ro:{wageringSlider:{title:"- Wagering Bonus -"}}};var yn=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){
643
+ */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=Qr(e);for(let n=0;n<r.length;n++){const o=Fr(r[n],t);if(o)return Nr(t,e,o)}};let Dr;const Ur=Zt({});function $r(t){return t in Dr}function Fr(t,e){if(!$r(t))return null;const r=function(t){return Dr[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 Gr(t,...e){delete Rr[t],Ur.update((r=>(r[t]=ie.all([r[t]||{},...e]),r)))}Yt([Ur],(([t])=>Object.keys(t))),Ur.subscribe((t=>Dr=t));const kr={};function jr(t){return kr[t]}function Wr(t){return null!=t&&Qr(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 Qr(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){kr[t].delete(e),0===kr[t].size&&delete kr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Gr(t,...e)))}(t,e)))).then((()=>{if(Wr(t))return Vr(t);delete Xr[t]})),Xr[t]}const zr={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 Kr(){return zr}const Zr=Zt(!1);let Yr;const qr=Zt(null);function Jr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Qr(t,e=Kr().fallbackLocale){const r=Jr(t);return e?[...new Set([...r,...Jr(e)])]:r}function tn(){return null!=Yr?Yr:void 0}qr.subscribe((t=>{Yr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const en={...qr,set:t=>{if(t&&function(t){if(null==t)return;const e=Qr(t);for(let t=0;t<e.length;t++){const r=e[t];if($r(r))return r}}(t)&&Wr(t)){const{loadingDelay:e}=Kr();let r;return"undefined"!=typeof window&&null!=tn()&&e?r=window.setTimeout((()=>Zr.set(!0)),e):Zr.set(!0),Vr(t).then((()=>{qr.set(t)})).finally((()=>{clearTimeout(r),Zr.set(!1)}))}return qr.set(t)}},rn=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},nn=(t,e)=>{const{formats:r}=Kr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},on=rn((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return e&&(r=nn("number",e)),new Intl.NumberFormat(t,r)})),sn=rn((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return e?r=nn("date",e):0===Object.keys(r).length&&(r=nn("date","short")),new Intl.DateTimeFormat(t,r)})),an=rn((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return e?r=nn("time",e):0===Object.keys(r).length&&(r=nn("time","short")),new Intl.DateTimeFormat(t,r)})),ln=rn(((t,e=tn())=>new Or(t,e,Kr().formats,{ignoreTag:Kr().ignoreTag}))),un=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=tn(),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=Kr()).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=ln(c,l).format(a)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},cn=(t,e)=>(({locale:t=tn(),...e}={})=>an({locale:t,...e}))(e).format(t),hn=(t,e)=>(({locale:t=tn(),...e}={})=>sn({locale:t,...e}))(e).format(t),fn=(t,e)=>(({locale:t=tn(),...e}={})=>on({locale:t,...e}))(e).format(t),pn=(t,e=tn())=>Mr(t,e),dn=Yt([en,Ur],(()=>un));Yt([en],(()=>cn)),Yt([en],(()=>hn)),Yt([en],(()=>fn)),Yt([en,Ur],(()=>pn)),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 gn(t,e){Gr(t,e)}const mn={en:{wageringSlider:{title:"- Wagering Bonus -"}},tr:{wageringSlider:{title:"- Wagering Bonus -"}},es:{wageringSlider:{title:"Bono de Apuesta"}},el:{wageringSlider:{title:"- Wagering Bonus -"}},ro:{wageringSlider:{title:"- Wagering Bonus -"}}};var yn=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){
644
644
  /** @license
645
645
  * eventsource.js
646
646
  * Available under MIT License (MIT)
@@ -711,7 +711,7 @@ i.HEADERS_RECEIVED=2),_.prototype.open=function(t,e,r,n,o,s,a){t.open("GET",o);v
711
711
  // see https://github.com/promises-aplus/promises-spec/issues/179
712
712
  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)
713
713
  //Note: bytes in textDecoder are ignored
714
- 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()}}},A.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)}}},A.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)},A.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),C.prototype=Object.create(H.prototype);var I=-1,x=0,O=1,R=2,N=-1,M=0,D=1,U=2,$=3,F=/^text\/event\-stream(;.*)?$/i,k=function(t,e){var r=null==t?e:parseInt(t,10);return r!=r&&(r=e),G(r)},G=function(t){return Math.min(Math.max(t,1e3),18e6)},j=function(t,e,r){try{"function"==typeof e&&e.call(t,r)}catch(t){S(t)}};function W(t,e){A.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=G(1e3),c=k(r.heartbeatTimeout,45e3),h="",f=u,p=!1,d=0,g=r.headers||{},m=r.Transport,y=X&&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 B:new _,E=void 0,w=0,T=I,A="",S="",H="",W="",V=M,z=0,K=0,Z=function(e,r,n,o){if(T===x)if(200===e&&null!=n&&F.test(n)){T=O,p=Date.now(),f=u,t.readyState=O;var i=new P("open",{status:e,statusText:r,headers:o});t.dispatchEvent(i),j(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.",J();i=new P("error",{status:e,statusText:r,headers:o});t.dispatchEvent(i),j(t,t.onerror,i),console.error(s)}},Y=function(e){if(T===O){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?W:"")+e.slice(0,r+1);W=(-1===r?W:"")+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(V===N&&l==="\n".charCodeAt(0))V=M;else if(V===N&&(V=M),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(V!==M){V===D&&(K=a+1);var g=s.slice(z,K-1),m=s.slice(K+(K<a&&s.charCodeAt(K)===" ".charCodeAt(0)?1:0),a);"data"===g?(A+="\n",A+=m):"id"===g?S=m:"event"===g?H=m:"retry"===g?(u=k(m,u),f=u):"heartbeatTimeout"===g&&(c=k(m,c),0!==w&&(o(w),w=n((function(){Q()}),c)))}if(V===M){if(""!==A){h=S,""===H&&(H="message");var y=new L(H,{data:A.slice(1),lastEventId:S});if(t.dispatchEvent(y),"open"===H?j(t,t.onopen,y):"message"===H?j(t,t.onmessage,y):"error"===H&&j(t,t.onerror,y),T===R)return}A="",H=""}V=l==="\r".charCodeAt(0)?N:M}else V===M&&(z=a,V=D),V===D?l===":".charCodeAt(0)&&(K=a+1,V=U):V===U&&(V=$)}}},q=function(e){if(T===O||T===x){T=I,0!==w&&(o(w),w=0),w=n((function(){Q()}),f),f=G(Math.min(16*u,2*f)),t.readyState=x;var r=new C("error",{error:e});t.dispatchEvent(r),j(t,t.onerror,r),null!=e&&console.error(e)}},J=function(){T=R,null!=E&&(E.abort(),E=void 0),0!==w&&(o(w),w=0),t.readyState=R},Q=function(){if(w=0,T===I){p=!1,d=0,w=n((function(){Q()}),c),T=x,A="",H="",S=h,W="",z=0,K=0,V=M;
714
+ 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()}}},A.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)}}},A.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)},A.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),C.prototype=Object.create(H.prototype);var I=-1,x=0,O=1,R=2,N=-1,M=0,D=1,U=2,$=3,F=/^text\/event\-stream(;.*)?$/i,G=function(t,e){var r=null==t?e:parseInt(t,10);return r!=r&&(r=e),k(r)},k=function(t){return Math.min(Math.max(t,1e3),18e6)},j=function(t,e,r){try{"function"==typeof e&&e.call(t,r)}catch(t){S(t)}};function W(t,e){A.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=k(1e3),c=G(r.heartbeatTimeout,45e3),h="",f=u,p=!1,d=0,g=r.headers||{},m=r.Transport,y=X&&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 B:new _,E=void 0,w=0,T=I,A="",S="",H="",W="",V=M,z=0,K=0,Z=function(e,r,n,o){if(T===x)if(200===e&&null!=n&&F.test(n)){T=O,p=Date.now(),f=u,t.readyState=O;var i=new P("open",{status:e,statusText:r,headers:o});t.dispatchEvent(i),j(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.",J();i=new P("error",{status:e,statusText:r,headers:o});t.dispatchEvent(i),j(t,t.onerror,i),console.error(s)}},Y=function(e){if(T===O){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?W:"")+e.slice(0,r+1);W=(-1===r?W:"")+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(V===N&&l==="\n".charCodeAt(0))V=M;else if(V===N&&(V=M),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(V!==M){V===D&&(K=a+1);var g=s.slice(z,K-1),m=s.slice(K+(K<a&&s.charCodeAt(K)===" ".charCodeAt(0)?1:0),a);"data"===g?(A+="\n",A+=m):"id"===g?S=m:"event"===g?H=m:"retry"===g?(u=G(m,u),f=u):"heartbeatTimeout"===g&&(c=G(m,c),0!==w&&(o(w),w=n((function(){Q()}),c)))}if(V===M){if(""!==A){h=S,""===H&&(H="message");var y=new L(H,{data:A.slice(1),lastEventId:S});if(t.dispatchEvent(y),"open"===H?j(t,t.onopen,y):"message"===H?j(t,t.onmessage,y):"error"===H&&j(t,t.onerror,y),T===R)return}A="",H=""}V=l==="\r".charCodeAt(0)?N:M}else V===M&&(z=a,V=D),V===D?l===":".charCodeAt(0)&&(K=a+1,V=U):V===U&&(V=$)}}},q=function(e){if(T===O||T===x){T=I,0!==w&&(o(w),w=0),w=n((function(){Q()}),f),f=k(Math.min(16*u,2*f)),t.readyState=x;var r=new C("error",{error:e});t.dispatchEvent(r),j(t,t.onerror,r),null!=e&&console.error(e)}},J=function(){T=R,null!=E&&(E.abort(),E=void 0),0!==w&&(o(w),w=0),t.readyState=R},Q=function(){if(w=0,T===I){p=!1,d=0,w=n((function(){Q()}),c),T=x,A="",H="",S=h,W="",z=0,K=0,V=M;
715
715
  // https://bugzilla.mozilla.org/show_bug.cgi?id=428916
716
716
  // Request header field Last-Event-ID is not allowed by Access-Control-Allow-Headers.
717
717
  var r=e;if("data:"!==e.slice(0,5)&&"blob:"!==e.slice(0,5)&&""!==h){
@@ -725,7 +725,7 @@ r+=(-1===e.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var i=t.withCredent
725
725
  // https://code.google.com/p/chromium/issues/detail?id=260144
726
726
  // https://code.google.com/p/chromium/issues/detail?id=225654
727
727
  // ...
728
- z=W),V=function(t){t.EventSourcePolyfill=W,t.NativeEventSource=l,t.EventSource=z}(e),void 0!==V&&(t.exports=V)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:ht:globalThis)})),bn="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 vn(t,e){kr(t,e)}const En={en:{bets:"bets"},tr:{bets:"bets"},es:{bets:"apuestas"},el:{bets:"bets"}};
728
+ z=W),V=function(t){t.EventSourcePolyfill=W,t.NativeEventSource=l,t.EventSource=z}(e),void 0!==V&&(t.exports=V)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:ht:globalThis)})),bn="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 vn(t,e){Gr(t,e)}const En={en:{bets:"bets"},tr:{bets:"bets"},es:{bets:"apuestas"},el:{bets:"bets"}};
729
729
  /* ../general-icon-progress-bar/src/GeneralIconProgressBar.svelte generated by Svelte v3.59.2 */function wn(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),
730
730
  /*span_binding*/e[13](o),
731
731
  /*div0_binding*/e[14](n),
@@ -743,12 +743,12 @@ function Bn(e){let r;return{c(){r=d("div"),r.textContent=" "},m(t,e){f(t,r,e)},
743
743
  function An(t){let e,r=/*wageringList*/t[1],n=[];for(let e=0;e<r.length;e+=1)n[e]=Sn(Tn(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]&&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=Tn(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)}}}
744
744
  // (343:8) {#each wageringList as wagerInfo, index}
745
745
  function Sn(t){let e,r,n,o,i,s,a,u,c,g,_,T,B,A,S,H,L,P,C,I,x=/*wagerInfo*/t[56].title+"";function O(){/*click_handler_2*/
746
- return t[25](/*wagerInfo*/t[56])}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(x),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=bn)||v(o,"src",i),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[56].currentStep),E(_,"status",B=/*wagerInfo*/t[56].status),E(_,"triggerreset",A=/*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){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,L),C||(I=b(a,"click",O),C=!0)},p(r,n){t=r,/*wageringList*/2&n[0]&&x!==(x=/*wagerInfo*/t[56].title+"")&&w(u,x),/*wageringList*/2&n[0]&&T!==(T=/*wagerInfo*/t[56].currentStep)&&E(_,"currentstep",T),/*wageringList*/2&n[0]&&B!==(B=/*wagerInfo*/t[56].status)&&E(_,"status",B),/*wageringList*/2&n[0]&&A!==(A=/*wagerInfo*/t[56].triggerreset)&&E(_,"triggerreset",A),/*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&&p(e),C=!1,I()}}}function Hn(e){let r,o,i,s,a,u,c,E,_,T,B,A,S,H,L,P,C,I,x,O,R,N,M,D,U,$,F,k,G,j=/*$_*/e[9]("wageringSlider.title")+"";function W(t,e){/*wageringList*/
746
+ return t[25](/*wagerInfo*/t[56])}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(x),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=bn)||v(o,"src",i),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[56].currentStep),E(_,"status",B=/*wagerInfo*/t[56].status),E(_,"triggerreset",A=/*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){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,L),C||(I=b(a,"click",O),C=!0)},p(r,n){t=r,/*wageringList*/2&n[0]&&x!==(x=/*wagerInfo*/t[56].title+"")&&w(u,x),/*wageringList*/2&n[0]&&T!==(T=/*wagerInfo*/t[56].currentStep)&&E(_,"currentstep",T),/*wageringList*/2&n[0]&&B!==(B=/*wagerInfo*/t[56].status)&&E(_,"status",B),/*wageringList*/2&n[0]&&A!==(A=/*wagerInfo*/t[56].triggerreset)&&E(_,"triggerreset",A),/*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&&p(e),C=!1,I()}}}function Hn(e){let r,o,i,s,a,u,c,E,_,T,B,A,S,H,L,P,C,I,x,O,R,N,M,D,U,$,F,G,k,j=/*$_*/e[9]("wageringSlider.title")+"";function W(t,e){/*wageringList*/
747
747
  return t[1]&&/*wageringList*/t[1].length>0?An: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"),B=d("div"),A=m(j),S=y(),V.c(),H=y(),L=d("div"),P=g("svg"),C=g("path"),O=y(),R=d("section"),N=d("div"),M=d("img"),U=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(B,"class","Title Top"),v(B,"part","WageringBonusTitle"),v(T,"class","SliderCenter"),v(T,"part","WageringBonusContent"),v(C,"d","M1 1L3 4L1 7"),v(C,"stroke","currentColor"),v(C,"stroke-linecap","round"),v(C,"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",I="RightArrow "+(/*isLast*/e[5]?"Disabled":"")),v(o,"part","SliderWrapper"),v(o,"class",x="SliderWrapper "+(/*isIconMode*/e[7]?"HiddenWidget":"ShowWidget")),v(M,"alt","crown"),v(M,"part","Icon"),v(M,"class","MiniIcon"),l(M.src,D=bn)||v(M,"src",D),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){f(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,B),h(B,A),h(T,S),V.m(T,null),h(o,H),h(o,L),h(L,P),h(P,C),
748
748
  /*div5_binding*/e[27](o),h(r,O),h(r,R),h(R,N),h(N,M),h(R,U),h(R,$),
749
- /*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(A,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]&&I!==(I="RightArrow "+(/*isLast*/t[5]?"Disabled":""))&&v(L,"class",I),/*isIconMode*/128&e[0]&&x!==(x="SliderWrapper "+(/*isIconMode*/t[7]?"HiddenWidget":"ShowWidget"))&&v(o,"class",x),/*isIconMode*/128&e[0]&&F!==(F="SliderIcon "+(/*isIconMode*/t[7]?"ShowWidget":"HiddenWidget"))&&v(R,"class",F)},i:t,o:t,d(t){t&&p(r),V.d(),
749
+ /*section_binding*/e[28](R),G||(k=[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])],G=!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(A,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]&&I!==(I="RightArrow "+(/*isLast*/t[5]?"Disabled":""))&&v(L,"class",I),/*isIconMode*/128&e[0]&&x!==(x="SliderWrapper "+(/*isIconMode*/t[7]?"HiddenWidget":"ShowWidget"))&&v(o,"class",x),/*isIconMode*/128&e[0]&&F!==(F="SliderIcon "+(/*isIconMode*/t[7]?"ShowWidget":"HiddenWidget"))&&v(R,"class",F)},i:t,o:t,d(t){t&&p(r),V.d(),
750
750
  /*div5_binding*/e[27](null),
751
- /*section_binding*/e[28](null),k=!1,n(G)}}}function Ln(t,e,r){let n;c(t,dn,(t=>r(9,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,{progressfractiondigit:m=1}=e,y=window.navigator.userAgent,b=!0,v=!1,E=0,w=null,_=null,T=!1,A="Hidden";!function({withLocale:t,translations:e}){en.subscribe((r=>{null==r&&(Ur.set(e),en.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
751
+ /*section_binding*/e[28](null),G=!1,n(k)}}}function Ln(t,e,r){let n;c(t,dn,(t=>r(9,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,{progressfractiondigit:m=1}=e,y=window.navigator.userAgent,b=!0,v=!1,E=0,w=null,_=null,T=!1,A="Hidden";!function({withLocale:t,translations:e}){en.subscribe((r=>{null==r&&(Ur.set(e),en.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
752
752
  /*dictionary.set(translations);
753
753
  locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(mn).forEach((t=>{gn(t,mn[t])}));const H=()=>{var t;t=f,en.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){
754
754
  //slideAuto();