@everymatrix/casino-tournaments-controller 1.80.11 → 1.80.13
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/{CasinoTournamentsController-CrJx0DPU.cjs → CasinoTournamentsController-BA0domx2.cjs} +1 -1
- package/components/{CasinoTournamentsController-BzIkU4gG.js → CasinoTournamentsController-CC74wD5n.js} +2 -2
- package/components/{CasinoTournamentsController-4NKECleo.js → CasinoTournamentsController-WK-4IzEU.js} +2 -2
- package/components/{CasinoTournamentsFilterController-DysKLY6Z.js → CasinoTournamentsFilterController-BA6sO-7r.js} +1 -1
- package/components/{CasinoTournamentsFilterController-BJXo5lw5.js → CasinoTournamentsFilterController-ByKo7Qb5.js} +1 -1
- package/components/{CasinoTournamentsFilterController-BXjEmlhu.cjs → CasinoTournamentsFilterController-C8zWqcxx.cjs} +1 -1
- package/components/{CasinoTournamentsListController-wNHGuTtf.js → CasinoTournamentsListController-Bbq9gT1W.js} +2 -2
- package/components/{CasinoTournamentsListController-Uk8QxEgk.cjs → CasinoTournamentsListController-BgPm-tMi.cjs} +2 -2
- package/components/{CasinoTournamentsListController-MrwaY3wY.js → CasinoTournamentsListController-C5x-9DYr.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-o6xGY9Hg.cjs → CasinoTournamentsThumbnail-Bg-eoAy2.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-4wDa9P2j.js → CasinoTournamentsThumbnail-D8e_1wES.js} +3 -3
- package/components/{CasinoTournamentsThumbnail-DmKiqEFq.js → CasinoTournamentsThumbnail-DkJugyMC.js} +3 -3
- package/components/{CasinoTournamentsThumbnailController-CnPLSoTa.js → CasinoTournamentsThumbnailController-Cg1gTlqX.js} +6 -6
- package/components/CasinoTournamentsThumbnailController-CsXiESvr.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailController-BfRaVAGD.js → CasinoTournamentsThumbnailController-DXJUaA4b.js} +6 -6
- package/components/{CasinoTournamentsThumbnailDuration-DLvmvlHx.js → CasinoTournamentsThumbnailDuration-CppNl5oU.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-AVw5FRJW.js → CasinoTournamentsThumbnailDuration-DdhvIUQi.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-cimzh7sh.cjs → CasinoTournamentsThumbnailDuration-IoS0DyH2.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Cx97lciL.js → CasinoTournamentsThumbnailGamesSlider-807aWgUO.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-YvcZWj2f.js → CasinoTournamentsThumbnailGamesSlider-BIxkahA3.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-P-Oevb1q.cjs → CasinoTournamentsThumbnailGamesSlider-C8XlDGJj.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CTD53TLN.js → CasinoTournamentsThumbnailPrizes-BGLjjAU0.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CtV_9-Sf.js → CasinoTournamentsThumbnailPrizes-CmbczPqz.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-C2JT80WO.cjs → CasinoTournamentsThumbnailPrizes-DnCKqGYD.cjs} +1 -1
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-B6BYeRne.js} +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-BOr4KAqq.js} +1 -1
- package/stencil/{index-97d17652-BhLhk_xz.cjs → index-97d17652-zTl06Vn9.cjs} +1 -1
- package/stencil/{index-b2193545-BS7xFIk4.js → index-b2193545-BpG2toSK.js} +1 -1
- package/stencil/{index-b2193545-BTdVi7--.cjs → index-b2193545-DfeVnolx.cjs} +1 -1
- package/stencil/{index-b2193545-rfNAj6ri.js → index-b2193545-DuA2iMSm.js} +1 -1
- package/stencil/{ui-image-CXqPvnQ2.js → ui-image-Cs_BBOYl.js} +1 -1
- package/stencil/{ui-image-Bk8cIvcH.cjs → ui-image-DUHLTRXs.cjs} +1 -1
- package/stencil/{ui-image-DgbODkuX.js → ui-image-O0NdjWCu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-image_2-CmVho0dS.js} +14 -12
- package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
- package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-image_2-Daq38JGa.js} +14 -12
- package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-B0E7XBJC.cjs} +1 -1
- package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-Yn79cPkz.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-skeleton-ed169f8f-B-SERL0D.js} +12 -14
- package/stencil/ui-skeleton-ed169f8f-BRUG1h6n.cjs +55 -0
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-skeleton-ed169f8f-UdVwF_E9.js} +12 -14
- package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-i9jZ615T.js} +2 -2
- package/components/CasinoTournamentsThumbnailController-BljsiLuu.cjs +0 -1
- package/stencil/ui-image_2-DdFjzzNO.cjs +0 -55
- package/stencil/ui-skeleton-ae35c6f2-DDiK5zGt.cjs +0 -55
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-DuA2iMSm.js";
|
|
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 {
|
|
4
3
|
constructor(e) {
|
|
5
|
-
|
|
4
|
+
n(this, e), this.stylingValue = {
|
|
6
5
|
width: this.handleStylingProps(this.width),
|
|
7
6
|
height: this.handleStylingProps(this.height),
|
|
8
7
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
@@ -47,22 +46,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
renderLogo() {
|
|
50
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
49
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
51
50
|
}
|
|
52
51
|
renderImage() {
|
|
53
|
-
return t("div", { class: "
|
|
52
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
54
53
|
}
|
|
55
54
|
renderTitle() {
|
|
56
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
55
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
57
56
|
}
|
|
58
57
|
renderText() {
|
|
59
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "
|
|
58
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
60
59
|
}
|
|
61
60
|
renderRectangle() {
|
|
62
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
61
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
63
62
|
}
|
|
64
63
|
renderCircle() {
|
|
65
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
64
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
66
65
|
}
|
|
67
66
|
render() {
|
|
68
67
|
let e = "";
|
|
@@ -142,7 +141,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
142
141
|
default:
|
|
143
142
|
e = "";
|
|
144
143
|
}
|
|
145
|
-
return t(
|
|
144
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
146
145
|
}
|
|
147
146
|
static get watchers() {
|
|
148
147
|
return {
|
|
@@ -150,8 +149,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
150
149
|
};
|
|
151
150
|
}
|
|
152
151
|
};
|
|
153
|
-
|
|
152
|
+
a.style = l;
|
|
154
153
|
export {
|
|
155
|
-
|
|
156
|
-
l as ui_skeleton
|
|
154
|
+
a as U
|
|
157
155
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as e, p as o } from "./index-b2193545-
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-BpG2toSK.js";
|
|
2
2
|
import { a } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
|
3
|
-
import { U as g } from "./ui-skeleton-
|
|
3
|
+
import { U as g } from "./ui-skeleton-ed169f8f-B-SERL0D.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, t = {};
|
|
6
6
|
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var X=(s,t,n)=>new Promise((r,o)=>{var a=d=>{try{m(n.next(d))}catch(g){o(g)}},l=d=>{try{m(n.throw(d))}catch(g){o(g)}},m=d=>d.done?r(d.value):Promise.resolve(d.value).then(a,l);m((n=n.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-CrJx0DPU.cjs");function Pe({withLocale:s,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function ce(s,t){e.addMessages(s,t)}function Le(s){e.$locale.set(s)}const fe={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"},"en-us":{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}};if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-o6xGY9Hg.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-cimzh7sh.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-C2JT80WO.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-P-Oevb1q.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function Me(s){e.append_styles(s,"svelte-chi6uq",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .Rectangle.Skeleton,.Loading .TournamentPrizes .Rectangle.Skeleton,.Loading .TournamentsGamesSlider .Rectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}')}function Ae(s){let t,n,r,o,a,l,m,d=s[25]&&_e(s);function g(f,h){if(!f[15])return Re;if(f[24]!="Closed"&&f[24]!="Closing")return Ie;if(f[2]=="true")return Oe}let _=g(s),u=_&&_(s),c=(s[18]||s[20])&&pe(s),w=s[3]=="true"&&we(s);return{c(){d&&d.c(),t=e.space(),n=e.element("casino-tournaments-thumbnail-duration"),r=e.space(),o=e.element("div"),u&&u.c(),a=e.space(),c&&c.c(),l=e.space(),w&&w.c(),m=e.empty(),e.set_custom_element_data(n,"clientstyling",s[10]),e.set_custom_element_data(n,"clientstylingurl",s[11]),e.set_custom_element_data(n,"translationurl",s[12]),e.set_custom_element_data(n,"status",s[24]),e.set_custom_element_data(n,"startdate",s[22]),e.set_custom_element_data(n,"lang",s[7]),e.set_custom_element_data(n,"mbsource",s[13]),e.set_custom_element_data(n,"enddate",s[23]),e.set_custom_element_data(n,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"),e.attr(o,"class","TournamentButtons"),e.attr(o,"part","TournamentButtons")},m(f,h){d&&d.m(f,h),e.insert(f,t,h),e.insert(f,n,h),e.insert(f,r,h),e.insert(f,o,h),u&&u.m(o,null),e.insert(f,a,h),c&&c.m(f,h),e.insert(f,l,h),w&&w.m(f,h),e.insert(f,m,h)},p(f,h){f[25]?d?d.p(f,h):(d=_e(f),d.c(),d.m(t.parentNode,t)):d&&(d.d(1),d=null),h[0]&1024&&e.set_custom_element_data(n,"clientstyling",f[10]),h[0]&2048&&e.set_custom_element_data(n,"clientstylingurl",f[11]),h[0]&4096&&e.set_custom_element_data(n,"translationurl",f[12]),h[0]&16777216&&e.set_custom_element_data(n,"status",f[24]),h[0]&4194304&&e.set_custom_element_data(n,"startdate",f[22]),h[0]&128&&e.set_custom_element_data(n,"lang",f[7]),h[0]&8192&&e.set_custom_element_data(n,"mbsource",f[13]),h[0]&8388608&&e.set_custom_element_data(n,"enddate",f[23]),_===(_=g(f))&&u?u.p(f,h):(u&&u.d(1),u=_&&_(f),u&&(u.c(),u.m(o,null))),f[18]||f[20]?c?c.p(f,h):(c=pe(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null),f[3]=="true"?w?w.p(f,h):(w=we(f),w.c(),w.m(m.parentNode,m)):w&&(w.d(1),w=null)},d(f){f&&(e.detach(t),e.detach(n),e.detach(r),e.detach(o),e.detach(a),e.detach(l),e.detach(m)),d&&d.d(f),u&&u.d(),c&&c.d(f),w&&w.d(f)}}}function xe(s){let t,n,r;return{c(){t=e.element("div"),t.innerHTML='<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>',n=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton>',e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes"),e.attr(r,"class","TournamentButtons"),e.attr(r,"part","TournamentButtons")},m(o,a){e.insert(o,t,a),e.insert(o,n,a),e.insert(o,r,a)},p:e.noop,d(o){o&&(e.detach(t),e.detach(n),e.detach(r))}}}function _e(s){let t,n,r,o;return{c(){t=e.element("casino-tournaments-thumbnail-prizes"),e.set_custom_element_data(t,"tourid",s[25]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"mbsource",s[13]),e.set_custom_element_data(t,"translationurl",s[12]),e.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(a,l){e.insert(a,t,l),r||(o=e.action_destroyer(n=s[38].call(null,t,s[25])),r=!0)},p(a,l){l[0]&33554432&&e.set_custom_element_data(t,"tourid",a[25]),l[0]&1024&&e.set_custom_element_data(t,"clientstyling",a[10]),l[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",a[11]),l[0]&8192&&e.set_custom_element_data(t,"mbsource",a[13]),l[0]&4096&&e.set_custom_element_data(t,"translationurl",a[12]),n&&e.is_function(n.update)&&l[0]&33554432&&n.update.call(null,a[25])},d(a){a&&e.detach(t),r=!1,o()}}}function Oe(s){let t,n=s[33]("details")+"",r,o,a;return{c(){t=e.element("button"),r=e.text(n),e.attr(t,"class","DetailsLargeButton"),e.attr(t,"part","DetailsLargeButton")},m(l,m){e.insert(l,t,m),e.append(t,r),o||(a=e.listen(t,"click",function(){e.is_function(s[36].bind(this,s[25]))&&s[36].bind(this,s[25]).apply(this,arguments)}),o=!0)},p(l,m){s=l,m[1]&4&&n!==(n=s[33]("details")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t),o=!1,a()}}}function Ie(s){let t,n,r=s[2]=="true"&&ge(s);function o(m,d){return m[27]?Ue:Je}let a=o(s),l=a(s);return{c(){r&&r.c(),t=e.space(),l.c(),n=e.empty()},m(m,d){r&&r.m(m,d),e.insert(m,t,d),l.m(m,d),e.insert(m,n,d)},p(m,d){m[2]=="true"?r?r.p(m,d):(r=ge(m),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=o(m))&&l?l.p(m,d):(l.d(1),l=a(m),l&&(l.c(),l.m(n.parentNode,n)))},d(m){m&&(e.detach(t),e.detach(n)),r&&r.d(m),l.d(m)}}}function Re(s){let t,n=s[33]("login")+"",r,o,a,l=s[33]("register")+"",m,d,g;return{c(){t=e.element("button"),r=e.text(n),o=e.space(),a=e.element("button"),m=e.text(l),e.attr(t,"class","LoginButton"),e.attr(t,"part","LoginButton"),e.attr(a,"class","RegisterButton"),e.attr(a,"part","RegisterButton")},m(_,u){e.insert(_,t,u),e.append(t,r),e.insert(_,o,u),e.insert(_,a,u),e.append(a,m),d||(g=[e.listen(t,"click",s[34]),e.listen(a,"click",s[35])],d=!0)},p(_,u){u[1]&4&&n!==(n=_[33]("login")+"")&&e.set_data(r,n),u[1]&4&&l!==(l=_[33]("register")+"")&&e.set_data(m,l)},d(_){_&&(e.detach(t),e.detach(o),e.detach(a)),d=!1,e.run_all(g)}}}function ge(s){let t,n=s[33]("details")+"",r,o,a;return{c(){t=e.element("button"),r=e.text(n),e.attr(t,"class","DetailsButton"),e.attr(t,"part","DetailsButton")},m(l,m){e.insert(l,t,m),e.append(t,r),o||(a=e.listen(t,"click",function(){e.is_function(s[36].bind(this,s[25]))&&s[36].bind(this,s[25]).apply(this,arguments)}),o=!0)},p(l,m){s=l,m[1]&4&&n!==(n=s[33]("details")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t),o=!1,a()}}}function Je(s){let t,n,r,o,a;function l(g,_){return g[17]==!0?qe:Ne}let m=l(s),d=m(s);return{c(){t=e.element("button"),d.c(),e.attr(t,"class",n="JoinButton "+(s[6]?"JoinButtonFullSize":"")),e.attr(t,"part",r="JoinButton "+(s[6]?"JoinButtonFullSize":"")),t.disabled=s[18]},m(g,_){e.insert(g,t,_),d.m(t,null),o||(a=e.listen(t,"click",s[48]),o=!0)},p(g,_){m===(m=l(g))&&d?d.p(g,_):(d.d(1),d=m(g),d&&(d.c(),d.m(t,null))),_[0]&64&&n!==(n="JoinButton "+(g[6]?"JoinButtonFullSize":""))&&e.attr(t,"class",n),_[0]&64&&r!==(r="JoinButton "+(g[6]?"JoinButtonFullSize":""))&&e.attr(t,"part",r),_[0]&262144&&(t.disabled=g[18])},d(g){g&&e.detach(t),d.d(),o=!1,a()}}}function Ue(s){let t,n=s[2]=="true"&&he(s);return{c(){n&&n.c(),t=e.empty()},m(r,o){n&&n.m(r,o),e.insert(r,t,o)},p(r,o){r[2]=="true"?n?n.p(r,o):(n=he(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&e.detach(t),n&&n.d(r)}}}function Ne(s){let t,n=s[33]("join")+"",r,o,a,l,m,d,g,_;return{c(){t=e.element("span"),r=e.text(n),o=e.space(),a=e.svg_element("svg"),l=e.svg_element("defs"),m=e.svg_element("style"),d=e.text(".a{fill:var(--emw--color-white, #FFFFFF);}"),g=e.svg_element("g"),_=e.svg_element("path"),e.attr(t,"part","JoinButtonSpan"),e.attr(_,"class","a"),e.attr(_,"part","a JoinButtonSvgA"),e.attr(_,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),e.attr(_,"transform","translate(26 26) rotate(180)"),e.attr(g,"transform","translate(26 26) rotate(180)"),e.attr(a,"part","JoinButtonSvg"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","26"),e.attr(a,"height","26"),e.attr(a,"viewBox","0 0 26 26")},m(u,c){e.insert(u,t,c),e.append(t,r),e.insert(u,o,c),e.insert(u,a,c),e.append(a,l),e.append(l,m),e.append(m,d),e.append(a,g),e.append(g,_)},p(u,c){c[1]&4&&n!==(n=u[33]("join")+"")&&e.set_data(r,n)},d(u){u&&(e.detach(t),e.detach(o),e.detach(a))}}}function qe(s){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("circle"),e.attr(n,"cx","20"),e.attr(n,"cy","20"),e.attr(n,"r","18"),e.attr(t,"class","spinner"),e.attr(t,"part","spinner")},m(r,o){e.insert(r,t,o),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function he(s){let t,n=s[33]("enrolled")+"",r;return{c(){t=e.element("button"),r=e.text(n),e.attr(t,"class","EnrolledButton"),e.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[1]&4&&n!==(n=o[33]("enrolled")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function pe(s){let t,n=s[33]("joinerror")+"",r,o,a;return{c(){t=e.element("span"),r=e.text(n),o=e.space(),a=e.text(s[19]),e.attr(t,"class","ErrorText"),e.attr(t,"part","ErrorText")},m(l,m){e.insert(l,t,m),e.append(t,r),e.append(t,o),e.append(t,a)},p(l,m){m[1]&4&&n!==(n=l[33]("joinerror")+"")&&e.set_data(r,n),m[0]&524288&&e.set_data(a,l[19])},d(l){l&&e.detach(t)}}}function we(s){let t,n,r=s[16]&&be();return{c(){r&&r.c(),t=e.space(),n=e.element("casino-tournaments-thumbnail-games-slider"),e.set_custom_element_data(n,"clientstyling",s[10]),e.set_custom_element_data(n,"clientstylingurl",s[11]),e.set_custom_element_data(n,"translationurl",s[12]),e.set_custom_element_data(n,"tournamenturl",s[1]),e.set_custom_element_data(n,"mbsource",s[13]),e.set_custom_element_data(n,"lang",s[7]),e.set_custom_element_data(n,"scrollby","2"),e.set_custom_element_data(n,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(o,a){r&&r.m(o,a),e.insert(o,t,a),e.insert(o,n,a)},p(o,a){o[16]?r||(r=be(),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a[0]&1024&&e.set_custom_element_data(n,"clientstyling",o[10]),a[0]&2048&&e.set_custom_element_data(n,"clientstylingurl",o[11]),a[0]&4096&&e.set_custom_element_data(n,"translationurl",o[12]),a[0]&2&&e.set_custom_element_data(n,"tournamenturl",o[1]),a[0]&8192&&e.set_custom_element_data(n,"mbsource",o[13]),a[0]&128&&e.set_custom_element_data(n,"lang",o[7])},d(o){o&&(e.detach(t),e.detach(n)),r&&r.d(o)}}}function be(s){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>',e.attr(t,"class","TournamentsGamesSlider")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function He(s){let t,n,r,o,a,l,m;function d(u,c){return u[16]?xe:Ae}let g=d(s),_=g(s);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("casino-tournaments-thumbnail"),o=e.space(),_.c(),e.set_custom_element_data(r,"detailsevent",s[8]),e.set_custom_element_data(r,"userid",s[0]),e.set_custom_element_data(r,"title",s[21]),e.set_custom_element_data(r,"status",s[24]),e.set_custom_element_data(r,"startdate",s[22]),e.set_custom_element_data(r,"tourid",s[25]),e.set_custom_element_data(r,"scorecriteria",s[28]),e.set_custom_element_data(r,"minbetcount",s[29]),e.set_custom_element_data(r,"thumbnail",s[26]),e.set_custom_element_data(r,"showenrolled",s[4]),e.set_custom_element_data(r,"gameurl",s[31]),e.set_custom_element_data(r,"mbsource",s[13]),e.set_custom_element_data(r,"userenrolled",s[27]),e.set_custom_element_data(r,"clientstyling",s[10]),e.set_custom_element_data(r,"clientstylingurl",s[11]),e.set_custom_element_data(r,"translationurl",s[12]),e.set_custom_element_data(r,"lang",s[7]),e.set_custom_element_data(r,"keepbrowsercontext",s[9]),e.set_custom_element_data(r,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),e.attr(n,"class",a="TournamentCard "+(s[5]?"CardMaxWidth":"")+(s[6]?"CardFullSize":"")+" "+(s[32]?"elementToFadeOut":"elementToFadeIn")),e.attr(n,"part",l="TournamentCard "+(s[5]?"CardMaxWidth":"")+(s[6]?"CardFullSize":"")+" "+(s[32]?"elementToFadeOut":"elementToFadeIn")+" "+(s[32]?"elementToFadeOut":"elementToFadeIn")),e.attr(t,"class",m=`${s[16]?"Loading":""}`)},m(u,c){e.insert(u,t,c),e.append(t,n),e.append(n,r),e.append(n,o),_.m(n,null),s[49](t)},p(u,c){c[0]&256&&e.set_custom_element_data(r,"detailsevent",u[8]),c[0]&1&&e.set_custom_element_data(r,"userid",u[0]),c[0]&2097152&&e.set_custom_element_data(r,"title",u[21]),c[0]&16777216&&e.set_custom_element_data(r,"status",u[24]),c[0]&4194304&&e.set_custom_element_data(r,"startdate",u[22]),c[0]&33554432&&e.set_custom_element_data(r,"tourid",u[25]),c[0]&268435456&&e.set_custom_element_data(r,"scorecriteria",u[28]),c[0]&536870912&&e.set_custom_element_data(r,"minbetcount",u[29]),c[0]&67108864&&e.set_custom_element_data(r,"thumbnail",u[26]),c[0]&16&&e.set_custom_element_data(r,"showenrolled",u[4]),c[1]&1&&e.set_custom_element_data(r,"gameurl",u[31]),c[0]&8192&&e.set_custom_element_data(r,"mbsource",u[13]),c[0]&134217728&&e.set_custom_element_data(r,"userenrolled",u[27]),c[0]&1024&&e.set_custom_element_data(r,"clientstyling",u[10]),c[0]&2048&&e.set_custom_element_data(r,"clientstylingurl",u[11]),c[0]&4096&&e.set_custom_element_data(r,"translationurl",u[12]),c[0]&128&&e.set_custom_element_data(r,"lang",u[7]),c[0]&512&&e.set_custom_element_data(r,"keepbrowsercontext",u[9]),g===(g=d(u))&&_?_.p(u,c):(_.d(1),_=g(u),_&&(_.c(),_.m(n,null))),c[0]&96|c[1]&2&&a!==(a="TournamentCard "+(u[5]?"CardMaxWidth":"")+(u[6]?"CardFullSize":"")+" "+(u[32]?"elementToFadeOut":"elementToFadeIn"))&&e.attr(n,"class",a),c[0]&96|c[1]&2&&l!==(l="TournamentCard "+(u[5]?"CardMaxWidth":"")+(u[6]?"CardFullSize":"")+" "+(u[32]?"elementToFadeOut":"elementToFadeIn")+" "+(u[32]?"elementToFadeOut":"elementToFadeIn"))&&e.attr(n,"part",l),c[0]&65536&&m!==(m=`${u[16]?"Loading":""}`)&&e.attr(t,"class",m)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_.d(),s[49](null)}}}function Ge(s,t,n){let r;e.component_subscribe(s,e.$format,i=>n(33,r=i));let{session:o=""}=t,{userid:a=""}=t,{tournamenturl:l=""}=t,{touridx:m}=t,{endpoint:d=""}=t,{showdetails:g=""}=t,{showslider:_=""}=t,{showenrolled:u=""}=t,{maxwidth:c=""}=t,{fullsize:w=""}=t,{lang:f=""}=t,{loginevent:h=""}=t,{registerevent:j=""}=t,{detailsevent:V=""}=t,{loginurl:E=""}=t,{registerurl:C=""}=t,{currency:U=""}=t,{keepbrowsercontext:Z="false"}=t,{clientstyling:D=""}=t,{clientstylingurl:P=""}=t,{translationurl:L=""}=t,{tournamentinfo:M}=t,{mbsource:A}=t,y,F=!1,x="",z=!0,Q=window.navigator.userAgent,O=!1,I=!1,Y="There was an error while trying to join the tournament",N=!1,q,$,ee,S,T,te,H,ne,re,se=[],G=[],ie="#",R=!1;Pe({withLocale:"en",translations:{}});const ye=()=>{fetch(L).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{ce(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(fe).forEach(i=>{ce(i,fe[i])});const oe=i=>{Te(i),W(i),ue(this,T)},ae=i=>{if(i.data&&i.data.type=="UserSessionID"&&(n(15,F=!0),x=i.data.session),i.data.type=="UpdateTournamentView"){let p=i.data.tournamentData;if(T&&T!=p.id)return;oe(p)}if(i.data&&i.data.type==`UpdateSingleTournament_${m}`){let p=i.data.tournamentData,k=m<4?m*100:Math.random()*300+300;n(32,R=m==1),setTimeout(()=>{n(32,R=!0),n(25,T=p.id),oe(p)},k),setTimeout(()=>{n(32,R=!1)},k+200)}},Te=i=>{i.state!=S&&(n(24,S=i.state),window.postMessage({type:`TournamentStatus_${T}`,status:S},window.location.href))},ve=()=>{h&&(window.postMessage({type:h,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),E&&(window.location=E)},Fe=()=>{j&&(window.postMessage({type:j,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),C&&(window.location=C)},ze=i=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:i,showLeaderboard:!0},window.location.href)},le=(i,p)=>X(this,null,function*(){var de;n(18,I=!1),n(20,N=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:i},window.location.href),n(17,O=!0);let k=new URL(`${d}/v1/bonus/claim`),J=new Headers,v={};k.searchParams.append("language",f),k.searchParams.append("platform",e.getDevice(Q)),J.append("Content-Type","application/json"),J.append("X-SessionID",x),p&&p.length>=1&&(v={language:f,bonusCode:p[0].code,currency:U,type:"tournament"});let De={method:"PUT",headers:J,body:JSON.stringify(v)};const me=()=>{n(17,O=!1),n(27,H=!0)},K=b=>{n(17,O=!1),b&&n(19,Y=b),n(18,I=!0)},B=yield X(this,null,function*(){let b;try{b=yield fetch(k,De),b=yield b.json()}catch(Ke){K()}return b});if(B)if(B.success==!0)me();else if(B.errorMessage.match("VersionMismatchException")){let b;b=yield fetch(`${d}/tournaments/${T}`,{headers:{"X-SessionID":o}}),b=yield b.json(),(de=b==null?void 0:b.item)!=null&&de.playerEnrolled?me():(K(B.errorMessage),n(20,N=!0),n(18,I=!1))}else K(B.errorMessage)}),ue=(i,p)=>{window.postMessage({type:`TournamentPrizes_${p}`,prizes:se},window.location.href)},W=i=>{i&&(n(21,q=i.nameOrTitle||""),n(22,$=i.startTime),n(23,ee=i.endTime),n(24,S=i.state),n(25,T=i.id),n(26,te=i.thumbnail),n(27,H=i.playerEnrolled==="true"||i.playerEnrolled==!0||!1),n(28,ne=i.scoreCriteria),n(29,re=i.minBetCount),se=i.prizes,n(30,G=i.wallets||[]),n(31,ie=i.termsUrl||"#"))},Se=i=>{n(16,z=!0);let p=new URL(i),k=new Headers;p.searchParams.append("language",f),p.searchParams.append("platform",e.getDevice(Q)),F&&k.append("X-SessionID",x),fetch(p,{method:"GET",headers:k}).then(v=>v.json()).then(v=>{W(v.item)}).finally(()=>{n(16,z=!1)})},Be=()=>{n(15,F=(o==null?void 0:o.length)>10),F&&(x=o)},je=()=>{if(M){W(M);return}n(16,z=!0),Se(l)};e.onMount(()=>(n(16,z=!q),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",ae,!1),()=>{window.removeEventListener("message",ae)}));const Ee=()=>le(T,G);function Ce(i){e.binding_callbacks[i?"unshift":"push"](()=>{y=i,n(14,y)})}return s.$$set=i=>{"session"in i&&n(39,o=i.session),"userid"in i&&n(0,a=i.userid),"tournamenturl"in i&&n(1,l=i.tournamenturl),"touridx"in i&&n(40,m=i.touridx),"endpoint"in i&&n(41,d=i.endpoint),"showdetails"in i&&n(2,g=i.showdetails),"showslider"in i&&n(3,_=i.showslider),"showenrolled"in i&&n(4,u=i.showenrolled),"maxwidth"in i&&n(5,c=i.maxwidth),"fullsize"in i&&n(6,w=i.fullsize),"lang"in i&&n(7,f=i.lang),"loginevent"in i&&n(42,h=i.loginevent),"registerevent"in i&&n(43,j=i.registerevent),"detailsevent"in i&&n(8,V=i.detailsevent),"loginurl"in i&&n(44,E=i.loginurl),"registerurl"in i&&n(45,C=i.registerurl),"currency"in i&&n(46,U=i.currency),"keepbrowsercontext"in i&&n(9,Z=i.keepbrowsercontext),"clientstyling"in i&&n(10,D=i.clientstyling),"clientstylingurl"in i&&n(11,P=i.clientstylingurl),"translationurl"in i&&n(12,L=i.translationurl),"tournamentinfo"in i&&n(47,M=i.tournamentinfo),"mbsource"in i&&n(13,A=i.mbsource)},s.$$.update=()=>{s.$$.dirty[0]&128&&f&&Le(f),s.$$.dirty[0]&4096&&L&&ye(),s.$$.dirty[1]&256&&o&&Be(),s.$$.dirty[0]&130&&l&&f&&je(),s.$$.dirty[0]&17408&&D&&y&&e.setClientStyling(y,D),s.$$.dirty[0]&18432&&P&&y&&e.setClientStylingURL(y,P),s.$$.dirty[0]&24576&&A&&y&&e.setStreamStyling(y,`${A}.Style`)},[a,l,g,_,u,c,w,f,V,Z,D,P,L,A,y,F,z,O,I,Y,N,q,$,ee,S,T,te,H,ne,re,G,ie,R,r,ve,Fe,ze,le,ue,o,m,d,h,j,E,C,U,M,Ee,Ce]}class ke extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ge,He,e.safe_not_equal,{session:39,userid:0,tournamenturl:1,touridx:40,endpoint:41,showdetails:2,showslider:3,showenrolled:4,maxwidth:5,fullsize:6,lang:7,loginevent:42,registerevent:43,detailsevent:8,loginurl:44,registerurl:45,currency:46,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:47,mbsource:13},Me,[-1,-1,-1])}get session(){return this.$$.ctx[39]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get tournamenturl(){return this.$$.ctx[1]}set tournamenturl(t){this.$$set({tournamenturl:t}),e.flush()}get touridx(){return this.$$.ctx[40]}set touridx(t){this.$$set({touridx:t}),e.flush()}get endpoint(){return this.$$.ctx[41]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get showdetails(){return this.$$.ctx[2]}set showdetails(t){this.$$set({showdetails:t}),e.flush()}get showslider(){return this.$$.ctx[3]}set showslider(t){this.$$set({showslider:t}),e.flush()}get showenrolled(){return this.$$.ctx[4]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get maxwidth(){return this.$$.ctx[5]}set maxwidth(t){this.$$set({maxwidth:t}),e.flush()}get fullsize(){return this.$$.ctx[6]}set fullsize(t){this.$$set({fullsize:t}),e.flush()}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),e.flush()}get loginevent(){return this.$$.ctx[42]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[43]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get detailsevent(){return this.$$.ctx[8]}set detailsevent(t){this.$$set({detailsevent:t}),e.flush()}get loginurl(){return this.$$.ctx[44]}set loginurl(t){this.$$set({loginurl:t}),e.flush()}get registerurl(){return this.$$.ctx[45]}set registerurl(t){this.$$set({registerurl:t}),e.flush()}get currency(){return this.$$.ctx[46]}set currency(t){this.$$set({currency:t}),e.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get tournamentinfo(){return this.$$.ctx[47]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),e.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(ke,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},detailsevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{},mbsource:{}},[],[],!0);exports.default=ke;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-DG83WzAo.cjs"),t=require("./index-97d17652-BhLhk_xz.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",a=s,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:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
-
}
|
|
11
|
-
`;break;case"image":e=`
|
|
12
|
-
:host {
|
|
13
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
-
}
|
|
21
|
-
`;break;case"title":e=`
|
|
22
|
-
:host {
|
|
23
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
-
}
|
|
31
|
-
`;break;case"text":e=`
|
|
32
|
-
:host {
|
|
33
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
-
}
|
|
41
|
-
`;break;case"rectangle":e=`
|
|
42
|
-
:host {
|
|
43
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
-
}
|
|
51
|
-
`;break;case"circle":e=`
|
|
52
|
-
:host {
|
|
53
|
-
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
-
}
|
|
55
|
-
`;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=a;exports.ui_image=r.UiImage;exports.ui_skeleton=n;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-BTdVi7--.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 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:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
-
}
|
|
11
|
-
`;break;case"image":e=`
|
|
12
|
-
:host {
|
|
13
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
-
}
|
|
21
|
-
`;break;case"title":e=`
|
|
22
|
-
:host {
|
|
23
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
-
}
|
|
31
|
-
`;break;case"text":e=`
|
|
32
|
-
:host {
|
|
33
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
-
}
|
|
41
|
-
`;break;case"rectangle":e=`
|
|
42
|
-
:host {
|
|
43
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
-
}
|
|
51
|
-
`;break;case"circle":e=`
|
|
52
|
-
:host {
|
|
53
|
-
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
-
}
|
|
55
|
-
`;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
|