@everymatrix/casino-wagering-bonus-slider-controller 1.11.1 → 1.12.1
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.
|
@@ -721,7 +721,7 @@ r+=(-1===e.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var i=t.withCredent
|
|
|
721
721
|
// https://code.google.com/p/chromium/issues/detail?id=260144
|
|
722
722
|
// https://code.google.com/p/chromium/issues/detail?id=225654
|
|
723
723
|
// ...
|
|
724
|
-
z=W),V=function(t){t.EventSourcePolyfill=W,t.NativeEventSource=l,t.EventSource=z}(e),void 0!==V&&(t.exports=V)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:at:globalThis)})),dn="data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e";function gn(t,e){Dr(t,e)}const mn={en:{
|
|
724
|
+
z=W),V=function(t){t.EventSourcePolyfill=W,t.NativeEventSource=l,t.EventSource=z}(e),void 0!==V&&(t.exports=V)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:at:globalThis)})),dn="data:image/svg+xml,%3csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M1.67757 2.5647L3.72412 -1.25356e-07L5.77067 2.5647L3.72412 5.12939L1.67757 2.5647Z' fill='%23FF8B03'/%3e %3crect x='0.468506' y='6.1134' width='6.55827' height='0.936896' fill='%23FF8B03'/%3e %3cpath d='M7.49512 1.42889L0.4684 5.64492H7.02667L7.49512 1.42889Z' fill='%23FFB82E'/%3e %3cpath d='M0 1.42889L7.02672 5.64492H0.468448L0 1.42889Z' fill='gold'/%3e%3c/svg%3e";function gn(t,e){Dr(t,e)}const mn={en:{bets:"bets"},tr:{bets:"bets"},es:{bets:"apuestas"},el:{bets:"bets"}};
|
|
725
725
|
/* ../general-icon-progress-bar/src/GeneralIconProgressBar.svelte generated by Svelte v3.58.0 */function yn(e){let r,n,o,i,s;return{c(){r=d("div"),n=d("div"),o=d("span"),i=m(/*progressText*/e[3]),this.c=t,v(o,"part","progressText"),v(n,"class",s="stepBar "+/*curTatus*/e[4]),v(n,"part","stepBar"),v(r,"class","general-icon-progress-bar"),v(r,"part","totalBar")},m(t,s){f(t,r,s),h(r,n),h(n,o),h(o,i),
|
|
726
726
|
/*span_binding*/e[13](o),
|
|
727
727
|
/*div0_binding*/e[14](n),
|
|
@@ -730,7 +730,7 @@ z=W),V=function(t){t.EventSourcePolyfill=W,t.NativeEventSource=l,t.EventSource=z
|
|
|
730
730
|
/*div0_binding*/e[14](null),
|
|
731
731
|
/*div1_binding*/e[15](null)}}}function bn(t,e,r){let n;c(t,cn,(t=>r(20,n=t)));let o,i,s,a,l,u,h,{currentstep:f=0}=e,{total:p=1}=e,{showaspercent:d}=e,{lang:g="en"}=e,{status:m}=e,{translationurl:y=""}=e,{progressfractiondigit:b=1}=e,{triggerreset:v}=e,E="0px",w="active";!function({withLocale:t,translations:e}){qr.subscribe((r=>{null==r&&(Rr.set(e),qr.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
732
732
|
/*dictionary.set(translations);
|
|
733
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(mn).forEach((t=>{gn(t,mn[t])}));const _=()=>{var t;t=g,qr.set(t)},T=()=>{let t=(f/p*100).toFixed(b);setTimeout((()=>{r(3,a=d||"true"===d?`${t}%`:`${f}/${p} ${n("
|
|
733
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(mn).forEach((t=>{gn(t,mn[t])}));const _=()=>{var t;t=g,qr.set(t)},T=()=>{let t=(f/p*100).toFixed(b);setTimeout((()=>{r(3,a=d||"true"===d?`${t}%`:`${f}/${p} ${n("bets")}`)}),a?573:0),0==t||100==t?(u="0px",h="0px",E=100==t?"3px":"0px"):(u=`${o.offsetHeight}px`,l=u,h=o.offsetHeight/3+"px",E="0px"),i.style.setProperty("--parentElementHeight",l),s.style.setProperty("--currentStep",t+"%"),s.style.setProperty("--triangleHeight",u),s.style.setProperty("--halfOfTriangleHeight",h),s.style.setProperty("--stepBarBorderRadius",E)};return B((()=>{T()})),t.$$set=t=>{"currentstep"in t&&r(5,f=t.currentstep),"total"in t&&r(6,p=t.total),"showaspercent"in t&&r(7,d=t.showaspercent),"lang"in t&&r(8,g=t.lang),"status"in t&&r(9,m=t.status),"translationurl"in t&&r(10,y=t.translationurl),"progressfractiondigit"in t&&r(11,b=t.progressfractiondigit),"triggerreset"in t&&r(12,v=t.triggerreset)},t.$$.update=()=>{/*triggerreset, total*/4160&t.$$.dirty&&v&&p&&T(),/*lang*/256&t.$$.dirty&&g&&_(),/*status*/512&t.$$.dirty&&m&&r(4,w="active"==m?"":"inactive"),/*translationurl*/1024&t.$$.dirty&&y&&fetch(y).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{gn(e,t[e])}))})).catch((t=>{console.log(t)}))},[o,i,s,a,w,f,p,d,g,m,y,b,v,function(t){S[t?"unshift":"push"]((()=>{i=t,r(1,i)}))},function(t){S[t?"unshift":"push"]((()=>{s=t,r(2,s)}))},function(t){S[t?"unshift":"push"]((()=>{o=t,r(0,o)}))}]}
|
|
734
734
|
/* src/CasinoWageringBonusSliderController.svelte generated by Svelte v3.58.0 */
|
|
735
735
|
function vn(t,e,r){const n=t.slice();return n[56]=e[r],n[58]=r,n}
|
|
736
736
|
// (362:8) {:else}
|