@everymatrix/casino-wagering-bonuses-controller 1.74.1 → 1.74.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoWageringBonusProgress-B7tIA3Nx.js → CasinoWageringBonusProgress-CMEfrdSP.js} +13 -13
- package/components/{CasinoWageringBonusProgress-CBM4uNV_.js → CasinoWageringBonusProgress-D0dCeXp2.js} +13 -13
- package/components/{CasinoWageringBonusesController-5T1xgXqK.js → CasinoWageringBonusesController-C11mRlVY.js} +899 -903
- package/components/{CasinoWageringBonusesController-DiAPHgsS.js → CasinoWageringBonusesController-Cutjnfg7.js} +864 -868
- package/components/CasinoWageringBonusesController-GXFEQ8ru.cjs +23 -0
- package/components/{GeneralAnimationLoading-C8bUHowA.js → GeneralAnimationLoading-BrUofBqW.js} +9 -9
- package/components/{GeneralAnimationLoading-DMFOVCrC.js → GeneralAnimationLoading-DIp20cAk.js} +9 -9
- package/es2015/casino-wagering-bonuses-controller.cjs +1 -1
- package/es2015/casino-wagering-bonuses-controller.js +1 -1
- package/esnext/casino-wagering-bonuses-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoWageringBonusesController-DN7tCtGk.cjs +0 -10
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";var Rr=Object.defineProperty,Mr=Object.defineProperties;var Lr=Object.getOwnPropertyDescriptors;var at=Object.getOwnPropertySymbols;var Zt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable;var Xt=(e,t,n)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pe=(e,t)=>{for(var n in t||(t={}))Zt.call(t,n)&&Xt(e,n,t[n]);if(at)for(var n of at(t))zt.call(t,n)&&Xt(e,n,t[n]);return e},He=(e,t)=>Mr(e,Lr(t));var Qe=(e,t)=>{var n={};for(var i in e)Zt.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&at)for(var i of at(e))t.indexOf(i)<0&&zt.call(e,i)&&(n[i]=e[i]);return n};var De=(e,t,n)=>new Promise((i,a)=>{var s=h=>{try{f(n.next(h))}catch(l){a(l)}},o=h=>{try{f(n.throw(h))}catch(l){a(l)}},f=h=>h.done?i(h.value):Promise.resolve(h.value).then(s,o);f((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./CasinoWageringBonusProgress-DbQfzojd.cjs");if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoWageringBonusProgress-DbQfzojd.cjs")).then(t=>t.CasinoWageringBonusProgress_ce).then(({default:t})=>{!customElements.get("casino-wagering-bonus-progress")&&customElements.define("casino-wagering-bonus-progress",t.element)})}const Pr=e=>Object.keys(e).map(t=>`${t}=${e[t]}`).join("&");function Nr(e,t){let n,i;try{n=e.toString().split(".")[1].length}catch(o){n=0}try{i=t.toString().split(".")[1].length}catch(o){i=0}const a=Math.pow(10,Math.max(n,i)),s=n>=i?n:i;return((e*a-t*a)/a).toFixed(s)}const Jt=(e,t)=>({remainder:e%t,quotient:Math.floor(e/t)}),Kn=e=>{const t=new Date;return new Date(e).getTime()-t.getTime()},Or=e=>{const t=Kn(e)/6e4,{quotient:n,remainder:i}=Jt(t,1440),{quotient:a,remainder:s}=Jt(i,60),o=Math.floor(s),f=l=>Math.abs(l)<10?`0${l}`:l;return[{value:n,symbol:"d"},{value:a,symbol:"h"},{value:o,symbol:"m"}].map(l=>f(l.value)+l.symbol).join(" ")},ut=(e,t="")=>({class:[e,t].join(" ")}),qt=(i,a,...s)=>De(exports,[i,a,...s],function*(e,t,n={}){const o=He(pe({},n),{signal:e.signal});let f;return f=yield fetch(t,o),f=yield f.json(),f});function Dr(e){r.append_styles(e,"svelte-1c53sst",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Info{margin-top:9.181331293px;margin-bottom:9.181331293px}.InfoMobile{margin-top:2.0512820513vw;margin-bottom:1.2820512821vw}.InfoIcon{vertical-align:middle;width:14.6901300689px;height:14.6901300689px}.InfoIconMobile{width:5.1282051282vw;height:5.1282051282vw}.InfoText{vertical-align:middle}.InfoTextMobile{margin-left:1.5384615385vw}')}function Kt(e,t,n){const i=e.slice();return i[6]=t[n],i}function Yt(e){let t,n,i,a,s,o,f=e[6].text+"",h,l,u=[e[2](`InfoIcon ${e[6].key}InfoIcon`),{src:i=e[6].svg},{alt:a=e[6].key}],d={};for(let p=0;p<u.length;p+=1)d=r.assign(d,u[p]);let c=[e[2](`InfoText ${e[6].key}InfoText`)],v={};for(let p=0;p<c.length;p+=1)v=r.assign(v,c[p]);let b=[e[2](`Info ${e[6].key}Info`)],g={};for(let p=0;p<b.length;p+=1)g=r.assign(g,b[p]);return{c(){t=r.element("div"),n=r.element("img"),s=r.space(),o=r.element("span"),h=r.text(f),l=r.space(),r.set_attributes(n,d),r.set_attributes(o,v),r.set_attributes(t,g)},m(p,y){r.insert(p,t,y),r.append(t,n),r.append(t,s),r.append(t,o),r.append(o,h),r.append(t,l)},p(p,y){r.set_attributes(n,d=r.get_spread_update(u,[y&6&&p[2](`InfoIcon ${p[6].key}InfoIcon`),y&2&&!r.src_url_equal(n.src,i=p[6].svg)&&{src:i},y&2&&a!==(a=p[6].key)&&{alt:a}])),y&2&&f!==(f=p[6].text+"")&&r.set_data_maybe_contenteditable(h,f,v.contenteditable),r.set_attributes(o,v=r.get_spread_update(c,[y&6&&p[2](`InfoText ${p[6].key}InfoText`)])),r.set_attributes(t,g=r.get_spread_update(b,[y&6&&p[2](`Info ${p[6].key}Info`)]))},d(p){p&&r.detach(t)}}}function kr(e){let t,n,i;r.add_render_callback(e[5]);let a=r.ensure_array_like(e[1]),s=[];for(let h=0;h<a.length;h+=1)s[h]=Yt(Kt(e,a,h));let o=[e[2]("InfoContainer")],f={};for(let h=0;h<o.length;h+=1)f=r.assign(f,o[h]);return{c(){t=r.element("div");for(let h=0;h<s.length;h+=1)s[h].c();r.set_attributes(t,f)},m(h,l){r.insert(h,t,l);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(t,null);n||(i=r.listen(window,"resize",e[5]),n=!0)},p(h,[l]){if(l&6){a=r.ensure_array_like(h[1]);let u;for(u=0;u<a.length;u+=1){const d=Kt(h,a,u);s[u]?s[u].p(d,l):(s[u]=Yt(d),s[u].c(),s[u].m(t,null))}for(;u<s.length;u+=1)s[u].d(1);s.length=a.length}r.set_attributes(t,f=r.get_spread_update(o,[l&4&&h[2]("InfoContainer")]))},i:r.noop,o:r.noop,d(h){h&&r.detach(t),r.destroy_each(s,h),n=!1,i()}}}function Fr(e,t,n){let i,a,s,{infos:o="[]"}=t,f;function h(){n(0,f=window.innerWidth)}return e.$$set=l=>{"infos"in l&&n(3,o=l.infos)},e.$$.update=()=>{e.$$.dirty&1&&n(4,i=f<=576),e.$$.dirty&16&&n(2,a=l=>{if(i){const u=l.split(" ").map(d=>`${d}Mobile`).join(" ");return ut(`${l} ${u}`)}else return ut(`${l}`)}),e.$$.dirty&8&&n(1,s=JSON.parse(o))},[f,s,a,o,i,h]}class Ur extends r.SvelteComponent{constructor(t){super(),r.init(this,t,Fr,kr,r.safe_not_equal,{infos:3},Dr)}get infos(){return this.$$.ctx[3]}set infos(t){this.$$set({infos:t}),r.flush()}}customElements.define("private-casino-wagering-bonus-info",r.create_custom_element(Ur,{infos:{}},[],[],!0));const Qt="data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_338)'%3e%3cpath%20d='M12.5%200C5.60762%200%200%205.60762%200%2012.5C0%2019.3924%205.60762%2025%2012.5%2025C19.3924%2025%2025%2019.3924%2025%2012.5C25%205.60762%2019.3924%200%2012.5%200ZM12.5%2023.4375C6.46896%2023.4375%201.56251%2018.531%201.56251%2012.5C1.56251%206.46896%206.46896%201.56251%2012.5%201.56251C18.531%201.56251%2023.4375%206.46896%2023.4375%2012.5C23.4375%2018.531%2018.531%2023.4375%2012.5%2023.4375V23.4375Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M13.2813%204.6875H11.7188V12.8235L16.6351%2017.7398L17.7399%2016.6351L13.2813%2012.1765V4.6875Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_338'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Gr="data:image/svg+xml,%3csvg%20width='26'%20height='25'%20viewBox='0%200%2026%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_603)'%3e%3cpath%20d='M12.502%200C5.60958%200%200.00195312%205.60762%200.00195312%2012.5C0.00195312%2019.3924%205.60958%2025%2012.502%2025C19.3943%2025%2025.002%2019.3924%2025.002%2012.5C25.002%205.60762%2019.3943%200%2012.502%200ZM12.502%2023.4375C6.47091%2023.4375%201.56446%2018.531%201.56446%2012.5C1.56446%206.46896%206.47091%201.56251%2012.502%201.56251C18.533%201.56251%2023.4394%206.46896%2023.4394%2012.5C23.4394%2018.531%2018.533%2023.4375%2012.502%2023.4375Z'%20fill='black'/%3e%3cpath%20d='M13.2832%204.6875H11.7207V12.8235L16.6371%2017.7398L17.7418%2016.6351L13.2832%2012.1765V4.6875Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_603'%3e%3crect%20width='25'%20height='25'%20fill='white'%20transform='translate(0.00195312)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$t="data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_347)'%3e%3cpath%20d='M12.5002%207.5C11.5797%207.5%2010.8335%208.2462%2010.8335%209.16667V23.3333C10.8335%2024.2538%2011.5797%2025%2012.5002%2025C13.4206%2025%2014.1668%2024.2538%2014.1668%2023.3333V9.16667C14.1668%208.2462%2013.4206%207.5%2012.5002%207.5ZM13.3335%2023.3333C13.3335%2023.7936%2012.9604%2024.1667%2012.5002%2024.1667C12.0399%2024.1667%2011.6668%2023.7936%2011.6668%2023.3333V9.16667C11.6668%208.70641%2012.0399%208.33333%2012.5002%208.33333C12.9604%208.33333%2013.3335%208.70641%2013.3335%209.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M7.08317%2012.5C6.1627%2012.5%205.4165%2013.2462%205.4165%2014.1667V23.3333C5.4165%2024.2538%206.1627%2025%207.08317%2025C8.00364%2025%208.74984%2024.2538%208.74984%2023.3333V14.1667C8.74984%2013.2462%208.00364%2012.5%207.08317%2012.5ZM7.9165%2023.3333C7.9165%2023.7936%207.54343%2024.1667%207.08317%2024.1667C6.62291%2024.1667%206.24984%2023.7936%206.24984%2023.3333V14.1667C6.24984%2013.7064%206.62291%2013.3333%207.08317%2013.3333C7.54343%2013.3333%207.9165%2013.7064%207.9165%2014.1667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M1.66667%2018.333C0.746198%2018.333%200%2019.0792%200%2019.9997V23.333C0%2024.2535%200.746198%2024.9997%201.66667%2024.9997C2.58714%2024.9997%203.33333%2024.2535%203.33333%2023.333V19.9997C3.33333%2019.0792%202.58714%2018.333%201.66667%2018.333ZM2.5%2023.333C2.5%2023.7933%202.12693%2024.1663%201.66667%2024.1663C1.20641%2024.1663%200.833333%2023.7933%200.833333%2023.333V19.9997C0.833333%2019.5394%201.20641%2019.1663%201.66667%2019.1663C2.12693%2019.1663%202.5%2019.5394%202.5%2019.9997V23.333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M17.9167%202.5C16.9962%202.5%2016.25%203.2462%2016.25%204.16667V23.3333C16.25%2024.2538%2016.9962%2025%2017.9167%2025C18.8371%2025%2019.5833%2024.2538%2019.5833%2023.3333V4.16667C19.5833%203.2462%2018.8371%202.5%2017.9167%202.5ZM18.75%2023.3333C18.75%2023.7936%2018.3769%2024.1667%2017.9167%2024.1667C17.4564%2024.1667%2017.0833%2023.7936%2017.0833%2023.3333V4.16667C17.0833%203.70641%2017.4564%203.33333%2017.9167%203.33333C18.3769%203.33333%2018.75%203.70641%2018.75%204.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M23.3332%200C22.4127%200%2021.6665%200.746198%2021.6665%201.66667V23.3333C21.6665%2024.2538%2022.4127%2025%2023.3332%2025C24.2536%2025%2024.9998%2024.2538%2024.9998%2023.3333V1.66667C24.9998%200.746198%2024.2536%200%2023.3332%200ZM24.1665%2023.3333C24.1665%2023.7936%2023.7934%2024.1667%2023.3332%2024.1667C22.8729%2024.1667%2022.4998%2023.7936%2022.4998%2023.3333V1.66667C22.4998%201.20641%2022.8729%200.833333%2023.3332%200.833333C23.7934%200.833333%2024.1665%201.20641%2024.1665%201.66667V23.3333Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_347'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";var K=(e=>(e.claimable="claimable",e.active="active",e.completed="completed",e.forfeited="forfeited",e.expired="expired",e.released="released",e.closed="closed",e))(K||{}),et=(e=>(e.claimable="claimable",e.active="active",e.completed="completed",e))(et||{}),xt=(e=>(e.standard="standard",e.freeBet="freeBet",e.freeRound="freeRound",e.tournamentTicket="tournamentTicket",e.oddsBoost="oddsBoost",e.cashBack="cashBack",e))(xt||{}),Ft=(e=>(e.en="en",e))(Ft||{}),jr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Wr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var At={exports:{}};/** @license
|
|
2
|
+
* eventsource.js
|
|
3
|
+
* Available under MIT License (MIT)
|
|
4
|
+
* https://github.com/Yaffle/EventSource/
|
|
5
|
+
*/(function(e,t){(function(n){var i=n.setTimeout,a=n.clearTimeout,s=n.XMLHttpRequest,o=n.XDomainRequest,f=n.ActiveXObject,h=n.EventSource,l=n.document,u=n.Promise,d=n.fetch,c=n.Response,v=n.TextDecoder,b=n.TextEncoder,g=n.AbortController;if(typeof window!="undefined"&&typeof l!="undefined"&&!("readyState"in l)&&l.body==null&&(l.readyState="loading",window.addEventListener("load",function(_){l.readyState="complete"},!1)),s==null&&f!=null&&(s=function(){return new f("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(_){function B(){}return B.prototype=_,new B}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var p=d;d=function(_,B){var x=B.signal;return p(_,{headers:B.headers,credentials:B.credentials,cache:B.cache}).then(function(w){var M=w.body.getReader();return x._reader=M,x._aborted&&x._reader.cancel(),{status:w.status,statusText:w.statusText,headers:w.headers,body:{getReader:function(){return M}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function y(){this.bitsNeeded=0,this.codePoint=0}y.prototype.decode=function(_){function B(H,U,A){if(A===1)return H>=128>>U&&H<<U<=2047;if(A===2)return H>=2048>>U&&H<<U<=55295||H>=57344>>U&&H<<U<=65535;if(A===3)return H>=65536>>U&&H<<U<=1114111;throw new Error}function x(H,U){if(H===6*1)return U>>6>15?3:U>31?2:1;if(H===6*2)return U>15?3:2;if(H===6*3)return 3;throw new Error}for(var w=65533,M="",I=this.bitsNeeded,P=this.codePoint,Q=0;Q<_.length;Q+=1){var m=_[Q];I!==0&&(m<128||m>191||!B(P<<6|m&63,I-6,x(I,P)))&&(I=0,P=w,M+=String.fromCharCode(P)),I===0?(m>=0&&m<=127?(I=0,P=m):m>=192&&m<=223?(I=6*1,P=m&31):m>=224&&m<=239?(I=6*2,P=m&15):m>=240&&m<=247?(I=6*3,P=m&7):(I=0,P=w),I!==0&&!B(P,I,x(I,P))&&(I=0,P=w)):(I-=6,P=P<<6|m&63),I===0&&(P<=65535?M+=String.fromCharCode(P):(M+=String.fromCharCode(55296+(P-65535-1>>10)),M+=String.fromCharCode(56320+(P-65535-1&1023))))}return this.bitsNeeded=I,this.codePoint=P,M};var L=function(){try{return new v().decode(new b().encode("test"),{stream:!0})==="test"}catch(_){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+_)}return!1};(v==null||b==null||!L())&&(v=y);var R=function(){};function N(_){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=R,this.onload=R,this.onerror=R,this.onreadystatechange=R,this._contentType="",this._xhr=_,this._sendTimeout=0,this._abort=R}N.prototype.open=function(_,B){this._abort(!0);var x=this,w=this._xhr,M=1,I=0;this._abort=function(A){x._sendTimeout!==0&&(a(x._sendTimeout),x._sendTimeout=0),(M===1||M===2||M===3)&&(M=4,w.onload=R,w.onerror=R,w.onabort=R,w.onprogress=R,w.onreadystatechange=R,w.abort(),I!==0&&(a(I),I=0),A||(x.readyState=4,x.onabort(null),x.onreadystatechange())),M=0};var P=function(){if(M===1){var A=0,$="",Ce=void 0;if("contentType"in w)A=200,$="OK",Ce=w.contentType;else try{A=w.status,$=w.statusText,Ce=w.getResponseHeader("Content-Type")}catch(Ke){A=0,$="",Ce=void 0}A!==0&&(M=2,x.readyState=2,x.status=A,x.statusText=$,x._contentType=Ce,x.onreadystatechange())}},Q=function(){if(P(),M===2||M===3){M=3;var A="";try{A=w.responseText}catch($){}x.readyState=3,x.responseText=A,x.onprogress()}},m=function(A,$){if(($==null||$.preventDefault==null)&&($={preventDefault:R}),Q(),M===1||M===2||M===3){if(M=4,I!==0&&(a(I),I=0),x.readyState=4,A==="load")x.onload($);else if(A==="error")x.onerror($);else if(A==="abort")x.onabort($);else throw new TypeError;x.onreadystatechange()}},H=function(A){w!=null&&(w.readyState===4?(!("onload"in w)||!("onerror"in w)||!("onabort"in w))&&m(w.responseText===""?"error":"load",A):w.readyState===3?"onprogress"in w||Q():w.readyState===2&&P())},U=function(){I=i(function(){U()},500),w.readyState===3&&Q()};"onload"in w&&(w.onload=function(A){m("load",A)}),"onerror"in w&&(w.onerror=function(A){m("error",A)}),"onabort"in w&&(w.onabort=function(A){m("abort",A)}),"onprogress"in w&&(w.onprogress=Q),"onreadystatechange"in w&&(w.onreadystatechange=function(A){H(A)}),("contentType"in w||!("ontimeout"in s.prototype))&&(B+=(B.indexOf("?")===-1?"?":"&")+"padding=true"),w.open(_,B,!0),"readyState"in w&&(I=i(function(){U()},0))},N.prototype.abort=function(){this._abort(!1)},N.prototype.getResponseHeader=function(_){return this._contentType},N.prototype.setRequestHeader=function(_,B){var x=this._xhr;"setRequestHeader"in x&&x.setRequestHeader(_,B)},N.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},N.prototype.send=function(){if((!("ontimeout"in s.prototype)||!("sendAsBinary"in s.prototype)&&!("mozAnon"in s.prototype))&&l!=null&&l.readyState!=null&&l.readyState!=="complete"){var _=this;_._sendTimeout=i(function(){_._sendTimeout=0,_.send()},4);return}var B=this._xhr;"withCredentials"in B&&(B.withCredentials=this.withCredentials);try{B.send(void 0)}catch(x){throw x}};function O(_){return _.replace(/[A-Z]/g,function(B){return String.fromCharCode(B.charCodeAt(0)+32)})}function z(_){for(var B=Object.create(null),x=_.split(`\r
|
|
6
|
+
`),w=0;w<x.length;w+=1){var M=x[w],I=M.split(": "),P=I.shift(),Q=I.join(": ");B[O(P)]=Q}this._map=B}z.prototype.get=function(_){return this._map[O(_)]},s!=null&&s.HEADERS_RECEIVED==null&&(s.HEADERS_RECEIVED=2);function D(){}D.prototype.open=function(_,B,x,w,M,I,P){_.open("GET",M);var Q=0;_.onprogress=function(){var H=_.responseText,U=H.slice(Q);Q+=U.length,x(U)},_.onerror=function(H){H.preventDefault(),w(new Error("NetworkError"))},_.onload=function(){w(null)},_.onabort=function(){w(null)},_.onreadystatechange=function(){if(_.readyState===s.HEADERS_RECEIVED){var H=_.status,U=_.statusText,A=_.getResponseHeader("Content-Type"),$=_.getAllResponseHeaders();B(H,U,A,new z($))}},_.withCredentials=I;for(var m in P)Object.prototype.hasOwnProperty.call(P,m)&&_.setRequestHeader(m,P[m]);return _.send(),_};function ee(_){this._headers=_}ee.prototype.get=function(_){return this._headers.get(_)};function ne(){}ne.prototype.open=function(_,B,x,w,M,I,P){var Q=null,m=new g,H=m.signal,U=new v;return d(M,{headers:P,credentials:I?"include":"same-origin",signal:H,cache:"no-store"}).then(function(A){return Q=A.body.getReader(),B(A.status,A.statusText,A.headers.get("Content-Type"),new ee(A.headers)),new u(function($,Ce){var Ke=function(){Q.read().then(function(ye){if(ye.done)$(void 0);else{var ge=U.decode(ye.value,{stream:!0});x(ge),Ke()}}).catch(function(ye){Ce(ye)})};Ke()})}).catch(function(A){if(A.name!=="AbortError")return A}).then(function(A){w(A)}),{abort:function(){Q!=null&&Q.cancel(),m.abort()}}};function J(){this._listeners=Object.create(null)}function re(_){i(function(){throw _},0)}J.prototype.dispatchEvent=function(_){_.target=this;var B=this._listeners[_.type];if(B!=null)for(var x=B.length,w=0;w<x;w+=1){var M=B[w];try{typeof M.handleEvent=="function"?M.handleEvent(_):M.call(this,_)}catch(I){re(I)}}},J.prototype.addEventListener=function(_,B){_=String(_);var x=this._listeners,w=x[_];w==null&&(w=[],x[_]=w);for(var M=!1,I=0;I<w.length;I+=1)w[I]===B&&(M=!0);M||w.push(B)},J.prototype.removeEventListener=function(_,B){_=String(_);var x=this._listeners,w=x[_];if(w!=null){for(var M=[],I=0;I<w.length;I+=1)w[I]!==B&&M.push(w[I]);M.length===0?delete x[_]:x[_]=M}};function j(_){this.type=_,this.target=void 0}function V(_,B){j.call(this,_),this.data=B.data,this.lastEventId=B.lastEventId}V.prototype=Object.create(j.prototype);function X(_,B){j.call(this,_),this.status=B.status,this.statusText=B.statusText,this.headers=B.headers}X.prototype=Object.create(j.prototype);function se(_,B){j.call(this,_),this.error=B.error}se.prototype=Object.create(j.prototype);var ie=-1,E=0,T=1,C=2,F=-1,ae=0,ce=1,S=2,Z=3,de=/^text\/event\-stream(;.*)?$/i,Y=1e3,q=18e6,Se=function(_,B){var x=_==null?B:parseInt(_,10);return x!==x&&(x=B),Re(x)},Re=function(_){return Math.min(Math.max(_,Y),q)},Be=function(_,B,x){try{typeof B=="function"&&B.call(_,x)}catch(w){re(w)}};function ue(_,B){J.call(this),B=B||{},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,me(this,_,B)}function Me(){return s!=null&&"withCredentials"in s.prototype||o==null?new s:new o}var fe=d!=null&&c!=null&&"body"in c.prototype;function me(_,B,x){B=String(B);var w=!!x.withCredentials,M=x.lastEventIdQueryParameterName||"lastEventId",I=Re(1e3),P=Se(x.heartbeatTimeout,45e3),Q="",m=I,H=!1,U=0,A=x.headers||{},$=x.Transport,Ce=fe&&$==null?void 0:new N($!=null?new $:Me()),Ke=$!=null&&typeof $!="string"?new $:Ce==null?new ne:new D,ye=void 0,ge=0,Te=ie,Ue="",rt="",xe="",it="",_e=ae,bt=0,Oe=0,Ir=function(le,oe,Ee,we){if(Te===E)if(le===200&&Ee!=null&&de.test(Ee)){Te=T,H=Date.now(),m=I,_.readyState=T;var be=new X("open",{status:le,statusText:oe,headers:we});_.dispatchEvent(be),Be(_,_.onopen,be)}else{var he="";le!==200?(oe&&(oe=oe.replace(/\s+/g," ")),he="EventSource's response has a status "+le+" "+oe+" that is not 200. Aborting the connection."):he="EventSource's response has a Content-Type specifying an unsupported type: "+(Ee==null?"-":Ee.replace(/\s+/g," "))+". Aborting the connection.",vt();var be=new X("error",{status:le,statusText:oe,headers:we});_.dispatchEvent(be),Be(_,_.onerror,be),console.error(he)}},Hr=function(le){if(Te===T){for(var oe=-1,Ee=0;Ee<le.length;Ee+=1){var we=le.charCodeAt(Ee);(we===10||we===13)&&(oe=Ee)}var be=(oe!==-1?it:"")+le.slice(0,oe+1);it=(oe===-1?it:"")+le.slice(oe+1),le!==""&&(H=Date.now(),U+=le.length);for(var he=0;he<be.length;he+=1){var we=be.charCodeAt(he);if(_e===F&&we===10)_e=ae;else if(_e===F&&(_e=ae),we===13||we===10){if(_e!==ae){_e===ce&&(Oe=he+1);var Ae=be.slice(bt,Oe-1),Ie=be.slice(Oe+(Oe<he&&be.charCodeAt(Oe)===32?1:0),he);Ae==="data"?(Ue+=`
|
|
7
|
+
`,Ue+=Ie):Ae==="id"?rt=Ie:Ae==="event"?xe=Ie:Ae==="retry"?(I=Se(Ie,I),m=I):Ae==="heartbeatTimeout"&&(P=Se(Ie,P),ge!==0&&(a(ge),ge=i(function(){Ye()},P)))}if(_e===ae){if(Ue!==""){Q=rt,xe===""&&(xe="message");var Ge=new V(xe,{data:Ue.slice(1),lastEventId:rt});if(_.dispatchEvent(Ge),xe==="open"?Be(_,_.onopen,Ge):xe==="message"?Be(_,_.onmessage,Ge):xe==="error"&&Be(_,_.onerror,Ge),Te===C)return}Ue="",xe=""}_e=we===13?F:ae}else _e===ae&&(bt=he,_e=ce),_e===ce?we===58&&(Oe=he+1,_e=S):_e===S&&(_e=Z)}}},Vt=function(le){if(Te===T||Te===E){Te=ie,ge!==0&&(a(ge),ge=0),ge=i(function(){Ye()},m),m=Re(Math.min(I*16,m*2)),_.readyState=E;var oe=new se("error",{error:le});_.dispatchEvent(oe),Be(_,_.onerror,oe),le!=null&&console.error(le)}},vt=function(){Te=C,ye!=null&&(ye.abort(),ye=void 0),ge!==0&&(a(ge),ge=0),_.readyState=C},Ye=function(){if(ge=0,Te!==ie){if(!H&&ye!=null)Vt(new Error("No activity within "+P+" milliseconds. "+(Te===E?"No response received.":U+" chars received.")+" Reconnecting.")),ye!=null&&(ye.abort(),ye=void 0);else{var le=Math.max((H||Date.now())+P-Date.now(),1);H=!1,ge=i(function(){Ye()},le)}return}H=!1,U=0,ge=i(function(){Ye()},P),Te=E,Ue="",xe="",rt=Q,it="",bt=0,Oe=0,_e=ae;var oe=B;if(B.slice(0,5)!=="data:"&&B.slice(0,5)!=="blob:"&&Q!==""){var Ee=B.indexOf("?");oe=Ee===-1?B:B.slice(0,Ee+1)+B.slice(Ee+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ie,Ge){return Ge===M?"":Ie}),oe+=(B.indexOf("?")===-1?"?":"&")+M+"="+encodeURIComponent(Q)}var we=_.withCredentials,be={};be.Accept="text/event-stream";var he=_.headers;if(he!=null)for(var Ae in he)Object.prototype.hasOwnProperty.call(he,Ae)&&(be[Ae]=he[Ae]);try{ye=Ke.open(Ce,Ir,Hr,Vt,oe,we,be)}catch(Ie){throw vt(),Ie}};_.url=B,_.readyState=E,_.withCredentials=w,_.headers=A,_._close=vt,Ye()}ue.prototype=Object.create(J.prototype),ue.prototype.CONNECTING=E,ue.prototype.OPEN=T,ue.prototype.CLOSED=C,ue.prototype.close=function(){this._close()},ue.CONNECTING=E,ue.OPEN=T,ue.CLOSED=C,ue.prototype.withCredentials=void 0;var Fe=h;s!=null&&(h==null||!("withCredentials"in h.prototype))&&(Fe=ue),function(_){{var B=_(t);B!==void 0&&(e.exports=B)}}(function(_){_.EventSourcePolyfill=ue,_.NativeEventSource=h,_.EventSource=Fe})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:jr:globalThis)})(At,At.exports);var Vr=At.exports;const Le=e=>window.postMessage(e,window.location.href),Xr=e=>n=>{Object.keys(e).map(i=>{if(n.data&&n.data.type==i){const a=n.data,{type:s}=a,o=Qe(a,["type"]);e[i](o)}})},Yn=e=>{const t=Xr(e);r.onMount(()=>(window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}))},yt=(e,t)=>{e&&(e.removeEventListener("message",t),e.close())},Zr=(e,t,n)=>{let i;return EventSource?i=new EventSource(e,t):i=new Vr.EventSourcePolyfill(e,t),i.addEventListener("message",n),i},zr=e=>n=>{const i=n.data;if(i)try{const a=JSON.parse(i);if(!a)return;Object.keys(e).map(s=>{if(a.messageType==s){const o=a,{messageType:f}=o,h=Qe(o,["messageType"]);e[s](h)}})}catch(a){console.error(a)}},Qn=e=>Jr[e],Jr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"},qr=e=>{const t=window.BigInt;if(!e||e==null||e.length===0)return;let n=t(e[0].id);return{maxIdObj:e.reduce((a,s)=>{const o=t(s.id);return o>n?(n=o,s):a},e[0]),maxId:n.toString()}},Kr=(e,t)=>JSON.stringify(e.map(n=>({bonusWalletID:n.id,progressID:t[n.id]||0}))),Yr=(e,t,n,i,a)=>{const s=n.filter(l=>Qr(l));if(!s.length)return;const o={walletFilter:Kr(s,a),XSessionId:t,HeartBeat:!0},f=`${e}/v1/bonus/wagering/updates?${Pr(o)}`;return Zr(f,{headers:{accept:"text/event-stream"}},i)},ft=(e,t)=>{switch(e){case K.completed:case K.released:case K.expired:case K.closed:case K.forfeited:return t.other();case K.active:return t.active();case void 0:return t.active();default:throw new Error(`unknown Bonus Status: ${e}`)}},$n=(e,t)=>{switch(e){case K.completed:case K.released:return t.completed();case K.active:case K.expired:case K.closed:case K.forfeited:return t.current();default:throw new Error(`unknown Bonus Status: ${e}`)}},er={list:(a,s,o,...f)=>De(exports,[a,s,o,...f],function*(e,t,n,i={}){const g=i,{limit:h,lang:l,status:u}=g,d=Qe(g,["limit","lang","status"]),c=pe(pe({type:"wagering",pagination:`limit=${h||50},offset=0`,language:l},!u||u===K.claimable?{}:{status:u}),d),v=(()=>{switch(u){case K.claimable:return"claimable";default:return"granted"}})(),b=new URL(`${t}/v1/bonus/${v}`);return Object.keys(c).map(p=>{b.searchParams.append(p,c[p])}),yield qt(e,b,{headers:pe({},n?{"x-SessionId":n}:{})})}),start:(e,t,n,i,a)=>De(exports,null,function*(){return yield qt(e,t+"/v1/bonus/claim",{method:"PUT",body:JSON.stringify({bonusCode:i,currency:a}),headers:{"x-SessionId":n,accept:"text/plain","Content-Type":"application/json-patch+json"}})})},Qr=e=>e.bonusWalletID?ft(e.status,{active:()=>!0,other:()=>!1}):!1,It=(e,t,n)=>{switch(t.type){case xt.standard:case xt.freeBet:{const i=He(pe({},t),{currency:Qn(Object.keys(e.increment)[0])});return t.mode==="percentage"&&(i.bonusAmount=i.bonusAmount*100),t.type==="freeBet"&&t.mode==="fixed"&&(i.currency=""),n(`reward.${t.mode}`,i)+" "+n(`reward.${t.type}`)}default:return n(`reward.${t.type}`,t)}},en=(e,t,n)=>{var o;const i=((o=e.wageringProgress)==null?void 0:o.currentLevel)-1,a=t.length-1,s=f=>f.filter(h=>h.index>=0&&h.index<=a).map(h=>{const l=t[h.index];return{key:h.key,descriptions:l.bonuses.map(u=>It(l,u,n))}});return ft(e.status,{active:()=>{if(e.status)return s([{key:"current",index:i},{key:"next",index:i+1}]);if(!e.status)return s([{key:"first",index:0},{key:"next",index:1}])},other:()=>s([{key:"last",index:a},{key:"previous",index:a-1}])})},$r=e=>{const t=[];return e.map(n=>{const s=n,{maxRepeats:i}=s,a=Qe(s,["maxRepeats"]);if(i>0)for(let o=0;o<i;o++)t.push(pe({},a));else t.push(pe({},a))}),t},tn=(e,t)=>{if(!e.wageringProgress)return;const{currency:n,currentLevelIncrement:i,gap:a,currentLevel:s}=e.wageringProgress,o=Qn(n),f=t[s-1];return{currencySymbol:o,levelInfo:f,currency:n,currentLevelIncrement:i,gap:a,currentLevel:s}},nn=e=>{if(!e.wageringProgress)return 0;const{currentLevelIncrement:t,gap:n}=e.wageringProgress;return(t-n).toFixed(2)},rn=e=>$n(e.status,{completed:()=>"100",current:()=>{if(!e.wageringProgress)return"0";const{currentLevelIncrement:t,gap:n}=e.wageringProgress,i=Number(Nr(t,n));return String(Math.ceil(i/t*100))}}),tr=(e,t,n)=>e.levels.find(i=>i.maxRepeats===0)?t:n,ei=(e,t)=>{const n=tr(e,"∞",t.length);return $n(e.status,{completed:()=>({text:t.length,textWithLength:`${t.length}/${t.length}`}),current:()=>{if(!e.wageringProgress)return{current:"0",textWithLength:`0/${n}`};const{currentLevel:i}=e.wageringProgress;return{text:i,textWithLength:`${i}/${n}`}}})},an=(e,t,n,i)=>{if(!e)return;const a=Kn(e);a<0?n():(i(Or(e)),a<t&&setTimeout(()=>{Le({type:"OnWageringBonusExpired"})},a))},ti=e=>{switch(e){case"active":return K.active;case"completed":return[K.expired,K.forfeited,K.released,K.completed,K.closed].join(",")}},sn=(e,t,n)=>{const i=e===0?0:n.levels[e-1].maxRepeats-1;return t.maxRepeats>1?`${e+1+i}-${e+1+i+t.maxRepeats-1}`:e+1+i},je=[];function ni(e,t){return{subscribe:dt(e,t).subscribe}}function dt(e,t=r.noop){let n;const i=new Set;function a(f){if(r.safe_not_equal(e,f)&&(e=f,n)){const h=!je.length;for(const l of i)l[1](),je.push(l,e);if(h){for(let l=0;l<je.length;l+=2)je[l][0](je[l+1]);je.length=0}}}function s(f){a(f(e))}function o(f,h=r.noop){const l=[f,h];return i.add(l),i.size===1&&(n=t(a,s)||r.noop),f(e),()=>{i.delete(l),i.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}function ze(e,t,n){const i=!Array.isArray(e),a=i?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return ni(n,(o,f)=>{let h=!1;const l=[];let u=0,d=r.noop;const c=()=>{if(u)return;d();const b=t(i?l[0]:l,o,f);s?o(b):d=r.is_function(b)?b:r.noop},v=a.map((b,g)=>r.subscribe(b,p=>{l[g]=p,u&=~(1<<g),h&&c()},()=>{u|=1<<g}));return h=!0,c(),function(){r.run_all(v),d(),h=!1}})}var ri=function(t){return ii(t)&&!ai(t)};function ii(e){return!!e&&typeof e=="object"}function ai(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||li(e)}var si=typeof Symbol=="function"&&Symbol.for,oi=si?Symbol.for("react.element"):60103;function li(e){return e.$$typeof===oi}function ui(e){return Array.isArray(e)?[]:{}}function tt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?We(ui(e),e,t):e}function fi(e,t,n){return e.concat(t).map(function(i){return tt(i,n)})}function hi(e,t){if(!t.customMerge)return We;var n=t.customMerge(e);return typeof n=="function"?n:We}function ci(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function on(e){return Object.keys(e).concat(ci(e))}function nr(e,t){try{return t in e}catch(n){return!1}}function di(e,t){return nr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function pi(e,t,n){var i={};return n.isMergeableObject(e)&&on(e).forEach(function(a){i[a]=tt(e[a],n)}),on(t).forEach(function(a){di(e,a)||(nr(e,a)&&n.isMergeableObject(t[a])?i[a]=hi(a,n)(e[a],t[a],n):i[a]=tt(t[a],n))}),i}function We(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||fi,n.isMergeableObject=n.isMergeableObject||ri,n.cloneUnlessOtherwiseSpecified=tt;var i=Array.isArray(t),a=Array.isArray(e),s=i===a;return s?i?n.arrayMerge(e,t,n):pi(e,t,n):tt(t,n)}We.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,a){return We(i,a,n)},{})};var mi=We,gi=mi;const _i=Wr(gi);/*! *****************************************************************************
|
|
8
|
+
Copyright (c) Microsoft Corporation.
|
|
9
|
+
|
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
11
|
+
purpose with or without fee is hereby granted.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
+
***************************************************************************** */var Ht=function(e,t){return Ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},Ht(e,t)};function pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ht(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var W=function(){return W=Object.assign||function(t){for(var n,i=1,a=arguments.length;i<a;i++){n=arguments[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},W.apply(this,arguments)};function bi(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n}function Et(e,t,n){if(arguments.length===2)for(var i=0,a=t.length,s;i<a;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return e.concat(s||t)}function wt(e,t){var n=t&&t.cache?t.cache:Si,i=t&&t.serializer?t.serializer:Ti,a=t&&t.strategy?t.strategy:yi;return a(e,{cache:n,serializer:i})}function vi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function rr(e,t,n,i){var a=vi(i)?i:n(i),s=t.get(a);return typeof s=="undefined"&&(s=e.call(this,i),t.set(a,s)),s}function ir(e,t,n){var i=Array.prototype.slice.call(arguments,3),a=n(i),s=t.get(a);return typeof s=="undefined"&&(s=e.apply(this,i),t.set(a,s)),s}function Ut(e,t,n,i,a){return n.bind(t,e,i,a)}function yi(e,t){var n=e.length===1?rr:ir;return Ut(e,this,n,t.cache.create(),t.serializer)}function Ei(e,t){return Ut(e,this,ir,t.cache.create(),t.serializer)}function wi(e,t){return Ut(e,this,rr,t.cache.create(),t.serializer)}var Ti=function(){return JSON.stringify(arguments)};function Gt(){this.cache=Object.create(null)}Gt.prototype.get=function(e){return this.cache[e]};Gt.prototype.set=function(e,t){this.cache[e]=t};var Si={create:function(){return new Gt}},Tt={variadic:Ei,monadic:wi},k;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(k||(k={}));var te;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(te||(te={}));var Ve;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ve||(Ve={}));function ln(e){return e.type===te.literal}function Bi(e){return e.type===te.argument}function ar(e){return e.type===te.number}function sr(e){return e.type===te.date}function or(e){return e.type===te.time}function lr(e){return e.type===te.select}function ur(e){return e.type===te.plural}function Ci(e){return e.type===te.pound}function fr(e){return e.type===te.tag}function hr(e){return!!(e&&typeof e=="object"&&e.type===Ve.number)}function Rt(e){return!!(e&&typeof e=="object"&&e.type===Ve.dateTime)}var cr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xi=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Ai(e){var t={};return e.replace(xi,function(n){var i=n.length;switch(n[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Ii=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Hi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ii).filter(function(c){return c.length>0}),n=[],i=0,a=t;i<a.length;i++){var s=a[i],o=s.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var f=o[0],h=o.slice(1),l=0,u=h;l<u.length;l++){var d=u[l];if(d.length===0)throw new Error("Invalid number skeleton")}n.push({stem:f,options:h})}return n}function Ri(e){return e.replace(/^(.*?)-/,"")}var un=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,dr=/^(@+)?(\+|#+)?[rs]?$/g,Mi=/(\*)(0+)|(#+)(0+)|(0+)/g,pr=/^(0+)$/;function fn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(dr,function(n,i,a){return typeof a!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):a==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof a=="string"?a.length:0)),""}),t}function mr(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Li(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!pr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function hn(e){var t={},n=mr(e);return n||t}function Pi(e){for(var t={},n=0,i=e;n<i.length;n++){var a=i[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Ri(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=W(W(W({},t),{notation:"scientific"}),a.options.reduce(function(h,l){return W(W({},h),hn(l))},{}));continue;case"engineering":t=W(W(W({},t),{notation:"engineering"}),a.options.reduce(function(h,l){return W(W({},h),hn(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(Mi,function(h,l,u,d,c,v){if(l)t.minimumIntegerDigits=u.length;else{if(d&&c)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(pr.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(un.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(un,function(h,l,u,d,c,v){return u==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:c&&v?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+v.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var s=a.options[0];s==="w"?t=W(W({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=W(W({},t),fn(s)));continue}if(dr.test(a.stem)){t=W(W({},t),fn(a.stem));continue}var o=mr(a.stem);o&&(t=W(W({},t),o));var f=Li(a.stem);f&&(t=W(W({},t),f))}return t}var st={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ni(e,t){for(var n="",i=0;i<e.length;i++){var a=e.charAt(i);if(a==="j"){for(var s=0;i+1<e.length&&e.charAt(i+1)===a;)s++,i++;var o=1+(s&1),f=s<2?1:3+(s>>1),h="a",l=Oi(t);for((l=="H"||l=="k")&&(f=0);f-- >0;)n+=h;for(;o-- >0;)n=l+n}else a==="J"?n+="H":n+=a}return n}function Oi(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,i;n!=="root"&&(i=e.maximize().region);var a=st[i||""]||st[n||""]||st["".concat(n,"-001")]||st["001"];return a[0]}var St,Di=new RegExp("^".concat(cr.source,"*")),ki=new RegExp("".concat(cr.source,"*$"));function G(e,t){return{start:e,end:t}}var Fi=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ui=!!String.fromCodePoint,Gi=!!Object.fromEntries,ji=!!String.prototype.codePointAt,Wi=!!String.prototype.trimStart,Vi=!!String.prototype.trimEnd,Xi=!!Number.isSafeInteger,Zi=Xi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Mt=!0;try{var zi=_r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Mt=((St=zi.exec("a"))===null||St===void 0?void 0:St[0])==="a"}catch(e){Mt=!1}var cn=Fi?function(t,n,i){return t.startsWith(n,i)}:function(t,n,i){return t.slice(i,i+n.length)===n},Lt=Ui?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i="",a=t.length,s=0,o;a>s;){if(o=t[s++],o>1114111)throw RangeError(o+" is not a valid code point");i+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return i},dn=Gi?Object.fromEntries:function(t){for(var n={},i=0,a=t;i<a.length;i++){var s=a[i],o=s[0],f=s[1];n[o]=f}return n},gr=ji?function(t,n){return t.codePointAt(n)}:function(t,n){var i=t.length;if(!(n<0||n>=i)){var a=t.charCodeAt(n),s;return a<55296||a>56319||n+1===i||(s=t.charCodeAt(n+1))<56320||s>57343?a:(a-55296<<10)+(s-56320)+65536}},Ji=Wi?function(t){return t.trimStart()}:function(t){return t.replace(Di,"")},qi=Vi?function(t){return t.trimEnd()}:function(t){return t.replace(ki,"")};function _r(e,t){return new RegExp(e,t)}var Pt;if(Mt){var pn=_r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Pt=function(t,n){var i;pn.lastIndex=n;var a=pn.exec(t);return(i=a[1])!==null&&i!==void 0?i:""}}else Pt=function(t,n){for(var i=[];;){var a=gr(t,n);if(a===void 0||br(a)||$i(a))break;i.push(a),n+=a>=65536?2:1}return Lt.apply(void 0,i)};var Ki=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,i){for(var a=[];!this.isEOF();){var s=this.char();if(s===123){var o=this.parseArgument(t,i);if(o.err)return o;a.push(o.val)}else{if(s===125&&t>0)break;if(s===35&&(n==="plural"||n==="selectordinal")){var f=this.clonePosition();this.bump(),a.push({type:te.pound,location:G(f,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(k.UNMATCHED_CLOSING_TAG,G(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Nt(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,n){var i=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:te.literal,value:"<".concat(a,"/>"),location:G(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,n,!0);if(s.err)return s;var o=s.val,f=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Nt(this.char()))return this.error(k.INVALID_TAG,G(f,this.clonePosition()));var h=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(k.UNMATCHED_CLOSING_TAG,G(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:te.tag,value:a,children:o,location:G(i,this.clonePosition())},err:null}:this.error(k.INVALID_TAG,G(f,this.clonePosition())))}else return this.error(k.UNCLOSED_TAG,G(i,this.clonePosition()))}else return this.error(k.INVALID_TAG,G(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Qi(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var i=this.clonePosition(),a="";;){var s=this.tryParseQuote(n);if(s){a+=s;continue}var o=this.tryParseUnquoted(t,n);if(o){a+=o;continue}var f=this.tryParseLeftAngleBracket();if(f){a+=f;continue}break}var h=G(i,this.clonePosition());return{val:{type:te.literal,value:a,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Yi(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(i);this.bump()}return Lt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(n==="plural"||n==="selectordinal")||i===125&&t>0?null:(this.bump(),Lt(i))},e.prototype.parseArgument=function(t,n){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,G(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(k.EMPTY_ARGUMENT,G(i,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(k.MALFORMED_ARGUMENT,G(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,G(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:te.argument,value:a,location:G(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,G(i,this.clonePosition())):this.parseArgumentOptions(t,n,a,i);default:return this.error(k.MALFORMED_ARGUMENT,G(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),i=Pt(this.message,n),a=n+i.length;this.bumpTo(a);var s=this.clonePosition(),o=G(t,s);return{value:i,location:o}},e.prototype.parseArgumentOptions=function(t,n,i,a){var s,o=this.clonePosition(),f=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(f){case"":return this.error(k.EXPECT_ARGUMENT_TYPE,G(o,h));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var c=qi(d.val);if(c.length===0)return this.error(k.EXPECT_ARGUMENT_STYLE,G(this.clonePosition(),this.clonePosition()));var v=G(u,this.clonePosition());l={style:c,styleLocation:v}}var b=this.tryParseArgumentClose(a);if(b.err)return b;var g=G(a,this.clonePosition());if(l&&cn(l==null?void 0:l.style,"::",0)){var p=Ji(l.style.slice(2));if(f==="number"){var d=this.parseNumberSkeletonFromString(p,l.styleLocation);return d.err?d:{val:{type:te.number,value:i,location:g,style:d.val},err:null}}else{if(p.length===0)return this.error(k.EXPECT_DATE_TIME_SKELETON,g);var y=p;this.locale&&(y=Ni(p,this.locale));var c={type:Ve.dateTime,pattern:y,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ai(y):{}},L=f==="date"?te.date:te.time;return{val:{type:L,value:i,location:g,style:c},err:null}}}return{val:{type:f==="number"?te.number:f==="date"?te.date:te.time,value:i,location:g,style:(s=l==null?void 0:l.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,G(R,W({},R)));this.bumpSpace();var N=this.parseIdentifierIfPossible(),O=0;if(f!=="select"&&N.value==="offset"){if(!this.bumpIf(":"))return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,G(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),N=this.parseIdentifierIfPossible(),O=d.val}var z=this.tryParsePluralOrSelectOptions(t,f,n,N);if(z.err)return z;var b=this.tryParseArgumentClose(a);if(b.err)return b;var D=G(a,this.clonePosition());return f==="select"?{val:{type:te.select,value:i,options:dn(z.val),location:D},err:null}:{val:{type:te.plural,value:i,options:dn(z.val),offset:O,pluralType:f==="plural"?"cardinal":"ordinal",location:D},err:null}}default:return this.error(k.INVALID_ARGUMENT_TYPE,G(o,h))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,G(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,G(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var i=[];try{i=Hi(t)}catch(a){return this.error(k.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ve.number,tokens:i,location:n,parsedOptions:this.shouldParseSkeletons?Pi(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,i,a){for(var s,o=!1,f=[],h=new Set,l=a.value,u=a.location;;){if(l.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR,k.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=G(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(h.has(l))return this.error(n==="select"?k.DUPLICATE_SELECT_ARGUMENT_SELECTOR:k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);l==="other"&&(o=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,G(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,n,i);if(b.err)return b;var g=this.tryParseArgumentClose(v);if(g.err)return g;f.push([l,{value:b.val,location:G(v,this.clonePosition())}]),h.add(l),this.bumpSpace(),s=this.parseIdentifierIfPossible(),l=s.value,u=s.location}return f.length===0?this.error(n==="select"?k.EXPECT_SELECT_ARGUMENT_SELECTOR:k.EXPECT_PLURAL_ARGUMENT_SELECTOR,G(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(k.MISSING_OTHER_CLAUSE,G(this.clonePosition(),this.clonePosition())):{val:f,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var i=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var s=!1,o=0;!this.isEOF();){var f=this.char();if(f>=48&&f<=57)s=!0,o=o*10+(f-48),this.bump();else break}var h=G(a,this.clonePosition());return s?(o*=i,Zi(o)?{val:o,err:null}:this.error(n,h)):this.error(t,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=gr(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(cn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),i=this.message.indexOf(t,n);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&br(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),i=this.message.charCodeAt(n+(t>=65536?2:1));return i!=null?i:null},e}();function Nt(e){return e>=97&&e<=122||e>=65&&e<=90}function Yi(e){return Nt(e)||e===47}function Qi(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function br(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function $i(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ot(e){e.forEach(function(t){if(delete t.location,lr(t)||ur(t))for(var n in t.options)delete t.options[n].location,Ot(t.options[n].value);else ar(t)&&hr(t.style)||(sr(t)||or(t))&&Rt(t.style)?delete t.style.location:fr(t)&&Ot(t.children)})}function ea(e,t){t===void 0&&(t={}),t=W({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ki(e,t).parse();if(n.err){var i=SyntaxError(k[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return t!=null&&t.captureLocation||Ot(n.val),n.val}var Xe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Xe||(Xe={}));var mt=function(e){pt(t,e);function t(n,i,a){var s=e.call(this,n)||this;return s.code=i,s.originalMessage=a,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),mn=function(e){pt(t,e);function t(n,i,a,s){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(i,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Xe.INVALID_VALUE,s)||this}return t}(mt),ta=function(e){pt(t,e);function t(n,i,a){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(i),Xe.INVALID_VALUE,a)||this}return t}(mt),na=function(e){pt(t,e);function t(n,i){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(i,'"'),Xe.MISSING_VALUE,i)||this}return t}(mt),ve;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ve||(ve={}));function ra(e){return e.length<2?e:e.reduce(function(t,n){var i=t[t.length-1];return!i||i.type!==ve.literal||n.type!==ve.literal?t.push(n):i.value+=n.value,t},[])}function ia(e){return typeof e=="function"}function ot(e,t,n,i,a,s,o){if(e.length===1&&ln(e[0]))return[{type:ve.literal,value:e[0].value}];for(var f=[],h=0,l=e;h<l.length;h++){var u=l[h];if(ln(u)){f.push({type:ve.literal,value:u.value});continue}if(Ci(u)){typeof s=="number"&&f.push({type:ve.literal,value:n.getNumberFormat(t).format(s)});continue}var d=u.value;if(!(a&&d in a))throw new na(d,o);var c=a[d];if(Bi(u)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),f.push({type:typeof c=="string"?ve.literal:ve.object,value:c});continue}if(sr(u)){var v=typeof u.style=="string"?i.date[u.style]:Rt(u.style)?u.style.parsedOptions:void 0;f.push({type:ve.literal,value:n.getDateTimeFormat(t,v).format(c)});continue}if(or(u)){var v=typeof u.style=="string"?i.time[u.style]:Rt(u.style)?u.style.parsedOptions:i.time.medium;f.push({type:ve.literal,value:n.getDateTimeFormat(t,v).format(c)});continue}if(ar(u)){var v=typeof u.style=="string"?i.number[u.style]:hr(u.style)?u.style.parsedOptions:void 0;v&&v.scale&&(c=c*(v.scale||1)),f.push({type:ve.literal,value:n.getNumberFormat(t,v).format(c)});continue}if(fr(u)){var b=u.children,g=u.value,p=a[g];if(!ia(p))throw new ta(g,"function",o);var y=ot(b,t,n,i,a,s),L=p(y.map(function(O){return O.value}));Array.isArray(L)||(L=[L]),f.push.apply(f,L.map(function(O){return{type:typeof O=="string"?ve.literal:ve.object,value:O}}))}if(lr(u)){var R=u.options[c]||u.options.other;if(!R)throw new mn(u.value,c,Object.keys(u.options),o);f.push.apply(f,ot(R.value,t,n,i,a));continue}if(ur(u)){var R=u.options["=".concat(c)];if(!R){if(!Intl.PluralRules)throw new mt(`Intl.PluralRules is not available in this environment.
|
|
21
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
22
|
+
`,Xe.MISSING_INTL_API,o);var N=n.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0));R=u.options[N]||u.options.other}if(!R)throw new mn(u.value,c,Object.keys(u.options),o);f.push.apply(f,ot(R.value,t,n,i,a,c-(u.offset||0)));continue}}return ra(f)}function aa(e,t){return t?W(W(W({},e||{}),t||{}),Object.keys(e).reduce(function(n,i){return n[i]=W(W({},e[i]),t[i]||{}),n},{})):e}function sa(e,t){return t?Object.keys(e).reduce(function(n,i){return n[i]=aa(e[i],t[i]),n},W({},e)):e}function Bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function oa(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:wt(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,Et([void 0],n,!1)))},{cache:Bt(e.number),strategy:Tt.variadic}),getDateTimeFormat:wt(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,Et([void 0],n,!1)))},{cache:Bt(e.dateTime),strategy:Tt.variadic}),getPluralRules:wt(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,Et([void 0],n,!1)))},{cache:Bt(e.pluralRules),strategy:Tt.variadic})}}var la=function(){function e(t,n,i,a){n===void 0&&(n=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var l=s.formatToParts(h);if(l.length===1)return l[0].value;var u=l.reduce(function(d,c){return!d.length||c.type!==ve.literal||typeof d[d.length-1]!="string"?d.push(c.value):d[d.length-1]+=c.value,d},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(h){return ot(s.ast,s.locales,s.formatters,s.formats,h,void 0,s.message)},this.resolvedOptions=function(){var h;return{locale:((h=s.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=a||{};o.formatters;var f=bi(o,["formatters"]);this.ast=e.__parse(t,W(W({},f),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=sa(e.formats,i),this.formatters=a&&a.formatters||oa(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=ea,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ua(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let i=e;for(let a=0;a<n.length;a++)if(typeof i=="object"){if(a>0){const s=n.slice(a,n.length).join(".");if(s in i){i=i[s];break}}i=i[n[a]]}else i=void 0;return i}const Pe={},fa=(e,t,n)=>n&&(t in Pe||(Pe[t]={}),e in Pe[t]||(Pe[t][e]=n),n),vr=(e,t)=>{if(t==null)return;if(t in Pe&&e in Pe[t])return Pe[t][e];const n=gt(t);for(let i=0;i<n.length;i++){const a=n[i],s=ca(a,e);if(s)return fa(e,t,s)}};let jt;const Je=dt({});function ha(e){return jt[e]||null}function yr(e){return e in jt}function ca(e,t){if(!yr(e))return null;const n=ha(e);return ua(n,t)}function da(e){if(e==null)return;const t=gt(e);for(let n=0;n<t.length;n++){const i=t[n];if(yr(i))return i}}function Er(e,...t){delete Pe[e],Je.update(n=>(n[e]=_i.all([n[e]||{},...t]),n))}ze([Je],([e])=>Object.keys(e));Je.subscribe(e=>jt=e);const lt={};function pa(e,t){lt[e].delete(t),lt[e].size===0&&delete lt[e]}function wr(e){return lt[e]}function ma(e){return gt(e).map(t=>{const n=wr(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Dt(e){return e==null?!1:gt(e).some(t=>{var n;return(n=wr(t))==null?void 0:n.size})}function ga(e,t){return Promise.all(t.map(i=>(pa(e,i),i().then(a=>a.default||a)))).then(i=>Er(e,...i))}const $e={};function Tr(e){if(!Dt(e))return e in $e?$e[e]:Promise.resolve();const t=ma(e);return $e[e]=Promise.all(t.map(([n,i])=>ga(n,i))).then(()=>{if(Dt(e))return Tr(e);delete $e[e]}),$e[e]}const _a={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"}}},ba={fallbackLocale:null,loadingDelay:200,formats:_a,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},va=ba;function Ze(){return va}const Ct=dt(!1);var ya=Object.defineProperty,Ea=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,gn=Object.getOwnPropertySymbols,Ta=Object.prototype.hasOwnProperty,Sa=Object.prototype.propertyIsEnumerable,_n=(e,t,n)=>t in e?ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ba=(e,t)=>{for(var n in t||(t={}))Ta.call(t,n)&&_n(e,n,t[n]);if(gn)for(var n of gn(t))Sa.call(t,n)&&_n(e,n,t[n]);return e},Ca=(e,t)=>Ea(e,wa(t));let kt;const ht=dt(null);function bn(e){return e.split("-").map((t,n,i)=>i.slice(0,n+1).join("-")).reverse()}function gt(e,t=Ze().fallbackLocale){const n=bn(e);return t?[...new Set([...n,...bn(t)])]:n}function ke(){return kt!=null?kt:void 0}ht.subscribe(e=>{kt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const xa=e=>{if(e&&da(e)&&Dt(e)){const{loadingDelay:t}=Ze();let n;return typeof window!="undefined"&&ke()!=null&&t?n=window.setTimeout(()=>Ct.set(!0),t):Ct.set(!0),Tr(e).then(()=>{ht.set(e)}).finally(()=>{clearTimeout(n),Ct.set(!1)})}return ht.set(e)},Ne=Ca(Ba({},ht),{set:xa}),_t=e=>{const t=Object.create(null);return i=>{const a=JSON.stringify(i);return a in t?t[a]:t[a]=e(i)}};var Aa=Object.defineProperty,ct=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,vn=(e,t,n)=>t in e?Aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wt=(e,t)=>{for(var n in t||(t={}))Sr.call(t,n)&&vn(e,n,t[n]);if(ct)for(var n of ct(t))Br.call(t,n)&&vn(e,n,t[n]);return e},qe=(e,t)=>{var n={};for(var i in e)Sr.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&ct)for(var i of ct(e))t.indexOf(i)<0&&Br.call(e,i)&&(n[i]=e[i]);return n};const nt=(e,t)=>{const{formats:n}=Ze();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ia=_t(e=>{var t=e,{locale:n,format:i}=t,a=qe(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(a=nt("number",i)),new Intl.NumberFormat(n,a)}),Ha=_t(e=>{var t=e,{locale:n,format:i}=t,a=qe(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?a=nt("date",i):Object.keys(a).length===0&&(a=nt("date","short")),new Intl.DateTimeFormat(n,a)}),Ra=_t(e=>{var t=e,{locale:n,format:i}=t,a=qe(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?a=nt("time",i):Object.keys(a).length===0&&(a=nt("time","short")),new Intl.DateTimeFormat(n,a)}),Ma=(e={})=>{var t=e,{locale:n=ke()}=t,i=qe(t,["locale"]);return Ia(Wt({locale:n},i))},La=(e={})=>{var t=e,{locale:n=ke()}=t,i=qe(t,["locale"]);return Ha(Wt({locale:n},i))},Pa=(e={})=>{var t=e,{locale:n=ke()}=t,i=qe(t,["locale"]);return Ra(Wt({locale:n},i))},Na=_t((e,t=ke())=>new la(e,t,Ze().formats,{ignoreTag:Ze().ignoreTag})),Oa=(e,t={})=>{var n,i,a,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:f,locale:h=ke(),default:l}=o;if(h==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=vr(e,h);if(!u)u=(s=(a=(i=(n=Ze()).handleMissingMessage)==null?void 0:i.call(n,{locale:h,id:e,defaultValue:l}))!=null?a:l)!=null?s:e;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!f)return u;let d=u;try{d=Na(u,h).format(f)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return d},Da=(e,t)=>Pa(t).format(e),ka=(e,t)=>La(t).format(e),Fa=(e,t)=>Ma(t).format(e),Ua=(e,t=ke())=>vr(e,t),Cr=ze([Ne,Je],()=>Oa);ze([Ne],()=>Da);ze([Ne],()=>ka);ze([Ne],()=>Fa);ze([Ne,Je],()=>Ua);const Ga=({withLocale:e,translations:t})=>{Ne.subscribe(n=>{n==null&&(Je.set(t),Ne.set(e))})},xr=(e,t)=>{Er(e,t)},ja=e=>{Ne.set(e)},Wa=e=>{Ga({withLocale:"en",translations:{}}),Object.keys(e).forEach(t=>{xr(t,e[t])})};function Va(e){r.append_styles(e,"svelte-1akw4n4",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}private-casino-wagering-bonus-info::part(ExpiryTimeInfo){margin:0}private-casino-wagering-bonus-info::part(ExpiryTimeInfoText){color:#DC0D1F}hr{margin:11.0175975516px 0;border-top:1px solid #00AEEF}.BonusTerms{font-size:11.0175975516px;line-height:12.8538638103px;max-width:180px}.BonusTermsMobile{font-size:3.0769230769vw;line-height:3.6051282051vw;max-width:unset}.ShowMore{cursor:pointer;color:#00AEEF;text-align:right}.ShowMore.NoCursorTip{cursor:unset}.Root{display:flex;flex-direction:row;justify-content:space-between;width:648px;border:1px solid #00AEEF;padding:17.1384850803px 0;font-size:14.6901300689px;line-height:17.1384850803px}.Root>div{width:100%}.RootMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:400;width:inherit;flex-direction:column;padding:3.5897435897vw 0.7692307692vw;border-radius:1.0256410256vw}.BonusInfo{padding:0 17.1384850803px}.BonusInfoMobile{padding:0 6px}.BonusInfoWrapper,.AfterClaimedWrapper,.RewardsTopBar,.StatusClaimable{display:flex;flex-direction:row;justify-content:space-between}.BonusTypeTarget{max-width:180px;font-weight:400;padding:6.1208875287px 0;font-weight:700}.BonusTypeTargetMobile{max-width:unset}.SupportsTitle{font-weight:700}.BonusInfoWrapperMobile{margin-bottom:3.0769230769vw}.BonusInfoMobile{padding-bottom:4.6153846154vw}.BonusRewards{padding:0 17.1384850803px;border-left:1px solid #00AEEF}.BonusRewardsMobile{border-left:none;border-top:1px solid #00AEEF;padding-top:4.6153846154vw}.BonusInfoTitle{font-weight:700;color:#59CA00}.BonusInfoDescription{margin-top:12.2417750574px}.StatusClaimableCommand{margin-left:18.3626625861px}.StatusClaimableCommandMobile{margin-left:0}.StatusClaimableCommandButton{background:#00AEEF;border:1px solid #00AEEF;color:#FFFFFF;cursor:pointer;transition:0.6s;transition-property:opacity;font-size:12.2417750574px;line-height:14.7697016067px;font-weight:400;padding:14.6901300689px}.StatusClaimableCommandButton:disabled{opacity:0.3}.StatusClaimableCommandButtonMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:700;padding:4.6153846154vw 5.8974358974vw}.StatusClaimableCommandTerms{font-size:11px;font-weight:400;margin-top:6.1208875287px;text-align:center}.StatusClaimableCommandTerms a{color:#000000}.StatusClaimableCommandTermsMobile{margin:2.0512820513vw 0;font-size:3.0769230769vw;line-height:3.6051282051vw}.LevelStatus{text-align:center;margin-top:6.1208875287px}.BonusTypeWrapper{margin-left:18.3626625861px}.BonusTypeRemaining{font-weight:400;padding:6.1208875287px 0;color:#00AEEF}.BonusTypeTargetMobile,.BonusTypeRemainingMobile{padding:2.0512820513vw 0}.BonusTypeGot{font-weight:400;padding:6.1208875287px 0;color:#7884A0}.BonusTypeGotMobile{padding:2.0512820513vw 0}.RewardsTopBarTitle{font-weight:700;color:#252631}.BonusRewardsLevels{margin-top:3.0604437643px}.BonusRewardsLevelsMobile{margin-top:3.0769230769vw}.BonusRewardsLevelsItem{display:flex;margin-bottom:3.0604437643px;padding:7.3450650344px 0}.BonusRewardsLevelsItemMobile{margin-bottom:1.2820512821vw;padding:0}.BonusRewardsLevelsItemPosition{margin-right:3.0604437643px}.SupportsWrapper{margin-top:21.4231063504px}.SupportsWrapper div{margin-top:9.181331293px}.SupportsWrapperMobile{margin-top:6.1538461538vw}.SupportsWrapperMobile div{margin-top:2.0512820513vw}')}function yn(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function En(e,t,n){const i=e.slice();return i[34]=t[n],i[36]=n,i}function wn(e,t,n){const i=e.slice();return i[37]=t[n],i}function Tn(e,t,n){const i=e.slice();return i[40]=t[n],i}function Sn(e,t,n){const i=e.slice();return i[43]=t[n],i}function Bn(e,t,n){const i=e.slice();return i[43]=t[n],i}function Cn(e,t,n){const i=e.slice();return i[48]=t[n],i}function xn(e){var Q;let t,n,i,a,s=(e[0].name||((Q=e[0].presentation)==null?void 0:Q.name.content))+"",o,f,h,l,u,d,c,v,b=e[4]("rewards")+"",g,p,y,L,R,N,O,z,D=e[4]("includeBets")+"",ee,ne,J,re,j=[e[12]("BonusInfoTitle")],V={};for(let m=0;m<j.length;m+=1)V=r.assign(V,j[m]);let X=e[0].status===K.active&&e[8]&&An(e),se=[e[12]("BonusInfoWrapper")],ie={};for(let m=0;m<se.length;m+=1)ie=r.assign(ie,se[m]);let E=!e[0].status&&In(e),T=e[0].status&&Hn(e),C=[e[12]("BonusInfo")],F={};for(let m=0;m<C.length;m+=1)F=r.assign(F,C[m]);let ae=[e[12]("RewardsTopBarTitle")],ce={};for(let m=0;m<ae.length;m+=1)ce=r.assign(ce,ae[m]);let S=e[0].status&&Pn(e),Z=[e[12]("RewardsTopBar")],de={};for(let m=0;m<Z.length;m+=1)de=r.assign(de,Z[m]);let Y=e[0].status&&Nn(e),q=!e[0].status&&Fn(e),Se=[e[12]("BonusRewardsLevels")],Re={};for(let m=0;m<Se.length;m+=1)Re=r.assign(Re,Se[m]);let Be=[e[12]("SupportsTitle")],ue={};for(let m=0;m<Be.length;m+=1)ue=r.assign(ue,Be[m]);let Me=r.ensure_array_like(e[11]),fe=[];for(let m=0;m<Me.length;m+=1)fe[m]=Vn(yn(e,Me,m));let me=e[11].length===1&&Xn(),Fe=[e[12]("SupportsList")],_={};for(let m=0;m<Fe.length;m+=1)_=r.assign(_,Fe[m]);let B=[e[12]("SupportsWrapper")],x={};for(let m=0;m<B.length;m+=1)x=r.assign(x,B[m]);let w=[e[12]("BonusRewards")],M={};for(let m=0;m<w.length;m+=1)M=r.assign(M,w[m]);let I=[e[12]("Root")],P={};for(let m=0;m<I.length;m+=1)P=r.assign(P,I[m]);return{c(){t=r.element("section"),n=r.element("div"),i=r.element("section"),a=r.element("section"),o=r.text(s),f=r.space(),X&&X.c(),h=r.space(),E&&E.c(),l=r.space(),T&&T.c(),u=r.space(),d=r.element("div"),c=r.element("section"),v=r.element("div"),g=r.text(b),p=r.space(),S&&S.c(),y=r.space(),L=r.element("div"),Y&&Y.c(),R=r.space(),q&&q.c(),N=r.space(),O=r.element("div"),z=r.element("div"),ee=r.text(D),ne=r.space(),J=r.element("div");for(let m=0;m<fe.length;m+=1)fe[m].c();re=r.space(),me&&me.c(),r.set_attributes(a,V),r.set_attributes(i,ie),r.set_attributes(n,F),r.set_attributes(v,ce),r.set_attributes(c,de),r.set_attributes(L,Re),r.set_attributes(z,ue),r.set_attributes(J,_),r.set_attributes(O,x),r.set_attributes(d,M),r.set_attributes(t,P)},m(m,H){r.insert(m,t,H),r.append(t,n),r.append(n,i),r.append(i,a),r.append(a,o),r.append(i,f),X&&X.m(i,null),r.append(n,h),E&&E.m(n,null),r.append(n,l),T&&T.m(n,null),r.append(t,u),r.append(t,d),r.append(d,c),r.append(c,v),r.append(v,g),r.append(c,p),S&&S.m(c,null),r.append(d,y),r.append(d,L),Y&&Y.m(L,null),r.append(L,R),q&&q.m(L,null),r.append(d,N),r.append(d,O),r.append(O,z),r.append(z,ee),r.append(O,ne),r.append(O,J);for(let U=0;U<fe.length;U+=1)fe[U]&&fe[U].m(J,null);r.append(J,re),me&&me.m(J,null)},p(m,H){var U;if(H[0]&1&&s!==(s=(m[0].name||((U=m[0].presentation)==null?void 0:U.name.content))+"")&&r.set_data_maybe_contenteditable(o,s,V.contenteditable),r.set_attributes(a,V=r.get_spread_update(j,[H[0]&4096&&m[12]("BonusInfoTitle")])),m[0].status===K.active&&m[8]?X?X.p(m,H):(X=An(m),X.c(),X.m(i,null)):X&&(X.d(1),X=null),r.set_attributes(i,ie=r.get_spread_update(se,[H[0]&4096&&m[12]("BonusInfoWrapper")])),m[0].status?E&&(E.d(1),E=null):E?E.p(m,H):(E=In(m),E.c(),E.m(n,l)),m[0].status?T?T.p(m,H):(T=Hn(m),T.c(),T.m(n,null)):T&&(T.d(1),T=null),r.set_attributes(n,F=r.get_spread_update(C,[H[0]&4096&&m[12]("BonusInfo")])),H[0]&16&&b!==(b=m[4]("rewards")+"")&&r.set_data_maybe_contenteditable(g,b,ce.contenteditable),r.set_attributes(v,ce=r.get_spread_update(ae,[H[0]&4096&&m[12]("RewardsTopBarTitle")])),m[0].status?S?S.p(m,H):(S=Pn(m),S.c(),S.m(c,null)):S&&(S.d(1),S=null),r.set_attributes(c,de=r.get_spread_update(Z,[H[0]&4096&&m[12]("RewardsTopBar")])),m[0].status?Y?Y.p(m,H):(Y=Nn(m),Y.c(),Y.m(L,R)):Y&&(Y.d(1),Y=null),m[0].status?q&&(q.d(1),q=null):q?q.p(m,H):(q=Fn(m),q.c(),q.m(L,null)),r.set_attributes(L,Re=r.get_spread_update(Se,[H[0]&4096&&m[12]("BonusRewardsLevels")])),H[0]&16&&D!==(D=m[4]("includeBets")+"")&&r.set_data_maybe_contenteditable(ee,D,ue.contenteditable),r.set_attributes(z,ue=r.get_spread_update(Be,[H[0]&4096&&m[12]("SupportsTitle")])),H[0]&2048){Me=r.ensure_array_like(m[11]);let A;for(A=0;A<Me.length;A+=1){const $=yn(m,Me,A);fe[A]?fe[A].p($,H):(fe[A]=Vn($),fe[A].c(),fe[A].m(J,re))}for(;A<fe.length;A+=1)fe[A].d(1);fe.length=Me.length}m[11].length===1?me||(me=Xn(),me.c(),me.m(J,null)):me&&(me.d(1),me=null),r.set_attributes(J,_=r.get_spread_update(Fe,[H[0]&4096&&m[12]("SupportsList")])),r.set_attributes(O,x=r.get_spread_update(B,[H[0]&4096&&m[12]("SupportsWrapper")])),r.set_attributes(d,M=r.get_spread_update(w,[H[0]&4096&&m[12]("BonusRewards")])),r.set_attributes(t,P=r.get_spread_update(I,[H[0]&4096&&m[12]("Root")]))},d(m){m&&r.detach(t),X&&X.d(),E&&E.d(),T&&T.d(),S&&S.d(),Y&&Y.d(),q&&q.d(),r.destroy_each(fe,m),me&&me.d()}}}function An(e){let t,n=[{infos:JSON.stringify(e[8])}],i={};for(let a=0;a<n.length;a+=1)i=r.assign(i,n[a]);return{c(){t=r.element("private-casino-wagering-bonus-info"),r.set_attributes(t,i)},m(a,s){r.insert(a,t,s)},p(a,s){r.set_attributes(t,i=r.get_spread_update(n,[s[0]&256&&{infos:JSON.stringify(a[8])}]))},d(a){a&&r.detach(t)}}}function In(e){let t,n=(e[0].description||"")+"",i,a,s,o,f,h,l,u,d,c=e[4]("startChallenge")+"",v,b,g,p,y,L=e[4]("terms")+"",R,N,O,z,D=[e[12]("BonusInfoDescription")],ee={};for(let C=0;C<D.length;C+=1)ee=r.assign(ee,D[C]);let ne=[{infos:JSON.stringify(e[10])}],J={};for(let C=0;C<ne.length;C+=1)J=r.assign(J,ne[C]);let re=[e[12]("StatusClaimableCommandButton"),{type:"button"},{disabled:b=!e[6]}],j={};for(let C=0;C<re.length;C+=1)j=r.assign(j,re[C]);let V=[e[12]("StatusClaimableCommandTerms","terms")],X={};for(let C=0;C<V.length;C+=1)X=r.assign(X,V[C]);let se=[e[12]("StatusClaimableCommand")],ie={};for(let C=0;C<se.length;C+=1)ie=r.assign(ie,se[C]);let E=[e[12]("StatusClaimable")],T={};for(let C=0;C<E.length;C+=1)T=r.assign(T,E[C]);return{c(){t=r.element("div"),i=r.text(n),a=r.space(),s=r.element("hr"),o=r.space(),f=r.element("section"),h=r.element("private-casino-wagering-bonus-info"),l=r.space(),u=r.element("div"),d=r.element("button"),v=r.text(c),g=r.space(),p=r.element("div"),y=r.element("a"),R=r.text(L),r.set_attributes(t,ee),r.set_attributes(h,J),r.set_attributes(d,j),r.attr(y,"href",N=e[0].termsUrl),r.attr(y,"target","__blank"),r.set_attributes(p,X),r.set_attributes(u,ie),r.set_attributes(f,T)},m(C,F){r.insert(C,t,F),r.append(t,i),r.insert(C,a,F),r.insert(C,s,F),r.insert(C,o,F),r.insert(C,f,F),r.append(f,h),r.append(f,l),r.append(f,u),r.append(u,d),r.append(d,v),d.autofocus&&d.focus(),r.append(u,g),r.append(u,p),r.append(p,y),r.append(y,R),O||(z=r.listen(d,"click",e[13]),O=!0)},p(C,F){F[0]&1&&n!==(n=(C[0].description||"")+"")&&r.set_data_maybe_contenteditable(i,n,ee.contenteditable),r.set_attributes(t,ee=r.get_spread_update(D,[F[0]&4096&&C[12]("BonusInfoDescription")])),r.set_attributes(h,J=r.get_spread_update(ne,[F[0]&1024&&{infos:JSON.stringify(C[10])}])),F[0]&16&&c!==(c=C[4]("startChallenge")+"")&&r.set_data_maybe_contenteditable(v,c,j.contenteditable),r.set_attributes(d,j=r.get_spread_update(re,[F[0]&4096&&C[12]("StatusClaimableCommandButton"),{type:"button"},F[0]&64&&b!==(b=!C[6])&&{disabled:b}])),F[0]&16&&L!==(L=C[4]("terms")+"")&&r.set_data(R,L),F[0]&1&&N!==(N=C[0].termsUrl)&&r.attr(y,"href",N),r.set_attributes(p,X=r.get_spread_update(V,[F[0]&4096&&C[12]("StatusClaimableCommandTerms","terms")])),r.set_attributes(u,ie=r.get_spread_update(se,[F[0]&4096&&C[12]("StatusClaimableCommand")])),r.set_attributes(f,T=r.get_spread_update(E,[F[0]&4096&&C[12]("StatusClaimable")]))},d(C){C&&(r.detach(t),r.detach(a),r.detach(s),r.detach(o),r.detach(f)),O=!1,z()}}}function Hn(e){var ce;let t,n,i,a,s,o,f,h,l=e[4]("level")+"",u,d,c=e[2].textWithLength+"",v,b,g,p,y,L,R,N,O,z=e[4]("termsTip",{tcUrl:(ce=e[0])==null?void 0:ce.url})+"",D=!e[5]&&Rn(),ee=[e[12]("LevelStatus")],ne={};for(let S=0;S<ee.length;S+=1)ne=r.assign(ne,ee[S]);let J=[e[12]("LevelStatusWrapper")],re={};for(let S=0;S<J.length;S+=1)re=r.assign(re,J[S]);let j=r.ensure_array_like([tn(e[0],e[1])]),V=[];for(let S=0;S<1;S+=1)V[S]=Ln(Cn(e,j,S));let X=[e[12]("BonusType")],se={};for(let S=0;S<X.length;S+=1)se=r.assign(se,X[S]);let ie=[e[12]("BonusTerms")],E={};for(let S=0;S<ie.length;S+=1)E=r.assign(E,ie[S]);let T=[e[12]("BonusTypeWrapper")],C={};for(let S=0;S<T.length;S+=1)C=r.assign(C,T[S]);let F=[e[12]("AfterClaimedWrapper")],ae={};for(let S=0;S<F.length;S+=1)ae=r.assign(ae,F[S]);return{c(){var S;D&&D.c(),t=r.space(),n=r.element("section"),i=r.element("div"),a=r.element("casino-wagering-bonus-progress"),f=r.space(),h=r.element("div"),u=r.text(l),d=r.space(),v=r.text(c),b=r.space(),g=r.element("div"),p=r.element("div");for(let Z=0;Z<1;Z+=1)V[Z].c();y=r.space(),L=r.element("private-casino-wagering-bonus-info"),N=r.space(),O=r.element("div"),r.set_custom_element_data(a,"percent",s=rn(e[0])),r.set_custom_element_data(a,"status",o=(S=e[0])==null?void 0:S.status),r.set_attributes(h,ne),r.set_attributes(i,re),r.set_custom_element_data(L,"infos",R=JSON.stringify(e[9])),r.set_attributes(p,se),r.set_attributes(O,E),r.set_attributes(g,C),r.set_attributes(n,ae)},m(S,Z){D&&D.m(S,Z),r.insert(S,t,Z),r.insert(S,n,Z),r.append(n,i),r.append(i,a),r.append(i,f),r.append(i,h),r.append(h,u),r.append(h,d),r.append(h,v),r.append(n,b),r.append(n,g),r.append(g,p);for(let de=0;de<1;de+=1)V[de]&&V[de].m(p,null);r.append(p,y),r.append(p,L),r.append(g,N),r.append(g,O),O.innerHTML=z},p(S,Z){var de,Y;if(S[5]?D&&(D.d(1),D=null):D||(D=Rn(),D.c(),D.m(t.parentNode,t)),Z[0]&1&&s!==(s=rn(S[0]))&&r.set_custom_element_data(a,"percent",s),Z[0]&1&&o!==(o=(de=S[0])==null?void 0:de.status)&&r.set_custom_element_data(a,"status",o),Z[0]&16&&l!==(l=S[4]("level")+"")&&r.set_data_maybe_contenteditable(u,l,ne.contenteditable),Z[0]&4&&c!==(c=S[2].textWithLength+"")&&r.set_data_maybe_contenteditable(v,c,ne.contenteditable),r.set_attributes(h,ne=r.get_spread_update(ee,[Z[0]&4096&&S[12]("LevelStatus")])),r.set_attributes(i,re=r.get_spread_update(J,[Z[0]&4096&&S[12]("LevelStatusWrapper")])),Z[0]&4115){j=r.ensure_array_like([tn(S[0],S[1])]);let q;for(q=0;q<1;q+=1){const Se=Cn(S,j,q);V[q]?V[q].p(Se,Z):(V[q]=Ln(Se),V[q].c(),V[q].m(p,y))}for(;q<1;q+=1)V[q].d(1)}Z[0]&512&&R!==(R=JSON.stringify(S[9]))&&r.set_custom_element_data(L,"infos",R),r.set_attributes(p,se=r.get_spread_update(X,[Z[0]&4096&&S[12]("BonusType")])),Z[0]&17&&z!==(z=S[4]("termsTip",{tcUrl:(Y=S[0])==null?void 0:Y.url})+"")&&(O.innerHTML=z),r.set_attributes(O,E=r.get_spread_update(ie,[Z[0]&4096&&S[12]("BonusTerms")])),r.set_attributes(g,C=r.get_spread_update(T,[Z[0]&4096&&S[12]("BonusTypeWrapper")])),r.set_attributes(n,ae=r.get_spread_update(F,[Z[0]&4096&&S[12]("AfterClaimedWrapper")]))},d(S){S&&(r.detach(t),r.detach(n)),D&&D.d(S),r.destroy_each(V,S)}}}function Rn(e){let t;return{c(){t=r.element("hr")},m(n,i){r.insert(n,t,i)},d(n){n&&r.detach(t)}}}function Mn(e){let t,n=e[4](`${e[0].wageringType}.remaining`,e[48])+"",i,a,s,o=e[4](`${e[0].wageringType}.wagered`,He(pe({},e[48]),{wagered:nn(e[0])}))+"",f,h=[e[12]("BonusTypeRemaining")],l={};for(let c=0;c<h.length;c+=1)l=r.assign(l,h[c]);let u=[e[12]("BonusTypeGot")],d={};for(let c=0;c<u.length;c+=1)d=r.assign(d,u[c]);return{c(){t=r.element("div"),i=r.text(n),a=r.space(),s=r.element("div"),f=r.text(o),r.set_attributes(t,l),r.set_attributes(s,d)},m(c,v){r.insert(c,t,v),r.append(t,i),r.insert(c,a,v),r.insert(c,s,v),r.append(s,f)},p(c,v){v[0]&19&&n!==(n=c[4](`${c[0].wageringType}.remaining`,c[48])+"")&&r.set_data_maybe_contenteditable(i,n,l.contenteditable),r.set_attributes(t,l=r.get_spread_update(h,[v[0]&4096&&c[12]("BonusTypeRemaining")])),v[0]&19&&o!==(o=c[4](`${c[0].wageringType}.wagered`,He(pe({},c[48]),{wagered:nn(c[0])}))+"")&&r.set_data_maybe_contenteditable(f,o,d.contenteditable),r.set_attributes(s,d=r.get_spread_update(u,[v[0]&4096&&c[12]("BonusTypeGot")]))},d(c){c&&(r.detach(t),r.detach(a),r.detach(s))}}}function Ln(e){let t,n=ft(e[0].status,{active:o,other:e[24]})+"",i,a,s;function o(){return e[23](e[48])}let f=[e[12]("BonusTypeTarget")],h={};for(let u=0;u<f.length;u+=1)h=r.assign(h,f[u]);let l=e[0].status===K.active&&Mn(e);return{c(){t=r.element("div"),i=r.text(n),a=r.space(),l&&l.c(),s=r.empty(),r.set_attributes(t,h)},m(u,d){r.insert(u,t,d),r.append(t,i),r.insert(u,a,d),l&&l.m(u,d),r.insert(u,s,d)},p(u,d){e=u,d[0]&19&&n!==(n=ft(e[0].status,{active:o,other:e[24]})+"")&&r.set_data_maybe_contenteditable(i,n,h.contenteditable),r.set_attributes(t,h=r.get_spread_update(f,[d[0]&4096&&e[12]("BonusTypeTarget")])),e[0].status===K.active?l?l.p(e,d):(l=Mn(e),l.c(),l.m(s.parentNode,s)):l&&(l.d(1),l=null)},d(u){u&&(r.detach(t),r.detach(a),r.detach(s)),l&&l.d(u)}}}function Pn(e){let t,n,i=e[4]("allRewards")+"",a,s,o,f=[e[12]("RewardsTopBarLinkToDetail")],h={};for(let l=0;l<f.length;l+=1)h=r.assign(h,f[l]);return{c(){t=r.element("div"),n=r.element("a"),a=r.text(i),r.attr(n,"href","javascript:void(0)"),r.set_attributes(t,h)},m(l,u){r.insert(l,t,u),r.append(t,n),r.append(n,a),s||(o=r.listen(n,"click",e[25]),s=!0)},p(l,u){u[0]&16&&i!==(i=l[4]("allRewards")+"")&&r.set_data(a,i),r.set_attributes(t,h=r.get_spread_update(f,[u[0]&4096&&l[12]("RewardsTopBarLinkToDetail")]))},d(l){l&&r.detach(t),s=!1,o()}}}function Nn(e){let t,n=r.ensure_array_like(en(e[0],e[1],e[4])),i=[];for(let a=0;a<n.length;a+=1)i[a]=kn(Tn(e,n,a));return{c(){for(let a=0;a<i.length;a+=1)i[a].c();t=r.empty()},m(a,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(a,s);r.insert(a,t,s)},p(a,s){if(s[0]&4115){n=r.ensure_array_like(en(a[0],a[1],a[4]));let o;for(o=0;o<n.length;o+=1){const f=Tn(a,n,o);i[o]?i[o].p(f,s):(i[o]=kn(f),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(a){a&&r.detach(t),r.destroy_each(i,a)}}}function Xa(e){let t,n=e[4](e[40].key)+"",i,a,s=e[4]("level")+"",o,f,h=r.ensure_array_like(e[40].descriptions),l=[];for(let c=0;c<h.length;c+=1)l[c]=On(Sn(e,h,c));let u=[e[12]("BonusRewardsLevelsItemPosition")],d={};for(let c=0;c<u.length;c+=1)d=r.assign(d,u[c]);return{c(){t=r.element("div"),i=r.text(n),a=r.space(),o=r.text(s),f=r.text(`:
|
|
23
|
+
`);for(let c=0;c<l.length;c+=1)l[c].c();r.set_attributes(t,d)},m(c,v){r.insert(c,t,v),r.append(t,i),r.append(t,a),r.append(t,o),r.append(t,f);for(let b=0;b<l.length;b+=1)l[b]&&l[b].m(t,null)},p(c,v){if(v[0]&19&&n!==(n=c[4](c[40].key)+"")&&r.set_data_maybe_contenteditable(i,n,d.contenteditable),v[0]&16&&s!==(s=c[4]("level")+"")&&r.set_data_maybe_contenteditable(o,s,d.contenteditable),v[0]&19){h=r.ensure_array_like(c[40].descriptions);let b;for(b=0;b<h.length;b+=1){const g=Sn(c,h,b);l[b]?l[b].p(g,v):(l[b]=On(g),l[b].c(),l[b].m(t,null))}for(;b<l.length;b+=1)l[b].d(1);l.length=h.length}r.set_attributes(t,d=r.get_spread_update(u,[v[0]&4096&&c[12]("BonusRewardsLevelsItemPosition")]))},d(c){c&&r.detach(t),r.destroy_each(l,c)}}}function Za(e){let t,n=e[4](e[40].key)+"",i,a,s=e[4]("level")+"",o,f,h,l,u=[e[12]("BonusRewardsLevelsItemPosition")],d={};for(let b=0;b<u.length;b+=1)d=r.assign(d,u[b]);let c=r.ensure_array_like(e[40].descriptions),v=[];for(let b=0;b<c.length;b+=1)v[b]=Dn(Bn(e,c,b));return{c(){t=r.element("div"),i=r.text(n),a=r.space(),o=r.text(s),f=r.text(":"),h=r.space(),l=r.element("div");for(let b=0;b<v.length;b+=1)v[b].c();r.set_attributes(t,d)},m(b,g){r.insert(b,t,g),r.append(t,i),r.append(t,a),r.append(t,o),r.append(t,f),r.insert(b,h,g),r.insert(b,l,g);for(let p=0;p<v.length;p+=1)v[p]&&v[p].m(l,null)},p(b,g){if(g[0]&19&&n!==(n=b[4](b[40].key)+"")&&r.set_data_maybe_contenteditable(i,n,d.contenteditable),g[0]&16&&s!==(s=b[4]("level")+"")&&r.set_data_maybe_contenteditable(o,s,d.contenteditable),r.set_attributes(t,d=r.get_spread_update(u,[g[0]&4096&&b[12]("BonusRewardsLevelsItemPosition")])),g[0]&19){c=r.ensure_array_like(b[40].descriptions);let p;for(p=0;p<c.length;p+=1){const y=Bn(b,c,p);v[p]?v[p].p(y,g):(v[p]=Dn(y),v[p].c(),v[p].m(l,null))}for(;p<v.length;p+=1)v[p].d(1);v.length=c.length}},d(b){b&&(r.detach(t),r.detach(h),r.detach(l)),r.destroy_each(v,b)}}}function On(e){let t=e[43]+"",n;return{c(){n=r.text(t)},m(i,a){r.insert(i,n,a)},p(i,a){a[0]&19&&t!==(t=i[43]+"")&&r.set_data(n,t)},d(i){i&&r.detach(n)}}}function Dn(e){let t,n=e[43]+"",i;return{c(){t=r.element("p"),i=r.text(n)},m(a,s){r.insert(a,t,s),r.append(t,i)},p(a,s){s[0]&19&&n!==(n=a[43]+"")&&r.set_data(i,n)},d(a){a&&r.detach(t)}}}function kn(e){let t,n;function i(h,l){return h[40].descriptions.length>1?Za:Xa}let a=i(e),s=a(e),o=[e[12]("BonusRewardsLevelsItem")],f={};for(let h=0;h<o.length;h+=1)f=r.assign(f,o[h]);return{c(){t=r.element("div"),s.c(),n=r.space(),r.set_attributes(t,f)},m(h,l){r.insert(h,t,l),s.m(t,null),r.append(t,n)},p(h,l){a===(a=i(h))&&s?s.p(h,l):(s.d(1),s=a(h),s&&(s.c(),s.m(t,n))),r.set_attributes(t,f=r.get_spread_update(o,[l[0]&4096&&h[12]("BonusRewardsLevelsItem")]))},d(h){h&&r.detach(t),s.d()}}}function Fn(e){let t,n,i,a=r.ensure_array_like(e[0].levels),s=[];for(let u=0;u<a.length;u+=1)s[u]=jn(En(e,a,u));let o=e[0].levels.length===1&&Wn(e);function f(u,d){return u[0].levels.length>=3?Ka:qa}let h=f(e),l=h(e);return{c(){for(let u=0;u<s.length;u+=1)s[u].c();t=r.space(),o&&o.c(),n=r.space(),l.c(),i=r.empty()},m(u,d){for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(u,d);r.insert(u,t,d),o&&o.m(u,d),r.insert(u,n,d),l.m(u,d),r.insert(u,i,d)},p(u,d){if(d[0]&4241){a=r.ensure_array_like(u[0].levels);let c;for(c=0;c<a.length;c+=1){const v=En(u,a,c);s[c]?s[c].p(v,d):(s[c]=jn(v),s[c].c(),s[c].m(t.parentNode,t))}for(;c<s.length;c+=1)s[c].d(1);s.length=a.length}u[0].levels.length===1?o?o.p(u,d):(o=Wn(u),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),h===(h=f(u))&&l?l.p(u,d):(l.d(1),l=h(u),l&&(l.c(),l.m(i.parentNode,i)))},d(u){u&&(r.detach(t),r.detach(n),r.detach(i)),r.destroy_each(s,u),o&&o.d(u),l.d(u)}}}function Un(e){let t,n,i,a,s;function o(g,p){return g[34].maxRepeats>0?Ja:za}let f=o(e),h=f(e),l=[e[12]("BonusRewardsLevelsItemPosition")],u={};for(let g=0;g<l.length;g+=1)u=r.assign(u,l[g]);let d=r.ensure_array_like(e[34].bonuses),c=[];for(let g=0;g<d.length;g+=1)c[g]=Gn(wn(e,d,g));let v=[e[12]("BonusRewardsLevelsItem")],b={};for(let g=0;g<v.length;g+=1)b=r.assign(b,v[g]);return{c(){t=r.element("div"),n=r.element("div"),h.c(),i=r.space(),a=r.element("div");for(let g=0;g<c.length;g+=1)c[g].c();s=r.space(),r.set_attributes(n,u),r.set_attributes(t,b)},m(g,p){r.insert(g,t,p),r.append(t,n),h.m(n,null),r.append(t,i),r.append(t,a);for(let y=0;y<c.length;y+=1)c[y]&&c[y].m(a,null);r.append(t,s)},p(g,p){if(f===(f=o(g))&&h?h.p(g,p):(h.d(1),h=f(g),h&&(h.c(),h.m(n,null))),r.set_attributes(n,u=r.get_spread_update(l,[p[0]&4096&&g[12]("BonusRewardsLevelsItemPosition")])),p[0]&17){d=r.ensure_array_like(g[34].bonuses);let y;for(y=0;y<d.length;y+=1){const L=wn(g,d,y);c[y]?c[y].p(L,p):(c[y]=Gn(L),c[y].c(),c[y].m(a,null))}for(;y<c.length;y+=1)c[y].d(1);c.length=d.length}r.set_attributes(t,b=r.get_spread_update(v,[p[0]&4096&&g[12]("BonusRewardsLevelsItem")]))},d(g){g&&r.detach(t),h.d(),r.destroy_each(c,g)}}}function za(e){let t=e[4]("eachLevel")+"",n,i;return{c(){n=r.text(t),i=r.text(":")},m(a,s){r.insert(a,n,s),r.insert(a,i,s)},p(a,s){s[0]&16&&t!==(t=a[4]("eachLevel")+"")&&r.set_data(n,t)},d(a){a&&(r.detach(n),r.detach(i))}}}function Ja(e){let t=`${e[4]("level")} ${sn(e[36],e[34],e[0])}`,n,i;return{c(){n=r.text(t),i=r.text(":")},m(a,s){r.insert(a,n,s),r.insert(a,i,s)},p(a,s){s[0]&17&&t!==(t=`${a[4]("level")} ${sn(a[36],a[34],a[0])}`)&&r.set_data(n,t)},d(a){a&&(r.detach(n),r.detach(i))}}}function Gn(e){let t,n=It(e[34],e[37],e[4])+"",i;return{c(){t=r.element("p"),i=r.text(n)},m(a,s){r.insert(a,t,s),r.append(t,i)},p(a,s){s[0]&17&&n!==(n=It(a[34],a[37],a[4])+"")&&r.set_data(i,n)},d(a){a&&r.detach(t)}}}function jn(e){let t,n=(e[7]?!0:e[36]<2)&&Un(e);return{c(){n&&n.c(),t=r.empty()},m(i,a){n&&n.m(i,a),r.insert(i,t,a)},p(i,a){i[7]||i[36]<2?n?n.p(i,a):(n=Un(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&r.detach(t),n&&n.d(i)}}}function Wn(e){let t,n,i=[e[12]("BonusRewardsLevelsItem")],a={};for(let s=0;s<i.length;s+=1)a=r.assign(a,i[s]);return{c(){t=r.element("div"),n=r.element("p"),n.textContent=" ",r.set_attributes(t,a)},m(s,o){r.insert(s,t,o),r.append(t,n)},p(s,o){r.set_attributes(t,a=r.get_spread_update(i,[o[0]&4096&&s[12]("BonusRewardsLevelsItem")]))},d(s){s&&r.detach(t)}}}function qa(e){let t;return{c(){t=r.element("div"),t.textContent=" ",r.attr(t,"class","ShowMore NoCursorTip")},m(n,i){r.insert(n,t,i)},p:r.noop,d(n){n&&r.detach(t)}}}function Ka(e){let t,n=(e[7]?e[4]("collapse"):e[4]("showMore"))+"",i,a,s;return{c(){t=r.element("div"),i=r.text(n),r.attr(t,"class","ShowMore")},m(o,f){r.insert(o,t,f),r.append(t,i),a||(s=r.listen(t,"click",e[26]),a=!0)},p(o,f){f[0]&144&&n!==(n=(o[7]?o[4]("collapse"):o[4]("showMore"))+"")&&r.set_data(i,n)},d(o){o&&r.detach(t),a=!1,s()}}}function Vn(e){let t,n,i=e[31]+"",a,s,o,f;function h(){return e[27](e[31])}return{c(){t=r.element("div"),n=r.element("a"),a=r.text(i),s=r.space(),r.attr(n,"href","javascript:void(0)")},m(l,u){r.insert(l,t,u),r.append(t,n),r.append(n,a),r.append(t,s),o||(f=r.listen(n,"click",h),o=!0)},p(l,u){e=l,u[0]&2048&&i!==(i=e[31]+"")&&r.set_data(a,i)},d(l){l&&r.detach(t),o=!1,f()}}}function Xn(e){let t;return{c(){t=r.element("div"),t.textContent=" "},m(n,i){r.insert(n,t,i)},d(n){n&&r.detach(t)}}}function Ya(e){let t,n,i;r.add_render_callback(e[22]);let a=e[0]&&xn(e);return{c(){a&&a.c(),t=r.empty()},m(s,o){a&&a.m(s,o),r.insert(s,t,o),n||(i=r.listen(window,"resize",e[22]),n=!0)},p(s,o){s[0]?a?a.p(s,o):(a=xn(s),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:r.noop,o:r.noop,d(s){s&&r.detach(t),a&&a.d(s),n=!1,i()}}}function Qa(e,t,n){let i,a,s,o,f,h,l,u;r.component_subscribe(e,Cr,T=>n(21,u=T));let{rawbonus:d=""}=t,{endpoint:c=""}=t,{currency:v="EUR"}=t,{lang:b=Ft.en}=t,{session:g=""}=t,p,y=[],L,R,N="",O=!0,z=1e3*30,D=!1;const ee=()=>{try{n(0,p=pe({},JSON.parse(d)))}catch(T){console.error(T)}p&&(n(1,y=$r(p.levels)),J())},ne=()=>De(this,null,function*(){if(!g)return;Le({type:"OnWageringBonusJoinRequest",bonusID:p.bonusID}),Le({type:"OnWageringBonusButtonStateChanged",clickable:!1}),(yield er.start(new AbortController,c,g,p.code,v)).success&&Le({type:"OnWageringBonusClaimed"}),Le({type:"OnWageringBonusButtonStateChanged",clickable:!0})}),J=()=>{p&&(an(p.expiryDate,z,()=>n(19,R="Expired"),T=>n(19,R=T)),an(p.endTime||p.trigger.endTime,z,()=>n(20,N="Ended"),T=>n(20,N=T)))};r.onMount(()=>{const T=setInterval(()=>{J()},z);return()=>{clearInterval(T)}}),Yn({OnWageringBonusButtonStateChanged:T=>n(6,O=T.clickable)});let re;function j(){n(3,re=window.innerWidth)}const V=T=>{const{maxContribution:C="undefined",minStake:F="undefined"}=T.levelInfo,ae=He(pe({},T),{maxContribution:C,minStake:F});return l(`${p.wageringType}.target`,ae)},X=()=>l("targetOther",{status:p.status}),se=()=>Le({type:"OnWageringBonusAllRewardsClick",bonusWalletID:p.id}),ie=()=>n(7,D=!D),E=T=>Le({type:"OnWageringBonusSupportClicked",support:T});return e.$$set=T=>{"rawbonus"in T&&n(14,d=T.rawbonus),"endpoint"in T&&n(15,c=T.endpoint),"currency"in T&&n(16,v=T.currency),"lang"in T&&n(17,b=T.lang),"session"in T&&n(18,g=T.session)},e.$$.update=()=>{e.$$.dirty[0]&16384&&d&&ee(),e.$$.dirty[0]&131072&&b&&ja(b),e.$$.dirty[0]&8&&n(5,i=re<=648),e.$$.dirty[0]&32&&n(12,a=(T,C="")=>ut(`${T}${i?` ${T}Mobile`:""}`,C)),e.$$.dirty[0]&3&&n(2,L=(p==null?void 0:p.bonusWalletID)&&ei(p,y)),e.$$.dirty[0]&1&&n(11,s=p?p.status?p.products||[]:p.wallet?Object.keys(p.wallet).filter(T=>["sports","casino"].includes(T)):[]:[]),e.$$.dirty[0]&2097152&&n(4,l=(T,C={})=>u("wageringBonuses."+T,{values:C})),e.$$.dirty[0]&1048595&&n(10,o=p&&!p.status?[{key:"Levels",svg:$t,text:tr(p,`${l("infinite")} ${l("levels")}`,`${y.length} ${y.length>1?l("levels"):l("level")}`)},{key:"Period",svg:Qt,text:N}]:[]),e.$$.dirty[0]&5&&n(9,f=(()=>{const T=[K.completed,K.released].includes(p==null?void 0:p.status);return p&&T?[{key:"Status",svg:Qt,text:"Completed"},{key:"Levels",svg:$t,text:`Levels finished: ${L.textWithLength}`}]:[]})()),e.$$.dirty[0]&524288&&n(8,h=R&&[{key:"ExpiryTime",svg:Gr,text:R}]),e.$$.dirty[0]&524289&&R&&p.status===K.active&&["Expired","Ended"].includes(R)&&setTimeout(()=>Le({type:"OnWageringBonusExpired"}),5e3)},[p,y,L,re,l,i,O,D,h,f,o,s,a,ne,d,c,v,b,g,R,N,u,j,V,X,se,ie,E]}class $a extends r.SvelteComponent{constructor(t){super(),r.init(this,t,Qa,Ya,r.safe_not_equal,{rawbonus:14,endpoint:15,currency:16,lang:17,session:18},Va,[-1,-1])}get rawbonus(){return this.$$.ctx[14]}set rawbonus(t){this.$$set({rawbonus:t}),r.flush()}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),r.flush()}get currency(){return this.$$.ctx[16]}set currency(t){this.$$set({currency:t}),r.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),r.flush()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),r.flush()}}customElements.define("private-casino-wagering-bonus",r.create_custom_element($a,{rawbonus:{},endpoint:{},currency:{},lang:{},session:{}},[],[],!0));if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-Cfg5j6wN.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}const es={en:{wageringBonuses:{wageringBonus:"Wagering Bonus",levels:"Levels",level:"Level",eachLevel:"Each Level",infinite:"Infinite",current:"Current",next:"Next",first:"First",last:"Last",previous:"Previous",startChallenge:"START CHALLENGE",terms:"Terms and Conditions",termsTip:'Learn more about the challenge rules and included games or events in <a target="__blank" href={tcUrl} > Terms and Conditions </a> section',rewards:"Rewards",allRewards:"All Rewards",includeBets:"Include bets",showMore:"Show More",collapse:"Collapse",claimable:"Claimable",active:"Active",completed:"Completed",locked:"Locked",inProgress:"InProgress",noBonuses:"No wagering bonuses found",status:"Status",target:"Target",targetOther:"This bonus is {status}",money:{target:"Play for {currencySymbol}{currentLevelIncrement} in total",remaining:"Remaining: {currencySymbol}{gap}",wagered:"Wagered: {currencySymbol}{wagered}"},betCount:{target:"Place {currentLevelIncrement}/{maxContribution} bets of at least {minStake} each",remaining:"Bets Remaining: {gap} bets",wagered:"Bets Placed: {wagered} bets"},reward:{cashBack:"Enroll to Cash Back",tournamentTicket:"Enroll to Tournament Ticket",oddsBoost:"Enroll to Odds Boost",freeRound:"{freespinNumber} Free Spins",percentage:"{bonusAmount}% up to {currency}{capAmount}",fixed:"{currency}{bonusAmount}",standard:"Bonus Money",freeBet:"Free Bet"},forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyWageringBonuses:"See My Wagering Bonuses"}},tr:{wageringBonuses:{wageringBonus:"Bahis Bonusu",levels:"Seviyeler",level:"Seviye",eachLevel:"Her Seviye",infinite:"Sonsuz",current:"Akım",next:"Sonraki",first:"Birinci",last:"Son",previous:"Öncesi",startChallenge:"MEYDAN OKUMAYA BAŞLA",terms:"Şartlar ve koşullar",termsTip:"<a target=__blank href={tcUrl} > Şartlar ve Koşullar </a> bölümünde yarışma kuralları ve dahil edilen oyunlar veya etkinlikler hakkında daha fazla bilgi edinin.",rewards:"Ödüller",allRewards:"Tüm Ödüller",includeBets:"Bahisleri dahil et",showMore:"Daha fazla göster",collapse:"Yıkılmak",claimable:"Hak talebinde bulunulabilir",active:"Aktif",completed:"Tamamlanmış",locked:"Kilitli",inProgress:"Devam etmekte",noBonuses:"Bahis bonusu bulunamadı",status:"Durum",target:"Hedef",targetOther:"Bu bonus: {status}",money:{target:"Toplamda {currencySymbol}{currentLevelIncrement} kadar oynayın",remaining:"Kalan: {currencySymbol}{gap}",wagered:"Bahis: {currencySymbol}{wagered}"},betCount:{target:"Her biri en az {minStake} tutarında {currentLevelIncrement}/{maxContribution} bahis yapın",remaining:"Kalan Bahisler: {gap} bahis",wagered:"Yapılan Bahisler: {wagered} bahis"},reward:{cashBack:"Nakit İadesine Kaydolun",tournamentTicket:"Turnuva Biletine Kayıt Olun",oddsBoost:"Odds Boost'a kaydolun",freeRound:"{freespinNumber} Ücretsiz Döndürme",percentage:"{currency}{capAmount}'a kadar %{bonusAmount}",fixed:"{currency}{bonusAmount}",standard:"Bonus Para",freeBet:"Ücretsiz Bahis"},forwardCasino:"Dahil edilen casino oyunlarına bakın",forwardSports:"Dahil edilen sporları görün",forwardMyWageringBonuses:"Bahis Bonuslarımı Görün"}}},ts=(e,t)=>{const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)},ns=(e,t)=>{const n=new URL(t),i=document.createElement("style");fetch(n.href).then(a=>a.text()).then(a=>{i.innerHTML=a,setTimeout(()=>{e.appendChild(i)},1)})},rs=(e,t)=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{t(a,i[a])})}).catch(i=>{console.log(i)})};function is(e){r.append_styles(e,"svelte-y8n14r","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}casino-wagering-bonus::part(Root){margin-bottom:30px}.Root{background:var(--emw--color-white, #FFFFFF);padding:20px;color:var(--emw--color-black, #000000)}.Bonuses{display:flex;flex-wrap:wrap;justify-content:left;margin-top:10px;column-gap:10px}.BonusesMobile>casino-wagering-bonus{width:100%}.WageringTabs{margin:20px 0;font-size:16px}.WageringTab{display:inline;padding:8px;cursor:pointer;color:#000000;border-bottom:1px solid #00AEEF}.WageringTab.active{color:#00AEEF;border-bottom-width:3px;padding-bottom:6px;font-weight:700}.WageringTabsMobile{display:flex;justify-content:space-around}.WageringTabMobile{width:100%;text-align:center}.Error{color:red}")}function Zn(e,t,n){const i=e.slice();return i[30]=t[n],i}function zn(e,t,n){const i=e.slice();return i[33]=t[n],i}function Jn(e){let t,n=e[10](e[33])+"",i,a,s,o,f=[e[11]("WageringTab")],h={};for(let u=0;u<f.length;u+=1)h=r.assign(h,f[u]);function l(){return e[21](e[33])}return{c(){t=r.element("div"),i=r.text(n),a=r.space(),r.set_attributes(t,h),r.toggle_class(t,"active",e[0]===e[33])},m(u,d){r.insert(u,t,d),r.append(t,i),r.append(t,a),s||(o=r.listen(t,"click",l),s=!0)},p(u,d){e=u,d[0]&1024&&n!==(n=e[10](e[33])+"")&&r.set_data_maybe_contenteditable(i,n,h.contenteditable),r.set_attributes(t,h=r.get_spread_update(f,[d[0]&2048&&e[11]("WageringTab")])),r.toggle_class(t,"active",e[0]===e[33])},d(u){u&&r.detach(t),s=!1,o()}}}function as(e){let t;function n(f,h){return f[7].length>0?us:f[9]?ls:os}let i=n(e),a=i(e),s=[e[11]("Bonuses")],o={};for(let f=0;f<s.length;f+=1)o=r.assign(o,s[f]);return{c(){t=r.element("div"),a.c(),r.set_attributes(t,o)},m(f,h){r.insert(f,t,h),a.m(t,null)},p(f,h){i===(i=n(f))&&a?a.p(f,h):(a.d(1),a=i(f),a&&(a.c(),a.m(t,null))),r.set_attributes(t,o=r.get_spread_update(s,[h[0]&2048&&f[11]("Bonuses")]))},d(f){f&&r.detach(t),a.d()}}}function ss(e){let t;return{c(){t=r.element("general-animation-loading")},m(n,i){r.insert(n,t,i)},p:r.noop,d(n){n&&r.detach(t)}}}function os(e){let t=e[10]("noBonuses")+"",n;return{c(){n=r.text(t)},m(i,a){r.insert(i,n,a)},p(i,a){a[0]&1024&&t!==(t=i[10]("noBonuses")+"")&&r.set_data(n,t)},d(i){i&&r.detach(n)}}}function ls(e){let t,n,i;return{c(){t=r.element("div"),n=r.text("Error: "),i=r.text(e[9]),r.attr(t,"class","Error")},m(a,s){r.insert(a,t,s),r.append(t,n),r.append(t,i)},p(a,s){s[0]&512&&r.set_data(i,a[9])},d(a){a&&r.detach(t)}}}function us(e){let t,n=r.ensure_array_like(e[7]),i=[];for(let a=0;a<n.length;a+=1)i[a]=qn(Zn(e,n,a));return{c(){for(let a=0;a<i.length;a+=1)i[a].c();t=r.empty()},m(a,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(a,s);r.insert(a,t,s)},p(a,s){if(s[0]&158){n=r.ensure_array_like(a[7]);let o;for(o=0;o<n.length;o+=1){const f=Zn(a,n,o);i[o]?i[o].p(f,s):(i[o]=qn(f),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(a){a&&r.detach(t),r.destroy_each(i,a)}}}function qn(e){let t,n=[{endpoint:e[1],session:e[3],lang:e[2],currency:e[4],rawbonus:JSON.stringify(e[30])}],i={};for(let a=0;a<n.length;a+=1)i=r.assign(i,n[a]);return{c(){t=r.element("private-casino-wagering-bonus"),r.set_attributes(t,i)},m(a,s){r.insert(a,t,s)},p(a,s){r.set_attributes(t,i=r.get_spread_update(n,[s[0]&158&&{endpoint:a[1],session:a[3],lang:a[2],currency:a[4],rawbonus:JSON.stringify(a[30])}]))},d(a){a&&r.detach(t)}}}function fs(e){let t,n,i,a,s,o=r.ensure_array_like(Object.values(et)),f=[];for(let g=0;g<o.length;g+=1)f[g]=Jn(zn(e,o,g));let h=[e[11]("WageringTabs")],l={};for(let g=0;g<h.length;g+=1)l=r.assign(l,h[g]);function u(g,p){return g[8]?ss:as}let d=u(e),c=d(e),v=[e[11]("Root")],b={};for(let g=0;g<v.length;g+=1)b=r.assign(b,v[g]);return{c(){t=r.element("div"),n=r.element("section");for(let g=0;g<f.length;g+=1)f[g].c();i=r.space(),a=r.element("div"),c.c(),r.set_attributes(n,l),r.set_attributes(t,b),r.add_render_callback(()=>e[23].call(t))},m(g,p){r.insert(g,t,p),r.append(t,n);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(n,null);r.append(t,i),r.append(t,a),c.m(a,null),e[22](t),s=r.add_iframe_resize_listener(t,e[23].bind(t))},p(g,p){if(p[0]&7169){o=r.ensure_array_like(Object.values(et));let y;for(y=0;y<o.length;y+=1){const L=zn(g,o,y);f[y]?f[y].p(L,p):(f[y]=Jn(L),f[y].c(),f[y].m(n,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=o.length}r.set_attributes(n,l=r.get_spread_update(h,[p[0]&2048&&g[11]("WageringTabs")])),d===(d=u(g))&&c?c.p(g,p):(c.d(1),c=d(g),c&&(c.c(),c.m(a,null))),r.set_attributes(t,b=r.get_spread_update(v,[p[0]&2048&&g[11]("Root")]))},i:r.noop,o:r.noop,d(g){g&&r.detach(t),r.destroy_each(f,g),c.d(),e[22](null),s()}}}function hs(e,t,n){let i,a,s,o;r.component_subscribe(e,Cr,E=>n(20,o=E));let{endpoint:f=""}=t,{lang:h=Ft.en}=t,{session:l=""}=t,{currency:u="EUR"}=t,{filter:d=et.claimable}=t,{limit:c=""}=t,{sortorder:v="desc"}=t,{clientstyling:b=""}=t,{clientstylingurl:g=""}=t,{translationurl:p=""}=t,y,L=!1;r.onMount(()=>(n(18,L=!0),()=>{n(18,L=!1)}));let R=[],N,O={},z=!0,D="",ee;Wa(es);const ne=zr({WageringProgressUpdate:E=>{n(7,R=R.map(T=>{let C=E==null?void 0:E.items[T.bonusWalletID];if(!C)return T;const{maxIdObj:F,maxId:ae}=qr(C);let{status:ce,level:S,levelIncrement:Z,gap:de}=F;O[T.id]=ae;let Y=pe({},T);return Y=He(pe({},Y),{wageringProgress:He(pe({},Y.wageringProgress),{currentLevel:S,currentLevelIncrement:Z,gap:de})}),ce&&(Y=He(pe({},Y),{status:ce}),setTimeout(()=>j(),500),ce!==d)?null:Y}).filter(T=>T))}}),J=()=>De(this,null,function*(){ee==null||ee.abort(),ee=new AbortController;try{const E=yield er.list(ee,f,l,{lang:h,status:d==="claimable"?"claimable":ti(d),limit:c,sortOrder:v||"desc"});E.success?(n(7,R=E.items||E.bonuses),yt(N,ne),d===et.active&&re()):n(9,D=E.errorMessage)}catch(E){if(E.name=="AbortError")return;console.error(E)}}),re=()=>{yt(N,ne),N=Yr(f,l,R,ne,O),N==null||N.onerror.bind(null,()=>{re()})},j=()=>De(this,null,function*(){!L||!d||!h||!l||!f||(n(8,z=!0),yield J(),n(8,z=!1))});Yn({OnWageringBonusClaimed:()=>j(),OnWageringBonusExpired:()=>j()}),r.onMount(()=>()=>yt(N,ne));let V;const X=E=>{d!==E&&(n(0,d=E),j())};function se(E){r.binding_callbacks[E?"unshift":"push"](()=>{y=E,n(5,y)})}function ie(){V=this.clientWidth,n(6,V)}return e.$$set=E=>{"endpoint"in E&&n(1,f=E.endpoint),"lang"in E&&n(2,h=E.lang),"session"in E&&n(3,l=E.session),"currency"in E&&n(4,u=E.currency),"filter"in E&&n(0,d=E.filter),"limit"in E&&n(13,c=E.limit),"sortorder"in E&&n(14,v=E.sortorder),"clientstyling"in E&&n(15,b=E.clientstyling),"clientstylingurl"in E&&n(16,g=E.clientstylingurl),"translationurl"in E&&n(17,p=E.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&32800&&y&&b&&ts(y,b),e.$$.dirty[0]&65568&&y&&g&&ns(y,g),e.$$.dirty[0]&131072&&p&&rs(p,xr),e.$$.dirty[0]&262144&&L&&j(),e.$$.dirty[0]&2&&f&&j(),e.$$.dirty[0]&4&&h&&j(),e.$$.dirty[0]&8&&l&&j(),e.$$.dirty[0]&16384&&v&&j(),e.$$.dirty[0]&64&&n(19,i=V<=648),e.$$.dirty[0]&524288&&n(11,a=E=>ut(`${E}${i?` ${E}Mobile`:""}`)),e.$$.dirty[0]&1048576&&n(10,s=(E,T={})=>o("wageringBonuses."+E,{values:T}))},[d,f,h,l,u,y,V,R,z,D,s,a,j,c,v,b,g,p,L,i,o,X,se,ie]}class Ar extends r.SvelteComponent{constructor(t){super(),r.init(this,t,hs,fs,r.safe_not_equal,{endpoint:1,lang:2,session:3,currency:4,filter:0,limit:13,sortorder:14,clientstyling:15,clientstylingurl:16,translationurl:17},is,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),r.flush()}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),r.flush()}get session(){return this.$$.ctx[3]}set session(t){this.$$set({session:t}),r.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),r.flush()}get filter(){return this.$$.ctx[0]}set filter(t){this.$$set({filter:t}),r.flush()}get limit(){return this.$$.ctx[13]}set limit(t){this.$$set({limit:t}),r.flush()}get sortorder(){return this.$$.ctx[14]}set sortorder(t){this.$$set({sortorder:t}),r.flush()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),r.flush()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),r.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),r.flush()}}r.create_custom_element(Ar,{endpoint:{},lang:{},session:{},currency:{},filter:{},limit:{},sortorder:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Ar;
|
package/components/{GeneralAnimationLoading-C8bUHowA.js → GeneralAnimationLoading-BrUofBqW.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f,
|
|
1
|
+
import { S as u, i as f, f as a, c as m, s as h, a as g, g as p, j as y, n as d, m as b, v, G as x } from "./CasinoWageringBonusProgress-CMEfrdSP.js";
|
|
2
2
|
function L(e, i) {
|
|
3
3
|
if (e) {
|
|
4
4
|
const s = document.createElement("style");
|
|
@@ -23,31 +23,31 @@ function w(e, i, s) {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
function S(e) {
|
|
26
|
-
|
|
26
|
+
g(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
27
27
|
}
|
|
28
28
|
function M(e) {
|
|
29
29
|
let i;
|
|
30
30
|
return {
|
|
31
31
|
c() {
|
|
32
|
-
i =
|
|
32
|
+
i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
33
33
|
},
|
|
34
34
|
m(s, t) {
|
|
35
|
-
|
|
35
|
+
y(s, i, t), e[4](i);
|
|
36
36
|
},
|
|
37
37
|
p: d,
|
|
38
38
|
i: d,
|
|
39
39
|
o: d,
|
|
40
40
|
d(s) {
|
|
41
|
-
s &&
|
|
41
|
+
s && b(i), e[4](null);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
function k(e, i, s) {
|
|
46
46
|
let { clientstyling: t = "" } = i, { clientstylingurl: n = "" } = i, { mbsource: r } = i, l;
|
|
47
|
-
|
|
47
|
+
v(() => () => {
|
|
48
48
|
});
|
|
49
49
|
function o(c) {
|
|
50
|
-
|
|
50
|
+
x[c ? "unshift" : "push"](() => {
|
|
51
51
|
l = c, s(0, l);
|
|
52
52
|
});
|
|
53
53
|
}
|
|
@@ -73,7 +73,7 @@ class C extends u {
|
|
|
73
73
|
i,
|
|
74
74
|
k,
|
|
75
75
|
M,
|
|
76
|
-
|
|
76
|
+
h,
|
|
77
77
|
{
|
|
78
78
|
clientstyling: 1,
|
|
79
79
|
clientstylingurl: 2,
|
|
@@ -101,7 +101,7 @@ class C extends u {
|
|
|
101
101
|
this.$$set({ mbsource: i }), a();
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
m(C, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
105
105
|
export {
|
|
106
106
|
C as default
|
|
107
107
|
};
|
package/components/{GeneralAnimationLoading-DMFOVCrC.js → GeneralAnimationLoading-DIp20cAk.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f,
|
|
1
|
+
import { S as u, i as f, f as a, c as m, s as h, a as g, g as p, j as y, n as d, m as b, v, G as x } from "./CasinoWageringBonusProgress-D0dCeXp2.js";
|
|
2
2
|
function L(e, i) {
|
|
3
3
|
if (e) {
|
|
4
4
|
const s = document.createElement("style");
|
|
@@ -23,31 +23,31 @@ function w(e, i, s) {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
function S(e) {
|
|
26
|
-
|
|
26
|
+
g(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
27
27
|
}
|
|
28
28
|
function M(e) {
|
|
29
29
|
let i;
|
|
30
30
|
return {
|
|
31
31
|
c() {
|
|
32
|
-
i =
|
|
32
|
+
i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
33
33
|
},
|
|
34
34
|
m(s, t) {
|
|
35
|
-
|
|
35
|
+
y(s, i, t), e[4](i);
|
|
36
36
|
},
|
|
37
37
|
p: d,
|
|
38
38
|
i: d,
|
|
39
39
|
o: d,
|
|
40
40
|
d(s) {
|
|
41
|
-
s &&
|
|
41
|
+
s && b(i), e[4](null);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
function k(e, i, s) {
|
|
46
46
|
let { clientstyling: t = "" } = i, { clientstylingurl: n = "" } = i, { mbsource: r } = i, l;
|
|
47
|
-
|
|
47
|
+
v(() => () => {
|
|
48
48
|
});
|
|
49
49
|
function o(c) {
|
|
50
|
-
|
|
50
|
+
x[c ? "unshift" : "push"](() => {
|
|
51
51
|
l = c, s(0, l);
|
|
52
52
|
});
|
|
53
53
|
}
|
|
@@ -73,7 +73,7 @@ class C extends u {
|
|
|
73
73
|
i,
|
|
74
74
|
k,
|
|
75
75
|
M,
|
|
76
|
-
|
|
76
|
+
h,
|
|
77
77
|
{
|
|
78
78
|
clientstyling: 1,
|
|
79
79
|
clientstylingurl: 2,
|
|
@@ -101,7 +101,7 @@ class C extends u {
|
|
|
101
101
|
this.$$set({ mbsource: i }), a();
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
m(C, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
105
105
|
export {
|
|
106
106
|
C as default
|
|
107
107
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWageringBonusesController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWageringBonusesController-GXFEQ8ru.cjs")).then(({default:t})=>{!customElements.get("casino-wagering-bonuses-controller")&&customElements.define("casino-wagering-bonuses-controller",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoWageringBonusesController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoWageringBonusesController-C11mRlVY.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-wagering-bonuses-controller") && customElements.define("casino-wagering-bonuses-controller", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED