@everymatrix/casino-page 1.61.1 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-C2Yc3sSK.js → CasinoCalendar-BqKTPcTA.js} +815 -772
- package/components/{CasinoCalendar-BsK87bVb.js → CasinoCalendar-COGjnTBp.js} +803 -760
- package/components/CasinoCalendar-CTYPczGs.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-IPdibvfl.cjs → CasinoCalendarDailyDetails-0k3Mbp7j.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CnooCl7b.js → CasinoCalendarDailyDetails-B-2HEN0k.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-BR-MLlt8.js → CasinoCalendarDailyDetails-B1Kbh42-.js} +3 -3
- package/components/{CasinoCalendarDailyItem-CB-0OpYL.js → CasinoCalendarDailyItem-BAo9XQZN.js} +2 -2
- package/components/{CasinoCalendarDailyItem-5wfflspQ.js → CasinoCalendarDailyItem-Du2TyLo9.js} +2 -2
- package/components/{CasinoCalendarDailyItem-C8h665gX.cjs → CasinoCalendarDailyItem-HqKMb6b5.cjs} +1 -1
- package/components/CasinoCollectionsProviders-25tyT_nE.cjs +1 -0
- package/components/{CasinoCollectionsProviders-4DyU9VgU.js → CasinoCollectionsProviders-B6-NH1uG.js} +33 -33
- package/components/{CasinoCollectionsProviders-DTK16vnY.js → CasinoCollectionsProviders-CISr8kKd.js} +31 -31
- package/components/{CasinoFavoritesSection-Cjhmgd9O.js → CasinoFavoritesSection-CkI7kPEu.js} +2 -2
- package/components/{CasinoFavoritesSection-CQszWveq.cjs → CasinoFavoritesSection-DVEXo-V3.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DND5I8Rj.js → CasinoFavoritesSection-zRpa_WaN.js} +2 -2
- package/components/CasinoFilter-BLpga2AP.js +645 -0
- package/components/CasinoFilter-Bux0JP7a.cjs +1 -0
- package/components/CasinoFilter-ZArji2Fo.js +644 -0
- package/components/CasinoGameThumbnail-BBRaWcKn.js +4376 -0
- package/components/CasinoGameThumbnail-CzUyNTmF.cjs +47 -0
- package/components/CasinoGameThumbnail-DCciwwuO.js +4360 -0
- package/components/{CasinoGamesCategorySection-DaWFDzDy.js → CasinoGamesCategorySection-Bzsual8g.js} +1048 -1035
- package/components/CasinoGamesCategorySection-CMf7Jf7F.cjs +1 -0
- package/components/{CasinoGamesCategorySection-Dx7tElod.js → CasinoGamesCategorySection-D2NKlpUH.js} +756 -742
- package/components/CasinoJackpotBanner-CeqExh_j.cjs +1 -0
- package/components/{CasinoJackpotBanner-B7IHrsS2.js → CasinoJackpotBanner-DFBWbvH2.js} +48 -48
- package/components/{CasinoJackpotBanner-BMuTyqgP.js → CasinoJackpotBanner-DQ1IsIFk.js} +92 -92
- package/components/{CasinoLastPlayedSection-x3iXX4_l.js → CasinoLastPlayedSection-CRdR3bte.js} +2 -2
- package/components/{CasinoLastPlayedSection-Dv3wNKjP.js → CasinoLastPlayedSection-jR_CHo4M.js} +2 -2
- package/components/{CasinoLastPlayedSection-_YyOdoWw.cjs → CasinoLastPlayedSection-z93ua1nN.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DHLgbotW.js → CasinoMostPlayedSection-B0uWJZkR.js} +2 -2
- package/components/{CasinoMostPlayedSection-BJiX6NZy.cjs → CasinoMostPlayedSection-XEnV8IP2.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DHaullZI.js → CasinoMostPlayedSection-tc7dFFPb.js} +2 -2
- package/components/{CasinoMyGames-7Y0uAToz.cjs → CasinoMyGames-6YP3QgwC.cjs} +1 -1
- package/components/{CasinoMyGames-BscmWEDV.js → CasinoMyGames-8NPnaVKL.js} +4 -4
- package/components/{CasinoMyGames-B-9cQCI8.js → CasinoMyGames-BCXkM38M.js} +4 -4
- package/components/CasinoPage-BJe_cTUt.js +4071 -0
- package/components/CasinoPage-C1xmIi_y.cjs +1 -0
- package/components/{CasinoPage-BJkYAaO8.js → CasinoPage-CHpnxrVK.js} +1698 -1543
- package/components/{CasinoRandomGame-C9kB5_og.js → CasinoRandomGame-BNih6bp6.js} +189 -190
- package/components/{CasinoRandomGame-DbfP3QYh.js → CasinoRandomGame-Cio8WMk-.js} +147 -148
- package/components/CasinoRandomGame-xw4dbeuI.cjs +2 -0
- package/components/{CasinoSearch-EhGtv45F.js → CasinoSearch-BZn-XFLC.js} +3 -3
- package/components/{CasinoSearch-BlaxNjU6.js → CasinoSearch-Diftb4-L.js} +3 -3
- package/components/{CasinoSearch-DVvyApWI.cjs → CasinoSearch-Dw8aSv6M.cjs} +1 -1
- package/components/{CasinoSort-CPY65M1N.js → CasinoSort-BM9d9KRg.js} +1 -1
- package/components/{CasinoSort-DS3nszcz.cjs → CasinoSort-DQBRVKih.cjs} +1 -1
- package/components/{CasinoSort-CkgdV8p-.js → CasinoSort-OZn7Nqjm.js} +1 -1
- package/components/{CasinoWinners-CeyqmMFC.js → CasinoWinners-DvUHEbqa.js} +4 -4
- package/components/{CasinoWinners-Dpy7SH3v.js → CasinoWinners-Dz0f6qwR.js} +4 -4
- package/components/{CasinoWinners--IAJcisz.cjs → CasinoWinners-tcuAKE5W.cjs} +1 -1
- package/components/{GeneralAnimationLoading-nHUDiPDj.cjs → GeneralAnimationLoading-C48CX7Rb.cjs} +1 -1
- package/components/{GeneralAnimationLoading-B8X_wXWW.js → GeneralAnimationLoading-CGyjjsF2.js} +1 -1
- package/components/{GeneralAnimationLoading-DjEHaMfp.js → GeneralAnimationLoading-DFkXKRPZ.js} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/{index-b2193545-k_uiu1dU.js → index-b2193545-60VR4wV3.js} +1 -1
- package/stencil/{index-b2193545-CGYrx6SV.js → index-b2193545-LYFajSbf.js} +1 -1
- package/stencil/{index-b2193545-DU7jU8hT.cjs → index-b2193545-nJb2J-aJ.cjs} +1 -1
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CUjXE1FQ.js +25 -0
- package/stencil/ui-image-DO4by88q.js +7 -0
- package/stencil/ui-image-DgVuZYOM.cjs +1 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
- package/stencil/ui-image_2-CIsvIZfV.js +154 -0
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-BEwHkg9Z.cjs +0 -19
- package/components/CasinoCollectionsProviders-u4eeC1UZ.cjs +0 -1
- package/components/CasinoFilter-BNn_67vk.cjs +0 -1
- package/components/CasinoFilter-Dx28hLZ5.js +0 -633
- package/components/CasinoFilter-QAgAg3dZ.js +0 -632
- package/components/CasinoGameThumbnail-BzlOvI7T.js +0 -3592
- package/components/CasinoGameThumbnail-DogGf_qZ.cjs +0 -39
- package/components/CasinoGameThumbnail-i_FhatOV.js +0 -3608
- package/components/CasinoGamesCategorySection-DLeJwzA5.cjs +0 -1
- package/components/CasinoJackpotBanner-Bpr0u9EJ.cjs +0 -1
- package/components/CasinoPage-BglTvlXo.cjs +0 -1
- package/components/CasinoPage-DZQp-0uU.js +0 -3916
- package/components/CasinoRandomGame-CSI8B4dX.cjs +0 -2
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
- package/stencil/ui-image-38c3c15f--IPbitii.js +0 -39
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +0 -39
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +0 -1
- package/stencil/ui-image-CV8AJ9cY.js +0 -29
- package/stencil/ui-image-DG3xEaHN.js +0 -11
- package/stencil/ui-image-LuWVcxjH.cjs +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BEwHkg9Z.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function oe({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function B(n,t){e.addMessages(n,t)}function le(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function re(n){e.append_styles(n,"svelte-fd0a5p","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const ie=n=>({}),J=n=>({});function D(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||se();function y(d,_){return d[7]?me:de}let m=y(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,_){e.insert(d,t,_),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,_){g&&g.p&&(!s||_[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],_,ie):e.get_all_dirty_from_scope(d[22]),J),m===(m=y(d))&&u?u.p(d,_):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function se(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function de(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function me(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=A(P(n,s,l));function f(l,y){return l[6]?ue:ce}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,y){e.insert(l,t,y),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,y){if(y[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,y):(c[m]=A(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,y):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function A(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("ui-image"),c=e.space(),e.set_custom_element_data(a,"imgClass","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.set_custom_element_data(a,"src",o),e.set_custom_element_data(a,"alt",r=n[41].name),e.set_custom_element_data(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.set_custom_element_data(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.set_custom_element_data(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.set_custom_element_data(a,"title",s)},d(f){f&&e.detach(t)}}}function ce(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ue(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,y,m,u=n[9]("playNowRandomGame")+"",d,_,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
2
|
-
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),y=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,y),e.append(o,m),e.append(m,d),_||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],_=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),_=!1,e.run_all(R)}}}function pe(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ge(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function fe(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&D(n);function y(d,_){if(d[1])return ge;if(!d[1])return pe}let m=y(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,_){e.insert(d,t,_),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,_){d[5]?l?(l.p(d,_),_[0]&32&&e.transition_in(l,1)):(l=D(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=y(d))&&u?u.p(d,_):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||_[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[28](null),p=!1,g()}}}function he(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:y=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:_=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,F=!1,O=window.navigator.userAgent,G,v,j,L,N=null;oe({withLocale:"en",translations:{}});const q=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{B(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{B(i,I[i])});const U=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),_&&i.searchParams.append("filter",`groups=${_}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=E(w.slice(0,19))),a(7,F=!0)):(a(4,k=[]),a(7,F=!1))}).catch(h=>{console.log(h),a(7,F=!1)})},E=i=>{const h=Y(i);return h.concat(h)},V=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield V();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,C=(j.offsetHeight+h)*L,ae=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${C}px)`}],ne={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ae,ne),N.onfinish=()=>{a(6,S=!0)}}),Y=i=>{const h=structuredClone(i);let x=h.length,C;for(;x!=0;)C=Math.floor(Math.random()*x),x--,[h[x],h[C]]=[h[C],h[x]];return h},z=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},X=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},Z=()=>{le(g)};e.onMount(()=>()=>{});function K(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const Q=()=>T(),$=()=>z(),ee=()=>T();function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,y=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,_=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&Z(),n.$$.dirty[0]&131072&&m&&q(),n.$$.dirty[0]&24576&&c&&f&&U(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`)},[l,y,G,b,k,M,S,F,v,o,T,z,X,c,f,p,g,m,u,d,_,R,s,r,K,Q,$,ee,te]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,fe,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},re,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl: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 filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
|
|
@@ -1,550 +0,0 @@
|
|
|
1
|
-
var T = (e, t, n) => new Promise((s, r) => {
|
|
2
|
-
var l = (o) => {
|
|
3
|
-
try {
|
|
4
|
-
a(n.next(o));
|
|
5
|
-
} catch (c) {
|
|
6
|
-
r(c);
|
|
7
|
-
}
|
|
8
|
-
}, i = (o) => {
|
|
9
|
-
try {
|
|
10
|
-
a(n.throw(o));
|
|
11
|
-
} catch (c) {
|
|
12
|
-
r(c);
|
|
13
|
-
}
|
|
14
|
-
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(l, i);
|
|
15
|
-
a((n = n.apply(e, t)).next());
|
|
16
|
-
});
|
|
17
|
-
const ce = "ui-image", fe = (
|
|
18
|
-
/* ui-image */
|
|
19
|
-
{ hydratedSelectorName: "hydrated" }
|
|
20
|
-
);
|
|
21
|
-
var ue = Object.defineProperty, de = (e, t) => {
|
|
22
|
-
for (var n in t)
|
|
23
|
-
ue(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
-
}, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), Ve = (e, t) => B.set(t.$lazyInstance$ = e, t), ve = (e, t) => {
|
|
25
|
-
const n = {
|
|
26
|
-
$flags$: 0,
|
|
27
|
-
$hostElement$: e,
|
|
28
|
-
$cmpMeta$: t,
|
|
29
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
30
|
-
};
|
|
31
|
-
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
|
|
32
|
-
}, pe = (e, t) => t in e, E = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), ge = (e, t, n) => {
|
|
33
|
-
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
34
|
-
if (!r)
|
|
35
|
-
return;
|
|
36
|
-
const l = j.get(r);
|
|
37
|
-
if (l)
|
|
38
|
-
return l[s];
|
|
39
|
-
{
|
|
40
|
-
const i = (a) => (j.set(r, a), a[s]);
|
|
41
|
-
switch (r) {
|
|
42
|
-
case "ui-image":
|
|
43
|
-
return import(
|
|
44
|
-
/* webpackMode: "lazy" */
|
|
45
|
-
"./ui-image-CV8AJ9cY.js"
|
|
46
|
-
).then(i, E);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return import(
|
|
50
|
-
/* @vite-ignore */
|
|
51
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
-
/* webpackMode: "lazy" */
|
|
54
|
-
`./${r}.entry.js`
|
|
55
|
-
).then((i) => (j.set(r, i), i[s]), E);
|
|
56
|
-
}, A = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window != "undefined" ? window : {}, y = z.document || { head: {} }, g = {
|
|
57
|
-
$flags$: 0,
|
|
58
|
-
$resourcesUrl$: "",
|
|
59
|
-
jmp: (e) => e(),
|
|
60
|
-
raf: (e) => requestAnimationFrame(e),
|
|
61
|
-
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
62
|
-
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
63
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
-
}, me = (e) => Promise.resolve(e), ye = /* @__PURE__ */ (() => {
|
|
65
|
-
try {
|
|
66
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
-
} catch (e) {
|
|
68
|
-
}
|
|
69
|
-
return !1;
|
|
70
|
-
})(), O = !1, M = [], Q = [], Se = (e, t) => (n) => {
|
|
71
|
-
e.push(n), O || (O = !0, g.$flags$ & 4 ? q(I) : g.raf(I));
|
|
72
|
-
}, W = (e) => {
|
|
73
|
-
for (let t = 0; t < e.length; t++)
|
|
74
|
-
try {
|
|
75
|
-
e[t](performance.now());
|
|
76
|
-
} catch (n) {
|
|
77
|
-
E(n);
|
|
78
|
-
}
|
|
79
|
-
e.length = 0;
|
|
80
|
-
}, I = () => {
|
|
81
|
-
W(M), W(Q), (O = M.length > 0) && g.raf(I);
|
|
82
|
-
}, q = (e) => me().then(e), be = /* @__PURE__ */ Se(Q), F = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
-
function X(e) {
|
|
84
|
-
var t, n, s;
|
|
85
|
-
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;
|
|
86
|
-
}
|
|
87
|
-
var Ee = {};
|
|
88
|
-
de(Ee, {
|
|
89
|
-
err: () => Z,
|
|
90
|
-
map: () => ke,
|
|
91
|
-
ok: () => H,
|
|
92
|
-
unwrap: () => Pe,
|
|
93
|
-
unwrapErr: () => Te
|
|
94
|
-
});
|
|
95
|
-
var H = (e) => ({
|
|
96
|
-
isOk: !0,
|
|
97
|
-
isErr: !1,
|
|
98
|
-
value: e
|
|
99
|
-
}), Z = (e) => ({
|
|
100
|
-
isOk: !1,
|
|
101
|
-
isErr: !0,
|
|
102
|
-
value: e
|
|
103
|
-
});
|
|
104
|
-
function ke(e, t) {
|
|
105
|
-
if (e.isOk) {
|
|
106
|
-
const n = t(e.value);
|
|
107
|
-
return n instanceof Promise ? n.then((s) => H(s)) : H(n);
|
|
108
|
-
}
|
|
109
|
-
if (e.isErr) {
|
|
110
|
-
const n = e.value;
|
|
111
|
-
return Z(n);
|
|
112
|
-
}
|
|
113
|
-
throw "should never get here";
|
|
114
|
-
}
|
|
115
|
-
var Pe = (e) => {
|
|
116
|
-
if (e.isOk)
|
|
117
|
-
return e.value;
|
|
118
|
-
throw e.value;
|
|
119
|
-
}, Te = (e) => {
|
|
120
|
-
if (e.isErr)
|
|
121
|
-
return e.value;
|
|
122
|
-
throw e.value;
|
|
123
|
-
}, S = (e, t = "") => () => {
|
|
124
|
-
}, we = (e, t) => () => {
|
|
125
|
-
}, xe = (e, t, ...n) => {
|
|
126
|
-
let s = null, r = null, l = !1, i = !1;
|
|
127
|
-
const a = [], o = ($) => {
|
|
128
|
-
for (let f = 0; f < $.length; f++)
|
|
129
|
-
s = $[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !C(s)) && (s = String(s)), l && i ? a[a.length - 1].$text$ += s : a.push(l ? U(null, s) : s), i = l);
|
|
130
|
-
};
|
|
131
|
-
if (o(n), t) {
|
|
132
|
-
t.key && (r = t.key);
|
|
133
|
-
{
|
|
134
|
-
const $ = t.className || t.class;
|
|
135
|
-
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
const c = U(e, null);
|
|
139
|
-
return c.$attrs$ = t, a.length > 0 && (c.$children$ = a), c.$key$ = r, c;
|
|
140
|
-
}, U = (e, t) => {
|
|
141
|
-
const n = {
|
|
142
|
-
$flags$: 0,
|
|
143
|
-
$tag$: e,
|
|
144
|
-
$text$: t,
|
|
145
|
-
$elm$: null,
|
|
146
|
-
$children$: null
|
|
147
|
-
};
|
|
148
|
-
return n.$attrs$ = null, n.$key$ = null, n;
|
|
149
|
-
}, Ae = {}, Le = (e) => e && e.$tag$ === Ae, _e = (e, t) => e != null && !C(e) && t & 1 ? String(e) : e, et = (e) => b(e).$hostElement$, je = (e, t, n) => {
|
|
150
|
-
const s = g.ce(t, n);
|
|
151
|
-
return e.dispatchEvent(s), s;
|
|
152
|
-
}, N = /* @__PURE__ */ new WeakMap(), Oe = (e, t, n) => {
|
|
153
|
-
let s = A.get(e);
|
|
154
|
-
ye && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
|
155
|
-
}, Ie = (e, t, n) => {
|
|
156
|
-
var s;
|
|
157
|
-
const r = R(t), l = A.get(r);
|
|
158
|
-
if (e = e.nodeType === 11 ? e : y, l)
|
|
159
|
-
if (typeof l == "string") {
|
|
160
|
-
e = e.head || e;
|
|
161
|
-
let i = N.get(e), a;
|
|
162
|
-
if (i || N.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
|
|
163
|
-
{
|
|
164
|
-
a = y.createElement("style"), a.innerHTML = l;
|
|
165
|
-
const o = (s = g.$nonce$) != null ? s : X(y);
|
|
166
|
-
o != null && a.setAttribute("nonce", o), e.insertBefore(a, e.querySelector("link"));
|
|
167
|
-
}
|
|
168
|
-
t.$flags$ & 4 && (a.innerHTML += K), i && i.add(r);
|
|
169
|
-
}
|
|
170
|
-
} else
|
|
171
|
-
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
|
172
|
-
return r;
|
|
173
|
-
}, He = (e) => {
|
|
174
|
-
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
175
|
-
Ie(
|
|
176
|
-
n.getRootNode(),
|
|
177
|
-
t
|
|
178
|
-
), s();
|
|
179
|
-
}, R = (e, t) => "sc-" + e.$tagName$, Y = (e, t, n, s, r, l) => {
|
|
180
|
-
if (n !== s) {
|
|
181
|
-
let i = pe(e, t);
|
|
182
|
-
if (t.toLowerCase(), t === "class") {
|
|
183
|
-
const a = e.classList, o = G(n), c = G(s);
|
|
184
|
-
a.remove(...o.filter(($) => $ && !c.includes($))), a.add(...c.filter(($) => $ && !o.includes($)));
|
|
185
|
-
} else if (t === "style") {
|
|
186
|
-
for (const a in n)
|
|
187
|
-
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
|
188
|
-
for (const a in s)
|
|
189
|
-
(!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
|
190
|
-
} else if (t !== "key")
|
|
191
|
-
if (t === "ref")
|
|
192
|
-
s && s(e);
|
|
193
|
-
else {
|
|
194
|
-
const a = C(s);
|
|
195
|
-
if (i || a && s !== null)
|
|
196
|
-
try {
|
|
197
|
-
if (e.tagName.includes("-"))
|
|
198
|
-
e[t] = s;
|
|
199
|
-
else {
|
|
200
|
-
const o = s == null ? "" : s;
|
|
201
|
-
t === "list" ? i = !1 : (n == null || e[t] != o) && (e[t] = o);
|
|
202
|
-
}
|
|
203
|
-
} catch (o) {
|
|
204
|
-
}
|
|
205
|
-
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!i || l & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}, Ue = /\s/, G = (e) => e ? e.split(Ue) : [], V = (e, t, n) => {
|
|
209
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || F, l = t.$attrs$ || F;
|
|
210
|
-
for (const i of J(Object.keys(r)))
|
|
211
|
-
i in l || Y(s, i, r[i], void 0, n, t.$flags$);
|
|
212
|
-
for (const i of J(Object.keys(l)))
|
|
213
|
-
Y(s, i, r[i], l[i], n, t.$flags$);
|
|
214
|
-
};
|
|
215
|
-
function J(e) {
|
|
216
|
-
return e.includes("ref") ? (
|
|
217
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
218
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
|
219
|
-
) : (
|
|
220
|
-
// no need to sort, return the original array
|
|
221
|
-
e
|
|
222
|
-
);
|
|
223
|
-
}
|
|
224
|
-
var ee, te = !1, L = (e, t, n, s) => {
|
|
225
|
-
const r = t.$children$[n];
|
|
226
|
-
let l = 0, i, a;
|
|
227
|
-
if (i = r.$elm$ = y.createElement(
|
|
228
|
-
r.$tag$
|
|
229
|
-
), V(null, r, te), r.$children$)
|
|
230
|
-
for (l = 0; l < r.$children$.length; ++l)
|
|
231
|
-
a = L(e, r, l), a && i.appendChild(a);
|
|
232
|
-
return i["s-hn"] = ee, i;
|
|
233
|
-
}, se = (e, t, n, s, r, l) => {
|
|
234
|
-
let i = e, a;
|
|
235
|
-
for (; r <= l; ++r)
|
|
236
|
-
s[r] && (a = L(null, n, r), a && (s[r].$elm$ = a, x(i, a, t)));
|
|
237
|
-
}, ne = (e, t, n) => {
|
|
238
|
-
for (let s = t; s <= n; ++s) {
|
|
239
|
-
const r = e[s];
|
|
240
|
-
if (r) {
|
|
241
|
-
const l = r.$elm$;
|
|
242
|
-
re(r), l && l.remove();
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}, Be = (e, t, n, s, r = !1) => {
|
|
246
|
-
let l = 0, i = 0, a = 0, o = 0, c = t.length - 1, $ = t[0], f = t[c], u = s.length - 1, d = s[0], v = s[u], p, h;
|
|
247
|
-
for (; l <= c && i <= u; )
|
|
248
|
-
if ($ == null)
|
|
249
|
-
$ = t[++l];
|
|
250
|
-
else if (f == null)
|
|
251
|
-
f = t[--c];
|
|
252
|
-
else if (d == null)
|
|
253
|
-
d = s[++i];
|
|
254
|
-
else if (v == null)
|
|
255
|
-
v = s[--u];
|
|
256
|
-
else if (w($, d, r))
|
|
257
|
-
k($, d, r), $ = t[++l], d = s[++i];
|
|
258
|
-
else if (w(f, v, r))
|
|
259
|
-
k(f, v, r), f = t[--c], v = s[--u];
|
|
260
|
-
else if (w($, v, r))
|
|
261
|
-
k($, v, r), x(e, $.$elm$, f.$elm$.nextSibling), $ = t[++l], v = s[--u];
|
|
262
|
-
else if (w(f, d, r))
|
|
263
|
-
k(f, d, r), x(e, f.$elm$, $.$elm$), f = t[--c], d = s[++i];
|
|
264
|
-
else {
|
|
265
|
-
for (a = -1, o = l; o <= c; ++o)
|
|
266
|
-
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
267
|
-
a = o;
|
|
268
|
-
break;
|
|
269
|
-
}
|
|
270
|
-
a >= 0 ? (h = t[a], h.$tag$ !== d.$tag$ ? p = L(t && t[i], n, a) : (k(h, d, r), t[a] = void 0, p = h.$elm$), d = s[++i]) : (p = L(t && t[i], n, i), d = s[++i]), p && x($.$elm$.parentNode, p, $.$elm$);
|
|
271
|
-
}
|
|
272
|
-
l > c ? se(
|
|
273
|
-
e,
|
|
274
|
-
s[u + 1] == null ? null : s[u + 1].$elm$,
|
|
275
|
-
n,
|
|
276
|
-
s,
|
|
277
|
-
i,
|
|
278
|
-
u
|
|
279
|
-
) : i > u && ne(t, l, c);
|
|
280
|
-
}, w = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
|
|
281
|
-
const s = t.$elm$ = e.$elm$, r = e.$children$, l = t.$children$;
|
|
282
|
-
V(e, t, te), r !== null && l !== null ? Be(s, r, t, l, n) : l !== null ? se(s, null, t, l, 0, l.length - 1) : r !== null && ne(r, 0, r.length - 1);
|
|
283
|
-
}, re = (e) => {
|
|
284
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(re);
|
|
285
|
-
}, x = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), ze = (e, t, n = !1) => {
|
|
286
|
-
const s = e.$hostElement$, r = e.$vnode$ || U(null, null), l = Le(t) ? t : xe(null, null, t);
|
|
287
|
-
if (ee = s.tagName, n && l.$attrs$)
|
|
288
|
-
for (const i of Object.keys(l.$attrs$))
|
|
289
|
-
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
|
290
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = r.$elm$ = s, k(r, l, n);
|
|
291
|
-
}, le = (e, t) => {
|
|
292
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
293
|
-
}, D = (e, t) => {
|
|
294
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
295
|
-
e.$flags$ |= 512;
|
|
296
|
-
return;
|
|
297
|
-
}
|
|
298
|
-
return le(e, e.$ancestorComponent$), be(() => qe(e, t));
|
|
299
|
-
}, qe = (e, t) => {
|
|
300
|
-
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
301
|
-
if (!r)
|
|
302
|
-
throw new Error(
|
|
303
|
-
`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`
|
|
304
|
-
);
|
|
305
|
-
let l;
|
|
306
|
-
return s(), Ce(l, () => Me(e, r, t));
|
|
307
|
-
}, Ce = (e, t) => De(e) ? e.then(t).catch((n) => {
|
|
308
|
-
console.error(n), t();
|
|
309
|
-
}) : t(), De = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Me = (e, t, n) => T(void 0, null, function* () {
|
|
310
|
-
var s;
|
|
311
|
-
const r = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
|
|
312
|
-
n && He(e);
|
|
313
|
-
const a = S("render", e.$cmpMeta$.$tagName$);
|
|
314
|
-
We(e, t, r, n), i && (i.map((o) => o()), r["s-rc"] = void 0), a(), l();
|
|
315
|
-
{
|
|
316
|
-
const o = (s = r["s-p"]) != null ? s : [], c = () => Fe(e);
|
|
317
|
-
o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
|
|
318
|
-
}
|
|
319
|
-
}), We = (e, t, n, s) => {
|
|
320
|
-
try {
|
|
321
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ze(e, t, s);
|
|
322
|
-
} catch (r) {
|
|
323
|
-
E(r, e.$hostElement$);
|
|
324
|
-
}
|
|
325
|
-
return null;
|
|
326
|
-
}, Fe = (e) => {
|
|
327
|
-
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, l = e.$ancestorComponent$;
|
|
328
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ie(n), Ne(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), l || ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && q(() => D(e, !1)), e.$flags$ &= -517;
|
|
329
|
-
}, ae = (e) => {
|
|
330
|
-
ie(y.documentElement), q(() => je(z, "appload", { detail: { namespace: ce } }));
|
|
331
|
-
}, Ne = (e, t, n) => {
|
|
332
|
-
if (e && e[t])
|
|
333
|
-
try {
|
|
334
|
-
return e[t](n);
|
|
335
|
-
} catch (s) {
|
|
336
|
-
E(s);
|
|
337
|
-
}
|
|
338
|
-
}, ie = (e) => {
|
|
339
|
-
var t;
|
|
340
|
-
return e.classList.add((t = fe.hydratedSelectorName) != null ? t : "hydrated");
|
|
341
|
-
}, Ye = (e, t) => b(e).$instanceValues$.get(t), Ge = (e, t, n, s) => {
|
|
342
|
-
const r = b(e);
|
|
343
|
-
if (!r)
|
|
344
|
-
throw new Error(
|
|
345
|
-
`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).`
|
|
346
|
-
);
|
|
347
|
-
const l = r.$hostElement$, i = r.$instanceValues$.get(t), a = r.$flags$, o = r.$lazyInstance$;
|
|
348
|
-
n = _e(n, s.$members$[t][0]);
|
|
349
|
-
const c = Number.isNaN(i) && Number.isNaN(n), $ = n !== i && !c;
|
|
350
|
-
if ((!(a & 8) || i === void 0) && $ && (r.$instanceValues$.set(t, n), o)) {
|
|
351
|
-
if (s.$watchers$ && a & 128) {
|
|
352
|
-
const f = s.$watchers$[t];
|
|
353
|
-
f && f.map((u) => {
|
|
354
|
-
try {
|
|
355
|
-
o[u](n, i, t);
|
|
356
|
-
} catch (d) {
|
|
357
|
-
E(d, l);
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
(a & 18) === 2 && D(r, !1);
|
|
362
|
-
}
|
|
363
|
-
}, oe = (e, t, n) => {
|
|
364
|
-
var s, r;
|
|
365
|
-
const l = e.prototype;
|
|
366
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
367
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
368
|
-
const i = Object.entries((s = t.$members$) != null ? s : {});
|
|
369
|
-
if (i.map(([a, [o]]) => {
|
|
370
|
-
(o & 31 || n & 2 && o & 32) && Object.defineProperty(l, a, {
|
|
371
|
-
get() {
|
|
372
|
-
return Ye(this, a);
|
|
373
|
-
},
|
|
374
|
-
set(c) {
|
|
375
|
-
Ge(this, a, c, t);
|
|
376
|
-
},
|
|
377
|
-
configurable: !0,
|
|
378
|
-
enumerable: !0
|
|
379
|
-
});
|
|
380
|
-
}), n & 1) {
|
|
381
|
-
const a = /* @__PURE__ */ new Map();
|
|
382
|
-
l.attributeChangedCallback = function(o, c, $) {
|
|
383
|
-
g.jmp(() => {
|
|
384
|
-
var f;
|
|
385
|
-
const u = a.get(o);
|
|
386
|
-
if (this.hasOwnProperty(u))
|
|
387
|
-
$ = this[u], delete this[u];
|
|
388
|
-
else {
|
|
389
|
-
if (l.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
390
|
-
return;
|
|
391
|
-
if (u == null) {
|
|
392
|
-
const d = b(this), v = d == null ? void 0 : d.$flags$;
|
|
393
|
-
if (v && !(v & 8) && v & 128 && $ !== c) {
|
|
394
|
-
const p = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
395
|
-
h == null || h.forEach((m) => {
|
|
396
|
-
p[m] != null && p[m].call(p, $, c, o);
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
|
-
return;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
403
|
-
});
|
|
404
|
-
}, e.observedAttributes = Array.from(
|
|
405
|
-
/* @__PURE__ */ new Set([
|
|
406
|
-
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
407
|
-
...i.filter(
|
|
408
|
-
([o, c]) => c[0] & 15
|
|
409
|
-
/* HasAttribute */
|
|
410
|
-
).map(([o, c]) => {
|
|
411
|
-
const $ = c[1] || o;
|
|
412
|
-
return a.set($, o), $;
|
|
413
|
-
})
|
|
414
|
-
])
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
return e;
|
|
419
|
-
}, Je = (e, t, n, s) => T(void 0, null, function* () {
|
|
420
|
-
let r;
|
|
421
|
-
if (!(t.$flags$ & 32)) {
|
|
422
|
-
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
423
|
-
const o = ge(n);
|
|
424
|
-
if (o && "then" in o) {
|
|
425
|
-
const $ = we();
|
|
426
|
-
r = yield o, $();
|
|
427
|
-
} else
|
|
428
|
-
r = o;
|
|
429
|
-
if (!r)
|
|
430
|
-
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
431
|
-
r.isProxied || (n.$watchers$ = r.watchers, oe(
|
|
432
|
-
r,
|
|
433
|
-
n,
|
|
434
|
-
2
|
|
435
|
-
/* proxyState */
|
|
436
|
-
), r.isProxied = !0);
|
|
437
|
-
const c = S("createInstance", n.$tagName$);
|
|
438
|
-
t.$flags$ |= 8;
|
|
439
|
-
try {
|
|
440
|
-
new r(t);
|
|
441
|
-
} catch ($) {
|
|
442
|
-
E($);
|
|
443
|
-
}
|
|
444
|
-
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
445
|
-
} else {
|
|
446
|
-
r = e.constructor;
|
|
447
|
-
const o = e.localName;
|
|
448
|
-
customElements.whenDefined(o).then(
|
|
449
|
-
() => t.$flags$ |= 128
|
|
450
|
-
/* isWatchReady */
|
|
451
|
-
);
|
|
452
|
-
}
|
|
453
|
-
if (r && r.style) {
|
|
454
|
-
let o;
|
|
455
|
-
typeof r.style == "string" && (o = r.style);
|
|
456
|
-
const c = R(n);
|
|
457
|
-
if (!A.has(c)) {
|
|
458
|
-
const $ = S("registerStyles", n.$tagName$);
|
|
459
|
-
Oe(c, o, !!(n.$flags$ & 1)), $();
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
const l = t.$ancestorComponent$, i = () => D(t, !0);
|
|
464
|
-
l && l["s-rc"] ? l["s-rc"].push(i) : i();
|
|
465
|
-
}), Ke = (e) => {
|
|
466
|
-
}, Qe = (e) => {
|
|
467
|
-
if (!(g.$flags$ & 1)) {
|
|
468
|
-
const t = b(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
|
469
|
-
if (t.$flags$ & 1)
|
|
470
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ke());
|
|
471
|
-
else {
|
|
472
|
-
t.$flags$ |= 1;
|
|
473
|
-
{
|
|
474
|
-
let r = e;
|
|
475
|
-
for (; r = r.parentNode || r.host; )
|
|
476
|
-
if (r["s-p"]) {
|
|
477
|
-
le(t, t.$ancestorComponent$ = r);
|
|
478
|
-
break;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
n.$members$ && Object.entries(n.$members$).map(([r, [l]]) => {
|
|
482
|
-
if (l & 31 && e.hasOwnProperty(r)) {
|
|
483
|
-
const i = e[r];
|
|
484
|
-
delete e[r], e[r] = i;
|
|
485
|
-
}
|
|
486
|
-
}), Je(e, t, n);
|
|
487
|
-
}
|
|
488
|
-
s();
|
|
489
|
-
}
|
|
490
|
-
}, Xe = (e) => {
|
|
491
|
-
}, Ze = (e) => T(void 0, null, function* () {
|
|
492
|
-
if (!(g.$flags$ & 1)) {
|
|
493
|
-
const t = b(e);
|
|
494
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Xe());
|
|
495
|
-
}
|
|
496
|
-
}), tt = (e, t = {}) => {
|
|
497
|
-
var n;
|
|
498
|
-
const s = S(), r = [], l = t.exclude || [], i = z.customElements, a = y.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
|
|
499
|
-
let f, u = !0;
|
|
500
|
-
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
501
|
-
let d = !1;
|
|
502
|
-
if (e.map((v) => {
|
|
503
|
-
v[1].map((p) => {
|
|
504
|
-
var h;
|
|
505
|
-
const m = {
|
|
506
|
-
$flags$: p[0],
|
|
507
|
-
$tagName$: p[1],
|
|
508
|
-
$members$: p[2],
|
|
509
|
-
$listeners$: p[3]
|
|
510
|
-
};
|
|
511
|
-
m.$flags$ & 4 && (d = !0), m.$members$ = p[2], m.$watchers$ = (h = p[4]) != null ? h : {};
|
|
512
|
-
const P = m.$tagName$, $e = class extends HTMLElement {
|
|
513
|
-
// StencilLazyHost
|
|
514
|
-
constructor(_) {
|
|
515
|
-
super(_), this.hasRegisteredEventListeners = !1, _ = this, ve(_, m);
|
|
516
|
-
}
|
|
517
|
-
connectedCallback() {
|
|
518
|
-
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : g.jmp(() => Qe(this));
|
|
519
|
-
}
|
|
520
|
-
disconnectedCallback() {
|
|
521
|
-
g.jmp(() => Ze(this));
|
|
522
|
-
}
|
|
523
|
-
componentOnReady() {
|
|
524
|
-
return b(this).$onReadyPromise$;
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
m.$lazyBundleId$ = v[0], !l.includes(P) && !i.get(P) && (r.push(P), i.define(
|
|
528
|
-
P,
|
|
529
|
-
oe(
|
|
530
|
-
$e,
|
|
531
|
-
m,
|
|
532
|
-
1
|
|
533
|
-
/* isElementConstructor */
|
|
534
|
-
)
|
|
535
|
-
));
|
|
536
|
-
});
|
|
537
|
-
}), r.length > 0 && (d && (c.textContent += K), c.textContent += r.sort() + he, c.innerHTML.length)) {
|
|
538
|
-
c.setAttribute("data-styles", "");
|
|
539
|
-
const v = (n = g.$nonce$) != null ? n : X(y);
|
|
540
|
-
v != null && c.setAttribute("nonce", v), a.insertBefore(c, o ? o.nextSibling : a.firstChild);
|
|
541
|
-
}
|
|
542
|
-
u = !1, $.length ? $.map((v) => v.connectedCallback()) : g.jmp(() => f = setTimeout(ae, 30)), s();
|
|
543
|
-
};
|
|
544
|
-
export {
|
|
545
|
-
tt as b,
|
|
546
|
-
et as g,
|
|
547
|
-
xe as h,
|
|
548
|
-
me as p,
|
|
549
|
-
Ve as r
|
|
550
|
-
};
|