@everymatrix/casino-lobby 1.94.113 → 1.94.115
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-DVcPRo_u.js → CasinoCalendar-BSSrHXNQ.js} +4 -4
- package/components/{CasinoCalendar-BXvfEoIw.js → CasinoCalendar-BjySUHyZ.js} +17 -17
- package/components/{CasinoCalendar-DVcLQ7L7.cjs → CasinoCalendar-CPSaANk_.cjs} +2 -2
- package/components/{CasinoCalendarDailyDetails-CvwYgkF-.js → CasinoCalendarDailyDetails-BoDKzZAL.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-GkJZhCMM.js → CasinoCalendarDailyDetails-DhX-usiB.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-BfIli_AA.cjs → CasinoCalendarDailyDetails-VGdSGrVK.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-D2drOS7l.cjs → CasinoCalendarDailyItem-C3xfp-OS.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BJIqQwPm.js → CasinoCalendarDailyItem-CA5M4JX2.js} +2 -2
- package/components/{CasinoCalendarDailyItem-DDfOE3Kh.js → CasinoCalendarDailyItem-CMjiC6kY.js} +2 -2
- package/components/{CasinoCategoriesSlider-BgvID_By.cjs → CasinoCategoriesSlider-BTw-gZW4.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-B_h-qaMt.js → CasinoCategoriesSlider-DEc0M4Jn.js} +2 -2
- package/components/{CasinoCategoriesSlider-B-3Ima-R.js → CasinoCategoriesSlider-DmIIvJxr.js} +2 -2
- package/components/{CasinoCollectionsProviders-KIiljAsY.cjs → CasinoCollectionsProviders-BX2V3tDm.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Dgs8Og2Y.js → CasinoCollectionsProviders-Bk2Q_dKh.js} +1 -1
- package/components/{CasinoCollectionsProviders-B57Ptt-X.js → CasinoCollectionsProviders-CmZnRhGO.js} +1 -1
- package/components/{CasinoFavoritesSection-yi6FSchQ.js → CasinoFavoritesSection-B5IloH92.js} +2 -2
- package/components/{CasinoFavoritesSection-CVHGr7Mw.cjs → CasinoFavoritesSection-DE_s0gS_.cjs} +1 -1
- package/components/{CasinoFavoritesSection-B_v_E83y.js → CasinoFavoritesSection-NizzPczK.js} +2 -2
- package/components/{CasinoFilter-CgzM_O4f.js → CasinoFilter-C4hPyQNk.js} +1 -1
- package/components/{CasinoFilter-D7aDTGx9.cjs → CasinoFilter-CFym68mv.cjs} +1 -1
- package/components/{CasinoFilter-CZvBafRA.js → CasinoFilter-UrtcDtAa.js} +1 -1
- package/components/{CasinoGameThumbnail-DNNKQjcx.js → CasinoGameThumbnail-Cu4ldhfo.js} +3 -3
- package/components/{CasinoGameThumbnail-CAuANFf_.cjs → CasinoGameThumbnail-Dg2U96dy.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Yg8ErMNy.js → CasinoGameThumbnail-DkOf6fv3.js} +3 -3
- package/components/{CasinoGamesCategorySection-CNZYqrc-.cjs → CasinoGamesCategorySection-BMVgv-gE.cjs} +2 -2
- package/components/{CasinoGamesCategorySection-DISW2U9O.js → CasinoGamesCategorySection-C6V4Owht.js} +4 -4
- package/components/{CasinoGamesCategorySection-CEA7wun9.js → CasinoGamesCategorySection-xB7lSgTz.js} +4 -4
- package/components/{CasinoJackpotBanner-BIhalKSt.cjs → CasinoJackpotBanner-Cmi7j_9o.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DrdS8dax.js → CasinoJackpotBanner-Czp2f53o.js} +2 -2
- package/components/{CasinoJackpotBanner-9IthYU25.js → CasinoJackpotBanner-g0vrCtzB.js} +2 -2
- package/components/{CasinoLastPlayedSection-XwTAS2c1.js → CasinoLastPlayedSection-BeXbhcJS.js} +2 -2
- package/components/{CasinoLastPlayedSection-BVD7Hxb_.js → CasinoLastPlayedSection-DIOQytk1.js} +2 -2
- package/components/{CasinoLastPlayedSection-CGwZHr5P.cjs → CasinoLastPlayedSection-eVskdQwE.cjs} +1 -1
- package/components/{CasinoLobby-C25KkvZc.cjs → CasinoLobby-CTZObrkO.cjs} +1 -1
- package/components/{CasinoLobby-sLFlEjwG.js → CasinoLobby-CmAf2BJ4.js} +2 -2
- package/components/{CasinoLobby-CMJNGWoh.js → CasinoLobby-DlkT0ycq.js} +2 -2
- package/components/{CasinoMostPlayedSection-BcMhTfD-.js → CasinoMostPlayedSection-BdNavRAR.js} +44 -42
- package/components/{CasinoMostPlayedSection-D0h8KIwb.js → CasinoMostPlayedSection-CsYfyBz6.js} +44 -42
- package/components/CasinoMostPlayedSection-D08L25CV.cjs +1 -0
- package/components/{CasinoMyGames-um1WOcfO.cjs → CasinoMyGames-BkZPnCAU.cjs} +1 -1
- package/components/{CasinoMyGames-BNpabEQy.js → CasinoMyGames-DXHLKn-b.js} +4 -4
- package/components/{CasinoMyGames-CA9Z9n2Y.js → CasinoMyGames-DquSH-8S.js} +4 -4
- package/components/{CasinoPage-DeKu31ab.js → CasinoPage-6DlUJdNB.js} +12 -12
- package/components/{CasinoPage-BTu5ttuD.js → CasinoPage-BMNjtSeY.js} +12 -12
- package/components/{CasinoPage-D9OCJV8s.cjs → CasinoPage-Z_i9BoVq.cjs} +1 -1
- package/components/{CasinoRandomGame-CVfk4pbZ.js → CasinoRandomGame-CZbhowv3.js} +1 -1
- package/components/{CasinoRandomGame-Cc5_MPh5.js → CasinoRandomGame-CmSz_YAA.js} +1 -1
- package/components/{CasinoRandomGame-Bnq_6_FF.cjs → CasinoRandomGame-sGQ_8-fH.cjs} +1 -1
- package/components/{CasinoSearch-D1KpWB-7.cjs → CasinoSearch-DDc1Do7_.cjs} +1 -1
- package/components/{CasinoSearch-BtA3V3f5.js → CasinoSearch-DaPqNPP0.js} +3 -3
- package/components/{CasinoSearch-kzayyZlM.js → CasinoSearch-YX2fRFUd.js} +3 -3
- package/components/{CasinoSlider-YRYhDg-K.js → CasinoSlider-BtDxtbI7.js} +1 -1
- package/components/{CasinoSlider-C8MdHH0y.js → CasinoSlider-C2_jk1q5.js} +1 -1
- package/components/{CasinoSlider-DYQFD4el.cjs → CasinoSlider-Cz1PnHTs.cjs} +1 -1
- package/components/{CasinoSort-DWEJhUOQ.js → CasinoSort-8w8Vz2RT.js} +1 -1
- package/components/{CasinoSort-D05dFWFO.cjs → CasinoSort-RSvZK7cN.cjs} +1 -1
- package/components/{CasinoSort-BSRs7fCY.js → CasinoSort-k10aVq_3.js} +1 -1
- package/components/{CasinoWinners-BG5c0_SH.cjs → CasinoWinners-BO86kYDi.cjs} +1 -1
- package/components/{CasinoWinners-Cx57FKjt.js → CasinoWinners-CYwfUKUr.js} +2 -2
- package/components/{CasinoWinners-nx0m0Pur.js → CasinoWinners-Ck4zkyiP.js} +2 -2
- package/components/{GeneralAnimationLoading-CHAXmLkt.cjs → GeneralAnimationLoading-BqJ_ozRW.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BBH5wTSk.js → GeneralAnimationLoading-CULwno4n.js} +1 -1
- package/components/{GeneralAnimationLoading-CxRv2hHa.js → GeneralAnimationLoading-XCOgxsu9.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/{casino-play-random-game-D7Gr9Smx.js → casino-play-random-game-BZvQcwmI.js} +1 -1
- package/stencil/{casino-play-random-game-CuVBTwWf.cjs → casino-play-random-game-CU27nwc3.cjs} +1 -1
- package/stencil/{casino-play-random-game-DvAQkCON.js → casino-play-random-game-kxhDUKEQ.js} +1 -1
- package/stencil/{casino-play-random-game_2-CSLfErGM.js → casino-play-random-game_2-Bf35wiL3.js} +1 -1
- package/stencil/{casino-play-random-game_2-ChZ7dNoq.cjs → casino-play-random-game_2-BsDiR4__.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-C0Z0uKIu.js → casino-play-random-game_2-RzA6u_oV.js} +1 -1
- package/stencil/index-328e660d-26xupJLF.cjs +1 -0
- package/stencil/index-328e660d-BQWT7GHQ.js +560 -0
- package/stencil/index-328e660d-CH9p2kzU.js +576 -0
- package/stencil/{index-97d17652-Ce2P8K1l.js → index-97d17652-B6BYeRne.js} +170 -176
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-BYDm8FOU.cjs +1 -0
- package/stencil/index-b2193545-CVvOSay7.js +519 -0
- package/stencil/index-b2193545-DkSkdO8p.js +503 -0
- package/stencil/{ui-image-C0501mue.cjs → ui-image-BNLichPz.cjs} +1 -1
- package/stencil/{ui-image-BSZFyV-S.js → ui-image-D8_P6p7o.js} +1 -1
- package/stencil/{ui-image-D6j_u98T.js → ui-image-KAOdlRk_.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CEPR_2Zl.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DdUCzkcr.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CynWE8qT.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-N1zHirfP.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-C0sJC5CL.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-Do1rIyeJ.js → ui-image_2-Daq38JGa.js} +2 -2
- package/stencil/{ui-skeleton-DJ-5nbfp.js → ui-skeleton-CbcQXFpx.js} +2 -2
- package/stencil/{ui-skeleton-Cv83ir7R.js → ui-skeleton-DgkQtSrH.js} +2 -2
- package/stencil/{ui-skeleton-C3bxkPuL.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BLQYU5hh.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bu2qkh_n.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BKnEgS1i.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
- package/components/CasinoMostPlayedSection-MlFICa6q.cjs +0 -1
- package/stencil/index-328e660d-Chmlsf5X.cjs +0 -1
- package/stencil/index-328e660d-Cm2nvvc2.js +0 -569
- package/stencil/index-328e660d-Dal_PHmU.js +0 -553
- package/stencil/index-97d17652-BeQGJyxy.js +0 -532
- package/stencil/index-97d17652-QrAXVnlo.cjs +0 -1
- package/stencil/index-b2193545-Cqothb8h.cjs +0 -1
- package/stencil/index-b2193545-DVd_LeME.js +0 -509
- package/stencil/index-b2193545-DwYEVBYH.js +0 -493
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-
|
|
1
|
+
"use strict";const t=require("./index-b2193545-BYDm8FOU.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
2
|
:host {
|
|
3
3
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as t, H as r } from "./index-b2193545-
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-CVvOSay7.js";
|
|
2
2
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.stylingValue = {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobby-C25KkvZc.cjs");require("./CasinoPage-D9OCJV8s.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:C=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:M="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:j="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(_=>{U(_,m[_])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c,Y;const B=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);return s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S),s.device==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((d,f)=>{fetch(D).then(g=>g.json()).then(g=>{g.items=g.items.filter(V=>{let R=!0;return V.gameCode=="OddsMatrix2"&&(g.count--,R=!1),R}),d(g)}).catch(g=>{console.error(g),f(g)})})},H=()=>{B({limit:100,device:t.getDevice(I),rounds:j}).then(s=>{if(s.count>0){let m=[];s.items.forEach(_=>{let d=new URL(`${o}/v1/casino/games/${_.gameId}`);d.searchParams.append("datasource",l),w?m.push(fetch(d.href).then(f=>f.json())):m.push(fetch(d.href).then(f=>f.json()))}),Promise.all(m).then(_=>{k=_.filter(d=>!("error"in d)).map(d=>d[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},K=()=>{W(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,C=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,M=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,j=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&H(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`,Y),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&K()},[o,l,r,u,C,h,y,b,v,w,L,M,A,O,N,E,G,P,F,c,T,i,S,j,Q]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var P=(e,t,n)=>new Promise((s,r)=>{var a=i=>{try{$(n.next(i))}catch(o){r(o)}},l=i=>{try{$(n.throw(i))}catch(o){r(o)}},$=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);$((n=n.apply(e,t)).next())});const Se="casino-play-random-game",Ee={hydratedSelectorName:"hydrated"};var ke=Object.defineProperty,be=(e,t)=>{for(var n in t)ke(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,m=e=>q.get(e),we=(e,t)=>q.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},W=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),O=new Map,Te=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=O.get(r);if(a)return a[s];{const l=$=>(O.set(r,$),$[s]);switch(r){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-ChZ7dNoq.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(O.set(r,l),l[s]),k)},A=new Map,xe="{visibility:hidden}.hydrated{visibility:inherit}",V="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},y=I.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},ee=e=>Promise.resolve(e),_e=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),z=!1,G=[],te=[],Ae=(e,t)=>n=>{e.push(n),z||(z=!0,g.$flags$&4?D(H):g.raf(H))},X=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},H=()=>{X(G),X(te),(z=G.length>0)&&g.raf(H)},D=e=>ee().then(e),Le=Ae(te),Y={},Ie=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function se(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var je={};be(je,{err:()=>ne,map:()=>Oe,ok:()=>U,unwrap:()=>ze,unwrapErr:()=>He});var U=e=>({isOk:!0,isErr:!1,value:e}),ne=e=>({isOk:!1,isErr:!0,value:e});function Oe(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>U(s)):U(n)}if(e.isErr){const n=e.value;return ne(n)}throw"should never get here"}var ze=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},b=(e,t="")=>()=>{},re=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const $=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?$[$.length-1].$text$+=s:$.push(a?C(null,s):s),l=a)};if(i(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=C(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},le={},Ue=e=>e&&e.$tag$===le,Ce=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ae=e=>m(e).$hostElement$,Be=(e,t,n)=>{const s=ae(e);return{emit:r=>ie(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:r})}},ie=(e,t,n)=>{const s=g.ce(t,n);return e.dispatchEvent(s),s},J=new WeakMap,qe=(e,t,n)=>{let s=A.get(e);_e&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},De=(e,t,n)=>{var s;const r=$e(t),a=A.get(r);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=J.get(e),$;if(l||J.set(e,l=new Set),!l.has(r)){{$=y.createElement("style"),$.innerHTML=a;const i=(s=g.$nonce$)!=null?s:se(y);i!=null&&$.setAttribute("nonce",i),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=V),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Fe=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$;b("attachStyles",t.$tagName$);const r=De(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=r,n.classList.add(r+"-h"))},$e=(e,t)=>"sc-"+e.$tagName$,K=(e,t,n,s,r,a)=>{if(n!==s){let l=W(e,t),$=t.toLowerCase();if(t==="class"){const i=e.classList,o=Q(n),c=Q(s);i.remove(...o.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!o.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):W(I,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const i=t.endsWith(oe);t=t.replace(Re,""),n&&g.rel(e,t,n,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||r)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Me=/\s/,Q=e=>e?e.split(Me):[],oe="Capture",Re=new RegExp(oe+"$"),ce=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||Y,a=t.$attrs$||Y;for(const l of Z(Object.keys(r)))l in a||K(s,l,r[l],void 0,n,t.$flags$);for(const l of Z(Object.keys(a)))K(s,l,r[l],a[l],n,t.$flags$)};function Z(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var x,M,fe=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,$;if(r.$text$!==null)l=r.$elm$=y.createTextNode(r.$text$);else if(l=r.$elm$=y.createElement(r.$tag$),ce(null,r,fe),Ie(x)&&l["s-si"]!==x&&l.classList.add(l["s-si"]=x),r.$children$)for(a=0;a<r.$children$.length;++a)$=L(e,r,a),$&&l.appendChild($);return l["s-hn"]=M,l},ue=(e,t,n,s,r,a)=>{let l=e,$;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);r<=a;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},de=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;ve(r),a&&a.remove()}}},We=(e,t,n,s,r=!1)=>{let a=0,l=0,$=0,i=0,o=t.length-1,c=t[0],f=t[o],d=s.length-1,u=s[0],v=s[d],p,h;for(;a<=o&&l<=d;)if(c==null)c=t[++a];else if(f==null)f=t[--o];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(T(c,u,r))w(c,u,r),c=t[++a],u=s[++l];else if(T(f,v,r))w(f,v,r),f=t[--o],v=s[--d];else if(T(c,v,r))w(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--d];else if(T(f,u,r))w(f,u,r),_(e,f.$elm$,c.$elm$),f=t[--o],u=s[++l];else{for($=-1,i=a;i<=o;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===u.$key$){$=i;break}$>=0?(h=t[$],h.$tag$!==u.$tag$?p=L(t&&t[l],n,$):(w(h,u,r),t[$]=void 0,p=h.$elm$),u=s[++l]):(p=L(t&&t[l],n,l),u=s[++l]),p&&_(c.$elm$.parentNode,p,c.$elm$)}a>o?ue(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&de(t,a,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,w=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,l=t.$text$;l===null?(ce(e,t,fe),r!==null&&a!==null?We(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),ue(s,null,t,a,0,a.length-1)):r!==null&&de(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},ve=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ve)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ge=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||C(null,null),l=Ue(t)?t:re(null,null,t);if(M=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([$,i])=>l.$attrs$[i]=s[$])),n&&l.$attrs$)for(const $ of Object.keys(l.$attrs$))s.hasAttribute($)&&!["key","ref","style","class"].includes($)&&(l.$attrs$[$]=s[$]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,x=s["s-sc"],r.$flags$&1,w(a,l,n)},he=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},R=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return he(e,e.$ancestorComponent$),Le(()=>Xe(e,t))},Xe=(e,t)=>{const n=e.$hostElement$;b("scheduleUpdate",e.$cmpMeta$.$tagName$);const s=e.$lazyInstance$;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return t&&(r=j(s,"componentWillLoad")),Ye(r,()=>Ke(e,s,t))},Ye=(e,t)=>Je(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Je=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ke=(e,t,n)=>P(exports,null,function*(){var s;const r=e.$hostElement$;b("update",e.$cmpMeta$.$tagName$);const a=r["s-rc"];n&&Fe(e),b("render",e.$cmpMeta$.$tagName$),Qe(e,t,r,n),a&&(a.map(l=>l()),r["s-rc"]=void 0);{const l=(s=r["s-p"])!=null?s:[],$=()=>Ze(e);l.length===0?$():(Promise.all(l).then($),e.$flags$|=4,l.length=0)}}),Qe=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ge(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Ze=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=e.$lazyInstance$,s=e.$ancestorComponent$;e.$flags$&64||(e.$flags$|=64,pe(t),j(n,"componentDidLoad"),e.$onReadyResolve$(t),s||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>R(e,!1)),e.$flags$&=-517},ge=e=>{pe(y.documentElement),D(()=>ie(I,"appload",{detail:{namespace:Se}}))},j=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},pe=e=>{var t;return e.classList.add((t=Ee.hydratedSelectorName)!=null?t:"hydrated")},Ne=(e,t)=>m(e).$instanceValues$.get(t),Ve=(e,t,n,s)=>{const r=m(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,i=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),i)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(d=>{try{i[d](n,l,t)}catch(u){k(u,a)}})}($&18)===2&&R(r,!1)}},ye=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[i]])=>{(i&31||n&2&&i&32)&&Object.defineProperty(a,$,{get(){return Ne(this,$)},set(o){Ve(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;a.attributeChangedCallback=function(i,o,c){g.jmp(()=>{var f;const d=$.get(i);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=m(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const p=u.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[i];h==null||h.forEach(S=>{p[S]!=null&&p[S].call(p,c,o,i)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([i,o])=>o[0]&15).map(([i,o])=>{var c;const f=o[1]||i;return $.set(f,i),o[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},et=(e,t,n,s)=>P(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const i=Te(n);if(i&&"then"in i?r=yield i:r=i,!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,ye(r,n,2),r.isProxied=!0),b("createInstance",n.$tagName$),t.$flags$|=8;try{new r(t)}catch(o){k(o)}t.$flags$&=-9,t.$flags$|=128,B(t.$lazyInstance$)}else{r=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(r&&r.style){let i;typeof r.style=="string"&&(i=r.style);const o=$e(n);A.has(o)||(b("registerStyles",n.$tagName$),qe(o,i,!!(n.$flags$&1)))}}const a=t.$ancestorComponent$,l=()=>R(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),B=e=>{j(e,"connectedCallback")},tt=e=>{if(!(g.$flags$&1)){const t=m(e),n=t.$cmpMeta$;if(b("connectedCallback",n.$tagName$),t.$flags$&1)t!=null&&t.$lazyInstance$?B(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>B(t.$lazyInstance$));else{t.$flags$|=1;{let s=e;for(;s=s.parentNode||s.host;)if(s["s-p"]){he(t,t.$ancestorComponent$=s);break}}n.$members$&&Object.entries(n.$members$).map(([s,[r]])=>{if(r&31&&e.hasOwnProperty(s)){const a=e[s];delete e[s],e[s]=a}}),et(e,t,n)}}},N=e=>{j(e,"disconnectedCallback")},st=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=m(e);t!=null&&t.$lazyInstance$?N(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>N(t.$lazyInstance$))}}),nt=(e,t={})=>{var n;const s=[],r=t.exclude||[],a=I.customElements,l=y.head,$=l.querySelector("meta[charset]"),i=y.createElement("style"),o=[];let c,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(u=>{u[1].map(v=>{var p;const h={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};h.$flags$&4&&(d=!0),h.$members$=v[2],h.$attrsToReflect$=[],h.$watchers$=(p=v[4])!=null?p:{};const S=h.$tagName$,me=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Pe(E,h),h.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){m(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),c&&(clearTimeout(c),c=null),f?o.push(this):g.jmp(()=>tt(this))}disconnectedCallback(){g.jmp(()=>st(this))}componentOnReady(){return m(this).$onReadyPromise$}};h.$lazyBundleId$=u[0],!r.includes(S)&&!a.get(S)&&(s.push(S),a.define(S,ye(me,h,1)))})}),s.length>0&&(d&&(i.textContent+=V),i.textContent+=s.sort()+xe,i.innerHTML.length)){i.setAttribute("data-styles","");const u=(n=g.$nonce$)!=null?n:se(y);u!=null&&i.setAttribute("nonce",u),l.insertBefore(i,$?$.nextSibling:l.firstChild)}f=!1,o.length?o.map(u=>u.connectedCallback()):g.jmp(()=>c=setTimeout(ge,30))};exports.Host=le;exports.bootstrapLazy=nt;exports.createEvent=Be;exports.getElement=ae;exports.h=re;exports.promiseResolve=ee;exports.registerInstance=we;
|
|
@@ -1,569 +0,0 @@
|
|
|
1
|
-
var x = (e, t, n) => new Promise((s, r) => {
|
|
2
|
-
var a = (i) => {
|
|
3
|
-
try {
|
|
4
|
-
$(n.next(i));
|
|
5
|
-
} catch (o) {
|
|
6
|
-
r(o);
|
|
7
|
-
}
|
|
8
|
-
}, l = (i) => {
|
|
9
|
-
try {
|
|
10
|
-
$(n.throw(i));
|
|
11
|
-
} catch (o) {
|
|
12
|
-
r(o);
|
|
13
|
-
}
|
|
14
|
-
}, $ = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(a, l);
|
|
15
|
-
$((n = n.apply(e, t)).next());
|
|
16
|
-
});
|
|
17
|
-
const ge = "casino-play-random-game", pe = (
|
|
18
|
-
/* casino-play-random-game */
|
|
19
|
-
{ hydratedSelectorName: "hydrated" }
|
|
20
|
-
);
|
|
21
|
-
var ye = Object.defineProperty, me = (e, t) => {
|
|
22
|
-
for (var n in t)
|
|
23
|
-
ye(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
-
}, q = /* @__PURE__ */ new WeakMap(), m = (e) => q.get(e), st = (e, t) => q.set(t.$lazyInstance$ = e, t), Se = (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"] = [], q.set(e, n);
|
|
32
|
-
}, R = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), Ee = (e, t, n) => {
|
|
33
|
-
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
34
|
-
if (!r)
|
|
35
|
-
return;
|
|
36
|
-
const a = O.get(r);
|
|
37
|
-
if (a)
|
|
38
|
-
return a[s];
|
|
39
|
-
{
|
|
40
|
-
const l = ($) => (O.set(r, $), $[s]);
|
|
41
|
-
switch (r) {
|
|
42
|
-
case "casino-play-random-game_2":
|
|
43
|
-
return import(
|
|
44
|
-
/* webpackMode: "lazy" */
|
|
45
|
-
"./casino-play-random-game_2-C0Z0uKIu.js"
|
|
46
|
-
).then(l, k);
|
|
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((l) => (O.set(r, l), l[s]), k);
|
|
56
|
-
}, A = /* @__PURE__ */ new Map(), ke = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", I = typeof window != "undefined" ? window : {}, y = I.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
|
-
}, be = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
|
|
65
|
-
try {
|
|
66
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
-
} catch (e) {
|
|
68
|
-
}
|
|
69
|
-
return !1;
|
|
70
|
-
})(), z = !1, G = [], ee = [], xe = (e, t) => (n) => {
|
|
71
|
-
e.push(n), z || (z = !0, g.$flags$ & 4 ? D(H) : g.raf(H));
|
|
72
|
-
}, X = (e) => {
|
|
73
|
-
for (let t = 0; t < e.length; t++)
|
|
74
|
-
try {
|
|
75
|
-
e[t](performance.now());
|
|
76
|
-
} catch (n) {
|
|
77
|
-
k(n);
|
|
78
|
-
}
|
|
79
|
-
e.length = 0;
|
|
80
|
-
}, H = () => {
|
|
81
|
-
X(G), X(ee), (z = G.length > 0) && g.raf(H);
|
|
82
|
-
}, D = (e) => be().then(e), Te = /* @__PURE__ */ xe(ee), Y = {}, Pe = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
-
function te(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 _e = {};
|
|
88
|
-
me(_e, {
|
|
89
|
-
err: () => se,
|
|
90
|
-
map: () => Ae,
|
|
91
|
-
ok: () => U,
|
|
92
|
-
unwrap: () => Le,
|
|
93
|
-
unwrapErr: () => Ie
|
|
94
|
-
});
|
|
95
|
-
var U = (e) => ({
|
|
96
|
-
isOk: !0,
|
|
97
|
-
isErr: !1,
|
|
98
|
-
value: e
|
|
99
|
-
}), se = (e) => ({
|
|
100
|
-
isOk: !1,
|
|
101
|
-
isErr: !0,
|
|
102
|
-
value: e
|
|
103
|
-
});
|
|
104
|
-
function Ae(e, t) {
|
|
105
|
-
if (e.isOk) {
|
|
106
|
-
const n = t(e.value);
|
|
107
|
-
return n instanceof Promise ? n.then((s) => U(s)) : U(n);
|
|
108
|
-
}
|
|
109
|
-
if (e.isErr) {
|
|
110
|
-
const n = e.value;
|
|
111
|
-
return se(n);
|
|
112
|
-
}
|
|
113
|
-
throw "should never get here";
|
|
114
|
-
}
|
|
115
|
-
var Le = (e) => {
|
|
116
|
-
if (e.isOk)
|
|
117
|
-
return e.value;
|
|
118
|
-
throw e.value;
|
|
119
|
-
}, Ie = (e) => {
|
|
120
|
-
if (e.isErr)
|
|
121
|
-
return e.value;
|
|
122
|
-
throw e.value;
|
|
123
|
-
}, b = (e, t = "") => () => {
|
|
124
|
-
}, je = (e, t, ...n) => {
|
|
125
|
-
let s = null, r = null, a = !1, l = !1;
|
|
126
|
-
const $ = [], i = (c) => {
|
|
127
|
-
for (let f = 0; f < c.length; f++)
|
|
128
|
-
s = c[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !F(s)) && (s = String(s)), a && l ? $[$.length - 1].$text$ += s : $.push(a ? C(null, s) : s), l = a);
|
|
129
|
-
};
|
|
130
|
-
if (i(n), t) {
|
|
131
|
-
t.key && (r = t.key);
|
|
132
|
-
{
|
|
133
|
-
const c = t.className || t.class;
|
|
134
|
-
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
const o = C(e, null);
|
|
138
|
-
return o.$attrs$ = t, $.length > 0 && (o.$children$ = $), o.$key$ = r, o;
|
|
139
|
-
}, C = (e, t) => {
|
|
140
|
-
const n = {
|
|
141
|
-
$flags$: 0,
|
|
142
|
-
$tag$: e,
|
|
143
|
-
$text$: t,
|
|
144
|
-
$elm$: null,
|
|
145
|
-
$children$: null
|
|
146
|
-
};
|
|
147
|
-
return n.$attrs$ = null, n.$key$ = null, n;
|
|
148
|
-
}, Oe = {}, ze = (e) => e && e.$tag$ === Oe, He = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ue = (e) => m(e).$hostElement$, nt = (e, t, n) => {
|
|
149
|
-
const s = Ue(e);
|
|
150
|
-
return {
|
|
151
|
-
emit: (r) => ne(s, t, {
|
|
152
|
-
bubbles: !0,
|
|
153
|
-
composed: !0,
|
|
154
|
-
cancelable: !0,
|
|
155
|
-
detail: r
|
|
156
|
-
})
|
|
157
|
-
};
|
|
158
|
-
}, ne = (e, t, n) => {
|
|
159
|
-
const s = g.ce(t, n);
|
|
160
|
-
return e.dispatchEvent(s), s;
|
|
161
|
-
}, J = /* @__PURE__ */ new WeakMap(), Ce = (e, t, n) => {
|
|
162
|
-
let s = A.get(e);
|
|
163
|
-
we && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
|
164
|
-
}, Be = (e, t, n) => {
|
|
165
|
-
var s;
|
|
166
|
-
const r = re(t), a = A.get(r);
|
|
167
|
-
if (e = e.nodeType === 11 ? e : y, a)
|
|
168
|
-
if (typeof a == "string") {
|
|
169
|
-
e = e.head || e;
|
|
170
|
-
let l = J.get(e), $;
|
|
171
|
-
if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
172
|
-
{
|
|
173
|
-
$ = y.createElement("style"), $.innerHTML = a;
|
|
174
|
-
const i = (s = g.$nonce$) != null ? s : te(y);
|
|
175
|
-
i != null && $.setAttribute("nonce", i), e.insertBefore($, e.querySelector("link"));
|
|
176
|
-
}
|
|
177
|
-
t.$flags$ & 4 && ($.innerHTML += V), l && l.add(r);
|
|
178
|
-
}
|
|
179
|
-
} else
|
|
180
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
181
|
-
return r;
|
|
182
|
-
}, qe = (e) => {
|
|
183
|
-
const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$;
|
|
184
|
-
b("attachStyles", t.$tagName$);
|
|
185
|
-
const r = Be(
|
|
186
|
-
n.shadowRoot ? n.shadowRoot : n.getRootNode(),
|
|
187
|
-
t
|
|
188
|
-
);
|
|
189
|
-
s & 10 && (n["s-sc"] = r, n.classList.add(r + "-h"));
|
|
190
|
-
}, re = (e, t) => "sc-" + e.$tagName$, K = (e, t, n, s, r, a) => {
|
|
191
|
-
if (n !== s) {
|
|
192
|
-
let l = R(e, t), $ = t.toLowerCase();
|
|
193
|
-
if (t === "class") {
|
|
194
|
-
const i = e.classList, o = Q(n), c = Q(s);
|
|
195
|
-
i.remove(...o.filter((f) => f && !c.includes(f))), i.add(...c.filter((f) => f && !o.includes(f)));
|
|
196
|
-
} else if (t !== "key")
|
|
197
|
-
if (t === "ref")
|
|
198
|
-
s && s(e);
|
|
199
|
-
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
200
|
-
if (t[2] === "-" ? t = t.slice(3) : R(I, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
|
|
201
|
-
const i = t.endsWith(le);
|
|
202
|
-
t = t.replace(Fe, ""), n && g.rel(e, t, n, i), s && g.ael(e, t, s, i);
|
|
203
|
-
}
|
|
204
|
-
} else {
|
|
205
|
-
const i = F(s);
|
|
206
|
-
if ((l || i && s !== null) && !r)
|
|
207
|
-
try {
|
|
208
|
-
if (e.tagName.includes("-"))
|
|
209
|
-
e[t] = s;
|
|
210
|
-
else {
|
|
211
|
-
const o = s == null ? "" : s;
|
|
212
|
-
t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
|
|
213
|
-
}
|
|
214
|
-
} catch (o) {
|
|
215
|
-
}
|
|
216
|
-
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}, De = /\s/, Q = (e) => e ? e.split(De) : [], le = "Capture", Fe = new RegExp(le + "$"), ae = (e, t, n) => {
|
|
220
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
|
|
221
|
-
for (const l of Z(Object.keys(r)))
|
|
222
|
-
l in a || K(s, l, r[l], void 0, n, t.$flags$);
|
|
223
|
-
for (const l of Z(Object.keys(a)))
|
|
224
|
-
K(s, l, r[l], a[l], n, t.$flags$);
|
|
225
|
-
};
|
|
226
|
-
function Z(e) {
|
|
227
|
-
return e.includes("ref") ? (
|
|
228
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
229
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
|
230
|
-
) : (
|
|
231
|
-
// no need to sort, return the original array
|
|
232
|
-
e
|
|
233
|
-
);
|
|
234
|
-
}
|
|
235
|
-
var P, M, ie = !1, L = (e, t, n, s) => {
|
|
236
|
-
const r = t.$children$[n];
|
|
237
|
-
let a = 0, l, $;
|
|
238
|
-
if (r.$text$ !== null)
|
|
239
|
-
l = r.$elm$ = y.createTextNode(r.$text$);
|
|
240
|
-
else if (l = r.$elm$ = y.createElement(
|
|
241
|
-
r.$tag$
|
|
242
|
-
), ae(null, r, ie), Pe(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), r.$children$)
|
|
243
|
-
for (a = 0; a < r.$children$.length; ++a)
|
|
244
|
-
$ = L(e, r, a), $ && l.appendChild($);
|
|
245
|
-
return l["s-hn"] = M, l;
|
|
246
|
-
}, $e = (e, t, n, s, r, a) => {
|
|
247
|
-
let l = e, $;
|
|
248
|
-
for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); r <= a; ++r)
|
|
249
|
-
s[r] && ($ = L(null, n, r), $ && (s[r].$elm$ = $, _(l, $, t)));
|
|
250
|
-
}, oe = (e, t, n) => {
|
|
251
|
-
for (let s = t; s <= n; ++s) {
|
|
252
|
-
const r = e[s];
|
|
253
|
-
if (r) {
|
|
254
|
-
const a = r.$elm$;
|
|
255
|
-
ce(r), a && a.remove();
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}, Me = (e, t, n, s, r = !1) => {
|
|
259
|
-
let a = 0, l = 0, $ = 0, i = 0, o = t.length - 1, c = t[0], f = t[o], d = s.length - 1, u = s[0], v = s[d], p, h;
|
|
260
|
-
for (; a <= o && l <= d; )
|
|
261
|
-
if (c == null)
|
|
262
|
-
c = t[++a];
|
|
263
|
-
else if (f == null)
|
|
264
|
-
f = t[--o];
|
|
265
|
-
else if (u == null)
|
|
266
|
-
u = s[++l];
|
|
267
|
-
else if (v == null)
|
|
268
|
-
v = s[--d];
|
|
269
|
-
else if (T(c, u, r))
|
|
270
|
-
w(c, u, r), c = t[++a], u = s[++l];
|
|
271
|
-
else if (T(f, v, r))
|
|
272
|
-
w(f, v, r), f = t[--o], v = s[--d];
|
|
273
|
-
else if (T(c, v, r))
|
|
274
|
-
w(c, v, r), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--d];
|
|
275
|
-
else if (T(f, u, r))
|
|
276
|
-
w(f, u, r), _(e, f.$elm$, c.$elm$), f = t[--o], u = s[++l];
|
|
277
|
-
else {
|
|
278
|
-
for ($ = -1, i = a; i <= o; ++i)
|
|
279
|
-
if (t[i] && t[i].$key$ !== null && t[i].$key$ === u.$key$) {
|
|
280
|
-
$ = i;
|
|
281
|
-
break;
|
|
282
|
-
}
|
|
283
|
-
$ >= 0 ? (h = t[$], h.$tag$ !== u.$tag$ ? p = L(t && t[l], n, $) : (w(h, u, r), t[$] = void 0, p = h.$elm$), u = s[++l]) : (p = L(t && t[l], n, l), u = s[++l]), p && _(c.$elm$.parentNode, p, c.$elm$);
|
|
284
|
-
}
|
|
285
|
-
a > o ? $e(
|
|
286
|
-
e,
|
|
287
|
-
s[d + 1] == null ? null : s[d + 1].$elm$,
|
|
288
|
-
n,
|
|
289
|
-
s,
|
|
290
|
-
l,
|
|
291
|
-
d
|
|
292
|
-
) : l > d && oe(t, a, o);
|
|
293
|
-
}, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, n = !1) => {
|
|
294
|
-
const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
|
|
295
|
-
l === null ? (ae(e, t, ie), r !== null && a !== null ? Me(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, a, 0, a.length - 1)) : r !== null && oe(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
296
|
-
}, ce = (e) => {
|
|
297
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ce);
|
|
298
|
-
}, _ = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), We = (e, t, n = !1) => {
|
|
299
|
-
const s = e.$hostElement$, r = e.$cmpMeta$, a = e.$vnode$ || C(null, null), l = ze(t) ? t : je(null, null, t);
|
|
300
|
-
if (M = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
|
|
301
|
-
([$, i]) => l.$attrs$[i] = s[$]
|
|
302
|
-
)), n && l.$attrs$)
|
|
303
|
-
for (const $ of Object.keys(l.$attrs$))
|
|
304
|
-
s.hasAttribute($) && !["key", "ref", "style", "class"].includes($) && (l.$attrs$[$] = s[$]);
|
|
305
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, P = s["s-sc"], r.$flags$ & 1, w(a, l, n);
|
|
306
|
-
}, fe = (e, t) => {
|
|
307
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
308
|
-
}, W = (e, t) => {
|
|
309
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
310
|
-
e.$flags$ |= 512;
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
return fe(e, e.$ancestorComponent$), Te(() => Re(e, t));
|
|
314
|
-
}, Re = (e, t) => {
|
|
315
|
-
const n = e.$hostElement$;
|
|
316
|
-
b("scheduleUpdate", e.$cmpMeta$.$tagName$);
|
|
317
|
-
const s = e.$lazyInstance$;
|
|
318
|
-
if (!s)
|
|
319
|
-
throw new Error(
|
|
320
|
-
`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`
|
|
321
|
-
);
|
|
322
|
-
let r;
|
|
323
|
-
return t && (r = j(s, "componentWillLoad")), Ge(r, () => Ye(e, s, t));
|
|
324
|
-
}, Ge = (e, t) => Xe(e) ? e.then(t).catch((n) => {
|
|
325
|
-
console.error(n), t();
|
|
326
|
-
}) : t(), Xe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ye = (e, t, n) => x(void 0, null, function* () {
|
|
327
|
-
var s;
|
|
328
|
-
const r = e.$hostElement$;
|
|
329
|
-
b("update", e.$cmpMeta$.$tagName$);
|
|
330
|
-
const a = r["s-rc"];
|
|
331
|
-
n && qe(e), b("render", e.$cmpMeta$.$tagName$), Je(e, t, r, n), a && (a.map((l) => l()), r["s-rc"] = void 0);
|
|
332
|
-
{
|
|
333
|
-
const l = (s = r["s-p"]) != null ? s : [], $ = () => Ke(e);
|
|
334
|
-
l.length === 0 ? $() : (Promise.all(l).then($), e.$flags$ |= 4, l.length = 0);
|
|
335
|
-
}
|
|
336
|
-
}), Je = (e, t, n, s) => {
|
|
337
|
-
try {
|
|
338
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, We(e, t, s);
|
|
339
|
-
} catch (r) {
|
|
340
|
-
k(r, e.$hostElement$);
|
|
341
|
-
}
|
|
342
|
-
return null;
|
|
343
|
-
}, Ke = (e) => {
|
|
344
|
-
e.$cmpMeta$.$tagName$;
|
|
345
|
-
const t = e.$hostElement$, n = e.$lazyInstance$, s = e.$ancestorComponent$;
|
|
346
|
-
e.$flags$ & 64 || (e.$flags$ |= 64, de(t), j(n, "componentDidLoad"), e.$onReadyResolve$(t), s || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && D(() => W(e, !1)), e.$flags$ &= -517;
|
|
347
|
-
}, ue = (e) => {
|
|
348
|
-
de(y.documentElement), D(() => ne(I, "appload", { detail: { namespace: ge } }));
|
|
349
|
-
}, j = (e, t, n) => {
|
|
350
|
-
if (e && e[t])
|
|
351
|
-
try {
|
|
352
|
-
return e[t](n);
|
|
353
|
-
} catch (s) {
|
|
354
|
-
k(s);
|
|
355
|
-
}
|
|
356
|
-
}, de = (e) => {
|
|
357
|
-
var t;
|
|
358
|
-
return e.classList.add((t = pe.hydratedSelectorName) != null ? t : "hydrated");
|
|
359
|
-
}, Qe = (e, t) => m(e).$instanceValues$.get(t), Ze = (e, t, n, s) => {
|
|
360
|
-
const r = m(e);
|
|
361
|
-
if (!r)
|
|
362
|
-
throw new Error(
|
|
363
|
-
`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).`
|
|
364
|
-
);
|
|
365
|
-
const a = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, i = r.$lazyInstance$;
|
|
366
|
-
n = He(n, s.$members$[t][0]);
|
|
367
|
-
const o = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !o;
|
|
368
|
-
if ((!($ & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), i)) {
|
|
369
|
-
if (s.$watchers$ && $ & 128) {
|
|
370
|
-
const f = s.$watchers$[t];
|
|
371
|
-
f && f.map((d) => {
|
|
372
|
-
try {
|
|
373
|
-
i[d](n, l, t);
|
|
374
|
-
} catch (u) {
|
|
375
|
-
k(u, a);
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
}
|
|
379
|
-
($ & 18) === 2 && W(r, !1);
|
|
380
|
-
}
|
|
381
|
-
}, ve = (e, t, n) => {
|
|
382
|
-
var s, r;
|
|
383
|
-
const a = e.prototype;
|
|
384
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
385
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
386
|
-
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
387
|
-
if (l.map(([$, [i]]) => {
|
|
388
|
-
(i & 31 || n & 2 && i & 32) && Object.defineProperty(a, $, {
|
|
389
|
-
get() {
|
|
390
|
-
return Qe(this, $);
|
|
391
|
-
},
|
|
392
|
-
set(o) {
|
|
393
|
-
Ze(this, $, o, t);
|
|
394
|
-
},
|
|
395
|
-
configurable: !0,
|
|
396
|
-
enumerable: !0
|
|
397
|
-
});
|
|
398
|
-
}), n & 1) {
|
|
399
|
-
const $ = /* @__PURE__ */ new Map();
|
|
400
|
-
a.attributeChangedCallback = function(i, o, c) {
|
|
401
|
-
g.jmp(() => {
|
|
402
|
-
var f;
|
|
403
|
-
const d = $.get(i);
|
|
404
|
-
if (this.hasOwnProperty(d))
|
|
405
|
-
c = this[d], delete this[d];
|
|
406
|
-
else {
|
|
407
|
-
if (a.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
|
|
408
|
-
return;
|
|
409
|
-
if (d == null) {
|
|
410
|
-
const u = m(this), v = u == null ? void 0 : u.$flags$;
|
|
411
|
-
if (v && !(v & 8) && v & 128 && c !== o) {
|
|
412
|
-
const p = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[i];
|
|
413
|
-
h == null || h.forEach((S) => {
|
|
414
|
-
p[S] != null && p[S].call(p, c, o, i);
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
return;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
|
|
421
|
-
});
|
|
422
|
-
}, e.observedAttributes = Array.from(
|
|
423
|
-
/* @__PURE__ */ new Set([
|
|
424
|
-
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
425
|
-
...l.filter(
|
|
426
|
-
([i, o]) => o[0] & 15
|
|
427
|
-
/* HasAttribute */
|
|
428
|
-
).map(([i, o]) => {
|
|
429
|
-
var c;
|
|
430
|
-
const f = o[1] || i;
|
|
431
|
-
return $.set(f, i), o[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([i, f])), f;
|
|
432
|
-
})
|
|
433
|
-
])
|
|
434
|
-
);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
return e;
|
|
438
|
-
}, Ne = (e, t, n, s) => x(void 0, null, function* () {
|
|
439
|
-
let r;
|
|
440
|
-
if (!(t.$flags$ & 32)) {
|
|
441
|
-
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
442
|
-
const i = Ee(n);
|
|
443
|
-
if (i && "then" in i ? r = yield i : r = i, !r)
|
|
444
|
-
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
445
|
-
r.isProxied || (n.$watchers$ = r.watchers, ve(
|
|
446
|
-
r,
|
|
447
|
-
n,
|
|
448
|
-
2
|
|
449
|
-
/* proxyState */
|
|
450
|
-
), r.isProxied = !0), b("createInstance", n.$tagName$), t.$flags$ |= 8;
|
|
451
|
-
try {
|
|
452
|
-
new r(t);
|
|
453
|
-
} catch (o) {
|
|
454
|
-
k(o);
|
|
455
|
-
}
|
|
456
|
-
t.$flags$ &= -9, t.$flags$ |= 128, B(t.$lazyInstance$);
|
|
457
|
-
} else {
|
|
458
|
-
r = e.constructor;
|
|
459
|
-
const i = e.localName;
|
|
460
|
-
customElements.whenDefined(i).then(
|
|
461
|
-
() => t.$flags$ |= 128
|
|
462
|
-
/* isWatchReady */
|
|
463
|
-
);
|
|
464
|
-
}
|
|
465
|
-
if (r && r.style) {
|
|
466
|
-
let i;
|
|
467
|
-
typeof r.style == "string" && (i = r.style);
|
|
468
|
-
const o = re(n);
|
|
469
|
-
A.has(o) || (b("registerStyles", n.$tagName$), Ce(o, i, !!(n.$flags$ & 1)));
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
const a = t.$ancestorComponent$, l = () => W(t, !0);
|
|
473
|
-
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
474
|
-
}), B = (e) => {
|
|
475
|
-
j(e, "connectedCallback");
|
|
476
|
-
}, Ve = (e) => {
|
|
477
|
-
if (!(g.$flags$ & 1)) {
|
|
478
|
-
const t = m(e), n = t.$cmpMeta$;
|
|
479
|
-
if (b("connectedCallback", n.$tagName$), t.$flags$ & 1)
|
|
480
|
-
t != null && t.$lazyInstance$ ? B(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$));
|
|
481
|
-
else {
|
|
482
|
-
t.$flags$ |= 1;
|
|
483
|
-
{
|
|
484
|
-
let s = e;
|
|
485
|
-
for (; s = s.parentNode || s.host; )
|
|
486
|
-
if (s["s-p"]) {
|
|
487
|
-
fe(t, t.$ancestorComponent$ = s);
|
|
488
|
-
break;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
n.$members$ && Object.entries(n.$members$).map(([s, [r]]) => {
|
|
492
|
-
if (r & 31 && e.hasOwnProperty(s)) {
|
|
493
|
-
const a = e[s];
|
|
494
|
-
delete e[s], e[s] = a;
|
|
495
|
-
}
|
|
496
|
-
}), Ne(e, t, n);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}, N = (e) => {
|
|
500
|
-
j(e, "disconnectedCallback");
|
|
501
|
-
}, et = (e) => x(void 0, null, function* () {
|
|
502
|
-
if (!(g.$flags$ & 1)) {
|
|
503
|
-
const t = m(e);
|
|
504
|
-
t != null && t.$lazyInstance$ ? N(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
|
|
505
|
-
}
|
|
506
|
-
}), rt = (e, t = {}) => {
|
|
507
|
-
var n;
|
|
508
|
-
const s = [], r = t.exclude || [], a = I.customElements, l = y.head, $ = /* @__PURE__ */ l.querySelector("meta[charset]"), i = /* @__PURE__ */ y.createElement("style"), o = [];
|
|
509
|
-
let c, f = !0;
|
|
510
|
-
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
511
|
-
let d = !1;
|
|
512
|
-
if (e.map((u) => {
|
|
513
|
-
u[1].map((v) => {
|
|
514
|
-
var p;
|
|
515
|
-
const h = {
|
|
516
|
-
$flags$: v[0],
|
|
517
|
-
$tagName$: v[1],
|
|
518
|
-
$members$: v[2],
|
|
519
|
-
$listeners$: v[3]
|
|
520
|
-
};
|
|
521
|
-
h.$flags$ & 4 && (d = !0), h.$members$ = v[2], h.$attrsToReflect$ = [], h.$watchers$ = (p = v[4]) != null ? p : {};
|
|
522
|
-
const S = h.$tagName$, he = class extends HTMLElement {
|
|
523
|
-
// StencilLazyHost
|
|
524
|
-
constructor(E) {
|
|
525
|
-
if (super(E), this.hasRegisteredEventListeners = !1, E = this, Se(E, h), h.$flags$ & 1) {
|
|
526
|
-
if (!E.shadowRoot)
|
|
527
|
-
E.attachShadow({ mode: "open" });
|
|
528
|
-
else if (E.shadowRoot.mode !== "open")
|
|
529
|
-
throw new Error(
|
|
530
|
-
`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
531
|
-
);
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
connectedCallback() {
|
|
535
|
-
m(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), f ? o.push(this) : g.jmp(() => Ve(this));
|
|
536
|
-
}
|
|
537
|
-
disconnectedCallback() {
|
|
538
|
-
g.jmp(() => et(this));
|
|
539
|
-
}
|
|
540
|
-
componentOnReady() {
|
|
541
|
-
return m(this).$onReadyPromise$;
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
h.$lazyBundleId$ = u[0], !r.includes(S) && !a.get(S) && (s.push(S), a.define(
|
|
545
|
-
S,
|
|
546
|
-
ve(
|
|
547
|
-
he,
|
|
548
|
-
h,
|
|
549
|
-
1
|
|
550
|
-
/* isElementConstructor */
|
|
551
|
-
)
|
|
552
|
-
));
|
|
553
|
-
});
|
|
554
|
-
}), s.length > 0 && (d && (i.textContent += V), i.textContent += s.sort() + ke, i.innerHTML.length)) {
|
|
555
|
-
i.setAttribute("data-styles", "");
|
|
556
|
-
const u = (n = g.$nonce$) != null ? n : te(y);
|
|
557
|
-
u != null && i.setAttribute("nonce", u), l.insertBefore(i, $ ? $.nextSibling : l.firstChild);
|
|
558
|
-
}
|
|
559
|
-
f = !1, o.length ? o.map((u) => u.connectedCallback()) : g.jmp(() => c = setTimeout(ue, 30));
|
|
560
|
-
};
|
|
561
|
-
export {
|
|
562
|
-
Oe as H,
|
|
563
|
-
rt as b,
|
|
564
|
-
nt as c,
|
|
565
|
-
Ue as g,
|
|
566
|
-
je as h,
|
|
567
|
-
be as p,
|
|
568
|
-
st as r
|
|
569
|
-
};
|