@everymatrix/casino-lobby 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-C8B0eACb.cjs +22 -0
- package/components/{CasinoCalendar-WuTw9Z8d.js → CasinoCalendar-izYyDxua.js} +912 -869
- package/components/{CasinoCalendar-C4nbeq1g.js → CasinoCalendar-lTuMef5g.js} +1136 -1093
- package/components/{CasinoCalendarDailyDetails-CHONyOB5.js → CasinoCalendarDailyDetails-BO_acJjS.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-BAGuydyF.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-DrcJ9qsj.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-eOgZSp2O.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +2 -2
- package/components/{CasinoCalendarDailyItem-CPM6-0C8.js → CasinoCalendarDailyItem-CearDjmk.js} +2 -2
- package/components/{CasinoCalendarDailyItem-B3npUDyl.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DgQayYzE.js → CasinoCategoriesSlider-CbZRQLJS.js} +2 -2
- package/components/{CasinoCategoriesSlider-DyNiM5Xn.js → CasinoCategoriesSlider-CtsT7oWX.js} +2 -2
- package/components/{CasinoCategoriesSlider-CWcGEpfR.cjs → CasinoCategoriesSlider-DtDec725.cjs} +1 -1
- package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
- package/components/{CasinoCollectionsProviders-5PJh4coY.js → CasinoCollectionsProviders-BsANDUWq.js} +33 -33
- package/components/{CasinoCollectionsProviders-DvICMch1.js → CasinoCollectionsProviders-C6vH48GA.js} +31 -31
- package/components/{CasinoFavoritesSection-BLswksE3.js → CasinoFavoritesSection-6WkSSin3.js} +2 -2
- package/components/{CasinoFavoritesSection-D57jT5yq.js → CasinoFavoritesSection-Binip-ga.js} +2 -2
- package/components/{CasinoFavoritesSection-DXEM7KtA.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
- package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
- package/components/CasinoFilter-N8qvxcNm.js +645 -0
- package/components/CasinoFilter-xLSNxOV2.js +644 -0
- package/components/{CasinoGamePage-NTjXPK0_.js → CasinoGamePage-AxIvVXWI.js} +6 -6
- package/components/{CasinoGamePage-D4oYftHp.js → CasinoGamePage-DJFhafR6.js} +110 -110
- package/components/{CasinoGamePage-DhNoxzWb.cjs → CasinoGamePage-DQL-yFsp.cjs} +2 -2
- package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
- package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
- package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
- package/components/{CasinoGamesCategorySection-Br-ZBeEp.js → CasinoGamesCategorySection-BUxtHhON.js} +756 -742
- package/components/CasinoGamesCategorySection-C0zpuZl3.cjs +1 -0
- package/components/{CasinoGamesCategorySection-DrL01BnG.js → CasinoGamesCategorySection-pmibtuJd.js} +1048 -1035
- package/components/{CasinoJackpotBanner-Yo5HGzmD.js → CasinoJackpotBanner-CdjXlJzV.js} +48 -48
- package/components/{CasinoJackpotBanner-CG4fFV2M.js → CasinoJackpotBanner-DcU4dn5c.js} +92 -92
- package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
- package/components/{CasinoLastPlayedSection-BUIc0ZEt.js → CasinoLastPlayedSection-BP5rPSQ_.js} +2 -2
- package/components/{CasinoLastPlayedSection-CFEzl7GR.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DjRKGJ8F.js → CasinoLastPlayedSection-vlivUYOC.js} +2 -2
- package/components/{CasinoLobby-L5w-S2-2.js → CasinoLobby-CPaRNRtp.js} +262 -242
- package/components/{CasinoLobby-CQVjJ22J.js → CasinoLobby-CyDr4hqy.js} +262 -242
- package/components/CasinoLobby-Ds5HlH8Y.cjs +1 -0
- package/components/{CasinoModal-CeEDc631.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
- package/components/{CasinoModal-Cx4skobD.js → CasinoModal-D9IpMDiG.js} +1 -1
- package/components/{CasinoModal-DrALs71O.js → CasinoModal-Dk3TnqEW.js} +1 -1
- package/components/{CasinoMostPlayedSection-BrjuU2ad.js → CasinoMostPlayedSection-20MO7enx.js} +2 -2
- package/components/{CasinoMostPlayedSection-Dru8l_gX.js → CasinoMostPlayedSection-CbfiaETY.js} +2 -2
- package/components/{CasinoMostPlayedSection-D72Posxa.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
- package/components/{CasinoMyGames-DP5VtRtX.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
- package/components/{CasinoMyGames-Cc8aQUy5.js → CasinoMyGames-CFxQ8X8x.js} +4 -4
- package/components/{CasinoMyGames-Eco1Z13t.js → CasinoMyGames-CadZECEx.js} +4 -4
- package/components/CasinoPage-CqUxa6JX.cjs +1 -0
- package/components/CasinoPage-DFLtQdP3.js +4071 -0
- package/components/{CasinoPage-BvKvwzQq.js → CasinoPage-jKeNqwgL.js} +1698 -1543
- package/components/{CasinoRandomGame-RYfnY5_c.js → CasinoRandomGame-CMMdb6MX.js} +192 -193
- package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
- package/components/{CasinoRandomGame-5kYiDYSm.js → CasinoRandomGame-Dfk5ExSm.js} +153 -154
- package/components/{CasinoSearch-CnWoNOtX.js → CasinoSearch-B-DNLDkb.js} +4 -4
- package/components/{CasinoSearch-D-hwTHcV.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
- package/components/{CasinoSearch-Nqv4h_zq.js → CasinoSearch-ulzQNNP2.js} +4 -4
- package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
- package/components/{CasinoSlider-D1JzP31y.js → CasinoSlider-DCODvBVc.js} +141 -142
- package/components/{CasinoSlider-Cr-fAktO.js → CasinoSlider-M-ePf6YF.js} +208 -209
- package/components/{CasinoSort-ByAjtAxn.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
- package/components/{CasinoSort-D51DNHxk.js → CasinoSort-Cz8W-yKd.js} +1 -1
- package/components/{CasinoSort-DXiP4dA5.js → CasinoSort-DJlRNRiq.js} +1 -1
- package/components/{CasinoWinners-B1BXrca1.js → CasinoWinners-B11A2z1V.js} +4 -4
- package/components/{CasinoWinners-pzI08CdT.js → CasinoWinners-B44zvyCP.js} +4 -4
- package/components/{CasinoWinners-CEq9st2v.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CI4qqgO_.js → GeneralAnimationLoading-N8PSBBga.js} +1 -1
- package/components/{GeneralAnimationLoading-DiZmxxRF.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CIaY2Gvf.js → GeneralAnimationLoading-yZge1VnD.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-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-f1sFu8zZ.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-4HBL8qol.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-BaQd3tuL.cjs +0 -22
- package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +0 -1
- package/components/CasinoFilter-B9G8cs2A.cjs +0 -1
- package/components/CasinoFilter-BH7-Laxf.js +0 -632
- package/components/CasinoFilter-COinUQ6E.js +0 -633
- package/components/CasinoGameThumbnail-C_F6ViBB.js +0 -1068
- package/components/CasinoGameThumbnail-DWRrHNvN.cjs +0 -30
- package/components/CasinoGameThumbnail-pajQYCwc.js +0 -1084
- package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +0 -1
- package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +0 -1
- package/components/CasinoLobby-DnBSVJ5P.cjs +0 -1
- package/components/CasinoPage-DAptP7ZQ.cjs +0 -1
- package/components/CasinoPage-mARxTyiZ.js +0 -3916
- package/components/CasinoRandomGame-BJiVFaRb.cjs +0 -2
- package/components/CasinoSlider-B3dV89iI.cjs +0 -1
- 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-BaQd3tuL.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 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function Ce({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function Y(i,e){t.addMessages(i,e)}function ye(i){t.$locale.set(i)}const P={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"},"en-us":{login:"Login",register:"Register",deposit:"Deposit"}};function we(i){t.append_styles(i,"svelte-2e7gs6",'*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function U(i,e,r){const a=i.slice();return a[48]=e[r],a[50]=r,a}function K(i,e,r){const a=i.slice();return a[51]=e[r],a}function X(i,e,r){const a=i.slice();return a[54]=e[r],a[56]=r,a}function J(i){let e=[],r=new Map,a,l=t.ensure_array_like(i[9]);const s=n=>n[48].id;for(let n=0;n<l.length;n+=1){let c=U(i,l,n),d=s(c);r.set(d,e[n]=te(d,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();a=t.empty()},m(n,c){for(let d=0;d<e.length;d+=1)e[d]&&e[d].m(n,c);t.insert(n,a,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,a.parentNode,t.destroy_block,te,a,U))},d(n){n&&t.detach(a);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function be(i){let e,r=i[48].name+"",a;return{c(){e=t.element("button"),a=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,a)},p(l,s){s[0]&512&&r!==(r=l[48].name+"")&&t.set_data(a,r)},d(l){l&&t.detach(e)}}}function _e(i){let e,r=i[48].label+"",a,l;return{c(){e=t.element("a"),a=t.text(r),t.attr(e,"href",l=i[48].path)},m(s,n){t.insert(s,e,n),t.append(e,a)},p(s,n){n[0]&512&&r!==(r=s[48].label+"")&&t.set_data(a,r),n[0]&512&&l!==(l=s[48].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(a,l){r&&r.m(a,l),t.insert(a,e,l)},p(a,l){a[10].length>0&&a[2]=="true"?r?r.p(a,l):(r=V(a),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(a){a&&t.detach(e),r&&r.d(a)}}}function V(i){let e,r=t.ensure_array_like(i[10]),a=[];for(let l=0;l<r.length;l+=1)a[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<a.length;l+=1)a[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<a.length;n+=1)a[n]&&a[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);a[n]?a[n].p(c,s):(a[n]=ee(c),a[n].c(),a[n].m(e,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(a,l)}}}function Z(i){var p;let e,r,a=((p=i[54])==null?void 0:p.name)+"",l,s,n,c,d;function v(...h){return i[33](i[48],i[50],i[54],i[56],...h)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(a),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[50]==i[6]&&(i[7]==i[56]||i[8]==i[56])?"active":""))},m(h,C){t.insert(h,e,C),t.append(e,r),t.append(r,l),t.append(e,n),c||(d=t.listen(e,"click",v),c=!0)},p(h,C){var k;i=h,C[0]&1024&&a!==(a=((k=i[54])==null?void 0:k.name)+"")&&t.set_data(l,a),C[0]&1984&&s!==(s="SubDropDown "+(i[50]==i[6]&&(i[7]==i[56]||i[8]==i[56])?"active":""))&&t.attr(r,"class",s)},d(h){h&&t.detach(e),c=!1,d()}}}function $(i,e){let r,a,l=e[50]==e[51].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),a=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,a,n)},p(s,n){e=s,e[50]==e[51].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(a.parentNode,a)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(a)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,a,l=t.ensure_array_like(i[51].items);const s=n=>n[54].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),d=s(c);r.set(d,e[n]=$(d,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();a=t.empty()},m(n,c){for(let d=0;d<e.length;d+=1)e[d]&&e[d].m(n,c);t.insert(n,a,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[51].items),e=t.update_keyed_each(e,c,s,1,n,l,r,a.parentNode,t.destroy_block,$,a,X))},d(n){n&&t.detach(a);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,a,l,s,n,c,d,v,p,h,C;function k(f,b){return f[0]==="headerMain"?_e:be}let F=k(e),g=F(e),u=e[11][e[50]]==!0&&Q(e);function y(...f){return e[34](e[48],e[50],...f)}return{key:i,first:null,c(){var f,b;r=t.element("li"),a=t.element("div"),l=t.element("ui-image"),c=t.space(),g.c(),d=t.space(),u&&u.c(),v=t.space(),t.set_custom_element_data(l,"imgClass",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[48]))||t.set_custom_element_data(l,"src",n),t.attr(a,"class","CategoryIcon"),t.attr(r,"class",p="CarouselItem "+(((f=e[1])==null?void 0:f.toString().indexOf("$"))>-1?((b=e[1])==null?void 0:b.split("$").pop())==e[48].id.split("$").pop()?"active":"":e[1]==e[48].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),this.first=r},m(f,b){t.insert(f,r,b),t.append(r,a),t.append(a,l),t.append(r,c),g.m(r,null),t.append(r,d),u&&u.m(r,null),t.append(r,v),h||(C=t.listen(r,"click",y),h=!0)},p(f,b){var H,S;e=f,b[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.set_custom_element_data(l,"imgClass",s),b[0]&512&&!t.src_url_equal(l.src,n=e[16](e[48]))&&t.set_custom_element_data(l,"src",n),F===(F=k(e))&&g?g.p(e,b):(g.d(1),g=F(e),g&&(g.c(),g.m(r,d))),e[11][e[50]]==!0?u?u.p(e,b):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),b[0]&515&&p!==(p="CarouselItem "+(((H=e[1])==null?void 0:H.toString().indexOf("$"))>-1?((S=e[1])==null?void 0:S.split("$").pop())==e[48].id.split("$").pop()?"active":"":e[1]==e[48].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",p)},d(f){f&&t.detach(r),g.d(),u&&u.d(),h=!1,C()}}}function ve(i){let e,r,a,l,s,n,c,d,v,p,h,C,k,F,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),a=t.element("div"),a.innerHTML='<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',d=t.space(),u&&u.c(),v=t.space(),p=t.element("div"),p.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(a,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap scroller"),t.attr(p,"class","CarouselRightArrow"),t.attr(r,"class",h=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",C=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",k="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(y,f){t.insert(y,e,f),t.append(e,r),t.append(r,a),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,d),u&&u.m(n,null),i[35](n),i[36](s),t.append(r,v),t.append(r,p),i[38](e),F||(g=[t.listen(a,"click",i[32]),t.listen(p,"click",i[37])],F=!0)},p(y,f){y[9].length>0?u?u.p(y,f):(u=J(y),u.c(),u.m(n,null)):u&&(u.d(1),u=null),f[0]&1&&h!==(h=`CarouselContainer CarouselContainerMobile ${y[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",h),f[0]&1&&C!==(C=y[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",C),f[0]&1&&k!==(k="CarouselWrapper "+(y[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",k)},i:t.noop,o:t.noop,d(y){y&&t.detach(e),u&&u.d(),i[35](null),i[36](null),i[38](null),F=!1,t.run_all(g)}}}function ke(i,e,r){let{endpoint:a=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:d=""}=e,{clientstyling:v=""}=e,{clientstylingurl:p=""}=e,{identity:h=""}=e,{translationurl:C=""}=e,{isprimarymenu:k=!1}=e,{issecondarymenu:F=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:f="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:H=""}=e,{mbsource:S=""}=e;Ce({withLocale:"en",translations:{}});const ne=()=>{fetch(C).then(m=>m.json()).then(m=>{Object.keys(m).forEach(_=>{Y(_,m[_])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(o=>{Y(o,P[o])});let E,D,R,W,M,T=[],j=[],N=[],w,z=(o,m,_,L,I)=>{var A;if(!(o.subGroups&&L===null)){if(O(),r(6,D=m),r(6,D),I!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:o.id,index:m,item:o,path:o.path,externalLink:o.externalLink||!1,target:((A=o.attrs)==null?void 0:A.target)||null},window.location.href),r(7,R=null),r(8,W=null);return}r(7,R=L),r(7,R),r(8,W=R),window.postMessage({type:n,itemId:_.id,subIndex:L,subItem:_},window.location.href)}},G=()=>{w&&(N.length!==D?r(12,w.scrollLeft-=250,w):r(12,w.scrollLeft=0,w))},x=()=>{w&&(N.length!==D?r(12,w.scrollLeft+=250,w):r(12,w.scrollLeft=0,w))};const q=o=>{o.data.type=="SliderData"&&o.data.identity==h&&(r(9,T=o.data.data),r(11,N=new Array(T.length).fill(!1)),y=="true"&&ie()),o.data.type=="GoToHomepage"&&T.forEach((m,_)=>{m.path.endsWith("/casino")&&(r(6,D=_),r(6,D))})},oe=()=>{ye(g)},ae=(o,m,_)=>{if(d=="secondaryMenu"&&a&&l&&g&&o.id){let L=new URL(`${a}/v1/casino/groups/${l}/${o.id}/subGroups?language=${g}`);fetch(L.href).then(I=>I.json()).then(I=>{I.index=m,r(10,j=j.concat(I)),y=="false"&&window.postMessage({type:n,itemId:o.id,index:m,item:o},window.location.href);const A=[];j.map(ge=>(ge.items.forEach(B=>{A.find(pe=>B.id==pe)||A.push(B.id)}),A.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:A},window.location.href)}).then(()=>{E.querySelectorAll(".DropDown")&&O()})}d=="headerMain"&&window.postMessage({type:n,item:o},window.location.href)},O=()=>{const o=E.querySelectorAll(".DropDown");document.activeElement.blur(),w.classList.add("isScrolling");for(let m=0;m<o.length;m++)o[m].style.transform="translateX(-"+w.scrollLeft+"px)";w.classList.remove("isScrolling")},ie=()=>{T.forEach((o,m)=>{var _;((_=o==null?void 0:o.subGroups)==null?void 0:_.count)>0&&(r(11,N[m]=!0,N),ae(o,m))})},le=o=>{let m="";return o.id==="LOBBY"?m=b:o.id==="MYGAMES"&&(m=H),o.icon||m};t.onMount(()=>(window.addEventListener("message",q,!1),"ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),setTimeout(()=>{w.addEventListener("scroll",O)},500),window.postMessage({type:"SliderLoaded",identity:h}),()=>{window.removeEventListener("message",q),E.removeEventListener("scroll",O)}));const se=()=>G(),ce=(o,m,_,L,I)=>{z(o,m,_,L,"secondary"),I.stopPropagation()},ue=(o,m,_)=>{z(o,m,null,null,"main"),_.preventDefault()};function de(o){t.binding_callbacks[o?"unshift":"push"](()=>{E=o,r(5,E)})}function me(o){t.binding_callbacks[o?"unshift":"push"](()=>{w=o,r(12,w)})}const fe=()=>x();function he(o){t.binding_callbacks[o?"unshift":"push"](()=>{M=o,r(4,M)})}return i.$$set=o=>{"endpoint"in o&&r(17,a=o.endpoint),"datasource"in o&&r(18,l=o.datasource),"onclickeventname"in o&&r(19,s=o.onclickeventname),"actionevent"in o&&r(20,n=o.actionevent),"favoritesnumber"in o&&r(21,c=o.favoritesnumber),"location"in o&&r(0,d=o.location),"clientstyling"in o&&r(22,v=o.clientstyling),"clientstylingurl"in o&&r(23,p=o.clientstylingurl),"identity"in o&&r(24,h=o.identity),"translationurl"in o&&r(25,C=o.translationurl),"isprimarymenu"in o&&r(26,k=o.isprimarymenu),"issecondarymenu"in o&&r(27,F=o.issecondarymenu),"lang"in o&&r(28,g=o.lang),"activeindex"in o&&r(1,u=o.activeindex),"showsubgroups"in o&&r(2,y=o.showsubgroups),"categoriesicon"in o&&r(3,f=o.categoriesicon),"lobbyiconimage"in o&&r(29,b=o.lobbyiconimage),"mygamesiconimage"in o&&r(30,H=o.mygamesiconimage),"mbsource"in o&&r(31,S=o.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&C&&ne(),i.$$.dirty[0]&4194320&&v&&M&&t.setClientStyling(M,v),i.$$.dirty[0]&8388624&&p&&M&&t.setClientStylingURL(M,p),i.$$.dirty[0]&16|i.$$.dirty[1]&1&&S&&M&&t.setStreamStyling(M,`${S}.Style`),i.$$.dirty[0]&268435456&&g&&oe()},[d,u,y,f,M,E,D,R,W,T,j,N,w,z,G,x,le,a,l,s,n,c,v,p,h,C,k,F,g,b,H,S,se,ce,ue,de,me,fe,he]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ke,ve,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30,mbsource:31},we,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=re;
|
|
@@ -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
|
-
};
|