@everymatrix/casino-wagering-bonus-slider-controller 1.49.2 → 1.50.0
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/{CasinoWageringBonusSliderController-CQwXWM-T.cjs → CasinoWageringBonusSliderController-D6HVeX09.cjs} +1 -1
- package/components/{CasinoWageringBonusSliderController-BPIhv1qh.js → CasinoWageringBonusSliderController-FEu-7PX5.js} +2 -2
- package/components/{GeneralIconProgressBar-CjsZcwkB.js → GeneralIconProgressBar-COcu-YsC.js} +8 -8
- package/components/GeneralIconProgressBar-DtuqpyQh.cjs +1 -0
- package/es2015/casino-wagering-bonus-slider-controller.cjs +1 -1
- package/es2015/casino-wagering-bonus-slider-controller.js +1 -1
- package/package.json +1 -1
- package/components/GeneralIconProgressBar-Bjz_oBBt.cjs +0 -1
|
@@ -8,4 +8,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
8
8
|
* https://github.com/Yaffle/EventSource/
|
|
9
9
|
*/(function(e,t){(function(r){var n=r.setTimeout,i=r.clearTimeout,o=r.XMLHttpRequest,s=r.XDomainRequest,a=r.ActiveXObject,h=r.EventSource,u=r.document,f=r.Promise,p=r.fetch,g=r.Response,y=r.TextDecoder,H=r.TextEncoder,w=r.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(l){u.readyState="complete"},!1)),o==null&&a!=null&&(o=function(){return new a("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(l){function v(){}return v.prototype=l,new v}),Date.now||(Date.now=function(){return new Date().getTime()}),w==null){var O=p;p=function(l,v){var b=v.signal;return O(l,{headers:v.headers,credentials:v.credentials,cache:v.cache}).then(function(m){var A=m.body.getReader();return b._reader=A,b._aborted&&b._reader.cancel(),{status:m.status,statusText:m.statusText,headers:m.headers,body:{getReader:function(){return A}}}})},w=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function P(){this.bitsNeeded=0,this.codePoint=0}P.prototype.decode=function(l){function v(x,D,_){if(_===1)return x>=128>>D&&x<<D<=2047;if(_===2)return x>=2048>>D&&x<<D<=55295||x>=57344>>D&&x<<D<=65535;if(_===3)return x>=65536>>D&&x<<D<=1114111;throw new Error}function b(x,D){if(x===6*1)return D>>6>15?3:D>31?2:1;if(x===6*2)return D>15?3:2;if(x===6*3)return 3;throw new Error}for(var m=65533,A="",S=this.bitsNeeded,C=this.codePoint,c=0;c<l.length;c+=1){var d=l[c];S!==0&&(d<128||d>191||!v(C<<6|d&63,S-6,b(S,C)))&&(S=0,C=m,A+=String.fromCharCode(C)),S===0?(d>=0&&d<=127?(S=0,C=d):d>=192&&d<=223?(S=6*1,C=d&31):d>=224&&d<=239?(S=6*2,C=d&15):d>=240&&d<=247?(S=6*3,C=d&7):(S=0,C=m),S!==0&&!v(C,S,b(S,C))&&(S=0,C=m)):(S-=6,C=C<<6|d&63),S===0&&(C<=65535?A+=String.fromCharCode(C):(A+=String.fromCharCode(55296+(C-65535-1>>10)),A+=String.fromCharCode(56320+(C-65535-1&1023))))}return this.bitsNeeded=S,this.codePoint=C,A};var I=function(){try{return new y().decode(new H().encode("test"),{stream:!0})==="test"}catch(l){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+l)}return!1};(y==null||H==null||!I())&&(y=P);var B=function(){};function L(l){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=B,this.onload=B,this.onerror=B,this.onreadystatechange=B,this._contentType="",this._xhr=l,this._sendTimeout=0,this._abort=B}L.prototype.open=function(l,v){this._abort(!0);var b=this,m=this._xhr,A=1,S=0;this._abort=function(_){b._sendTimeout!==0&&(i(b._sendTimeout),b._sendTimeout=0),(A===1||A===2||A===3)&&(A=4,m.onload=B,m.onerror=B,m.onabort=B,m.onprogress=B,m.onreadystatechange=B,m.abort(),S!==0&&(i(S),S=0),_||(b.readyState=4,b.onabort(null),b.onreadystatechange())),A=0};var C=function(){if(A===1){var _=0,F="",me=void 0;if("contentType"in m)_=200,F="OK",me=m.contentType;else try{_=m.status,F=m.statusText,me=m.getResponseHeader("Content-Type")}catch(et){_=0,F="",me=void 0}_!==0&&(A=2,b.readyState=2,b.status=_,b.statusText=F,b._contentType=me,b.onreadystatechange())}},c=function(){if(C(),A===2||A===3){A=3;var _="";try{_=m.responseText}catch(F){}b.readyState=3,b.responseText=_,b.onprogress()}},d=function(_,F){if((F==null||F.preventDefault==null)&&(F={preventDefault:B}),c(),A===1||A===2||A===3){if(A=4,S!==0&&(i(S),S=0),b.readyState=4,_==="load")b.onload(F);else if(_==="error")b.onerror(F);else if(_==="abort")b.onabort(F);else throw new TypeError;b.onreadystatechange()}},x=function(_){m!=null&&(m.readyState===4?(!("onload"in m)||!("onerror"in m)||!("onabort"in m))&&d(m.responseText===""?"error":"load",_):m.readyState===3?"onprogress"in m||c():m.readyState===2&&C())},D=function(){S=n(function(){D()},500),m.readyState===3&&c()};"onload"in m&&(m.onload=function(_){d("load",_)}),"onerror"in m&&(m.onerror=function(_){d("error",_)}),"onabort"in m&&(m.onabort=function(_){d("abort",_)}),"onprogress"in m&&(m.onprogress=c),"onreadystatechange"in m&&(m.onreadystatechange=function(_){x(_)}),("contentType"in m||!("ontimeout"in o.prototype))&&(v+=(v.indexOf("?")===-1?"?":"&")+"padding=true"),m.open(l,v,!0),"readyState"in m&&(S=n(function(){D()},0))},L.prototype.abort=function(){this._abort(!1)},L.prototype.getResponseHeader=function(l){return this._contentType},L.prototype.setRequestHeader=function(l,v){var b=this._xhr;"setRequestHeader"in b&&b.setRequestHeader(l,v)},L.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},L.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var l=this;l._sendTimeout=n(function(){l._sendTimeout=0,l.send()},4);return}var v=this._xhr;"withCredentials"in v&&(v.withCredentials=this.withCredentials);try{v.send(void 0)}catch(b){throw b}};function T(l){return l.replace(/[A-Z]/g,function(v){return String.fromCharCode(v.charCodeAt(0)+32)})}function M(l){for(var v=Object.create(null),b=l.split(`\r
|
|
10
10
|
`),m=0;m<b.length;m+=1){var A=b[m],S=A.split(": "),C=S.shift(),c=S.join(": ");v[T(C)]=c}this._map=v}M.prototype.get=function(l){return this._map[T(l)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function $(){}$.prototype.open=function(l,v,b,m,A,S,C){l.open("GET",A);var c=0;l.onprogress=function(){var x=l.responseText,D=x.slice(c);c+=D.length,b(D)},l.onerror=function(x){x.preventDefault(),m(new Error("NetworkError"))},l.onload=function(){m(null)},l.onabort=function(){m(null)},l.onreadystatechange=function(){if(l.readyState===o.HEADERS_RECEIVED){var x=l.status,D=l.statusText,_=l.getResponseHeader("Content-Type"),F=l.getAllResponseHeaders();v(x,D,_,new M(F))}},l.withCredentials=S;for(var d in C)Object.prototype.hasOwnProperty.call(C,d)&&l.setRequestHeader(d,C[d]);return l.send(),l};function le(l){this._headers=l}le.prototype.get=function(l){return this._headers.get(l)};function Ce(){}Ce.prototype.open=function(l,v,b,m,A,S,C){var c=null,d=new w,x=d.signal,D=new y;return p(A,{headers:C,credentials:S?"include":"same-origin",signal:x,cache:"no-store"}).then(function(_){return c=_.body.getReader(),v(_.status,_.statusText,_.headers.get("Content-Type"),new le(_.headers)),new f(function(F,me){var et=function(){c.read().then(function(K){if(K.done)F(void 0);else{var Z=D.decode(K.value,{stream:!0});b(Z),et()}}).catch(function(K){me(K)})};et()})}).catch(function(_){if(_.name!=="AbortError")return _}).then(function(_){m(_)}),{abort:function(){c!=null&&c.cancel(),d.abort()}}};function fe(){this._listeners=Object.create(null)}function ze(l){n(function(){throw l},0)}fe.prototype.dispatchEvent=function(l){l.target=this;var v=this._listeners[l.type];if(v!=null)for(var b=v.length,m=0;m<b;m+=1){var A=v[m];try{typeof A.handleEvent=="function"?A.handleEvent(l):A.call(this,l)}catch(S){ze(S)}}},fe.prototype.addEventListener=function(l,v){l=String(l);var b=this._listeners,m=b[l];m==null&&(m=[],b[l]=m);for(var A=!1,S=0;S<m.length;S+=1)m[S]===v&&(A=!0);A||m.push(v)},fe.prototype.removeEventListener=function(l,v){l=String(l);var b=this._listeners,m=b[l];if(m!=null){for(var A=[],S=0;S<m.length;S+=1)m[S]!==v&&A.push(m[S]);A.length===0?delete b[l]:b[l]=A}};function we(l){this.type=l,this.target=void 0}function ut(l,v){we.call(this,l),this.data=v.data,this.lastEventId=v.lastEventId}ut.prototype=Object.create(we.prototype);function Ze(l,v){we.call(this,l),this.status=v.status,this.statusText=v.statusText,this.headers=v.headers}Ze.prototype=Object.create(we.prototype);function lt(l,v){we.call(this,l),this.error=v.error}lt.prototype=Object.create(we.prototype);var Se=-1,z=0,ce=1,de=2,qe=-1,se=0,Qe=1,Ye=2,ht=3,Ct=/^text\/event\-stream(;.*)?$/i,ft=1e3,Je=18e6,Ke=function(l,v){var b=l==null?v:parseInt(l,10);return b!==b&&(b=v),Oe(b)},Oe=function(l){return Math.min(Math.max(l,ft),Je)},pe=function(l,v,b){try{typeof v=="function"&&v.call(l,b)}catch(m){ze(m)}};function J(l,v){fe.call(this),v=v||{},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,Pt(this,l,v)}function ct(){return o!=null&&"withCredentials"in o.prototype||s==null?new o:new s}var Ot=p!=null&&g!=null&&"body"in g.prototype;function Pt(l,v,b){v=String(v);var m=!!b.withCredentials,A=b.lastEventIdQueryParameterName||"lastEventId",S=Oe(1e3),C=Ke(b.heartbeatTimeout,45e3),c="",d=S,x=!1,D=0,_=b.headers||{},F=b.Transport,me=Ot&&F==null?void 0:new L(F!=null?new F:ct()),et=F!=null&&typeof F!="string"?new F:me==null?new Ce:new $,K=void 0,Z=0,ae=Se,Pe="",pt="",ge="",mt="",q=se,Nt=0,He=0,Mn=function(X,k,ee,te){if(ae===z)if(X===200&&ee!=null&&Ct.test(ee)){ae=ce,x=Date.now(),d=S,l.readyState=ce;var Q=new Ze("open",{status:X,statusText:k,headers:te});l.dispatchEvent(Q),pe(l,l.onopen,Q)}else{var V="";X!==200?(k&&(k=k.replace(/\s+/g," ")),V="EventSource's response has a status "+X+" "+k+" that is not 200. Aborting the connection."):V="EventSource's response has a Content-Type specifying an unsupported type: "+(ee==null?"-":ee.replace(/\s+/g," "))+". Aborting the connection.",Mt();var Q=new Ze("error",{status:X,statusText:k,headers:te});l.dispatchEvent(Q),pe(l,l.onerror,Q),console.error(V)}},Rn=function(X){if(ae===ce){for(var k=-1,ee=0;ee<X.length;ee+=1){var te=X.charCodeAt(ee);(te===10||te===13)&&(k=ee)}var Q=(k!==-1?mt:"")+X.slice(0,k+1);mt=(k===-1?mt:"")+X.slice(k+1),X!==""&&(x=Date.now(),D+=X.length);for(var V=0;V<Q.length;V+=1){var te=Q.charCodeAt(V);if(q===qe&&te===10)q=se;else if(q===qe&&(q=se),te===13||te===10){if(q!==se){q===Qe&&(He=V+1);var ve=Q.slice(Nt,He-1),be=Q.slice(He+(He<V&&Q.charCodeAt(He)===32?1:0),V);ve==="data"?(Pe+=`
|
|
11
|
-
`,Pe+=be):ve==="id"?pt=be:ve==="event"?ge=be:ve==="retry"?(S=Ke(be,S),d=S):ve==="heartbeatTimeout"&&(C=Ke(be,C),Z!==0&&(i(Z),Z=n(function(){tt()},C)))}if(q===se){if(Pe!==""){c=pt,ge===""&&(ge="message");var Ne=new ut(ge,{data:Pe.slice(1),lastEventId:pt});if(l.dispatchEvent(Ne),ge==="open"?pe(l,l.onopen,Ne):ge==="message"?pe(l,l.onmessage,Ne):ge==="error"&&pe(l,l.onerror,Ne),ae===de)return}Pe="",ge=""}q=te===13?qe:se}else q===se&&(Nt=V,q=Qe),q===Qe?te===58&&(He=V+1,q=Ye):q===Ye&&(q=ht)}}},pr=function(X){if(ae===ce||ae===z){ae=Se,Z!==0&&(i(Z),Z=0),Z=n(function(){tt()},d),d=Oe(Math.min(S*16,d*2)),l.readyState=z;var k=new lt("error",{error:X});l.dispatchEvent(k),pe(l,l.onerror,k),X!=null&&console.error(X)}},Mt=function(){ae=de,K!=null&&(K.abort(),K=void 0),Z!==0&&(i(Z),Z=0),l.readyState=de},tt=function(){if(Z=0,ae!==Se){if(!x&&K!=null)pr(new Error("No activity within "+C+" milliseconds. "+(ae===z?"No response received.":D+" chars received.")+" Reconnecting.")),K!=null&&(K.abort(),K=void 0);else{var X=Math.max((x||Date.now())+C-Date.now(),1);x=!1,Z=n(function(){tt()},X)}return}x=!1,D=0,Z=n(function(){tt()},C),ae=z,Pe="",ge="",pt=c,mt="",Nt=0,He=0,q=se;var k=v;if(v.slice(0,5)!=="data:"&&v.slice(0,5)!=="blob:"&&c!==""){var ee=v.indexOf("?");k=ee===-1?v:v.slice(0,ee+1)+v.slice(ee+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(be,Ne){return Ne===A?"":be}),k+=(v.indexOf("?")===-1?"?":"&")+A+"="+encodeURIComponent(c)}var te=l.withCredentials,Q={};Q.Accept="text/event-stream";var V=l.headers;if(V!=null)for(var ve in V)Object.prototype.hasOwnProperty.call(V,ve)&&(Q[ve]=V[ve]);try{K=et.open(me,Mn,Rn,pr,k,te,Q)}catch(be){throw Mt(),be}};l.url=v,l.readyState=z,l.withCredentials=m,l.headers=_,l._close=Mt,tt()}J.prototype=Object.create(fe.prototype),J.prototype.CONNECTING=z,J.prototype.OPEN=ce,J.prototype.CLOSED=de,J.prototype.close=function(){this._close()},J.CONNECTING=z,J.OPEN=ce,J.CLOSED=de,J.prototype.withCredentials=void 0;var dt=h;o!=null&&(h==null||!("withCredentials"in h.prototype))&&(dt=J),function(l){{var v=l(t);v!==void 0&&(e.exports=v)}}(function(l){l.EventSourcePolyfill=J,l.NativeEventSource=h,l.EventSource=dt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Ei:globalThis)})(sr,sr.exports);var us=sr.exports;function ls({withLocale:e,translations:t}){Ee.subscribe(r=>{r==null&&(Ie.set(t),Ee.set(e))})}function jr(e,t){cr(e,t)}function hs(e){Ee.set(e)}const Wr={en:{wageringSlider:{title:"- Wagering Bonus -",noWageringMsg:"You don't have any wagering bonus."}},tr:{wageringSlider:{title:"- Bahis Bonusu -",noWageringMsg:"Herhangi bir bahis bonusunuz bulunmamaktadır."}},es:{wageringSlider:{title:"Bono de Apuesta",noWageringMsg:"You don't have any wagering bonus."}},el:{wageringSlider:{title:"- Wagering Bonus -",noWageringMsg:"You don't have any wagering bonus."}},ro:{wageringSlider:{title:"- Wagering Bonus -",noWageringMsg:"You don't have any wagering bonus."}}},fs=e=>{const t=window.BigInt;if(!e||e==null||e.length===0)return;let r=t(e[0].id);return{maxIdObj:e.reduce((i,o)=>{const s=t(o.id);return s>r?(r=s,o):i},e[0]),maxId:r.toString()}},cs=(e,t)=>JSON.stringify(e.map(r=>({bonusWalletID:r.id,progressID:t[r.id]||0}))),ds=(e,t)=>{let r=document.createElement("style");r.innerHTML=t,e.appendChild(r)},ps=(e,t)=>{let r=new URL(t),n=document.createElement("style");fetch(r.href).then(i=>i.text()).then(i=>{n.innerHTML=i,setTimeout(()=>{e.appendChild(n)},1)})};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralIconProgressBar-Bjz_oBBt.cjs")).then(({default:t})=>{!customElements.get("general-icon-progress-bar")&&customElements.define("general-icon-progress-bar",t.element)})}const Pn="data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.67757%202.5647L3.72412%20-1.25356e-07L5.77067%202.5647L3.72412%205.12939L1.67757%202.5647Z'%20fill='%23FF8B03'/%3e%3crect%20x='0.468506'%20y='6.1134'%20width='6.55827'%20height='0.936896'%20fill='%23FF8B03'/%3e%3cpath%20d='M7.49512%201.42889L0.4684%205.64492H7.02667L7.49512%201.42889Z'%20fill='%23FFB82E'/%3e%3cpath%20d='M0%201.42889L7.02672%205.64492H0.468448L0%201.42889Z'%20fill='%23FFD700'/%3e%3c/svg%3e";function ms(e){qr(e,"svelte-1i6p6ky","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:100%;display:table-cell;vertical-align:middle;cursor:pointer;color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FF8364))}.LeftArrow.Disabled,.RightArrow.Disabled{background:var(--emfe-w-color-gray-300, #A9A8A8)}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:100%;overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:var(--emfe-w-bonus-card-yellow, var(--emfe-w-color-yellow, #FFD700));margin:5px auto 3px}.SliderCenter .Hidden{opacity:0;transition:opacity;animation:0.2s}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .BonusName{display:table;height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .BonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}.hideButton{transform:rotate(180deg);position:absolute;top:0px;right:2px;display:table;color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FF8364));cursor:pointer}.NoWageringMsg{text-align:center;display:flex;align-items:center;height:100%;font-size:0.8rem;padding:10px}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}")}function kr(e,t,r){const n=e.slice();return n[60]=t[r],n[62]=r,n}function gs(e){let t,r=e[10]("wageringSlider.noWageringMsg")+"",n;return{c(){t=W("div"),n=at(r),E(t,"class","NoWageringMsg")},m(i,o){he(i,t,o),G(t,n)},p(i,o){o[0]&1024&&r!==(r=i[10]("wageringSlider.noWageringMsg")+"")&&Tt(n,r)},d(i){i&&ue(t)}}}function vs(e){let t,r,n,i,o,s,a,h=e[10]("wageringSlider.title")+"",u,f,p,g,y,H,w,O,P,I,B=Er(e[2]),L=[];for(let T=0;T<B.length;T+=1)L[T]=Xr(kr(e,B,T));return{c(){t=W("div"),r=gt("svg"),n=gt("path"),o=ye(),s=W("div"),a=W("div"),u=at(h),f=ye(),p=W("div");for(let T=0;T<L.length;T+=1)L[T].c();g=ye(),y=W("div"),H=gt("svg"),w=gt("path"),E(n,"d","M3 7L1 4L3 1"),E(n,"stroke","currentColor"),E(n,"stroke-linecap","round"),E(n,"stroke-linejoin","round"),E(r,"width","6"),E(r,"height","14"),E(r,"viewBox","0 0 4 8"),E(r,"fill","none"),E(r,"xmlns","http://www.w3.org/2000/svg"),E(t,"class",i="LeftArrow "+(e[5]?"Disabled":"")),E(t,"role","button"),E(t,"tabindex","0"),E(a,"class","Title Top"),E(p,"class","WagerList"),E(s,"class","SliderCenter"),E(w,"d","M1 1L3 4L1 7"),E(w,"stroke","currentColor"),E(w,"stroke-linecap","round"),E(w,"stroke-linejoin","round"),E(H,"width","6"),E(H,"height","14"),E(H,"viewBox","0 0 4 8"),E(H,"fill","none"),E(H,"xmlns","http://www.w3.org/2000/svg"),E(y,"class",O="RightArrow "+(e[6]?"Disabled":"")),E(y,"role","button"),E(y,"tabindex","0")},m(T,M){he(T,t,M),G(t,r),G(r,n),he(T,o,M),he(T,s,M),G(s,a),G(a,u),G(s,f),G(s,p);for(let $=0;$<L.length;$+=1)L[$]&&L[$].m(p,null);he(T,g,M),he(T,y,M),G(y,H),G(H,w),P||(I=[Ae(t,"click",e[25]),Ae(t,"mouseenter",e[26]),Ae(t,"mouseleave",e[27]),Ae(y,"click",e[29])],P=!0)},p(T,M){if(M[0]&32&&i!==(i="LeftArrow "+(T[5]?"Disabled":""))&&E(t,"class",i),M[0]&1024&&h!==(h=T[10]("wageringSlider.title")+"")&&Tt(u,h),M[0]&16909){B=Er(T[2]);let $;for($=0;$<B.length;$+=1){const le=kr(T,B,$);L[$]?L[$].p(le,M):(L[$]=Xr(le),L[$].c(),L[$].m(p,null))}for(;$<L.length;$+=1)L[$].d(1);L.length=B.length}M[0]&64&&O!==(O="RightArrow "+(T[6]?"Disabled":""))&&E(y,"class",O)},d(T){T&&(ue(t),ue(o),ue(s),ue(g),ue(y)),Xn(L,T),P=!1,Be(I)}}}function Xr(e){let t,r,n,i,o,s=e[60].title+"",a,h,u,f,p,g,y,H,w,O,P,I,B;function L(){return e[28](e[60])}return{c(){t=W("div"),r=W("div"),n=W("div"),n.innerHTML=`<img alt="crown" class="MiniIcon" src="${Pn}"/>`,i=ye(),o=W("div"),a=at(s),h=ye(),u=W("div"),f=W("general-icon-progress-bar"),O=ye(),E(n,"class","trophy"),E(o,"class","gameInfo"),E(o,"role","button"),E(o,"tabindex","0"),E(r,"class","BonusName"),re(f,"currentstep",p=e[60].currentStep),re(f,"status",g=e[60].status),re(f,"triggerreset",y=e[60].triggerreset),re(f,"total",H=e[60].levelIncrement),re(f,"progressfractiondigit",e[0]),re(f,"showaspercent",w=e[60].type=="money"),re(f,"lang",""),E(u,"class","ProgressBar bottom"),E(t,"class",P="WageringBonusInfo "+(e[3]!=e[62]?e[9]:"shownDiv"))},m(T,M){he(T,t,M),G(t,r),G(r,n),G(r,i),G(r,o),G(o,a),G(t,h),G(t,u),G(u,f),G(t,O),I||(B=Ae(o,"click",L),I=!0)},p(T,M){e=T,M[0]&4&&s!==(s=e[60].title+"")&&Tt(a,s),M[0]&4&&p!==(p=e[60].currentStep)&&re(f,"currentstep",p),M[0]&4&&g!==(g=e[60].status)&&re(f,"status",g),M[0]&4&&y!==(y=e[60].triggerreset)&&re(f,"triggerreset",y),M[0]&4&&H!==(H=e[60].levelIncrement)&&re(f,"total",H),M[0]&1&&re(f,"progressfractiondigit",e[0]),M[0]&4&&w!==(w=e[60].type=="money")&&re(f,"showaspercent",w),M[0]&520&&P!==(P="WageringBonusInfo "+(e[3]!=e[62]?e[9]:"shownDiv"))&&E(t,"class",P)},d(T){T&&ue(t),I=!1,B()}}}function bs(e){let t,r,n,i,o,s,a,h,u,f,p,g,y;function H(P,I){if(P[2]&&P[2].length>0)return vs;if(P[2]&&P[2].length==0)return gs}let w=H(e),O=w&&w(e);return{c(){t=W("div"),r=W("div"),n=W("div"),n.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',i=ye(),O&&O.c(),s=ye(),a=W("section"),h=W("div"),h.innerHTML=`<img alt="crown" part="Icon" class="MiniIcon" src="${Pn}"/>`,u=ye(),f=W("div"),f.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',E(n,"class","hideButton"),E(n,"role","button"),E(n,"tabindex","0"),E(r,"class",o="SliderWrapper "+(e[8]?"HiddenWidget":"ShowWidget")),E(h,"class","svg"),E(h,"part","AnimatorIconWrapper"),E(f,"class","restoreButton"),E(f,"part","RestoreButton"),E(a,"id","animator"),E(a,"class",p="SliderIcon "+(e[8]?"ShowWidget":"HiddenWidget")),E(a,"role","button"),E(a,"tabindex","0"),E(t,"class","WageringBonusWrapper")},m(P,I){he(P,t,I),G(t,r),G(r,n),G(r,i),O&&O.m(r,null),e[30](r),G(t,s),G(t,a),G(a,h),G(a,u),G(a,f),e[31](a),e[33](t),g||(y=[Ae(n,"click",e[24]),Ae(a,"click",e[32])],g=!0)},p(P,I){w===(w=H(P))&&O?O.p(P,I):(O&&O.d(1),O=w&&w(P),O&&(O.c(),O.m(r,null))),I[0]&256&&o!==(o="SliderWrapper "+(P[8]?"HiddenWidget":"ShowWidget"))&&E(r,"class",o),I[0]&256&&p!==(p="SliderIcon "+(P[8]?"ShowWidget":"HiddenWidget"))&&E(a,"class",p)},i:oe,o:oe,d(P){P&&ue(t),O&&O.d(),e[30](null),e[31](null),e[33](null),g=!1,Be(y)}}}function ys(e,t,r){let n;Zr(e,On,c=>r(10,n=c));let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{numberofrecords:a="5"}=t,{looptime:h="5"}=t,{translationurl:u=""}=t,{progressfractiondigit:f="1"}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,y,H=window.navigator.userAgent,w=!0,O=!1,P,I,B=0,L,T,M,$=null,le=null,Ce=!1,fe="Hidden",ze={};ls({withLocale:"en",translations:{}});const we=()=>{fetch(u).then(d=>d.json()).then(d=>{Object.keys(d).forEach(x=>{jr(x,d[x])})}).catch(d=>{console.error(d)})};Object.keys(Wr).forEach(c=>{jr(c,Wr[c])});const ut=()=>{hs(s)},Ze=c=>{let d=0;for(let _ of c.levels||[]){let F=_.maxRepeats||1;d+=F}let x=c.wageringProgress;return{maxLevel:d,id:c.id,bonusWalletID:c.bonusWalletID,levelIncrement:x.currentLevelIncrement,gap:x.gap,currentStep:x.currentLevelIncrement-x.gap,title:c.name,description:c.description,type:c.wageringType,status:c.status,triggerreset:c.bonusWalletID}},lt=c=>{let d=[];for(let x of c.items)d.push(Ze(x));r(3,B=0),r(2,I=d)},Se=()=>{h!="0"&&(clearInterval(P),P=setInterval(()=>{if(I){r(9,fe="hiddenDiv");let c=B+1;if(c>=I.length){de();return}r(3,B=c),z(B)}},Number(h)*1e3))},z=c=>{if(r(9,fe="hiddenDiv"),c>0&&O||c<0&&w)return;Se(),T.style.setProperty("--transformFromValue",c>0?"100%":"-100%"),T.style.setProperty("--transformToValue",c>0?"-100%":"100%");let d=B+c;d=d<0?0:d,d=d==I.length?I.length-1:d,r(3,B=d)},ce=()=>{r(8,Ce=!1),r(3,B=0),Se()},de=()=>{r(8,Ce=!0),clearInterval(P),window.postMessage({type:"onWagingBonusSliderHide"},window.location.href)},qe=c=>{I.forEach(d=>{let x=c[d.bonusWalletID];if(!x)return;const{maxIdObj:D,maxId:_}=fs(x);ze[d.id]=_;let F=D;d.status=F.status,F.levelIncrement==0&&(F.levelIncrement=1,F.gap==0),d.gap=F.gap,d.levelIncrement=F.levelIncrement,d.currentStep=d.levelIncrement-d.gap,d.triggerreset+=1}),r(2,I)},se=c=>{if(!c.data)return;let d=c.data;try{let x=JSON.parse(d);if(!x||!x.items)return;x.messageType==="WageringProgressUpdate"&&qe(x.items)}catch(x){console.log(x)}},Qe=c=>{if(!c||c=="false"||c=="undefined")return!0},Ye=()=>{L&&(L.removeEventListener("message",se),L.close())},ht=()=>{if(Qe(o))return;Ye();let c=`${i}/v1/bonus/wagering/updates?walletFilter=${cs(I,ze)}&XSessionId=${o}`;L=new us.EventSourcePolyfill(c,{headers:{accept:"text/event-stream"}}),typeof L!="undefined"&&L.addEventListener("message",se),L.onerror=()=>ht()},Ct=c=>{if(!i||!o)return;let d=new URL(`${c}/v1/bonus/granted`),x=new Headers;d.searchParams.append("language",s),d.searchParams.append("platform",as(H)),d.searchParams.append("status","active"),d.searchParams.append("type","wagering"),d.searchParams.append("pagination",`limit=${a},offset=0`),o&&x.append("X-SessionID",o),fetch(d,{method:"GET",headers:x}).then(_=>_.json()).then(_=>{if(d.searchParams.toString(),r(2,I=[]),_.items&<(_),_.errorMessage&&console.error(_.errorMessage),!I||I.length==0){r(2,I=[...I]),Ye();return}ht()})},ft=c=>{window.postMessage({type:"onWageringBonusClick",bonusWalletID:c},window.location.href)},Je=c=>{parseInt(h)>0&&(c?clearInterval(P):Se())},Ke=c=>c.touches||c.originalEvent.touches,Oe=c=>{const d=Ke(c)[0];$=d.clientX,le=d.clientY},pe=c=>{if(!$||!le)return;let d=c.touches[0].clientX,x=c.touches[0].clientY,D=$-d,_=le-x;Math.abs(D)>Math.abs(_)&&(D>0?z(1):z(-1)),$=null,le=null},J=()=>{T.addEventListener("touchstart",Oe,{passive:!0}),T.addEventListener("touchmove",pe,{passive:!0})},ct=c=>{c.data&&c.data.type};qn(()=>(Se(),window.addEventListener("message",ct,!1),()=>{window.removeEventListener("message",ct,!1),T.removeEventListener("touchstart",Oe),T.removeEventListener("touchmove",pe)}));const Ot=()=>{de()},Pt=()=>z(-1),dt=()=>{Je(!0)},l=()=>{Je(!1)},v=c=>ft(c.bonusWalletID),b=()=>z(1);function m(c){Fe[c?"unshift":"push"](()=>{T=c,r(4,T)})}function A(c){Fe[c?"unshift":"push"](()=>{M=c,r(7,M)})}const S=()=>ce();function C(c){Fe[c?"unshift":"push"](()=>{y=c,r(1,y)})}return e.$$set=c=>{"endpoint"in c&&r(16,i=c.endpoint),"session"in c&&r(17,o=c.session),"lang"in c&&r(18,s=c.lang),"numberofrecords"in c&&r(19,a=c.numberofrecords),"looptime"in c&&r(20,h=c.looptime),"translationurl"in c&&r(21,u=c.translationurl),"progressfractiondigit"in c&&r(0,f=c.progressfractiondigit),"clientstyling"in c&&r(22,p=c.clientstyling),"clientstylingurl"in c&&r(23,g=c.clientstylingurl)},e.$$.update=()=>{e.$$.dirty[0]&4194306&&y&&p&&ds(y,p),e.$$.dirty[0]&8388610&&y&&g&&ps(y,g),e.$$.dirty[0]&458752&&s&&i&&o&&Ct(i),e.$$.dirty[0]&262144&&s&&ut(),e.$$.dirty[0]&16&&T&&J(),e.$$.dirty[0]&2097152&&u&&we(),e.$$.dirty[0]&8&&r(5,w=B==0),e.$$.dirty[0]&12&&r(6,O=I?B==I.length-1:!0)},[f,y,I,B,T,w,O,M,Ce,fe,n,z,ce,de,ft,Je,i,o,s,a,h,u,p,g,Ot,Pt,dt,l,v,b,m,A,S,C]}class Nn extends Kr{constructor(t){super(),Qr(this,t,ys,bs,ur,{endpoint:16,session:17,lang:18,numberofrecords:19,looptime:20,translationurl:21,progressfractiondigit:0,clientstyling:22,clientstylingurl:23},ms,[-1,-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),ie()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),ie()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),ie()}get numberofrecords(){return this.$$.ctx[19]}set numberofrecords(t){this.$$set({numberofrecords:t}),ie()}get looptime(){return this.$$.ctx[20]}set looptime(t){this.$$set({looptime:t}),ie()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),ie()}get progressfractiondigit(){return this.$$.ctx[0]}set progressfractiondigit(t){this.$$set({progressfractiondigit:t}),ie()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(t){this.$$set({clientstyling:t}),ie()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ie()}}Jr(Nn,{endpoint:{},session:{},lang:{},numberofrecords:{},looptime:{},translationurl:{},progressfractiondigit:{},clientstyling:{},clientstylingurl:{}},[],[],!0);const _s=Object.freeze(Object.defineProperty({__proto__:null,default:Nn},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=Ie;exports.$format=On;exports.$locale=Ee;exports.CasinoWageringBonusSliderController_ce=_s;exports.SvelteComponent=Kr;exports.addMessages=cr;exports.append=G;exports.append_styles=qr;exports.attr=E;exports.binding_callbacks=Fe;exports.component_subscribe=Zr;exports.create_custom_element=Jr;exports.detach=ue;exports.element=W;exports.flush=ie;exports.init=Qr;exports.insert=he;exports.noop=oe;exports.safe_not_equal=ur;exports.set_data=Tt;exports.text=at;
|
|
11
|
+
`,Pe+=be):ve==="id"?pt=be:ve==="event"?ge=be:ve==="retry"?(S=Ke(be,S),d=S):ve==="heartbeatTimeout"&&(C=Ke(be,C),Z!==0&&(i(Z),Z=n(function(){tt()},C)))}if(q===se){if(Pe!==""){c=pt,ge===""&&(ge="message");var Ne=new ut(ge,{data:Pe.slice(1),lastEventId:pt});if(l.dispatchEvent(Ne),ge==="open"?pe(l,l.onopen,Ne):ge==="message"?pe(l,l.onmessage,Ne):ge==="error"&&pe(l,l.onerror,Ne),ae===de)return}Pe="",ge=""}q=te===13?qe:se}else q===se&&(Nt=V,q=Qe),q===Qe?te===58&&(He=V+1,q=Ye):q===Ye&&(q=ht)}}},pr=function(X){if(ae===ce||ae===z){ae=Se,Z!==0&&(i(Z),Z=0),Z=n(function(){tt()},d),d=Oe(Math.min(S*16,d*2)),l.readyState=z;var k=new lt("error",{error:X});l.dispatchEvent(k),pe(l,l.onerror,k),X!=null&&console.error(X)}},Mt=function(){ae=de,K!=null&&(K.abort(),K=void 0),Z!==0&&(i(Z),Z=0),l.readyState=de},tt=function(){if(Z=0,ae!==Se){if(!x&&K!=null)pr(new Error("No activity within "+C+" milliseconds. "+(ae===z?"No response received.":D+" chars received.")+" Reconnecting.")),K!=null&&(K.abort(),K=void 0);else{var X=Math.max((x||Date.now())+C-Date.now(),1);x=!1,Z=n(function(){tt()},X)}return}x=!1,D=0,Z=n(function(){tt()},C),ae=z,Pe="",ge="",pt=c,mt="",Nt=0,He=0,q=se;var k=v;if(v.slice(0,5)!=="data:"&&v.slice(0,5)!=="blob:"&&c!==""){var ee=v.indexOf("?");k=ee===-1?v:v.slice(0,ee+1)+v.slice(ee+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(be,Ne){return Ne===A?"":be}),k+=(v.indexOf("?")===-1?"?":"&")+A+"="+encodeURIComponent(c)}var te=l.withCredentials,Q={};Q.Accept="text/event-stream";var V=l.headers;if(V!=null)for(var ve in V)Object.prototype.hasOwnProperty.call(V,ve)&&(Q[ve]=V[ve]);try{K=et.open(me,Mn,Rn,pr,k,te,Q)}catch(be){throw Mt(),be}};l.url=v,l.readyState=z,l.withCredentials=m,l.headers=_,l._close=Mt,tt()}J.prototype=Object.create(fe.prototype),J.prototype.CONNECTING=z,J.prototype.OPEN=ce,J.prototype.CLOSED=de,J.prototype.close=function(){this._close()},J.CONNECTING=z,J.OPEN=ce,J.CLOSED=de,J.prototype.withCredentials=void 0;var dt=h;o!=null&&(h==null||!("withCredentials"in h.prototype))&&(dt=J),function(l){{var v=l(t);v!==void 0&&(e.exports=v)}}(function(l){l.EventSourcePolyfill=J,l.NativeEventSource=h,l.EventSource=dt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Ei:globalThis)})(sr,sr.exports);var us=sr.exports;function ls({withLocale:e,translations:t}){Ee.subscribe(r=>{r==null&&(Ie.set(t),Ee.set(e))})}function jr(e,t){cr(e,t)}function hs(e){Ee.set(e)}const Wr={en:{wageringSlider:{title:"- Wagering Bonus -",noWageringMsg:"You don't have any wagering bonus."}},tr:{wageringSlider:{title:"- Bahis Bonusu -",noWageringMsg:"Herhangi bir bahis bonusunuz bulunmamaktadır."}},es:{wageringSlider:{title:"Bono de Apuesta",noWageringMsg:"You don't have any wagering bonus."}},el:{wageringSlider:{title:"- Wagering Bonus -",noWageringMsg:"You don't have any wagering bonus."}},ro:{wageringSlider:{title:"- Wagering Bonus -",noWageringMsg:"You don't have any wagering bonus."}}},fs=e=>{const t=window.BigInt;if(!e||e==null||e.length===0)return;let r=t(e[0].id);return{maxIdObj:e.reduce((i,o)=>{const s=t(o.id);return s>r?(r=s,o):i},e[0]),maxId:r.toString()}},cs=(e,t)=>JSON.stringify(e.map(r=>({bonusWalletID:r.id,progressID:t[r.id]||0}))),ds=(e,t)=>{let r=document.createElement("style");r.innerHTML=t,e.appendChild(r)},ps=(e,t)=>{let r=new URL(t),n=document.createElement("style");fetch(r.href).then(i=>i.text()).then(i=>{n.innerHTML=i,setTimeout(()=>{e.appendChild(n)},1)})};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralIconProgressBar-DtuqpyQh.cjs")).then(({default:t})=>{!customElements.get("general-icon-progress-bar")&&customElements.define("general-icon-progress-bar",t.element)})}const Pn="data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.67757%202.5647L3.72412%20-1.25356e-07L5.77067%202.5647L3.72412%205.12939L1.67757%202.5647Z'%20fill='%23FF8B03'/%3e%3crect%20x='0.468506'%20y='6.1134'%20width='6.55827'%20height='0.936896'%20fill='%23FF8B03'/%3e%3cpath%20d='M7.49512%201.42889L0.4684%205.64492H7.02667L7.49512%201.42889Z'%20fill='%23FFB82E'/%3e%3cpath%20d='M0%201.42889L7.02672%205.64492H0.468448L0%201.42889Z'%20fill='%23FFD700'/%3e%3c/svg%3e";function ms(e){qr(e,"svelte-l28bzx","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:100%;display:table-cell;vertical-align:middle;cursor:pointer;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364))}.LeftArrow.Disabled,.RightArrow.Disabled{background:var(--emw--color-gray-300, #A9A8A8)}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:100%;overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:var(--emw--bonus-card-yellow, var(--emw--color-yellow, #FFD700));margin:5px auto 3px}.SliderCenter .Hidden{opacity:0;transition:opacity;animation:0.2s}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .BonusName{display:table;height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .BonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}.hideButton{transform:rotate(180deg);position:absolute;top:0px;right:2px;display:table;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364));cursor:pointer}.NoWageringMsg{text-align:center;display:flex;align-items:center;height:100%;font-size:0.8rem;padding:10px}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}")}function kr(e,t,r){const n=e.slice();return n[60]=t[r],n[62]=r,n}function gs(e){let t,r=e[10]("wageringSlider.noWageringMsg")+"",n;return{c(){t=W("div"),n=at(r),E(t,"class","NoWageringMsg")},m(i,o){he(i,t,o),G(t,n)},p(i,o){o[0]&1024&&r!==(r=i[10]("wageringSlider.noWageringMsg")+"")&&Tt(n,r)},d(i){i&&ue(t)}}}function vs(e){let t,r,n,i,o,s,a,h=e[10]("wageringSlider.title")+"",u,f,p,g,y,H,w,O,P,I,B=Er(e[2]),L=[];for(let T=0;T<B.length;T+=1)L[T]=Xr(kr(e,B,T));return{c(){t=W("div"),r=gt("svg"),n=gt("path"),o=ye(),s=W("div"),a=W("div"),u=at(h),f=ye(),p=W("div");for(let T=0;T<L.length;T+=1)L[T].c();g=ye(),y=W("div"),H=gt("svg"),w=gt("path"),E(n,"d","M3 7L1 4L3 1"),E(n,"stroke","currentColor"),E(n,"stroke-linecap","round"),E(n,"stroke-linejoin","round"),E(r,"width","6"),E(r,"height","14"),E(r,"viewBox","0 0 4 8"),E(r,"fill","none"),E(r,"xmlns","http://www.w3.org/2000/svg"),E(t,"class",i="LeftArrow "+(e[5]?"Disabled":"")),E(t,"role","button"),E(t,"tabindex","0"),E(a,"class","Title Top"),E(p,"class","WagerList"),E(s,"class","SliderCenter"),E(w,"d","M1 1L3 4L1 7"),E(w,"stroke","currentColor"),E(w,"stroke-linecap","round"),E(w,"stroke-linejoin","round"),E(H,"width","6"),E(H,"height","14"),E(H,"viewBox","0 0 4 8"),E(H,"fill","none"),E(H,"xmlns","http://www.w3.org/2000/svg"),E(y,"class",O="RightArrow "+(e[6]?"Disabled":"")),E(y,"role","button"),E(y,"tabindex","0")},m(T,M){he(T,t,M),G(t,r),G(r,n),he(T,o,M),he(T,s,M),G(s,a),G(a,u),G(s,f),G(s,p);for(let $=0;$<L.length;$+=1)L[$]&&L[$].m(p,null);he(T,g,M),he(T,y,M),G(y,H),G(H,w),P||(I=[Ae(t,"click",e[25]),Ae(t,"mouseenter",e[26]),Ae(t,"mouseleave",e[27]),Ae(y,"click",e[29])],P=!0)},p(T,M){if(M[0]&32&&i!==(i="LeftArrow "+(T[5]?"Disabled":""))&&E(t,"class",i),M[0]&1024&&h!==(h=T[10]("wageringSlider.title")+"")&&Tt(u,h),M[0]&16909){B=Er(T[2]);let $;for($=0;$<B.length;$+=1){const le=kr(T,B,$);L[$]?L[$].p(le,M):(L[$]=Xr(le),L[$].c(),L[$].m(p,null))}for(;$<L.length;$+=1)L[$].d(1);L.length=B.length}M[0]&64&&O!==(O="RightArrow "+(T[6]?"Disabled":""))&&E(y,"class",O)},d(T){T&&(ue(t),ue(o),ue(s),ue(g),ue(y)),Xn(L,T),P=!1,Be(I)}}}function Xr(e){let t,r,n,i,o,s=e[60].title+"",a,h,u,f,p,g,y,H,w,O,P,I,B;function L(){return e[28](e[60])}return{c(){t=W("div"),r=W("div"),n=W("div"),n.innerHTML=`<img alt="crown" class="MiniIcon" src="${Pn}"/>`,i=ye(),o=W("div"),a=at(s),h=ye(),u=W("div"),f=W("general-icon-progress-bar"),O=ye(),E(n,"class","trophy"),E(o,"class","gameInfo"),E(o,"role","button"),E(o,"tabindex","0"),E(r,"class","BonusName"),re(f,"currentstep",p=e[60].currentStep),re(f,"status",g=e[60].status),re(f,"triggerreset",y=e[60].triggerreset),re(f,"total",H=e[60].levelIncrement),re(f,"progressfractiondigit",e[0]),re(f,"showaspercent",w=e[60].type=="money"),re(f,"lang",""),E(u,"class","ProgressBar bottom"),E(t,"class",P="WageringBonusInfo "+(e[3]!=e[62]?e[9]:"shownDiv"))},m(T,M){he(T,t,M),G(t,r),G(r,n),G(r,i),G(r,o),G(o,a),G(t,h),G(t,u),G(u,f),G(t,O),I||(B=Ae(o,"click",L),I=!0)},p(T,M){e=T,M[0]&4&&s!==(s=e[60].title+"")&&Tt(a,s),M[0]&4&&p!==(p=e[60].currentStep)&&re(f,"currentstep",p),M[0]&4&&g!==(g=e[60].status)&&re(f,"status",g),M[0]&4&&y!==(y=e[60].triggerreset)&&re(f,"triggerreset",y),M[0]&4&&H!==(H=e[60].levelIncrement)&&re(f,"total",H),M[0]&1&&re(f,"progressfractiondigit",e[0]),M[0]&4&&w!==(w=e[60].type=="money")&&re(f,"showaspercent",w),M[0]&520&&P!==(P="WageringBonusInfo "+(e[3]!=e[62]?e[9]:"shownDiv"))&&E(t,"class",P)},d(T){T&&ue(t),I=!1,B()}}}function bs(e){let t,r,n,i,o,s,a,h,u,f,p,g,y;function H(P,I){if(P[2]&&P[2].length>0)return vs;if(P[2]&&P[2].length==0)return gs}let w=H(e),O=w&&w(e);return{c(){t=W("div"),r=W("div"),n=W("div"),n.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',i=ye(),O&&O.c(),s=ye(),a=W("section"),h=W("div"),h.innerHTML=`<img alt="crown" part="Icon" class="MiniIcon" src="${Pn}"/>`,u=ye(),f=W("div"),f.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',E(n,"class","hideButton"),E(n,"role","button"),E(n,"tabindex","0"),E(r,"class",o="SliderWrapper "+(e[8]?"HiddenWidget":"ShowWidget")),E(h,"class","svg"),E(h,"part","AnimatorIconWrapper"),E(f,"class","restoreButton"),E(f,"part","RestoreButton"),E(a,"id","animator"),E(a,"class",p="SliderIcon "+(e[8]?"ShowWidget":"HiddenWidget")),E(a,"role","button"),E(a,"tabindex","0"),E(t,"class","WageringBonusWrapper")},m(P,I){he(P,t,I),G(t,r),G(r,n),G(r,i),O&&O.m(r,null),e[30](r),G(t,s),G(t,a),G(a,h),G(a,u),G(a,f),e[31](a),e[33](t),g||(y=[Ae(n,"click",e[24]),Ae(a,"click",e[32])],g=!0)},p(P,I){w===(w=H(P))&&O?O.p(P,I):(O&&O.d(1),O=w&&w(P),O&&(O.c(),O.m(r,null))),I[0]&256&&o!==(o="SliderWrapper "+(P[8]?"HiddenWidget":"ShowWidget"))&&E(r,"class",o),I[0]&256&&p!==(p="SliderIcon "+(P[8]?"ShowWidget":"HiddenWidget"))&&E(a,"class",p)},i:oe,o:oe,d(P){P&&ue(t),O&&O.d(),e[30](null),e[31](null),e[33](null),g=!1,Be(y)}}}function ys(e,t,r){let n;Zr(e,On,c=>r(10,n=c));let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{numberofrecords:a="5"}=t,{looptime:h="5"}=t,{translationurl:u=""}=t,{progressfractiondigit:f="1"}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,y,H=window.navigator.userAgent,w=!0,O=!1,P,I,B=0,L,T,M,$=null,le=null,Ce=!1,fe="Hidden",ze={};ls({withLocale:"en",translations:{}});const we=()=>{fetch(u).then(d=>d.json()).then(d=>{Object.keys(d).forEach(x=>{jr(x,d[x])})}).catch(d=>{console.error(d)})};Object.keys(Wr).forEach(c=>{jr(c,Wr[c])});const ut=()=>{hs(s)},Ze=c=>{let d=0;for(let _ of c.levels||[]){let F=_.maxRepeats||1;d+=F}let x=c.wageringProgress;return{maxLevel:d,id:c.id,bonusWalletID:c.bonusWalletID,levelIncrement:x.currentLevelIncrement,gap:x.gap,currentStep:x.currentLevelIncrement-x.gap,title:c.name,description:c.description,type:c.wageringType,status:c.status,triggerreset:c.bonusWalletID}},lt=c=>{let d=[];for(let x of c.items)d.push(Ze(x));r(3,B=0),r(2,I=d)},Se=()=>{h!="0"&&(clearInterval(P),P=setInterval(()=>{if(I){r(9,fe="hiddenDiv");let c=B+1;if(c>=I.length){de();return}r(3,B=c),z(B)}},Number(h)*1e3))},z=c=>{if(r(9,fe="hiddenDiv"),c>0&&O||c<0&&w)return;Se(),T.style.setProperty("--transformFromValue",c>0?"100%":"-100%"),T.style.setProperty("--transformToValue",c>0?"-100%":"100%");let d=B+c;d=d<0?0:d,d=d==I.length?I.length-1:d,r(3,B=d)},ce=()=>{r(8,Ce=!1),r(3,B=0),Se()},de=()=>{r(8,Ce=!0),clearInterval(P),window.postMessage({type:"onWagingBonusSliderHide"},window.location.href)},qe=c=>{I.forEach(d=>{let x=c[d.bonusWalletID];if(!x)return;const{maxIdObj:D,maxId:_}=fs(x);ze[d.id]=_;let F=D;d.status=F.status,F.levelIncrement==0&&(F.levelIncrement=1,F.gap==0),d.gap=F.gap,d.levelIncrement=F.levelIncrement,d.currentStep=d.levelIncrement-d.gap,d.triggerreset+=1}),r(2,I)},se=c=>{if(!c.data)return;let d=c.data;try{let x=JSON.parse(d);if(!x||!x.items)return;x.messageType==="WageringProgressUpdate"&&qe(x.items)}catch(x){console.log(x)}},Qe=c=>{if(!c||c=="false"||c=="undefined")return!0},Ye=()=>{L&&(L.removeEventListener("message",se),L.close())},ht=()=>{if(Qe(o))return;Ye();let c=`${i}/v1/bonus/wagering/updates?walletFilter=${cs(I,ze)}&XSessionId=${o}`;L=new us.EventSourcePolyfill(c,{headers:{accept:"text/event-stream"}}),typeof L!="undefined"&&L.addEventListener("message",se),L.onerror=()=>ht()},Ct=c=>{if(!i||!o)return;let d=new URL(`${c}/v1/bonus/granted`),x=new Headers;d.searchParams.append("language",s),d.searchParams.append("platform",as(H)),d.searchParams.append("status","active"),d.searchParams.append("type","wagering"),d.searchParams.append("pagination",`limit=${a},offset=0`),o&&x.append("X-SessionID",o),fetch(d,{method:"GET",headers:x}).then(_=>_.json()).then(_=>{if(d.searchParams.toString(),r(2,I=[]),_.items&<(_),_.errorMessage&&console.error(_.errorMessage),!I||I.length==0){r(2,I=[...I]),Ye();return}ht()})},ft=c=>{window.postMessage({type:"onWageringBonusClick",bonusWalletID:c},window.location.href)},Je=c=>{parseInt(h)>0&&(c?clearInterval(P):Se())},Ke=c=>c.touches||c.originalEvent.touches,Oe=c=>{const d=Ke(c)[0];$=d.clientX,le=d.clientY},pe=c=>{if(!$||!le)return;let d=c.touches[0].clientX,x=c.touches[0].clientY,D=$-d,_=le-x;Math.abs(D)>Math.abs(_)&&(D>0?z(1):z(-1)),$=null,le=null},J=()=>{T.addEventListener("touchstart",Oe,{passive:!0}),T.addEventListener("touchmove",pe,{passive:!0})},ct=c=>{c.data&&c.data.type};qn(()=>(Se(),window.addEventListener("message",ct,!1),()=>{window.removeEventListener("message",ct,!1),T.removeEventListener("touchstart",Oe),T.removeEventListener("touchmove",pe)}));const Ot=()=>{de()},Pt=()=>z(-1),dt=()=>{Je(!0)},l=()=>{Je(!1)},v=c=>ft(c.bonusWalletID),b=()=>z(1);function m(c){Fe[c?"unshift":"push"](()=>{T=c,r(4,T)})}function A(c){Fe[c?"unshift":"push"](()=>{M=c,r(7,M)})}const S=()=>ce();function C(c){Fe[c?"unshift":"push"](()=>{y=c,r(1,y)})}return e.$$set=c=>{"endpoint"in c&&r(16,i=c.endpoint),"session"in c&&r(17,o=c.session),"lang"in c&&r(18,s=c.lang),"numberofrecords"in c&&r(19,a=c.numberofrecords),"looptime"in c&&r(20,h=c.looptime),"translationurl"in c&&r(21,u=c.translationurl),"progressfractiondigit"in c&&r(0,f=c.progressfractiondigit),"clientstyling"in c&&r(22,p=c.clientstyling),"clientstylingurl"in c&&r(23,g=c.clientstylingurl)},e.$$.update=()=>{e.$$.dirty[0]&4194306&&y&&p&&ds(y,p),e.$$.dirty[0]&8388610&&y&&g&&ps(y,g),e.$$.dirty[0]&458752&&s&&i&&o&&Ct(i),e.$$.dirty[0]&262144&&s&&ut(),e.$$.dirty[0]&16&&T&&J(),e.$$.dirty[0]&2097152&&u&&we(),e.$$.dirty[0]&8&&r(5,w=B==0),e.$$.dirty[0]&12&&r(6,O=I?B==I.length-1:!0)},[f,y,I,B,T,w,O,M,Ce,fe,n,z,ce,de,ft,Je,i,o,s,a,h,u,p,g,Ot,Pt,dt,l,v,b,m,A,S,C]}class Nn extends Kr{constructor(t){super(),Qr(this,t,ys,bs,ur,{endpoint:16,session:17,lang:18,numberofrecords:19,looptime:20,translationurl:21,progressfractiondigit:0,clientstyling:22,clientstylingurl:23},ms,[-1,-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),ie()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),ie()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),ie()}get numberofrecords(){return this.$$.ctx[19]}set numberofrecords(t){this.$$set({numberofrecords:t}),ie()}get looptime(){return this.$$.ctx[20]}set looptime(t){this.$$set({looptime:t}),ie()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),ie()}get progressfractiondigit(){return this.$$.ctx[0]}set progressfractiondigit(t){this.$$set({progressfractiondigit:t}),ie()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(t){this.$$set({clientstyling:t}),ie()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ie()}}Jr(Nn,{endpoint:{},session:{},lang:{},numberofrecords:{},looptime:{},translationurl:{},progressfractiondigit:{},clientstyling:{},clientstylingurl:{}},[],[],!0);const _s=Object.freeze(Object.defineProperty({__proto__:null,default:Nn},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=Ie;exports.$format=On;exports.$locale=Ee;exports.CasinoWageringBonusSliderController_ce=_s;exports.SvelteComponent=Kr;exports.addMessages=cr;exports.append=G;exports.append_styles=qr;exports.attr=E;exports.binding_callbacks=Fe;exports.component_subscribe=Zr;exports.create_custom_element=Jr;exports.detach=ue;exports.element=W;exports.flush=ie;exports.init=Qr;exports.insert=he;exports.noop=oe;exports.safe_not_equal=ur;exports.set_data=Tt;exports.text=at;
|
|
@@ -4739,13 +4739,13 @@ if (typeof window != "undefined") {
|
|
|
4739
4739
|
}
|
|
4740
4740
|
};
|
|
4741
4741
|
};
|
|
4742
|
-
customElements.define = e(customElements.define), import("./GeneralIconProgressBar-
|
|
4742
|
+
customElements.define = e(customElements.define), import("./GeneralIconProgressBar-COcu-YsC.js").then(({ default: t }) => {
|
|
4743
4743
|
!customElements.get("general-icon-progress-bar") && customElements.define("general-icon-progress-bar", t.element);
|
|
4744
4744
|
});
|
|
4745
4745
|
}
|
|
4746
4746
|
const An = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.67757%202.5647L3.72412%20-1.25356e-07L5.77067%202.5647L3.72412%205.12939L1.67757%202.5647Z'%20fill='%23FF8B03'/%3e%3crect%20x='0.468506'%20y='6.1134'%20width='6.55827'%20height='0.936896'%20fill='%23FF8B03'/%3e%3cpath%20d='M7.49512%201.42889L0.4684%205.64492H7.02667L7.49512%201.42889Z'%20fill='%23FFB82E'/%3e%3cpath%20d='M0%201.42889L7.02672%205.64492H0.468448L0%201.42889Z'%20fill='%23FFD700'/%3e%3c/svg%3e";
|
|
4747
4747
|
function ms(e) {
|
|
4748
|
-
Fn(e, "svelte-
|
|
4748
|
+
Fn(e, "svelte-l28bzx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:100%;display:table-cell;vertical-align:middle;cursor:pointer;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364))}.LeftArrow.Disabled,.RightArrow.Disabled{background:var(--emw--color-gray-300, #A9A8A8)}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:100%;overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:var(--emw--bonus-card-yellow, var(--emw--color-yellow, #FFD700));margin:5px auto 3px}.SliderCenter .Hidden{opacity:0;transition:opacity;animation:0.2s}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .BonusName{display:table;height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .BonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}.hideButton{transform:rotate(180deg);position:absolute;top:0px;right:2px;display:table;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364));cursor:pointer}.NoWageringMsg{text-align:center;display:flex;align-items:center;height:100%;font-size:0.8rem;padding:10px}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}");
|
|
4749
4749
|
}
|
|
4750
4750
|
function jr(e, t, r) {
|
|
4751
4751
|
const n = e.slice();
|
package/components/{GeneralIconProgressBar-CjsZcwkB.js → GeneralIconProgressBar-COcu-YsC.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as k, a as M, b as V, S as q, i as G, f as g, c as U, s as D, d as J, e as H, t as K, g as h, h as Q, j as T, k as W, n as O, l as X, m as Y, o as v, p as Z } from "./CasinoWageringBonusSliderController-FEu-7PX5.js";
|
|
2
2
|
function $({ withLocale: r, translations: t }) {
|
|
3
|
-
|
|
4
|
-
s == null && (M.set(t),
|
|
3
|
+
k.subscribe((s) => {
|
|
4
|
+
s == null && (M.set(t), k.set(r));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function P(r, t) {
|
|
8
8
|
V(r, t);
|
|
9
9
|
}
|
|
10
10
|
function tt(r) {
|
|
11
|
-
|
|
11
|
+
k.set(r);
|
|
12
12
|
}
|
|
13
13
|
const z = {
|
|
14
14
|
en: {
|
|
@@ -34,7 +34,7 @@ const z = {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
function et(r) {
|
|
37
|
-
J(r, "svelte-
|
|
37
|
+
J(r, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
|
|
38
38
|
}
|
|
39
39
|
function rt(r) {
|
|
40
40
|
let t, s, o, l, n;
|
|
@@ -97,17 +97,17 @@ function st(r, t, s) {
|
|
|
97
97
|
s(4, E = d == "active" ? "" : "inactive");
|
|
98
98
|
};
|
|
99
99
|
function C(e) {
|
|
100
|
-
|
|
100
|
+
v[e ? "unshift" : "push"](() => {
|
|
101
101
|
b = e, s(1, b);
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
function I(e) {
|
|
105
|
-
|
|
105
|
+
v[e ? "unshift" : "push"](() => {
|
|
106
106
|
c = e, s(2, c);
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
function N(e) {
|
|
110
|
-
|
|
110
|
+
v[e ? "unshift" : "push"](() => {
|
|
111
111
|
p = e, s(0, p);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWageringBonusSliderController-D6HVeX09.cjs");function L({withLocale:s,translations:e}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function H(s,e){t.addMessages(s,e)}function R(s){t.$locale.set(s)}const k={en:{bets:"bets"},tr:{bets:"bahisler"},es:{bets:"apuestas"},el:{bets:"bets"},hr:{bets:"ulozi"},"pt-br":{bets:"apostas"},"es-mx":{bets:"apuestas"}};function j(s){t.append_styles(s,"svelte-6dosur",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}')}function I(s){let e,n,l,g,i;return{c(){e=t.element("div"),n=t.element("div"),l=t.element("span"),g=t.text(s[3]),t.attr(l,"part","progressText"),t.attr(n,"class",i="stepBar "+s[4]),t.attr(n,"part","stepBar"),t.attr(e,"class","general-icon-progress-bar"),t.attr(e,"part","totalBar")},m(a,o){t.insert(a,e,o),t.append(e,n),t.append(n,l),t.append(l,g),s[13](l),s[14](n),s[15](e)},p(a,[o]){o&8&&t.set_data(g,a[3]),o&16&&i!==(i="stepBar "+a[4])&&t.attr(n,"class",i)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s[13](null),s[14](null),s[15](null)}}}function M(s,e,n){let l;t.component_subscribe(s,t.$format,r=>n(20,l=r));let{currentstep:g=0}=e,{total:i=1}=e,{showaspercent:a}=e,{lang:o="en"}=e,{status:d}=e,{translationurl:p=""}=e,{progressfractiondigit:m=1}=e,{triggerreset:y}=e,h,f,c,b,_,x,w,B="0px",T="active";L({withLocale:"en",translations:{}});const F=()=>{fetch(p).then(u=>u.json()).then(u=>{Object.keys(u).forEach(v=>{H(v,u[v])})}).catch(u=>{console.log(u)})};Object.keys(k).forEach(r=>{H(r,k[r])});const E=()=>{R(o)},O=()=>{let r=(g/i*100).toFixed(m);setTimeout(()=>{a||a==="true"?n(3,b=`${r}%`):n(3,b=`${g}/${i} ${l("bets")}`)},b?573:0),r==0||r==100?(x="0px",w="0px",B=r==100?"3px":"0px"):(x=`${h.offsetHeight}px`,_=x,w=`${h.offsetHeight/3}px`,B="0px"),f.style.setProperty("--parentElementHeight",_),c.style.setProperty("--currentStep",r+"%"),c.style.setProperty("--triangleHeight",x),c.style.setProperty("--halfOfTriangleHeight",w),c.style.setProperty("--stepBarBorderRadius",B)},P=()=>{n(4,T=d=="active"?"":"inactive")};function C(r){t.binding_callbacks[r?"unshift":"push"](()=>{f=r,n(1,f)})}function z(r){t.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(2,c)})}function A(r){t.binding_callbacks[r?"unshift":"push"](()=>{h=r,n(0,h)})}return s.$$set=r=>{"currentstep"in r&&n(5,g=r.currentstep),"total"in r&&n(6,i=r.total),"showaspercent"in r&&n(7,a=r.showaspercent),"lang"in r&&n(8,o=r.lang),"status"in r&&n(9,d=r.status),"translationurl"in r&&n(10,p=r.translationurl),"progressfractiondigit"in r&&n(11,m=r.progressfractiondigit),"triggerreset"in r&&n(12,y=r.triggerreset)},s.$$.update=()=>{s.$$.dirty&4160&&y&&i&&setTimeout(()=>{O()}),s.$$.dirty&256&&o&&E(),s.$$.dirty&512&&d&&P(),s.$$.dirty&1024&&p&&F()},[h,f,c,b,T,g,i,a,o,d,p,m,y,C,z,A]}class S extends t.SvelteComponent{constructor(e){super(),t.init(this,e,M,I,t.safe_not_equal,{currentstep:5,total:6,showaspercent:7,lang:8,status:9,translationurl:10,progressfractiondigit:11,triggerreset:12},j)}get currentstep(){return this.$$.ctx[5]}set currentstep(e){this.$$set({currentstep:e}),t.flush()}get total(){return this.$$.ctx[6]}set total(e){this.$$set({total:e}),t.flush()}get showaspercent(){return this.$$.ctx[7]}set showaspercent(e){this.$$set({showaspercent:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get status(){return this.$$.ctx[9]}set status(e){this.$$set({status:e}),t.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get progressfractiondigit(){return this.$$.ctx[11]}set progressfractiondigit(e){this.$$set({progressfractiondigit:e}),t.flush()}get triggerreset(){return this.$$.ctx[12]}set triggerreset(e){this.$$set({triggerreset:e}),t.flush()}}t.create_custom_element(S,{currentstep:{},total:{},showaspercent:{},lang:{},status:{},translationurl:{},progressfractiondigit:{},triggerreset:{}},[],[],!0);exports.default=S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let t=function(e){return function(...s){try{return e.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWageringBonusSliderController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let t=function(e){return function(...s){try{return e.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWageringBonusSliderController-D6HVeX09.cjs")).then(e=>e.CasinoWageringBonusSliderController_ce).then(({default:e})=>{!customElements.get("casino-wagering-bonus-slider-controller")&&customElements.define("casino-wagering-bonus-slider-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoWageringBonusSliderController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoWageringBonusSliderController-FEu-7PX5.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-wagering-bonus-slider-controller") && customElements.define(
|
|
15
15
|
"casino-wagering-bonus-slider-controller",
|
|
16
16
|
e.element
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWageringBonusSliderController-CQwXWM-T.cjs");function L({withLocale:s,translations:e}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function v(s,e){t.addMessages(s,e)}function R(s){t.$locale.set(s)}const H={en:{bets:"bets"},tr:{bets:"bahisler"},es:{bets:"apuestas"},el:{bets:"bets"},hr:{bets:"ulozi"},"pt-br":{bets:"apostas"},"es-mx":{bets:"apuestas"}};function j(s){t.append_styles(s,"svelte-eck5kp",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}')}function I(s){let e,n,l,g,i;return{c(){e=t.element("div"),n=t.element("div"),l=t.element("span"),g=t.text(s[3]),t.attr(l,"part","progressText"),t.attr(n,"class",i="stepBar "+s[4]),t.attr(n,"part","stepBar"),t.attr(e,"class","general-icon-progress-bar"),t.attr(e,"part","totalBar")},m(a,o){t.insert(a,e,o),t.append(e,n),t.append(n,l),t.append(l,g),s[13](l),s[14](n),s[15](e)},p(a,[o]){o&8&&t.set_data(g,a[3]),o&16&&i!==(i="stepBar "+a[4])&&t.attr(n,"class",i)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s[13](null),s[14](null),s[15](null)}}}function M(s,e,n){let l;t.component_subscribe(s,t.$format,r=>n(20,l=r));let{currentstep:g=0}=e,{total:i=1}=e,{showaspercent:a}=e,{lang:o="en"}=e,{status:p}=e,{translationurl:d=""}=e,{progressfractiondigit:m=1}=e,{triggerreset:y}=e,h,f,c,b,_,x,w,B="0px",T="active";L({withLocale:"en",translations:{}});const F=()=>{fetch(d).then(u=>u.json()).then(u=>{Object.keys(u).forEach(k=>{v(k,u[k])})}).catch(u=>{console.log(u)})};Object.keys(H).forEach(r=>{v(r,H[r])});const E=()=>{R(o)},O=()=>{let r=(g/i*100).toFixed(m);setTimeout(()=>{a||a==="true"?n(3,b=`${r}%`):n(3,b=`${g}/${i} ${l("bets")}`)},b?573:0),r==0||r==100?(x="0px",w="0px",B=r==100?"3px":"0px"):(x=`${h.offsetHeight}px`,_=x,w=`${h.offsetHeight/3}px`,B="0px"),f.style.setProperty("--parentElementHeight",_),c.style.setProperty("--currentStep",r+"%"),c.style.setProperty("--triangleHeight",x),c.style.setProperty("--halfOfTriangleHeight",w),c.style.setProperty("--stepBarBorderRadius",B)},P=()=>{n(4,T=p=="active"?"":"inactive")};function C(r){t.binding_callbacks[r?"unshift":"push"](()=>{f=r,n(1,f)})}function z(r){t.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(2,c)})}function A(r){t.binding_callbacks[r?"unshift":"push"](()=>{h=r,n(0,h)})}return s.$$set=r=>{"currentstep"in r&&n(5,g=r.currentstep),"total"in r&&n(6,i=r.total),"showaspercent"in r&&n(7,a=r.showaspercent),"lang"in r&&n(8,o=r.lang),"status"in r&&n(9,p=r.status),"translationurl"in r&&n(10,d=r.translationurl),"progressfractiondigit"in r&&n(11,m=r.progressfractiondigit),"triggerreset"in r&&n(12,y=r.triggerreset)},s.$$.update=()=>{s.$$.dirty&4160&&y&&i&&setTimeout(()=>{O()}),s.$$.dirty&256&&o&&E(),s.$$.dirty&512&&p&&P(),s.$$.dirty&1024&&d&&F()},[h,f,c,b,T,g,i,a,o,p,d,m,y,C,z,A]}class S extends t.SvelteComponent{constructor(e){super(),t.init(this,e,M,I,t.safe_not_equal,{currentstep:5,total:6,showaspercent:7,lang:8,status:9,translationurl:10,progressfractiondigit:11,triggerreset:12},j)}get currentstep(){return this.$$.ctx[5]}set currentstep(e){this.$$set({currentstep:e}),t.flush()}get total(){return this.$$.ctx[6]}set total(e){this.$$set({total:e}),t.flush()}get showaspercent(){return this.$$.ctx[7]}set showaspercent(e){this.$$set({showaspercent:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get status(){return this.$$.ctx[9]}set status(e){this.$$set({status:e}),t.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get progressfractiondigit(){return this.$$.ctx[11]}set progressfractiondigit(e){this.$$set({progressfractiondigit:e}),t.flush()}get triggerreset(){return this.$$.ctx[12]}set triggerreset(e){this.$$set({triggerreset:e}),t.flush()}}t.create_custom_element(S,{currentstep:{},total:{},showaspercent:{},lang:{},status:{},translationurl:{},progressfractiondigit:{},triggerreset:{}},[],[],!0);exports.default=S;
|