@everymatrix/casino-lobby 1.63.2 → 1.63.3
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/{CasinoCalendar-DF0Pr_uv.js → CasinoCalendar-7kqLzYIJ.js} +2 -2
- package/components/{CasinoCalendar-DoxssdOG.cjs → CasinoCalendar-B7GhaaB1.cjs} +1 -1
- package/components/{CasinoCalendar-CNMPPqgx.js → CasinoCalendar-Csi0tXv8.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-OB1lJeYE.js → CasinoCalendarDailyDetails-BovhUzXq.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-DUp41baV.cjs → CasinoCalendarDailyDetails-DRn6XNlS.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-305OBzqh.js → CasinoCalendarDailyDetails-MY6BRTWf.js} +2 -2
- package/components/{CasinoCalendarDailyItem-O-Ka4MG6.js → CasinoCalendarDailyItem-CE8ew-fF.js} +2 -2
- package/components/{CasinoCalendarDailyItem-D51VouvS.js → CasinoCalendarDailyItem-DBZbBU6V.js} +2 -2
- package/components/{CasinoCalendarDailyItem-B-DrlkeE.cjs → CasinoCalendarDailyItem-i0FRrjoK.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-Bte1Sqxk.js → CasinoCategoriesSlider-CdwDeUzc.js} +2 -2
- package/components/{CasinoCategoriesSlider-BRS5bbYT.js → CasinoCategoriesSlider-D4LBBsWH.js} +2 -2
- package/components/{CasinoCategoriesSlider-BiaZvSw4.cjs → CasinoCategoriesSlider-DltcuPbJ.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-kaCgm3e1.js → CasinoCollectionsProviders-BbBtM28b.js} +186 -187
- package/components/{CasinoCollectionsProviders-eQakUMn6.js → CasinoCollectionsProviders-Bpb7sM1P.js} +173 -174
- package/components/CasinoCollectionsProviders-BzpUMq8J.cjs +1 -0
- package/components/{CasinoFavoritesSection-tN5tvnAA.cjs → CasinoFavoritesSection-BTM3dZNo.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CqX1dQbA.js → CasinoFavoritesSection-Cl-6cioz.js} +2 -2
- package/components/{CasinoFavoritesSection-CB9LB0WP.js → CasinoFavoritesSection-DoU7Ci-7.js} +2 -2
- package/components/{CasinoFilter-CE3HGSQ0.js → CasinoFilter-BN4Wtk2h.js} +1 -1
- package/components/{CasinoFilter-g1NekVQ2.js → CasinoFilter-Ct-8nr2l.js} +1 -1
- package/components/{CasinoFilter-CaXIhjO3.cjs → CasinoFilter-jbZAMnJ7.cjs} +1 -1
- package/components/{CasinoGameThumbnail-ODsH-VZ2.cjs → CasinoGameThumbnail-BgaKFGIJ.cjs} +1 -1
- package/components/{CasinoGameThumbnail-DUG_Uqdj.js → CasinoGameThumbnail-CDstK8Y3.js} +2 -2
- package/components/{CasinoGameThumbnail-DCRwj3vq.js → CasinoGameThumbnail-CiaYYLXu.js} +2 -2
- package/components/{CasinoGamesCategorySection-C3vEnV4u.cjs → CasinoGamesCategorySection-8tZbstvF.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-duJpxi3h.js → CasinoGamesCategorySection-DJohdErr.js} +5 -5
- package/components/{CasinoGamesCategorySection-Zo8E4vzJ.js → CasinoGamesCategorySection-Dovm2bNV.js} +5 -5
- package/components/{CasinoJackpotBanner-BGP5NlAK.cjs → CasinoJackpotBanner-BjEKJiKG.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DiFabula.js → CasinoJackpotBanner-C5x3Mdln.js} +2 -2
- package/components/{CasinoJackpotBanner-DnctL7sJ.js → CasinoJackpotBanner-DX2K3Sso.js} +2 -2
- package/components/{CasinoLastPlayedSection-DYe3Koqg.cjs → CasinoLastPlayedSection-CI_0ECL-.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-LnAsl4Vq.js → CasinoLastPlayedSection-DgtwB0LY.js} +2 -2
- package/components/{CasinoLastPlayedSection-CxFhGWih.js → CasinoLastPlayedSection-p0ilcCTC.js} +2 -2
- package/components/{CasinoLobby-ByANgzRN.cjs → CasinoLobby-BxdCeX3T.cjs} +1 -1
- package/components/{CasinoLobby-CFE_jBY7.js → CasinoLobby-CseOv8Yj.js} +3 -3
- package/components/{CasinoLobby-DeIv0o2d.js → CasinoLobby-DG6dQueF.js} +3 -3
- package/components/{CasinoMostPlayedSection-zfcQ4N68.cjs → CasinoMostPlayedSection-DgjP9n0o.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BLrjptUT.js → CasinoMostPlayedSection-DkMxb2tp.js} +2 -2
- package/components/{CasinoMostPlayedSection-CcmxfoNH.js → CasinoMostPlayedSection-Y7GkBB4c.js} +2 -2
- package/components/{CasinoMyGames-CsLVF6jp.cjs → CasinoMyGames-bw2jzPSz.cjs} +1 -1
- package/components/{CasinoMyGames-BICHn490.js → CasinoMyGames-iW34NgHs.js} +4 -4
- package/components/{CasinoMyGames-D2JlK2FG.js → CasinoMyGames-lcaVAF4Y.js} +4 -4
- package/components/{CasinoPage-DldDXHiD.cjs → CasinoPage-D1nj7ju_.cjs} +1 -1
- package/components/{CasinoPage-Dsb7hsCV.js → CasinoPage-DlCmgNUk.js} +10 -10
- package/components/{CasinoPage-BKIXFpTy.js → CasinoPage-NFQopbTN.js} +10 -10
- package/components/{CasinoRandomGame-BalTtz4n.js → CasinoRandomGame-BjmFZ_DM.js} +1 -1
- package/components/{CasinoRandomGame-qzNaZ__f.cjs → CasinoRandomGame-D5rbkfAP.cjs} +1 -1
- package/components/{CasinoRandomGame-BB4A3Me6.js → CasinoRandomGame-DX--_O5S.js} +1 -1
- package/components/{CasinoSearch-BunxlPeC.js → CasinoSearch--VdAWMEG.js} +3 -3
- package/components/{CasinoSearch-GuiyA6qP.cjs → CasinoSearch-CVPUjeCK.cjs} +1 -1
- package/components/{CasinoSearch-CzQKu674.js → CasinoSearch-DZXW71Hu.js} +3 -3
- package/components/{CasinoSlider-CCs2pkhA.js → CasinoSlider-8av7ygLi.js} +1 -1
- package/components/{CasinoSlider-VfpP1c2C.js → CasinoSlider-DpYcXyrl.js} +1 -1
- package/components/{CasinoSlider-Q3CLkzHo.cjs → CasinoSlider-chctBr3W.cjs} +1 -1
- package/components/{CasinoSort-BRX2Xq-L.js → CasinoSort-BJup_vct.js} +1 -1
- package/components/{CasinoSort-Ds5Gxm-O.cjs → CasinoSort-CV4P6WUH.cjs} +1 -1
- package/components/{CasinoSort-BFlIPfWc.js → CasinoSort-Dn39QhX6.js} +1 -1
- package/components/{CasinoWinners-DMV8Yt40.js → CasinoWinners-BceQ59PS.js} +305 -292
- package/components/CasinoWinners-DMlbI9Rh.cjs +1 -0
- package/components/{CasinoWinners-j5Ay-YXI.js → CasinoWinners-DY-XeuDT.js} +220 -223
- package/components/{GeneralAnimationLoading-cgso8Mxu.cjs → GeneralAnimationLoading-B-qNTlQZ.cjs} +1 -1
- package/components/{GeneralAnimationLoading-7OFxqSZ5.js → GeneralAnimationLoading-Bu3UyKqx.js} +1 -1
- package/components/{GeneralAnimationLoading-BdfUf0_9.js → GeneralAnimationLoading-HRytW6Io.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-DYdohc-6.js} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-__SOROv4.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-_wmLv9aI.cjs} +1 -1
- package/stencil/{ui-image-CYB9UUHg.js → ui-image-B5jMTPJS.js} +1 -1
- package/stencil/{ui-image-BSTP7sZO.js → ui-image-DZfaeMnX.js} +1 -1
- package/stencil/{ui-image-C3XzpHRB.cjs → ui-image-NUzlC2fG.cjs} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-d1314fef-CQsVQg0l.js} +2 -2
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-d1314fef-Juydh_ii.js} +2 -2
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-BK3m47_O.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-DbIvpcwA.cjs} +1 -1
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-OR-2QD6I.js} +2 -2
- package/components/CasinoCollectionsProviders-CMAAQr-q.cjs +0 -1
- package/components/CasinoWinners-B_hz9jpe.cjs +0 -1
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
package/components/{GeneralAnimationLoading-cgso8Mxu.cjs → GeneralAnimationLoading-B-qNTlQZ.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-B7GhaaB1.cjs");function u(e){i.append_styles(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)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
|
package/components/{GeneralAnimationLoading-7OFxqSZ5.js → GeneralAnimationLoading-Bu3UyKqx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, J as x, K as _, L as S, M as C } from "./CasinoCalendar-
|
|
1
|
+
import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, J as x, K as _, L as S, M as C } from "./CasinoCalendar-Csi0tXv8.js";
|
|
2
2
|
function k(t) {
|
|
3
3
|
g(t, "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)}}");
|
|
4
4
|
}
|
package/components/{GeneralAnimationLoading-BdfUf0_9.js → GeneralAnimationLoading-HRytW6Io.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, J as x, K as _, L as S, M as C } from "./CasinoCalendar-
|
|
1
|
+
import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, J as x, K as _, L as S, M as C } from "./CasinoCalendar-7kqLzYIJ.js";
|
|
2
2
|
function k(t) {
|
|
3
3
|
g(t, "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)}}");
|
|
4
4
|
}
|
package/es2015/casino-lobby.cjs
CHANGED
|
@@ -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/CasinoLobby-
|
|
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/CasinoLobby-BxdCeX3T.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
|
package/es2015/casino-lobby.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoLobby-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoLobby-DG6dQueF.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/casino-lobby.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-Cctik3aF.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-DbIvpcwA.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
|
|
@@ -14,7 +14,7 @@ var n = (t, o, a) => new Promise((m, s) => {
|
|
|
14
14
|
}, e = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(c, l);
|
|
15
15
|
e((a = a.apply(t, o)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as u, p as d } from "./index-97d17652-
|
|
17
|
+
import { b as u, p as d } from "./index-97d17652-DYdohc-6.js";
|
|
18
18
|
import { a as g } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const t = import.meta.url, o = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-
|
|
1
|
+
"use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-_wmLv9aI.cjs"),g=require("./app-globals-0f993ce5-4b17CI_n.cjs");var a=typeof document!="undefined"?document.currentScript:null,h=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-image-NUzlC2fG.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};h().then(r=>s(exports,null,function*(){return yield g.globalScripts$1(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as n, h as s, H as a, g as r } from "./index-97d17652-
|
|
2
|
-
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
1
|
+
import { r as n, h as s, H as a, g as r } from "./index-97d17652-__SOROv4.js";
|
|
2
|
+
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
5
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("./index-97d17652-_wmLv9aI.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}",a=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=a;exports.UiImage=n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as n, h as s, H as a, g as r } from "./index-97d17652-
|
|
2
|
-
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
1
|
+
import { r as n, h as s, H as a, g as r } from "./index-97d17652-DYdohc-6.js";
|
|
2
|
+
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as h } from "./ui-image-
|
|
2
|
-
import { r as o, h as t, H as i } from "./index-97d17652-
|
|
1
|
+
import { U as h } from "./ui-image-d1314fef-CQsVQg0l.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-__SOROv4.js";
|
|
3
3
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-d1314fef-Dwwl-kWw.cjs"),t=require("./index-97d17652-_wmLv9aI.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
2
|
:host {
|
|
3
3
|
--emw-skeleton-logo-width: ${this.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.height};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as h } from "./ui-image-
|
|
2
|
-
import { r as o, h as t, H as i } from "./index-97d17652-
|
|
1
|
+
import { U as h } from "./ui-image-d1314fef-Juydh_ii.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-DYdohc-6.js";
|
|
3
3
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DoxssdOG.cjs");require("../stencil/ui-image-C3XzpHRB.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-ci1i8",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,_,w,d=i[7]>i[8]&&V(i),p=e.ensure_array_like(i[3]),s=[];for(let c=0;c<p.length;c+=1)s[c]=K(I(i,p,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),_=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(_,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,_);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(_,null);i[25](_)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){p=e.ensure_array_like(c[3]);let h;for(h=0;h<p.length;h+=1){const m=I(c,p,h);s[h]?s[h].p(m,u):(s[h]=K(m),s[h].c(),s[h].m(_,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=p.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,_){e.insert(b,t,_),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("ui-image"),e.set_custom_element_data(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.set_custom_element_data(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.set_custom_element_data(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,_;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("ui-image"),a=e.space(),d&&d.c(),g=e.space(),e.set_custom_element_data(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(p,s){e.insert(p,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(_=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(p,s){i=p,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.set_custom_element_data(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.set_custom_element_data(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(p){p&&e.detach(t),d&&d.d(),b=!1,_()}}}function K(i){let t,l,r,o,a,g,b,_,w;function d(m,f){if(m[1]==="logo")return ue;if(m[1]==="title")return ge}let p=d(i),s=p&&p(i),c=e.ensure_array_like(i[41].games),u=[];for(let m=0;m<c.length;m+=1)u[m]=D(U(i,c,m));function h(){return i[24](i[41])}return{c(){var m,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let v=0;v<u.length;v+=1)u[v].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((m=i[41])==null?void 0:m.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(m,f){e.insert(m,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(a,null);e.append(t,b),_||(w=e.listen(l,"click",h),_=!0)},p(m,f){var v,k;if(i=m,p===(p=d(i))&&s?s.p(i,f):(s&&s.d(1),s=p&&p(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=D(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((v=i[41])==null?void 0:v.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(m){m&&e.detach(t),s&&s.d(),e.destroy_each(u,m),_=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function pe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:_=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:p=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,m,f=0,v=0,k=0,C,L,j=0,M=50,x=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{E(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var q,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(q=S.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,v=u.length),Y()})},Y=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{var y;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/C))},H=()=>{O(f)},$=()=>{f===0?f=v-k:f-k<-1?f=0:f--,H()},ee=()=>{f===v-k?f=0:v-k<f+1?f=v-k:f++,H()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,l(4,m)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,_=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,p=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&m&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&p&&X(),i.$$.dirty[0]&4194304&&x&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,z,B,o,a,g,w,d,p,c,x,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,pe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DoxssdOG.cjs");require("../stencil/ui-image-C3XzpHRB.cjs");function ae(r,t){e.addMessages(r,t)}function Ee(r){e.$locale.set(r)}const oe={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=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=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-cgso8Mxu.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Le(r){e.append_styles(r,"svelte-1x13ubp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ce(r,t,n){const i=r.slice();return i[72]=t[n],i}function ue(r,t,n){const i=r.slice();return i[75]=t[n],i}function Oe(r){let t,n,i,l,a,o,m,u,W,j,k,_,p,z,S,B,M,N,T,w=e.ensure_array_like(r[15]),f=[];for(let c=0;c<w.length;c+=1)f[c]=ge(ue(r,w,c));function E(c,v){return c[16]?Pe:De}let F=E(r),b=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let c=0;c<f.length;c+=1)f[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),m=e.svg_element("svg"),u=e.svg_element("path"),j=e.space(),k=e.element("button"),_=e.svg_element("svg"),p=e.svg_element("path"),B=e.space(),b.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(u,"style",W=r[10]>=r[9].length?"fill:#F6F6F62E":""),e.attr(u,"id","Path_36"),e.attr(u,"data-name","Path 36"),e.attr(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(u,"transform","translate(14.656 0) rotate(90)"),e.attr(u,"fill","#fff"),e.attr(m,"id","Component_46_2"),e.attr(m,"data-name","Component 46 – 2"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"width","15"),e.attr(m,"height","15"),e.attr(m,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",z=r[10]>=r[9].length?"fill:#F6F6F62E":""),e.attr(p,"id","Path_36"),e.attr(p,"data-name","Path 36"),e.attr(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(p,"transform","translate(0 24.656) rotate(-90)"),e.attr(p,"fill","#fff"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(k,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",M="CasinoWinners "+(r[11]?"Mobile":""))},m(c,v){e.insert(c,t,v),e.append(t,n),e.append(n,i);for(let d=0;d<f.length;d+=1)f[d]&&f[d].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,m),e.append(m,u),e.append(a,j),e.append(a,k),e.append(k,_),e.append(_,p),e.append(t,B),b.m(t,null),N||(T=[e.listen(o,"click",r[46]),e.listen(k,"click",r[47])],N=!0)},p(c,v){if(v[0]&819459){w=e.ensure_array_like(c[15]);let d;for(d=0;d<w.length;d+=1){const g=ue(c,w,d);f[d]?f[d].p(g,v):(f[d]=ge(g),f[d].c(),f[d].m(i,null))}for(;d<f.length;d+=1)f[d].d(1);f.length=w.length}v[0]&1536&&W!==(W=c[10]>=c[9].length?"fill:#F6F6F62E":"")&&e.attr(u,"style",W),v[0]&1536&&z!==(z=c[10]>=c[9].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",z),v[0]&16&&S!==(S="ButtonsContainer "+(c[4]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),F===(F=E(c))&&b?b.p(c,v):(b.d(1),b=F(c),b&&(b.c(),b.m(t,null))),v[0]&2048&&M!==(M="CasinoWinners "+(c[11]?"Mobile":""))&&e.attr(t,"class",M)},d(c){c&&e.detach(t),e.destroy_each(f,c),b.d(),N=!1,e.run_all(T)}}}function Re(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function de(r){let t,n=r[0]==="true"&&me(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=me(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function me(r){let t,n=r[18]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[8]=="recent"?"Active":""))},m(m,u){e.insert(m,t,u),e.append(t,i),a||(o=e.listen(t,"click",r[44]),a=!0)},p(m,u){u[0]&262144&&n!==(n=m[18]("recentWinners")+"")&&e.set_data(i,n),u[0]&256&&l!==(l="WinnersButton "+(m[8]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(m){m&&e.detach(t),a=!1,o()}}}function fe(r){let t,n=r[18]("topWinners")+"",i,l,a,o,m;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[8]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(u,W){e.insert(u,t,W),e.append(t,i),e.append(t,l),o||(m=e.listen(t,"click",r[45]),o=!0)},p(u,W){W[0]&262144&&n!==(n=u[18]("topWinners")+"")&&e.set_data(i,n),W[0]&258&&a!==(a="WinnersButton "+(u[8]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(u){u&&e.detach(t),o=!1,m()}}}function ge(r){let t,n,i=r[75]=="recent"&&de(r),l=r[75]=="top"&&fe(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[75]=="recent"?i?i.p(a,o):(i=de(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[75]=="top"?l?l.p(a,o):(l=fe(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),i&&i.d(a),l&&l.d(a)}}}function De(r){let t;function n(a,o){return a[9].length!==0?Ie:Ge}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[50](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),r[50](null)}}}function Pe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ge(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ie(r){let t,n=e.ensure_array_like(r[9]),i=[];for(let l=0;l<n.length;l+=1)i[l]=he(ce(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},p(l,a){if(a[0]&20333056){n=e.ensure_array_like(l[9]);let o;for(o=0;o<n.length;o+=1){const m=ce(l,n,o);i[o]?i[o].p(m,a):(i[o]=he(m),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function he(r){let t,n,i,l,a,o,m,u=r[72].gameName+"",W,j,k,_=r[20](r[72].username)+"",p,z,S,B=r[18]("won")+"",M,N,T,w=r[24](r[72].specifiedCurrencyAmount)+"",f,E,F,b,c;function v(){return r[48](r[72])}return{c(){var d,g,x,h;t=e.element("div"),n=e.element("div"),i=e.element("ui-image"),o=e.space(),m=e.element("p"),W=e.text(u),j=e.space(),k=e.element("p"),p=e.text(_),z=e.space(),S=e.element("p"),M=e.text(B),N=e.space(),T=e.element("p"),f=e.text(w),E=e.space(),e.src_url_equal(i.src,l=(g=(d=r[72])==null?void 0:d.gameModel)==null?void 0:g.thumbnail)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",a=(h=(x=r[72])==null?void 0:x.gameModel)==null?void 0:h.thumbnail),e.set_custom_element_data(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",F="CardWrapper "+(r[14]?"CardWrapperAnimation":""))},m(d,g){e.insert(d,t,g),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,m),e.append(m,W),e.append(n,j),e.append(n,k),e.append(k,p),e.append(n,z),e.append(n,S),e.append(S,M),e.append(n,N),e.append(n,T),e.append(T,f),e.append(t,E),r[49](t),b||(c=e.listen(i,"click",v),b=!0)},p(d,g){var x,h,C,D;r=d,g[0]&512&&!e.src_url_equal(i.src,l=(h=(x=r[72])==null?void 0:x.gameModel)==null?void 0:h.thumbnail)&&e.set_custom_element_data(i,"src",l),g[0]&512&&a!==(a=(D=(C=r[72])==null?void 0:C.gameModel)==null?void 0:D.thumbnail)&&e.set_custom_element_data(i,"alt",a),g[0]&512&&u!==(u=r[72].gameName+"")&&e.set_data(W,u),g[0]&512&&_!==(_=r[20](r[72].username)+"")&&e.set_data(p,_),g[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(M,B),g[0]&512&&w!==(w=r[24](r[72].specifiedCurrencyAmount)+"")&&e.set_data(f,w),g[0]&16384&&F!==(F="CardWrapper "+(r[14]?"CardWrapperAnimation":""))&&e.attr(t,"class",F)},d(d){d&&e.detach(t),r[49](null),b=!1,c()}}}function Ue(r){let t;function n(a,o){return a[12]||a[13]?Re:Oe}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[51](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[51](null)}}}function qe(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:m="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:W="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:k="1"}=t,{vendorCategory:_="All"}=t,{lang:p="en"}=t,{isrecentavailable:z="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:M=""}=t,{clientstyling:N=""}=t,{clientstylingurl:T=""}=t,{enableautoscroll:w=""}=t,{tabsorder:f=""}=t,{translationurl:E=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:b="false"}=t,{mbsource:c}=t,{currencylocale:v=""}=t,d,g,x=[],h=0,C=0,D=window.navigator.userAgent,J,O,U,A,q=!0,X=!1,Y=!1,Q,P,V,R,$=[],H=!1,G,ee=0;const _e=()=>{let s=new URL(E);fetch(s.href).then(y=>y.json()).then(y=>{Object.keys(y).forEach(L=>{ae(L,y[L])})}).catch(y=>{console.log(y)})};Object.keys(oe).forEach(s=>{ae(s,oe[s])});const te=()=>{$=F.split(",").map(function(y){return y.trim()});const s=new URL(`${l}/v1/casino/${g}-winners`);n(16,H=!0),s.searchParams.append("limit",g=="recent"?W:j),s.searchParams.append("specifiedCurrency",R),s.searchParams.append("period",g=="recent"?m:u),s.searchParams.append("language",p),s.searchParams.append("amountLimit",k),s.searchParams.append("vendorCategory",_),$.forEach(y=>{s.searchParams.append("dataSource",y)}),setTimeout(()=>{fetch(s.href).then(y=>y.json()).then(y=>{n(9,x=[]),n(9,x=y.items.map(L=>L)),n(16,H=!1),setTimeout(()=>{we(),re(),w=="true"&&(clearInterval(P),We()),n(12,q=!1),be()},5)})},1e3)},be=()=>{const s=A.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{g!==s&&(n(9,x=[]),n(8,g=s),te())},ye=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ne=(s,y,L,I)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:y,gameName:L,subVendor:I},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${U||"Not logged in"}`})},re=s=>{const y=[...d.children];Q=y.length,y.forEach((L,I)=>{L.style.transform=`translateX(${100*(s?I-s:I)}%)`}),setTimeout(()=>{n(14,Y=!0)},10)},We=()=>{h=0,C<Q?P=setInterval(()=>{Z()},3e3):clearInterval(P)},ie=()=>{re(h)},we=()=>{ee=G.offsetWidth,n(10,C=Math.round(d.offsetWidth/ee))},se=()=>{if(C>=x.length)return;const s=x.length;h===0?h=s-C:h-C<0?h=0:h=h-C,ie()},Z=()=>{if(C>=x.length)return;const s=x.length;w=="true"&&(h===s-C?h=0:h++),w=="false"&&(h===s-C?h=0:s-C<h+C?h=s-C:h+=C),ie()},ve=()=>{Ee(p)},Ce=()=>{n(42,O=!0),U=o},le=()=>{n(43,R=O?M:B)},ke=s=>v?Intl.NumberFormat(v,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:R}).format(s).replace(/\s/g,""):`${s.toFixed(2)} ${O?M:B}`,Me=()=>{b==="true"&&(!N&&!T&&A&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!N&&T&&n(13,X=!0))},Fe=()=>{n(15,V=f.split(",")),n(8,g=V[0]),le(),n(12,q=!1)};e.onMount(()=>(n(11,J=e.isMobile(D)),()=>{clearInterval(P)}));const xe=()=>K("recent"),Se=()=>K("top"),Be=()=>se(),Ne=()=>Z(),Te=s=>ne(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{G=s,n(17,G)})}function Ae(s){e.binding_callbacks[s?"unshift":"push"](()=>{d=s,n(7,d)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{A=s,n(6,A)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,a=s.session),"userid"in s&&n(27,o=s.userid),"periodrecent"in s&&n(28,m=s.periodrecent),"periodtop"in s&&n(29,u=s.periodtop),"numberusersrecent"in s&&n(30,W=s.numberusersrecent),"numberuserstop"in s&&n(31,j=s.numberuserstop),"amountlimit"in s&&n(32,k=s.amountlimit),"vendorCategory"in s&&n(33,_=s.vendorCategory),"lang"in s&&n(34,p=s.lang),"isrecentavailable"in s&&n(0,z=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,M=s.usercurrency),"clientstyling"in s&&n(2,N=s.clientstyling),"clientstylingurl"in s&&n(3,T=s.clientstylingurl),"enableautoscroll"in s&&n(4,w=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,E=s.translationurl),"winnersdatasources"in s&&n(39,F=s.winnersdatasources),"hascustomstyling"in s&&n(40,b=s.hascustomstyling),"mbsource"in s&&n(5,c=s.mbsource),"currencylocale"in s&&n(41,v=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&79&&z&&S&&m&&u&&W&&j&&k&&_&&p&&f&&Fe(),r.$$.dirty[0]&67108864&&a&&Ce(),r.$$.dirty[1]&2096&&O&&(M||B)&&le(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&4352&&l&&F&&R&&te(),r.$$.dirty[1]&8&&p&&ve(),r.$$.dirty[1]&128&&E&&_e(),r.$$.dirty[1]&512&&b&&Me(),r.$$.dirty[0]&68&&N&&A&&e.setClientStyling(A,N),r.$$.dirty[0]&72&&T&&A&&e.setClientStylingURL(A,T),r.$$.dirty[0]&96&&A&&e.setStreamStyling(A,`${c}.Style`)},[z,S,N,T,w,c,A,d,g,x,C,J,q,X,Y,V,H,G,i,K,ye,ne,se,Z,ke,l,a,o,m,u,W,j,k,_,p,B,M,f,E,F,b,v,O,R,xe,Se,Be,Ne,Te,ze,Ae,je]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qe,Ue,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:5,currencylocale:41},Le,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[37]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[39]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[40]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[41]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=pe;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const i=require("./index-97d17652-C9Ph2JiE.cjs"),a=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}",d=a,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=d;exports.UiImage=n;
|