@everymatrix/casino-navigation-search 1.99.57 → 1.99.59
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/{CasinoCategories-DPZ9O23N.cjs → CasinoCategories-BMUe07pw.cjs} +1 -1
- package/components/{CasinoCategories-DUHuUF3Y.js → CasinoCategories-CgkLgNgS.js} +3 -3
- package/components/{CasinoCategories-DPlQAMMs.js → CasinoCategories-b1dBlRHE.js} +3 -3
- package/components/{CasinoCategoriesProviders-DnAFzl9y.js → CasinoCategoriesProviders-BjwGJiFT.js} +4 -4
- package/components/{CasinoCategoriesProviders-AZK-LyHz.js → CasinoCategoriesProviders-CXJIW5lx.js} +4 -4
- package/components/{CasinoCategoriesProviders-b868yoe6.cjs → CasinoCategoriesProviders-DH6Z5u6j.cjs} +1 -1
- package/components/{CasinoGameThumbnail-BmHSvVP3.js → CasinoGameThumbnail-COLRBjhZ.js} +9 -15
- package/components/{CasinoGameThumbnail-BMUwvi16.js → CasinoGameThumbnail-DECM0rfe.js} +9 -15
- package/components/{CasinoGameThumbnail-CxoRJp_b.cjs → CasinoGameThumbnail-mXIASrle.cjs} +1 -1
- package/components/{CasinoNavigationSearch-D2TFQtTD.js → CasinoNavigationSearch-B0fdaV-c.js} +8 -14
- package/components/{CasinoNavigationSearch-CCkQbdS5.js → CasinoNavigationSearch-Bc6mEGXV.js} +9 -15
- package/components/CasinoNavigationSearch-uyl33bCg.cjs +1 -0
- package/components/{CasinoProviders-Ba3olyJg.js → CasinoProviders-BqARb9qF.js} +2 -2
- package/components/{CasinoProviders-COFyT8ms.js → CasinoProviders-D8nGN332.js} +2 -2
- package/components/{CasinoProviders-B9qHUUqw.cjs → CasinoProviders-DxdIO7-y.cjs} +1 -1
- package/components/{CasinoSearch-y9Hu7PaC.js → CasinoSearch-Dq9AvxjW.js} +29 -50
- package/components/{CasinoSearch-DAbJt683.cjs → CasinoSearch-Dul2rMYp.cjs} +2 -2
- package/components/{CasinoSearch-B8ruAPZm.js → CasinoSearch-sY7hSths.js} +29 -50
- package/es2015/casino-navigation-search.cjs +1 -1
- package/es2015/casino-navigation-search.js +1 -1
- package/esnext/casino-navigation-search.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-B6BYeRne.js → index-97d17652-B7kuyr7B.js} +22 -24
- package/stencil/{index-97d17652-BOr4KAqq.js → index-97d17652-Cylnizw0.js} +22 -24
- package/stencil/{ui-image-Ch-GHki1.js → ui-image-CBZB9VGk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-C1j5WYU1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-Yz-NwCB5.js} +1 -1
- package/stencil/{ui-image-CP8Lp7fB.js → ui-image-z7WRgMwb.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-B6hxNvK2.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-CeEpO7fa.js} +2 -2
- package/components/CasinoNavigationSearch-CvEgXDMX.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-CvEgXDMX.cjs"),j=require("./CasinoSearch-DAbJt683.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function q(a,t){j.addMessages(a,t)}function G(a){j.$locale.set(a)}const E={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};function D(a){e.append_styles(a,"svelte-2l182v","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}")}function M(a,t,i){const l=a.slice();return l[23]=t[i],l}function z(a,t,i){const l=a.slice();return l[23]=t[i],l}function Y(a){let t,i,l=a[5]("topCategories")+"",g,d,c,v,_=a[5]("otherCategories")+"",C,b,p=e.ensure_array_like(a[3]),r=[];for(let o=0;o<p.length;o+=1)r[o]=I(z(a,p,o));let u=e.ensure_array_like(a[4]),m=[];for(let o=0;o<u.length;o+=1)m[o]=N(M(a,u,o));return{c(){t=e.element("div"),i=e.element("h4"),g=e.text(l),d=e.space();for(let o=0;o<r.length;o+=1)r[o].c();c=e.space(),v=e.element("h4"),C=e.text(_),b=e.space();for(let o=0;o<m.length;o+=1)m[o].c();e.attr(i,"class","CategoryTitle"),e.attr(v,"class","CategoryTitle"),e.attr(t,"class","CasinoCategories")},m(o,h){e.insert(o,t,h),e.append(t,i),e.append(i,g),e.append(t,d);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null);e.append(t,c),e.append(t,v),e.append(v,C),e.append(t,b);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(t,null)},p(o,h){if(h&32&&l!==(l=o[5]("topCategories")+"")&&e.set_data(g,l),h&105){p=e.ensure_array_like(o[3]);let s;for(s=0;s<p.length;s+=1){const f=z(o,p,s);r[s]?r[s].p(f,h):(r[s]=I(f),r[s].c(),r[s].m(t,c))}for(;s<r.length;s+=1)r[s].d(1);r.length=p.length}if(h&32&&_!==(_=o[5]("otherCategories")+"")&&e.set_data(C,_),h&113){u=e.ensure_array_like(o[4]);let s;for(s=0;s<u.length;s+=1){const f=M(o,u,s);m[s]?m[s].p(f,h):(m[s]=N(f),m[s].c(),m[s].m(t,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=u.length}},d(o){o&&e.detach(t),e.destroy_each(r,o),e.destroy_each(m,o)}}}function B(a){let t;return{c(){t=e.element("p"),t.textContent="Loading, please wait...",e.attr(t,"class","Message")},m(i,l){e.insert(i,t,l)},p:e.noop,d(i){i&&e.detach(t)}}}function I(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x;function O(){return a[15](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",s="Category "+(a[0]===a[23].id?"Active":""))},m(w,y){e.insert(w,t,y),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),f||(x=e.listen(t,"click",O),f=!0)},p(w,y){a=w,y&8&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),y&8&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),y&8&&_!==(_=a[23].name+"")&&e.set_data(C,_),y&8&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),y&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),y&9&&s!==(s="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",s)},d(w){w&&e.detach(t),f=!1,x()}}}function N(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x,O;function w(){return a[16](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),s=e.space(),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",f="Category "+(a[0]===a[23].id?"Active":""))},m(y,k){e.insert(y,t,k),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),e.append(t,s),x||(O=e.listen(t,"click",w),x=!0)},p(y,k){a=y,k&16&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),k&16&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),k&16&&_!==(_=a[23].name+"")&&e.set_data(C,_),k&16&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),k&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),k&17&&f!==(f="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",f)},d(y){y&&e.detach(t),x=!1,O()}}}function H(a){let t;function i(d,c){return d[2]?B:Y}let l=i(a),g=l(a);return{c(){t=e.element("div"),g.c()},m(d,c){e.insert(d,t,c),g.m(t,null),a[17](t)},p(d,[c]){l===(l=i(d))&&g?g.p(d,c):(g.d(1),g=l(d),g&&(g.c(),g.m(t,null)))},i:e.noop,o:e.noop,d(d){d&&e.detach(t),g.d(),a[17](null)}}}function J(a,t,i){let l;e.component_subscribe(a,j.$format,n=>i(5,l=n));let{endpoint:g=""}=t,{datasource:d=""}=t,{lang:c="en"}=t,{activecategory:v=""}=t,{excludedflags:_=""}=t,{clientstyling:C=""}=t,{clientstylingurl:b=""}=t,{translationurl:p=""}=t,{mbsource:r}=t,u,m,o=!1;const h=[];let s=[],f=[];Object.keys(E).forEach(n=>{q(n,E[n])});const x=()=>{fetch(p).then(T=>T.json()).then(T=>{Object.keys(T).forEach(L=>{q(L,T[L])})}).catch(T=>{console.log(T)})},O=()=>{i(2,o=!0);const n=new URL(`${g}/v1/casino/groups/${d}`);n.searchParams.append("language",c),fetch(n).then(T=>T.json()).then(T=>{i(2,o=!1);const L=_.split(",").map(F=>F.trim());h.push(...T.items);const S=h.filter(F=>!L.some(R=>{var A;return((A=F.flags)==null?void 0:A.indexOf(R))>=0}));i(3,s=S.filter(F=>F.isTopCategory===!0)),i(4,f=S.filter(F=>F.isTopCategory===!1))})},w=n=>{window.postMessage({type:"OpenGameCategory",categoryId:n},window.location.href)},y=()=>{G(c)};e.onMount(()=>()=>{});const k=n=>w(n.id),P=n=>w(n.id);function U(n){e.binding_callbacks[n?"unshift":"push"](()=>{u=n,i(1,u)})}return a.$$set=n=>{"endpoint"in n&&i(7,g=n.endpoint),"datasource"in n&&i(8,d=n.datasource),"lang"in n&&i(9,c=n.lang),"activecategory"in n&&i(0,v=n.activecategory),"excludedflags"in n&&i(10,_=n.excludedflags),"clientstyling"in n&&i(11,C=n.clientstyling),"clientstylingurl"in n&&i(12,b=n.clientstylingurl),"translationurl"in n&&i(13,p=n.translationurl),"mbsource"in n&&i(14,r=n.mbsource)},a.$$.update=()=>{a.$$.dirty&384&&g&&d&&O(),a.$$.dirty&8192&&p&&x(),a.$$.dirty&512&&c&&y(),a.$$.dirty&2050&&C&&u&&e.setClientStyling(u,C),a.$$.dirty&4098&&b&&u&&e.setClientStylingURL(u,b),a.$$.dirty&16386&&r&&u&&e.setStreamStyling(u,`${r}.Style`,m)},[v,u,o,s,f,l,w,g,d,c,_,C,b,p,r,k,P,U]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,H,e.safe_not_equal,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[8]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(t){this.$$set({excludedflags:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},datasource:{},lang:{},activecategory:{},excludedflags:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=K;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-uyl33bCg.cjs"),j=require("./CasinoSearch-Dul2rMYp.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function q(a,t){j.addMessages(a,t)}function G(a){j.$locale.set(a)}const E={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};function D(a){e.append_styles(a,"svelte-2l182v","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}")}function M(a,t,i){const l=a.slice();return l[23]=t[i],l}function z(a,t,i){const l=a.slice();return l[23]=t[i],l}function Y(a){let t,i,l=a[5]("topCategories")+"",g,d,c,v,_=a[5]("otherCategories")+"",C,b,p=e.ensure_array_like(a[3]),r=[];for(let o=0;o<p.length;o+=1)r[o]=I(z(a,p,o));let u=e.ensure_array_like(a[4]),m=[];for(let o=0;o<u.length;o+=1)m[o]=N(M(a,u,o));return{c(){t=e.element("div"),i=e.element("h4"),g=e.text(l),d=e.space();for(let o=0;o<r.length;o+=1)r[o].c();c=e.space(),v=e.element("h4"),C=e.text(_),b=e.space();for(let o=0;o<m.length;o+=1)m[o].c();e.attr(i,"class","CategoryTitle"),e.attr(v,"class","CategoryTitle"),e.attr(t,"class","CasinoCategories")},m(o,h){e.insert(o,t,h),e.append(t,i),e.append(i,g),e.append(t,d);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null);e.append(t,c),e.append(t,v),e.append(v,C),e.append(t,b);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(t,null)},p(o,h){if(h&32&&l!==(l=o[5]("topCategories")+"")&&e.set_data(g,l),h&105){p=e.ensure_array_like(o[3]);let s;for(s=0;s<p.length;s+=1){const f=z(o,p,s);r[s]?r[s].p(f,h):(r[s]=I(f),r[s].c(),r[s].m(t,c))}for(;s<r.length;s+=1)r[s].d(1);r.length=p.length}if(h&32&&_!==(_=o[5]("otherCategories")+"")&&e.set_data(C,_),h&113){u=e.ensure_array_like(o[4]);let s;for(s=0;s<u.length;s+=1){const f=M(o,u,s);m[s]?m[s].p(f,h):(m[s]=N(f),m[s].c(),m[s].m(t,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=u.length}},d(o){o&&e.detach(t),e.destroy_each(r,o),e.destroy_each(m,o)}}}function B(a){let t;return{c(){t=e.element("p"),t.textContent="Loading, please wait...",e.attr(t,"class","Message")},m(i,l){e.insert(i,t,l)},p:e.noop,d(i){i&&e.detach(t)}}}function I(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x;function O(){return a[15](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",s="Category "+(a[0]===a[23].id?"Active":""))},m(w,y){e.insert(w,t,y),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),f||(x=e.listen(t,"click",O),f=!0)},p(w,y){a=w,y&8&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),y&8&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),y&8&&_!==(_=a[23].name+"")&&e.set_data(C,_),y&8&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),y&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),y&9&&s!==(s="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",s)},d(w){w&&e.detach(t),f=!1,x()}}}function N(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x,O;function w(){return a[16](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),s=e.space(),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",f="Category "+(a[0]===a[23].id?"Active":""))},m(y,k){e.insert(y,t,k),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),e.append(t,s),x||(O=e.listen(t,"click",w),x=!0)},p(y,k){a=y,k&16&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),k&16&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),k&16&&_!==(_=a[23].name+"")&&e.set_data(C,_),k&16&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),k&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),k&17&&f!==(f="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",f)},d(y){y&&e.detach(t),x=!1,O()}}}function H(a){let t;function i(d,c){return d[2]?B:Y}let l=i(a),g=l(a);return{c(){t=e.element("div"),g.c()},m(d,c){e.insert(d,t,c),g.m(t,null),a[17](t)},p(d,[c]){l===(l=i(d))&&g?g.p(d,c):(g.d(1),g=l(d),g&&(g.c(),g.m(t,null)))},i:e.noop,o:e.noop,d(d){d&&e.detach(t),g.d(),a[17](null)}}}function J(a,t,i){let l;e.component_subscribe(a,j.$format,n=>i(5,l=n));let{endpoint:g=""}=t,{datasource:d=""}=t,{lang:c="en"}=t,{activecategory:v=""}=t,{excludedflags:_=""}=t,{clientstyling:C=""}=t,{clientstylingurl:b=""}=t,{translationurl:p=""}=t,{mbsource:r}=t,u,m,o=!1;const h=[];let s=[],f=[];Object.keys(E).forEach(n=>{q(n,E[n])});const x=()=>{fetch(p).then(T=>T.json()).then(T=>{Object.keys(T).forEach(L=>{q(L,T[L])})}).catch(T=>{console.log(T)})},O=()=>{i(2,o=!0);const n=new URL(`${g}/v1/casino/groups/${d}`);n.searchParams.append("language",c),fetch(n).then(T=>T.json()).then(T=>{i(2,o=!1);const L=_.split(",").map(F=>F.trim());h.push(...T.items);const S=h.filter(F=>!L.some(R=>{var A;return((A=F.flags)==null?void 0:A.indexOf(R))>=0}));i(3,s=S.filter(F=>F.isTopCategory===!0)),i(4,f=S.filter(F=>F.isTopCategory===!1))})},w=n=>{window.postMessage({type:"OpenGameCategory",categoryId:n},window.location.href)},y=()=>{G(c)};e.onMount(()=>()=>{});const k=n=>w(n.id),P=n=>w(n.id);function U(n){e.binding_callbacks[n?"unshift":"push"](()=>{u=n,i(1,u)})}return a.$$set=n=>{"endpoint"in n&&i(7,g=n.endpoint),"datasource"in n&&i(8,d=n.datasource),"lang"in n&&i(9,c=n.lang),"activecategory"in n&&i(0,v=n.activecategory),"excludedflags"in n&&i(10,_=n.excludedflags),"clientstyling"in n&&i(11,C=n.clientstyling),"clientstylingurl"in n&&i(12,b=n.clientstylingurl),"translationurl"in n&&i(13,p=n.translationurl),"mbsource"in n&&i(14,r=n.mbsource)},a.$$.update=()=>{a.$$.dirty&384&&g&&d&&O(),a.$$.dirty&8192&&p&&x(),a.$$.dirty&512&&c&&y(),a.$$.dirty&2050&&C&&u&&e.setClientStyling(u,C),a.$$.dirty&4098&&b&&u&&e.setClientStylingURL(u,b),a.$$.dirty&16386&&r&&u&&e.setStreamStyling(u,`${r}.Style`,m)},[v,u,o,s,f,l,w,g,d,c,_,C,b,p,r,k,P,U]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,H,e.safe_not_equal,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[8]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(t){this.$$set({excludedflags:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},datasource:{},lang:{},activecategory:{},excludedflags:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=K;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as $, b as ee, s as te, f as x, d as ae, n as P, e as I, j as K, m as b, q as ie, t as oe, w as se, g as j, x as U, y as D, u as S, k as c, v as E, o as O, E as q, A as L, l as V, B as re, C as le, D as ne, c as ge } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as ce, $ as ue, b as de } from "./CasinoSearch-
|
|
3
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { S as $, b as ee, s as te, f as x, d as ae, n as P, e as I, j as K, m as b, q as ie, t as oe, w as se, g as j, x as U, y as D, u as S, k as c, v as E, o as O, E as q, A as L, l as V, B as re, C as le, D as ne, c as ge } from "./CasinoNavigationSearch-B0fdaV-c.js";
|
|
2
|
+
import { a as ce, $ as ue, b as de } from "./CasinoSearch-sY7hSths.js";
|
|
3
|
+
import "../stencil/ui-image-CBZB9VGk.js";
|
|
4
4
|
function G(t, e) {
|
|
5
5
|
ce(t, e);
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as ee, b as te, s as ae, f as x, c as ie, n as P, d as I, h as K, k as b, p as oe, q as se, v as re, e as j, w as U, x as G, t as S, j as c, u as E, m as O, E as q, z as L, l as W, A as le, B as ne, C as ge, D as ce } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as ue, $ as de, b as he } from "./CasinoSearch-
|
|
3
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { S as ee, b as te, s as ae, f as x, c as ie, n as P, d as I, h as K, k as b, p as oe, q as se, v as re, e as j, w as U, x as G, t as S, j as c, u as E, m as O, E as q, z as L, l as W, A as le, B as ne, C as ge, D as ce } from "./CasinoNavigationSearch-Bc6mEGXV.js";
|
|
2
|
+
import { a as ue, $ as de, b as he } from "./CasinoSearch-Dq9AvxjW.js";
|
|
3
|
+
import "../stencil/ui-image-z7WRgMwb.js";
|
|
4
4
|
function B(t, e) {
|
|
5
5
|
ue(t, e);
|
|
6
6
|
}
|
package/components/{CasinoCategoriesProviders-DnAFzl9y.js → CasinoCategoriesProviders-BjwGJiFT.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as L, b as K, s as q, f as g, d as R, n as j, e as U, r as I, u as D, g as f, A as i, j as G, k as u, l as M, m as b, v as O, o as P, q as J, t as Q, w as W, B as X, C as Y, D as Z, c as x } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as $, $ as ee, b as te } from "./CasinoSearch-
|
|
1
|
+
import { S as L, b as K, s as q, f as g, d as R, n as j, e as U, r as I, u as D, g as f, A as i, j as G, k as u, l as M, m as b, v as O, o as P, q as J, t as Q, w as W, B as X, C as Y, D as Z, c as x } from "./CasinoNavigationSearch-B0fdaV-c.js";
|
|
2
|
+
import { a as $, $ as ee, b as te } from "./CasinoSearch-sY7hSths.js";
|
|
3
3
|
function V(s, t) {
|
|
4
4
|
$(s, t);
|
|
5
5
|
}
|
|
@@ -92,7 +92,7 @@ if (typeof window < "u") {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
|
-
customElements.define = s(customElements.define), import("./CasinoCategories-
|
|
95
|
+
customElements.define = s(customElements.define), import("./CasinoCategories-CgkLgNgS.js").then(({ default: t }) => {
|
|
96
96
|
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
97
97
|
});
|
|
98
98
|
}
|
|
@@ -108,7 +108,7 @@ if (typeof window < "u") {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
-
customElements.define = s(customElements.define), import("./CasinoProviders-
|
|
111
|
+
customElements.define = s(customElements.define), import("./CasinoProviders-D8nGN332.js").then(({ default: t }) => {
|
|
112
112
|
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
113
113
|
});
|
|
114
114
|
}
|
package/components/{CasinoCategoriesProviders-AZK-LyHz.js → CasinoCategoriesProviders-CXJIW5lx.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as L, b as K, s as q, f as g, c as R, n as j, d as U, r as I, t as z, e as f, z as i, h as G, j as u, l as D, k as b, u as M, m as P, p as J, q as Q, v as W, A as X, B as Y, C as Z, D as x } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as $, $ as ee, b as te } from "./CasinoSearch-
|
|
1
|
+
import { S as L, b as K, s as q, f as g, c as R, n as j, d as U, r as I, t as z, e as f, z as i, h as G, j as u, l as D, k as b, u as M, m as P, p as J, q as Q, v as W, A as X, B as Y, C as Z, D as x } from "./CasinoNavigationSearch-Bc6mEGXV.js";
|
|
2
|
+
import { a as $, $ as ee, b as te } from "./CasinoSearch-Dq9AvxjW.js";
|
|
3
3
|
function O(s, t) {
|
|
4
4
|
$(s, t);
|
|
5
5
|
}
|
|
@@ -92,7 +92,7 @@ if (typeof window != "undefined") {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
|
-
customElements.define = s(customElements.define), import("./CasinoCategories-
|
|
95
|
+
customElements.define = s(customElements.define), import("./CasinoCategories-b1dBlRHE.js").then(({ default: t }) => {
|
|
96
96
|
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
97
97
|
});
|
|
98
98
|
}
|
|
@@ -108,7 +108,7 @@ if (typeof window != "undefined") {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
-
customElements.define = s(customElements.define), import("./CasinoProviders-
|
|
111
|
+
customElements.define = s(customElements.define), import("./CasinoProviders-BqARb9qF.js").then(({ default: t }) => {
|
|
112
112
|
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
113
113
|
});
|
|
114
114
|
}
|
package/components/{CasinoCategoriesProviders-b868yoe6.cjs → CasinoCategoriesProviders-DH6Z5u6j.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-uyl33bCg.cjs"),P=require("./CasinoSearch-Dul2rMYp.cjs");function B(i,s){P.addMessages(i,s)}function T(i){P.$locale.set(i)}const F={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Kategoriler",providers:"Tedarikçiler"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"},"en-us":{categories:"Categories",providers:"Suppliers"}};if(typeof window!="undefined"){let i=function(s){return function(...r){try{return s.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoCategories-BMUe07pw.cjs")).then(({default:s})=>{!customElements.get("casino-categories")&&customElements.define("casino-categories",s.element)})}if(typeof window!="undefined"){let i=function(s){return function(...r){try{return s.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoProviders-DxdIO7-y.cjs")).then(({default:s})=>{!customElements.get("casino-providers")&&customElements.define("casino-providers",s.element)})}function M(i){e.append_styles(i,"svelte-10w1o04","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emw--color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}")}function O(i){let s,r,n,d,p=i[12]("categories")+"",y,v,S,g,m=i[12]("providers")+"",f,_,h,u,o,c,E,b,l,w,k,A;return{c(){s=e.element("div"),r=e.element("div"),n=e.element("div"),d=e.element("button"),y=e.text(p),S=e.space(),g=e.element("button"),f=e.text(m),h=e.space(),u=e.element("div"),o=e.element("casino-categories"),E=e.space(),b=e.element("div"),l=e.element("casino-providers"),e.attr(d,"class",v="HeaderButton "+(i[11]==="categories"?"Active":"")),e.attr(g,"class",_="HeaderButton "+(i[11]==="providers"?"Active":"")),e.attr(n,"class","Header"),e.set_custom_element_data(o,"endpoint",i[0]),e.set_custom_element_data(o,"datasource",i[1]),e.set_custom_element_data(o,"activecategory",i[2]),e.set_custom_element_data(o,"excludedflags",i[5]),e.set_custom_element_data(o,"lang",i[6]),e.set_custom_element_data(o,"clientstyling",i[7]),e.set_custom_element_data(o,"clientstylingurl",i[8]),e.set_custom_element_data(o,"mbsource",i[9]),e.attr(u,"class",c=i[11]==="providers"?"NotVisible":""),e.set_custom_element_data(l,"endpoint",i[3]),e.set_custom_element_data(l,"datasource",i[4]),e.set_custom_element_data(l,"lang",i[6]),e.set_custom_element_data(l,"clientstyling",i[7]),e.set_custom_element_data(l,"clientstylingurl",i[8]),e.set_custom_element_data(l,"mbsource",i[9]),e.attr(b,"class",w=i[11]==="categories"?"NotVisible":""),e.attr(r,"class","CasinoCategoriesProviders")},m(a,t){e.insert(a,s,t),e.append(s,r),e.append(r,n),e.append(n,d),e.append(d,y),e.append(n,S),e.append(n,g),e.append(g,f),e.append(r,h),e.append(r,u),e.append(u,o),e.append(r,E),e.append(r,b),e.append(b,l),i[17](s),k||(A=[e.listen(d,"click",i[15]),e.listen(g,"click",i[16])],k=!0)},p(a,[t]){t&4096&&p!==(p=a[12]("categories")+"")&&e.set_data(y,p),t&2048&&v!==(v="HeaderButton "+(a[11]==="categories"?"Active":""))&&e.attr(d,"class",v),t&4096&&m!==(m=a[12]("providers")+"")&&e.set_data(f,m),t&2048&&_!==(_="HeaderButton "+(a[11]==="providers"?"Active":""))&&e.attr(g,"class",_),t&1&&e.set_custom_element_data(o,"endpoint",a[0]),t&2&&e.set_custom_element_data(o,"datasource",a[1]),t&4&&e.set_custom_element_data(o,"activecategory",a[2]),t&32&&e.set_custom_element_data(o,"excludedflags",a[5]),t&64&&e.set_custom_element_data(o,"lang",a[6]),t&128&&e.set_custom_element_data(o,"clientstyling",a[7]),t&256&&e.set_custom_element_data(o,"clientstylingurl",a[8]),t&512&&e.set_custom_element_data(o,"mbsource",a[9]),t&2048&&c!==(c=a[11]==="providers"?"NotVisible":"")&&e.attr(u,"class",c),t&8&&e.set_custom_element_data(l,"endpoint",a[3]),t&16&&e.set_custom_element_data(l,"datasource",a[4]),t&64&&e.set_custom_element_data(l,"lang",a[6]),t&128&&e.set_custom_element_data(l,"clientstyling",a[7]),t&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),t&512&&e.set_custom_element_data(l,"mbsource",a[9]),t&2048&&w!==(w=a[11]==="categories"?"NotVisible":"")&&e.attr(b,"class",w)},i:e.noop,o:e.noop,d(a){a&&e.detach(s),i[17](null),k=!1,e.run_all(A)}}}function j(i,s,r){let n;e.component_subscribe(i,P.$format,t=>r(12,n=t));let{endpointcategories:d=""}=s,{datasourcecategories:p=""}=s,{activecategory:y=""}=s,{endpointproviders:v=""}=s,{datasourceproviders:S=""}=s,{excludedflags:g=""}=s,{lang:m="en"}=s,{clientstyling:f=""}=s,{clientstylingurl:_=""}=s,{translationurl:h=""}=s,{mbsource:u}=s,o="categories",c,E;const b=()=>{fetch(h).then(C=>C.json()).then(C=>{Object.keys(C).forEach(N=>{B(N,C[N])})}).catch(C=>{console.log(C)})};Object.keys(F).forEach(t=>{B(t,F[t])});const l=t=>{o!==t&&r(11,o=t)},w=()=>{T(m)};e.onMount(()=>()=>{});const k=()=>l("categories"),A=()=>l("providers");function a(t){e.binding_callbacks[t?"unshift":"push"](()=>{c=t,r(10,c)})}return i.$$set=t=>{"endpointcategories"in t&&r(0,d=t.endpointcategories),"datasourcecategories"in t&&r(1,p=t.datasourcecategories),"activecategory"in t&&r(2,y=t.activecategory),"endpointproviders"in t&&r(3,v=t.endpointproviders),"datasourceproviders"in t&&r(4,S=t.datasourceproviders),"excludedflags"in t&&r(5,g=t.excludedflags),"lang"in t&&r(6,m=t.lang),"clientstyling"in t&&r(7,f=t.clientstyling),"clientstylingurl"in t&&r(8,_=t.clientstylingurl),"translationurl"in t&&r(14,h=t.translationurl),"mbsource"in t&&r(9,u=t.mbsource)},i.$$.update=()=>{i.$$.dirty&16384&&h&&b(),i.$$.dirty&64&&m&&w(),i.$$.dirty&1152&&f&&c&&e.setClientStyling(c,f),i.$$.dirty&1280&&_&&c&&e.setClientStylingURL(c,_),i.$$.dirty&1536&&u&&c&&e.setStreamStyling(c,`${u}.Style`,E)},[d,p,y,v,S,g,m,f,_,u,c,o,n,l,h,k,A,a]}class H extends e.SvelteComponent{constructor(s){super(),e.init(this,s,j,O,e.safe_not_equal,{endpointcategories:0,datasourcecategories:1,activecategory:2,endpointproviders:3,datasourceproviders:4,excludedflags:5,lang:6,clientstyling:7,clientstylingurl:8,translationurl:14,mbsource:9},M)}get endpointcategories(){return this.$$.ctx[0]}set endpointcategories(s){this.$$set({endpointcategories:s}),e.flush()}get datasourcecategories(){return this.$$.ctx[1]}set datasourcecategories(s){this.$$set({datasourcecategories:s}),e.flush()}get activecategory(){return this.$$.ctx[2]}set activecategory(s){this.$$set({activecategory:s}),e.flush()}get endpointproviders(){return this.$$.ctx[3]}set endpointproviders(s){this.$$set({endpointproviders:s}),e.flush()}get datasourceproviders(){return this.$$.ctx[4]}set datasourceproviders(s){this.$$set({datasourceproviders:s}),e.flush()}get excludedflags(){return this.$$.ctx[5]}set excludedflags(s){this.$$set({excludedflags:s}),e.flush()}get lang(){return this.$$.ctx[6]}set lang(s){this.$$set({lang:s}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(s){this.$$set({clientstyling:s}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(s){this.$$set({clientstylingurl:s}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(s){this.$$set({translationurl:s}),e.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(s){this.$$set({mbsource:s}),e.flush()}}e.create_custom_element(H,{endpointcategories:{},datasourcecategories:{},activecategory:{},endpointproviders:{},datasourceproviders:{},excludedflags:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=H;
|
|
@@ -14,9 +14,9 @@ var hn = (e, t, a) => new Promise((n, r) => {
|
|
|
14
14
|
}, o = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(i, s);
|
|
15
15
|
o((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as Jr, b as qr, s as Xr, f as L, c as Qr, n as yt, d as H, E as mn, z as tt, t as Te, e as S, F as gn, h as B, j as b, k as T, m as V, u as Re, p as $r, q as ei, l as Ia, y as kt, v as pa, H as xe, w as Pt, x as Nn, G as ht, o as _a, A as ti, B as ai, C as ni, D as ri } from "./CasinoNavigationSearch-
|
|
18
|
-
import { a as ii, $ as si, i as fe, g as oi, b as li } from "./CasinoSearch-
|
|
19
|
-
import "../stencil/ui-image-
|
|
17
|
+
import { S as Jr, b as qr, s as Xr, f as L, c as Qr, n as yt, d as H, E as mn, z as tt, t as Te, e as S, F as gn, h as B, j as b, k as T, m as V, u as Re, p as $r, q as ei, l as Ia, y as kt, v as pa, H as xe, w as Pt, x as Nn, G as ht, o as _a, A as ti, B as ai, C as ni, D as ri } from "./CasinoNavigationSearch-Bc6mEGXV.js";
|
|
18
|
+
import { a as ii, $ as si, i as fe, g as oi, b as li } from "./CasinoSearch-Dq9AvxjW.js";
|
|
19
|
+
import "../stencil/ui-image-z7WRgMwb.js";
|
|
20
20
|
function ui(e) {
|
|
21
21
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
22
22
|
}
|
|
@@ -1336,8 +1336,7 @@ function io(e, t, a) {
|
|
|
1336
1336
|
if (typeof e == "string") {
|
|
1337
1337
|
if (e = Za(qt, e), e === null)
|
|
1338
1338
|
return this;
|
|
1339
|
-
} else
|
|
1340
|
-
Math.abs(e) < 16 && !a && (e = e * 60);
|
|
1339
|
+
} else Math.abs(e) < 16 && !a && (e = e * 60);
|
|
1341
1340
|
return !this._isUTC && t && (r = Fa(this)), this._offset = e, this._isUTC = !0, r != null && this.add(r, "m"), n !== e && (!t || this._changeInProgress ? hr(
|
|
1342
1341
|
this,
|
|
1343
1342
|
ge(e - n, "m"),
|
|
@@ -2970,15 +2969,13 @@ function Ln(e) {
|
|
|
2970
2969
|
/*isopen*/
|
|
2971
2970
|
o[21] && /*displaytype*/
|
|
2972
2971
|
o[18] === Oa
|
|
2973
|
-
)
|
|
2974
|
-
return pu;
|
|
2972
|
+
) return pu;
|
|
2975
2973
|
if (
|
|
2976
2974
|
/*isopen*/
|
|
2977
2975
|
o[21] && /*displaytype*/
|
|
2978
2976
|
o[18] && /*displaytype*/
|
|
2979
2977
|
o[18] === Ca
|
|
2980
|
-
)
|
|
2981
|
-
return gu;
|
|
2978
|
+
) return gu;
|
|
2982
2979
|
}
|
|
2983
2980
|
let i = r(e), s = i && i(e);
|
|
2984
2981
|
return {
|
|
@@ -3645,23 +3642,20 @@ function Gu(e) {
|
|
|
3645
3642
|
) && /*gamefavorite*/
|
|
3646
3643
|
p[0] && /*isLoggedIn*/
|
|
3647
3644
|
p[16] && /*favorites*/
|
|
3648
|
-
p[2] === "true")), je)
|
|
3649
|
-
return Su;
|
|
3645
|
+
p[2] === "true")), je) return Su;
|
|
3650
3646
|
if (ee == null && (ee = !!(!fe(
|
|
3651
3647
|
/*userAgent*/
|
|
3652
3648
|
p[35]
|
|
3653
3649
|
) && !/*gamefavorite*/
|
|
3654
3650
|
p[0] && /*isLoggedIn*/
|
|
3655
|
-
p[16])), ee)
|
|
3656
|
-
return ku;
|
|
3651
|
+
p[16])), ee) return ku;
|
|
3657
3652
|
if (Me == null && (Me = !!(fe(
|
|
3658
3653
|
/*userAgent*/
|
|
3659
3654
|
p[35]
|
|
3660
3655
|
) && /*gamefavorite*/
|
|
3661
3656
|
p[0] && /*isLoggedIn*/
|
|
3662
3657
|
p[16] && /*favorites*/
|
|
3663
|
-
p[2] === "true")), Me)
|
|
3664
|
-
return vu;
|
|
3658
|
+
p[2] === "true")), Me) return vu;
|
|
3665
3659
|
}
|
|
3666
3660
|
let Fe = Ze(e, [-1, -1, -1, -1]), q = Fe && Fe(e), Z = (
|
|
3667
3661
|
/*showgamename*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as Kr, b as Jr, s as qr, f as L, d as Xr, n as yt, e as H, E as hn, A as tt, u as Te, g as S, F as mn, j as B, k as b, m as T, o as V, v as Re, q as Qr, t as $r, l as Ia, z as kt, w as pa, H as xe, x as Pt, y as xn, G as ht, p as _a, B as ei, C as ti, D as ai, c as ni } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as ri, $ as ii, i as fe, g as si, b as oi } from "./CasinoSearch-
|
|
3
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { S as Kr, b as Jr, s as qr, f as L, d as Xr, n as yt, e as H, E as hn, A as tt, u as Te, g as S, F as mn, j as B, k as b, m as T, o as V, v as Re, q as Qr, t as $r, l as Ia, z as kt, w as pa, H as xe, x as Pt, y as xn, G as ht, p as _a, B as ei, C as ti, D as ai, c as ni } from "./CasinoNavigationSearch-B0fdaV-c.js";
|
|
2
|
+
import { a as ri, $ as ii, i as fe, g as si, b as oi } from "./CasinoSearch-sY7hSths.js";
|
|
3
|
+
import "../stencil/ui-image-CBZB9VGk.js";
|
|
4
4
|
function li(e) {
|
|
5
5
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
6
6
|
}
|
|
@@ -1320,8 +1320,7 @@ function ro(e, t, a) {
|
|
|
1320
1320
|
if (typeof e == "string") {
|
|
1321
1321
|
if (e = Za(qt, e), e === null)
|
|
1322
1322
|
return this;
|
|
1323
|
-
} else
|
|
1324
|
-
Math.abs(e) < 16 && !a && (e = e * 60);
|
|
1323
|
+
} else Math.abs(e) < 16 && !a && (e = e * 60);
|
|
1325
1324
|
return !this._isUTC && t && (r = Fa(this)), this._offset = e, this._isUTC = !0, r != null && this.add(r, "m"), n !== e && (!t || this._changeInProgress ? cr(
|
|
1326
1325
|
this,
|
|
1327
1326
|
ge(e - n, "m"),
|
|
@@ -2954,15 +2953,13 @@ function Fn(e) {
|
|
|
2954
2953
|
/*isopen*/
|
|
2955
2954
|
l[21] && /*displaytype*/
|
|
2956
2955
|
l[18] === Oa
|
|
2957
|
-
)
|
|
2958
|
-
return gu;
|
|
2956
|
+
) return gu;
|
|
2959
2957
|
if (
|
|
2960
2958
|
/*isopen*/
|
|
2961
2959
|
l[21] && /*displaytype*/
|
|
2962
2960
|
l[18] && /*displaytype*/
|
|
2963
2961
|
l[18] === Ca
|
|
2964
|
-
)
|
|
2965
|
-
return mu;
|
|
2962
|
+
) return mu;
|
|
2966
2963
|
}
|
|
2967
2964
|
let i = r(e), s = i && i(e);
|
|
2968
2965
|
return {
|
|
@@ -3629,23 +3626,20 @@ function Su(e) {
|
|
|
3629
3626
|
) && /*gamefavorite*/
|
|
3630
3627
|
p[0] && /*isLoggedIn*/
|
|
3631
3628
|
p[16] && /*favorites*/
|
|
3632
|
-
p[2] === "true")), je)
|
|
3633
|
-
return ku;
|
|
3629
|
+
p[2] === "true")), je) return ku;
|
|
3634
3630
|
if (ee == null && (ee = !!(!fe(
|
|
3635
3631
|
/*userAgent*/
|
|
3636
3632
|
p[35]
|
|
3637
3633
|
) && !/*gamefavorite*/
|
|
3638
3634
|
p[0] && /*isLoggedIn*/
|
|
3639
|
-
p[16])), ee)
|
|
3640
|
-
return vu;
|
|
3635
|
+
p[16])), ee) return vu;
|
|
3641
3636
|
if (Me == null && (Me = !!(fe(
|
|
3642
3637
|
/*userAgent*/
|
|
3643
3638
|
p[35]
|
|
3644
3639
|
) && /*gamefavorite*/
|
|
3645
3640
|
p[0] && /*isLoggedIn*/
|
|
3646
3641
|
p[16] && /*favorites*/
|
|
3647
|
-
p[2] === "true")), Me)
|
|
3648
|
-
return bu;
|
|
3642
|
+
p[2] === "true")), Me) return bu;
|
|
3649
3643
|
}
|
|
3650
3644
|
let Fe = Ze(e, [-1, -1, -1, -1]), q = Fe && Fe(e), Z = (
|
|
3651
3645
|
/*showgamename*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ja=(e,t,a)=>new Promise((n,r)=>{var i=d=>{try{l(a.next(d))}catch(m){r(m)}},o=d=>{try{l(a.throw(d))}catch(m){r(m)}},l=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,o);l((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoNavigationSearch-
|
|
1
|
+
"use strict";var Ja=(e,t,a)=>new Promise((n,r)=>{var i=d=>{try{l(a.next(d))}catch(m){r(m)}},o=d=>{try{l(a.throw(d))}catch(m){r(m)}},l=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,o);l((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoNavigationSearch-uyl33bCg.cjs"),K=require("./CasinoSearch-Dul2rMYp.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function Cr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
2
2
|
//! version : 2.29.4
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
package/components/{CasinoNavigationSearch-D2TFQtTD.js → CasinoNavigationSearch-B0fdaV-c.js}
RENAMED
|
@@ -45,8 +45,7 @@ function se(t, e, n) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
function ie(t) {
|
|
48
|
-
if (!t)
|
|
49
|
-
return document;
|
|
48
|
+
if (!t) return document;
|
|
50
49
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
51
50
|
return e && /** @type {ShadowRoot} */
|
|
52
51
|
e.host ? (
|
|
@@ -193,8 +192,7 @@ function C(t) {
|
|
|
193
192
|
L = t;
|
|
194
193
|
}
|
|
195
194
|
function le() {
|
|
196
|
-
if (!L)
|
|
197
|
-
throw new Error("Function called outside component initialization");
|
|
195
|
+
if (!L) throw new Error("Function called outside component initialization");
|
|
198
196
|
return L;
|
|
199
197
|
}
|
|
200
198
|
function fe(t) {
|
|
@@ -228,8 +226,7 @@ function d() {
|
|
|
228
226
|
} catch (e) {
|
|
229
227
|
throw w.length = 0, b = 0, e;
|
|
230
228
|
}
|
|
231
|
-
for (C(null), w.length = 0, b = 0; x.length; )
|
|
232
|
-
x.pop()();
|
|
229
|
+
for (C(null), w.length = 0, b = 0; x.length; ) x.pop()();
|
|
233
230
|
for (let e = 0; e < E.length; e += 1) {
|
|
234
231
|
const n = E[e];
|
|
235
232
|
P.has(n) || (P.add(n), n());
|
|
@@ -545,7 +542,7 @@ if (typeof window < "u") {
|
|
|
545
542
|
}
|
|
546
543
|
};
|
|
547
544
|
};
|
|
548
|
-
customElements.define = t(customElements.define), import("./CasinoSearch-
|
|
545
|
+
customElements.define = t(customElements.define), import("./CasinoSearch-sY7hSths.js").then((e) => e.C).then(({ default: e }) => {
|
|
549
546
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
550
547
|
});
|
|
551
548
|
}
|
|
@@ -561,7 +558,7 @@ if (typeof window < "u") {
|
|
|
561
558
|
}
|
|
562
559
|
};
|
|
563
560
|
};
|
|
564
|
-
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-
|
|
561
|
+
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-BjwGJiFT.js").then(({ default: e }) => {
|
|
565
562
|
!customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
|
|
566
563
|
});
|
|
567
564
|
}
|
|
@@ -573,8 +570,7 @@ function Se(t, e) {
|
|
|
573
570
|
}
|
|
574
571
|
}
|
|
575
572
|
function ve(t, e) {
|
|
576
|
-
if (!t || !e)
|
|
577
|
-
return;
|
|
573
|
+
if (!t || !e) return;
|
|
578
574
|
const n = new URL(e);
|
|
579
575
|
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
580
576
|
const i = document.createElement("style");
|
|
@@ -584,8 +580,7 @@ function ve(t, e) {
|
|
|
584
580
|
});
|
|
585
581
|
}
|
|
586
582
|
function ke(t, e, n, s = !1) {
|
|
587
|
-
if (!window.emMessageBus)
|
|
588
|
-
return;
|
|
583
|
+
if (!window.emMessageBus) return;
|
|
589
584
|
if (!("adoptedStyleSheets" in Document.prototype) || !s)
|
|
590
585
|
return n = Ce(t, e), n;
|
|
591
586
|
window[p] || (window[p] = {}), n = Le(t, e);
|
|
@@ -606,8 +601,7 @@ function Ce(t, e) {
|
|
|
606
601
|
}
|
|
607
602
|
function Le(t, e) {
|
|
608
603
|
return window.emMessageBus.subscribe(e, (n) => {
|
|
609
|
-
if (!t)
|
|
610
|
-
return;
|
|
604
|
+
if (!t) return;
|
|
611
605
|
const s = t.getRootNode(), i = window[p];
|
|
612
606
|
let l = i[e] && i[e].sheet;
|
|
613
607
|
l ? i[e].refCount = i[e].refCount + 1 : (l = new CSSStyleSheet(), l.replaceSync(n), i[e] = {
|
package/components/{CasinoNavigationSearch-CCkQbdS5.js → CasinoNavigationSearch-Bc6mEGXV.js}
RENAMED
|
@@ -10,7 +10,7 @@ var x = (t, e, n) => e in t ? ce(t, e, { enumerable: !0, configurable: !0, writa
|
|
|
10
10
|
fe.call(e, n) && x(t, n, e[n]);
|
|
11
11
|
return t;
|
|
12
12
|
}, K = (t, e) => ae(t, ue(e));
|
|
13
|
-
var h = (t, e, n) =>
|
|
13
|
+
var h = (t, e, n) => x(t, typeof e != "symbol" ? e + "" : e, n);
|
|
14
14
|
var W = (t, e, n) => new Promise((s, a) => {
|
|
15
15
|
var i = (c) => {
|
|
16
16
|
try {
|
|
@@ -74,8 +74,7 @@ function me(t, e, n) {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function $e(t) {
|
|
77
|
-
if (!t)
|
|
78
|
-
return document;
|
|
77
|
+
if (!t) return document;
|
|
79
78
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
80
79
|
return e && /** @type {ShadowRoot} */
|
|
81
80
|
e.host ? (
|
|
@@ -222,8 +221,7 @@ function N(t) {
|
|
|
222
221
|
k = t;
|
|
223
222
|
}
|
|
224
223
|
function Ee() {
|
|
225
|
-
if (!k)
|
|
226
|
-
throw new Error("Function called outside component initialization");
|
|
224
|
+
if (!k) throw new Error("Function called outside component initialization");
|
|
227
225
|
return k;
|
|
228
226
|
}
|
|
229
227
|
function Se(t) {
|
|
@@ -257,8 +255,7 @@ function d() {
|
|
|
257
255
|
} catch (e) {
|
|
258
256
|
throw E.length = 0, w = 0, e;
|
|
259
257
|
}
|
|
260
|
-
for (N(null), E.length = 0, w = 0; D.length; )
|
|
261
|
-
D.pop()();
|
|
258
|
+
for (N(null), E.length = 0, w = 0; D.length; ) D.pop()();
|
|
262
259
|
for (let e = 0; e < v.length; e += 1) {
|
|
263
260
|
const n = v[e];
|
|
264
261
|
H.has(n) || (H.add(n), n());
|
|
@@ -582,7 +579,7 @@ if (typeof window != "undefined") {
|
|
|
582
579
|
}
|
|
583
580
|
};
|
|
584
581
|
};
|
|
585
|
-
customElements.define = t(customElements.define), import("./CasinoSearch-
|
|
582
|
+
customElements.define = t(customElements.define), import("./CasinoSearch-Dq9AvxjW.js").then((e) => e.C).then(({ default: e }) => {
|
|
586
583
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
587
584
|
});
|
|
588
585
|
}
|
|
@@ -598,7 +595,7 @@ if (typeof window != "undefined") {
|
|
|
598
595
|
}
|
|
599
596
|
};
|
|
600
597
|
};
|
|
601
|
-
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-
|
|
598
|
+
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-CXJIW5lx.js").then(({ default: e }) => {
|
|
602
599
|
!customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
|
|
603
600
|
});
|
|
604
601
|
}
|
|
@@ -610,8 +607,7 @@ function Be(t, e) {
|
|
|
610
607
|
}
|
|
611
608
|
}
|
|
612
609
|
function xe(t, e) {
|
|
613
|
-
if (!t || !e)
|
|
614
|
-
return;
|
|
610
|
+
if (!t || !e) return;
|
|
615
611
|
const n = new URL(e);
|
|
616
612
|
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
617
613
|
const a = document.createElement("style");
|
|
@@ -621,8 +617,7 @@ function xe(t, e) {
|
|
|
621
617
|
});
|
|
622
618
|
}
|
|
623
619
|
function He(t, e, n, s = !1) {
|
|
624
|
-
if (!window.emMessageBus)
|
|
625
|
-
return;
|
|
620
|
+
if (!window.emMessageBus) return;
|
|
626
621
|
if (!("adoptedStyleSheets" in Document.prototype) || !s)
|
|
627
622
|
return n = De(t, e), n;
|
|
628
623
|
window[S] || (window[S] = {}), n = Re(t, e);
|
|
@@ -643,8 +638,7 @@ function De(t, e) {
|
|
|
643
638
|
}
|
|
644
639
|
function Re(t, e) {
|
|
645
640
|
return window.emMessageBus.subscribe(e, (n) => {
|
|
646
|
-
if (!t)
|
|
647
|
-
return;
|
|
641
|
+
if (!t) return;
|
|
648
642
|
const s = t.getRootNode(), a = window[S];
|
|
649
643
|
let i = a[e] && a[e].sheet;
|
|
650
644
|
i ? a[e].refCount = a[e].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), a[e] = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ye=Object.defineProperty,we=Object.defineProperties;var pe=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var Se=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var x=(t,e,n)=>e in t?ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,W=(t,e)=>{for(var n in e||(e={}))Se.call(e,n)&&x(t,n,e[n]);if(K)for(var n of K(e))Ee.call(e,n)&&x(t,n,e[n]);return t},Y=(t,e)=>we(t,pe(e));var h=(t,e,n)=>x(t,typeof e!="symbol"?e+"":e,n);var Q=(t,e,n)=>new Promise((s,u)=>{var i=c=>{try{f(n.next(c))}catch(r){u(r)}},o=c=>{try{f(n.throw(c))}catch(r){u(r)}},f=c=>c.done?s(c.value):Promise.resolve(c.value).then(i,o);f((n=n.apply(t,e)).next())});function p(){}function ee(t){return t()}function X(){return Object.create(null)}function O(t){t.forEach(ee)}function V(t){return typeof t=="function"}function te(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let j;function ve(t,e){return t===e?!0:(j||(j=document.createElement("a")),j.href=e,t===j.href)}function Ce(t){return Object.keys(t).length===0}function ne(t,...e){if(t==null){for(const s of e)s(void 0);return p}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Le(t,e,n){t.$$.on_destroy.push(ne(e,n))}function w(t,e){t.appendChild(e)}function se(t,e,n){const s=ke(t);if(!s.getElementById(e)){const u=$("style");u.id=e,u.textContent=n,Ne(s,u)}}function ke(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Ne(t,e){return w(t.head||t,e),e.sheet}function H(t,e,n){t.insertBefore(e,n||null)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function Ae(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function $(t){return document.createElement(t)}function ie(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function I(t){return document.createTextNode(t)}function re(){return I(" ")}function Oe(){return I("")}function Te(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function N(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function l(t,e,n){const s=e.toLowerCase();s in t?t[s]=typeof t[s]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:N(t,e,n)}function Me(t){return Array.from(t.childNodes)}function je(t,e){e=""+e,t.data!==e&&(t.data=e)}function Pe(t,e){t.value=e==null?"":e}function Be(t,e,n){t.classList.toggle(e,!!n)}class He{constructor(e=!1){h(this,"is_svg",!1);h(this,"e");h(this,"n");h(this,"t");h(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,s=null){this.e||(this.is_svg?this.e=ie(n.nodeName):this.e=$(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(s)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)H(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}function Re(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let A;function k(t){A=t}function xe(){if(!A)throw new Error("Function called outside component initialization");return A}function oe(t){xe().$$.on_mount.push(t)}const E=[],B=[];let C=[];const Z=[],ce=Promise.resolve();let q=!1;function ue(){q||(q=!0,ce.then(d))}function De(){return ue(),ce}function U(t){C.push(t)}const D=new Set;let S=0;function d(){if(S!==0)return;const t=A;do{try{for(;S<E.length;){const e=E[S];S++,k(e),qe(e.$$)}}catch(e){throw E.length=0,S=0,e}for(k(null),E.length=0,S=0;B.length;)B.pop()();for(let e=0;e<C.length;e+=1){const n=C[e];D.has(n)||(D.add(n),n())}C.length=0}while(E.length);for(;Z.length;)Z.pop()();q=!1,D.clear(),k(t)}function qe(t){if(t.fragment!==null){t.update(),O(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(U)}}function Ue(t){const e=[],n=[];C.forEach(s=>t.indexOf(s)===-1?e.push(s):n.push(s)),n.forEach(s=>s()),C=e}const Ve=new Set;function Ie(t,e){t&&t.i&&(Ve.delete(t),t.i(e))}function ze(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Fe(t,e,n){const{fragment:s,after_update:u}=t.$$;s&&s.m(e,n),U(()=>{const i=t.$$.on_mount.map(ee).filter(V);t.$$.on_destroy?t.$$.on_destroy.push(...i):O(i),t.$$.on_mount=[]}),u.forEach(U)}function Ge(t,e){const n=t.$$;n.fragment!==null&&(Ue(n.after_update),O(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Je(t,e){t.$$.dirty[0]===-1&&(E.push(t),ue(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function le(t,e,n,s,u,i,o=null,f=[-1]){const c=A;k(t);const r=t.$$={fragment:null,ctx:[],props:i,update:p,not_equal:u,bound:X(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:X(),dirty:f,skip_bound:!1,root:e.target||c.$$.root};o&&o(r.root);let _=!1;if(r.ctx=n?n(t,e.props||{},(g,L,...b)=>{const y=b.length?b[0]:L;return r.ctx&&u(r.ctx[g],r.ctx[g]=y)&&(!r.skip_bound&&r.bound[g]&&r.bound[g](y),_&&Je(t,g)),L}):[],r.update(),_=!0,O(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){const g=Me(e.target);r.fragment&&r.fragment.l(g),g.forEach(T)}else r.fragment&&r.fragment.c();e.intro&&Ie(t.$$.fragment),Fe(t,e.target,e.anchor),d()}k(c)}let ae;typeof HTMLElement=="function"&&(ae=class extends HTMLElement{constructor(e,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(e,n,s){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const u=this.$$c.$on(e,n);this.$$l_u.set(n,u)}super.addEventListener(e,n,s)}removeEventListener(e,n,s){if(super.removeEventListener(e,n,s),this.$$c){const u=this.$$l_u.get(n);u&&(u(),this.$$l_u.delete(n))}}connectedCallback(){return Q(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let o;return{c:function(){o=$("slot"),i!=="default"&&N(o,"name",i)},m:function(r,_){H(r,o,_)},d:function(r){r&&T(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=Re(this);for(const i of this.$$s)i in s&&(n[i]=[e(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=P(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Y(W({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const u=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=P(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(u),u();for(const i in this.$$l)for(const o of this.$$l[i]){const f=this.$$c.$on(i,o);this.$$l_u.set(o,f)}this.$$l={}}})}attributeChangedCallback(e,n,s){var u;this.$$r||(e=this.$$g_p(e),this.$$d[e]=P(e,s,this.$$p_d,"toProp"),(u=this.$$c)==null||u.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function P(t,e,n,s){var i;const u=(i=n[t])==null?void 0:i.type;if(e=u==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!n[t])return e;if(s==="toAttribute")switch(u){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(u){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function fe(t,e,n,s,u,i){let o=class extends ae{constructor(){super(t,n,u),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(f=>(e[f].attribute||f).toLowerCase())}};return Object.keys(e).forEach(f=>{Object.defineProperty(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(c){var r;c=P(f,c,e),this.$$d[f]=c,(r=this.$$c)==null||r.$set({[f]:c})}})}),s.forEach(f=>{Object.defineProperty(o.prototype,f,{get(){var c;return(c=this.$$c)==null?void 0:c[f]}})}),t.element=o,o}class de{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Ge(this,1),this.$destroy=p}$on(e,n){if(!V(n))return p;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const u=s.indexOf(n);u!==-1&&s.splice(u,1)}}$set(e){this.$$set&&!Ce(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ke);if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoSearch-Dul2rMYp.cjs")).then(e=>e.CasinoSearch_ce).then(({default:e})=>{!customElements.get("casino-search")&&customElements.define("casino-search",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesProviders-DH6Z5u6j.cjs")).then(({default:e})=>{!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",e.element)})}const v="__WIDGET_GLOBAL_STYLE_CACHE__";function he(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function ge(t,e){if(!t||!e)return;const n=new URL(e);fetch(n.href).then(s=>s.text()).then(s=>{const u=document.createElement("style");u.innerHTML=s,t&&t.appendChild(u)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function me(t,e,n,s=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!s)return n=We(t,e),n;window[v]||(window[v]={}),n=Ye(t,e);const i=n.unsubscribe.bind(n),o=()=>{if(window[v][e]){const f=window[v][e];f.refCount>1?f.refCount=f.refCount-1:delete window[v][e]}i()};return n.unsubscribe=o,n}function We(t,e){const n=document.createElement("style");return window.emMessageBus.subscribe(e,s=>{t&&(n.innerHTML=s,t.appendChild(n))})}function Ye(t,e){return window.emMessageBus.subscribe(e,n=>{if(!t)return;const s=t.getRootNode(),u=window[v];let i=u[e]&&u[e].sheet;i?u[e].refCount=u[e].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),u[e]={sheet:i,refCount:1});const o=s.adoptedStyleSheets||[];o.includes(i)||(s.adoptedStyleSheets=[...o,i])})}function Qe(t){se(t,"svelte-raimvs","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}")}function Xe(t){let e,n,s,u,i,o,f;return{c(){e=$("div"),n=$("div"),s=$("casino-search"),u=re(),i=$("div"),o=$("casino-categories-providers"),l(s,"endpoint",t[0]),l(s,"datasource",t[5]),l(s,"lang",t[9]),l(s,"session",t[1]),l(s,"userid",t[2]),l(s,"showfavorites",t[8]),l(s,"clientstyling",t[10]),l(s,"clientstylingurl",t[11]),l(s,"integratedgameframedesktop",t[12]),l(s,"integratedgameframemobile",t[13]),l(s,"gamepagemodalurl",t[14]),l(s,"mbsource",t[15]),l(o,"endpointcategories",t[3]),l(o,"datasourcecategories",t[5]),l(o,"activecategory",t[6]),l(o,"endpointproviders",t[4]),l(o,"datasourceproviders",t[5]),l(o,"excludedflags",t[7]),l(o,"lang",t[9]),l(o,"clientstyling",t[10]),l(o,"clientstylingurl",t[11]),l(o,"mbsource",t[15]),N(i,"class",f=t[17]===!0?"NotVisible":"")},m(c,r){H(c,e,r),w(e,n),w(n,s),w(e,u),w(e,i),w(i,o),t[18](e)},p(c,[r]){r&1&&l(s,"endpoint",c[0]),r&32&&l(s,"datasource",c[5]),r&512&&l(s,"lang",c[9]),r&2&&l(s,"session",c[1]),r&4&&l(s,"userid",c[2]),r&256&&l(s,"showfavorites",c[8]),r&1024&&l(s,"clientstyling",c[10]),r&2048&&l(s,"clientstylingurl",c[11]),r&4096&&l(s,"integratedgameframedesktop",c[12]),r&8192&&l(s,"integratedgameframemobile",c[13]),r&16384&&l(s,"gamepagemodalurl",c[14]),r&32768&&l(s,"mbsource",c[15]),r&8&&l(o,"endpointcategories",c[3]),r&32&&l(o,"datasourcecategories",c[5]),r&64&&l(o,"activecategory",c[6]),r&16&&l(o,"endpointproviders",c[4]),r&32&&l(o,"datasourceproviders",c[5]),r&128&&l(o,"excludedflags",c[7]),r&512&&l(o,"lang",c[9]),r&1024&&l(o,"clientstyling",c[10]),r&2048&&l(o,"clientstylingurl",c[11]),r&32768&&l(o,"mbsource",c[15]),r&131072&&f!==(f=c[17]===!0?"NotVisible":"")&&N(i,"class",f)},i:p,o:p,d(c){c&&T(e),t[18](null)}}}function Ze(t,e,n){let{endpoint:s=""}=e,{session:u=""}=e,{userid:i=""}=e,{endpointcategories:o=""}=e,{endpointproviders:f=""}=e,{datasource:c=""}=e,{activecategory:r=""}=e,{excludedflags:_=""}=e,{showfavorites:g=""}=e,{lang:L="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:y=""}=e,{integratedgameframedesktop:z="false"}=e,{integratedgameframemobile:F="false"}=e,{gamepagemodalurl:G="true"}=e,{mbsource:M}=e,R,_e,m;const J=a=>{a.data&&a.data.type=="searchActive"&&n(17,R=a.data.searchStatus),a.data&&a.data.type=="searchCancelled"&&n(17,R=a.data.searchStatus)};oe(()=>(window.addEventListener("message",J,!1),()=>{window.removeEventListener("message",J)}));function be(a){B[a?"unshift":"push"](()=>{m=a,n(16,m)})}return t.$$set=a=>{"endpoint"in a&&n(0,s=a.endpoint),"session"in a&&n(1,u=a.session),"userid"in a&&n(2,i=a.userid),"endpointcategories"in a&&n(3,o=a.endpointcategories),"endpointproviders"in a&&n(4,f=a.endpointproviders),"datasource"in a&&n(5,c=a.datasource),"activecategory"in a&&n(6,r=a.activecategory),"excludedflags"in a&&n(7,_=a.excludedflags),"showfavorites"in a&&n(8,g=a.showfavorites),"lang"in a&&n(9,L=a.lang),"clientstyling"in a&&n(10,b=a.clientstyling),"clientstylingurl"in a&&n(11,y=a.clientstylingurl),"integratedgameframedesktop"in a&&n(12,z=a.integratedgameframedesktop),"integratedgameframemobile"in a&&n(13,F=a.integratedgameframemobile),"gamepagemodalurl"in a&&n(14,G=a.gamepagemodalurl),"mbsource"in a&&n(15,M=a.mbsource)},t.$$.update=()=>{t.$$.dirty&66560&&b&&m&&he(m,b),t.$$.dirty&67584&&y&&m&&ge(m,y),t.$$.dirty&98304&&M&&m&&me(m,`${M}.Style`,_e)},[s,u,i,o,f,c,r,_,g,L,b,y,z,F,G,M,m,R,be]}class $e extends de{constructor(e){super(),le(this,e,Ze,Xe,te,{endpoint:0,session:1,userid:2,endpointcategories:3,endpointproviders:4,datasource:5,activecategory:6,excludedflags:7,showfavorites:8,lang:9,clientstyling:10,clientstylingurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,gamepagemodalurl:14,mbsource:15},Qe)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),d()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),d()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),d()}get endpointcategories(){return this.$$.ctx[3]}set endpointcategories(e){this.$$set({endpointcategories:e}),d()}get endpointproviders(){return this.$$.ctx[4]}set endpointproviders(e){this.$$set({endpointproviders:e}),d()}get datasource(){return this.$$.ctx[5]}set datasource(e){this.$$set({datasource:e}),d()}get activecategory(){return this.$$.ctx[6]}set activecategory(e){this.$$set({activecategory:e}),d()}get excludedflags(){return this.$$.ctx[7]}set excludedflags(e){this.$$set({excludedflags:e}),d()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),d()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),d()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),d()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),d()}get mbsource(){return this.$$.ctx[15]}set mbsource(e){this.$$set({mbsource:e}),d()}}fe($e,{endpoint:{},session:{},userid:{},endpointcategories:{},endpointproviders:{},datasource:{},activecategory:{},excludedflags:{},showfavorites:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},mbsource:{}},[],[],!0);const et=Object.freeze(Object.defineProperty({__proto__:null,default:$e},Symbol.toStringTag,{value:"Module"}));exports.CasinoNavigationSearch_ce=et;exports.HtmlTag=He;exports.SvelteComponent=de;exports.append=w;exports.append_styles=se;exports.attr=N;exports.binding_callbacks=B;exports.component_subscribe=Le;exports.create_custom_element=fe;exports.destroy_each=Ae;exports.detach=T;exports.element=$;exports.empty=Oe;exports.ensure_array_like=ze;exports.flush=d;exports.init=le;exports.insert=H;exports.is_function=V;exports.listen=Te;exports.noop=p;exports.onMount=oe;exports.run_all=O;exports.safe_not_equal=te;exports.setClientStyling=he;exports.setClientStylingURL=ge;exports.setStreamStyling=me;exports.set_custom_element_data=l;exports.set_data=je;exports.set_input_value=Pe;exports.space=re;exports.src_url_equal=ve;exports.subscribe=ne;exports.svg_element=ie;exports.text=I;exports.tick=De;exports.toggle_class=Be;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Q, b as W, s as X, f as M, c as Y, n as I, d as O, h as C, k as S, e as v, p as Z, v as $, t as A, j as c, u as E, w as N, x as R, m as L, y as ee, E as V, l as J, A as te, B as re, C as ie, D as le } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as se, $ as oe, b as ae } from "./CasinoSearch-
|
|
1
|
+
import { S as Q, b as W, s as X, f as M, c as Y, n as I, d as O, h as C, k as S, e as v, p as Z, v as $, t as A, j as c, u as E, w as N, x as R, m as L, y as ee, E as V, l as J, A as te, B as re, C as ie, D as le } from "./CasinoNavigationSearch-Bc6mEGXV.js";
|
|
2
|
+
import { a as se, $ as oe, b as ae } from "./CasinoSearch-Dq9AvxjW.js";
|
|
3
3
|
const U = {
|
|
4
4
|
en: {
|
|
5
5
|
popularProviders: "Popular Suppliers",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Q, b as W, s as X, f as M, d as Y, n as I, e as O, j as C, m as S, g as v, q as Z, w as $, u as A, k as c, v as z, x as N, y as q, o as L, z as ee, E as V, l as J, B as te, C as re, D as ie, c as le } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as se, $ as oe, b as ae } from "./CasinoSearch-
|
|
1
|
+
import { S as Q, b as W, s as X, f as M, d as Y, n as I, e as O, j as C, m as S, g as v, q as Z, w as $, u as A, k as c, v as z, x as N, y as q, o as L, z as ee, E as V, l as J, B as te, C as re, D as ie, c as le } from "./CasinoNavigationSearch-B0fdaV-c.js";
|
|
2
|
+
import { a as se, $ as oe, b as ae } from "./CasinoSearch-sY7hSths.js";
|
|
3
3
|
const R = {
|
|
4
4
|
en: {
|
|
5
5
|
popularProviders: "Popular Suppliers",
|