@everymatrix/casino-tournaments-details 1.44.0 → 1.45.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ "use strict";var Z=Object.defineProperty,tt=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))nt.call(t,n)&&F(e,n,t[n]);if(R)for(var n of R(t))it.call(t,n)&&F(e,n,t[n]);return e},U=(e,t)=>tt(e,et(t));var $=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var z=(e,t,n)=>new Promise((i,r)=>{var s=f=>{try{c(n.next(f))}catch(o){r(o)}},l=f=>{try{c(n.throw(f))}catch(o){r(o)}},c=f=>f.done?i(f.value):Promise.resolve(f.value).then(s,l);c((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function C(){}function K(e){return e()}function J(){return Object.create(null)}function D(e){e.forEach(K)}function A(e){return typeof e=="function"}function st(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function rt(e){return Object.keys(e).length===0}function lt(e){return e&&A(e.destroy)?e.destroy:C}function g(e,t){e.appendChild(t)}function ot(e,t,n){const i=ct(e);if(!i.getElementById(t)){const r=p("style");r.id=t,r.textContent=n,ut(i,r)}}function ct(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ut(e,t){return g(e.head||e,t),t.sheet}function v(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e){return document.createElement(e)}function S(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Q(e){return document.createTextNode(e)}function W(){return Q(" ")}function ft(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function u(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function dt(e){return Array.from(e.childNodes)}function at(e,t){t=""+t,e.data!==t&&(e.data=t)}function ht(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let H;function E(e){H=e}const w=[],M=[];let k=[];const V=[],$t=Promise.resolve();let B=!1;function _t(){B||(B=!0,$t.then(x))}function P(e){k.push(e)}const N=new Set;let y=0;function x(){if(y!==0)return;const e=H;do{try{for(;y<w.length;){const t=w[y];y++,E(t),gt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(E(null),w.length=0,y=0;M.length;)M.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];N.has(n)||(N.add(n),n())}k.length=0}while(w.length);for(;V.length;)V.pop()();B=!1,N.clear(),E(e)}function gt(e){if(e.fragment!==null){e.update(),D(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(P)}}function pt(e){const t=[],n=[];k.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),k=t}const mt=new Set;function bt(e,t){e&&e.i&&(mt.delete(e),e.i(t))}function yt(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),P(()=>{const s=e.$$.on_mount.map(K).filter(A);e.$$.on_destroy?e.$$.on_destroy.push(...s):D(s),e.$$.on_mount=[]}),r.forEach(P)}function wt(e,t){const n=e.$$;n.fragment!==null&&(pt(n.after_update),D(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function xt(e,t){e.$$.dirty[0]===-1&&(w.push(e),_t(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function kt(e,t,n,i,r,s,l=null,c=[-1]){const f=H;E(e);const o=e.$$={fragment:null,ctx:[],props:s,update:C,not_equal:r,bound:J(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),callbacks:J(),dirty:c,skip_bound:!1,root:t.target||f.$$.root};l&&l(o.root);let h=!1;if(o.ctx=n?n(e,t.props||{},(d,_,...T)=>{const j=T.length?T[0]:_;return o.ctx&&r(o.ctx[d],o.ctx[d]=j)&&(!o.skip_bound&&o.bound[d]&&o.bound[d](j),h&&xt(e,d)),_}):[],o.update(),h=!0,D(o.before_update),o.fragment=i?i(o.ctx):!1,t.target){if(t.hydrate){const d=dt(t.target);o.fragment&&o.fragment.l(d),d.forEach(m)}else o.fragment&&o.fragment.c();t.intro&&bt(e.$$.fragment),yt(e,t.target,t.anchor),x()}E(f)}let X;typeof HTMLElement=="function"&&(X=class extends HTMLElement{constructor(t,n,i){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return z(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let l;return{c:function(){l=p("slot"),s!=="default"&&u(l,"name",s)},m:function(o,h){v(o,l,h)},d:function(o){o&&m(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=ht(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const s of this.attributes){const l=this.$$g_p(s.name);l in this.$$d||(this.$$d[l]=O(l,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:U(I({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const l=O(s,this.$$d[s],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,l)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const s in this.$$l)for(const l of this.$$l[s]){const c=this.$$c.$on(s,l);this.$$l_u.set(l,c)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,i){var s;const r=(s=n[e])==null?void 0:s.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ct(e,t,n,i,r,s){let l=class extends X{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(c=>(t[c].attribute||c).toLowerCase())}};return Object.keys(t).forEach(c=>{Object.defineProperty(l.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(f){var o;f=O(c,f,t),this.$$d[c]=f,(o=this.$$c)==null||o.$set({[c]:f})}})}),i.forEach(c=>{Object.defineProperty(l.prototype,c,{get(){var f;return(f=this.$$c)==null?void 0:f[c]}})}),e.element=l,l}class vt{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){wt(this,1),this.$destroy=C}$on(t,n){if(!A(n))return C;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!rt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Et="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Et);function Tt(e){ot(e,"svelte-auahn8","*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}")}function q(e){let t,n,i,r,s,l,c;function f(d,_){return d[3]?jt:Lt}let o=f(e),h=o(e);return{c(){t=p("div"),n=p("p"),i=Q(e[0]),r=W(),s=p("div"),h.c(),u(n,"class","Title"),u(n,"part","Title"),u(s,"class","CollapseButtonDetails"),u(s,"part","CollapseButtonDetails"),u(t,"class","DetailsTitle"),u(t,"part","DetailsTitle")},m(d,_){v(d,t,_),g(t,n),g(n,i),g(t,r),g(t,s),h.m(s,null),l||(c=ft(s,"click",e[8]),l=!0)},p(d,_){_&1&&at(i,d[0]),o!==(o=f(d))&&(h.d(1),h=o(d),h&&(h.c(),h.m(s,null)))},d(d){d&&m(t),h.d(),l=!1,c()}}}function jt(e){let t,n;return{c(){t=S("svg"),n=S("path"),u(n,"d","M6 9l6 6 6-6"),u(t,"xmlns","http://www.w3.org/2000/svg"),u(t,"width","24"),u(t,"height","24"),u(t,"viewBox","0 0 24 24"),u(t,"fill","none"),u(t,"stroke","#ffffff"),u(t,"stroke-width","2"),u(t,"stroke-linecap","round"),u(t,"stroke-linejoin","round")},m(i,r){v(i,t,r),g(t,n)},d(i){i&&m(t)}}}function Lt(e){let t,n;return{c(){t=S("svg"),n=S("path"),u(n,"d","M18 15l-6-6-6 6"),u(t,"xmlns","http://www.w3.org/2000/svg"),u(t,"width","24"),u(t,"height","24"),u(t,"viewBox","0 0 24 24"),u(t,"fill","none"),u(t,"stroke","#ffffff"),u(t,"stroke-width","2"),u(t,"stroke-linecap","round"),u(t,"stroke-linejoin","round")},m(i,r){v(i,t,r),g(t,n)},d(i){i&&m(t)}}}function G(e){let t,n,i,r;return{c(){t=p("div"),t.innerHTML="",u(t,"class","DetailsContent sc"),u(t,"part","DetailsContent")},m(s,l){v(s,t,l),i||(r=lt(n=e[5].call(null,t,e[1])),i=!0)},p(s,l){n&&A(n.update)&&l&2&&n.update.call(null,s[1])},d(s){s&&m(t),i=!1,r()}}}function Ot(e){let t,n,i=e[0]&&q(e),r=e[1]&&!e[3]&&G(e);return{c(){t=p("div"),i&&i.c(),n=W(),r&&r.c(),u(t,"class","DetailsCard"),u(t,"part","DetailsCard")},m(s,l){v(s,t,l),i&&i.m(t,null),g(t,n),r&&r.m(t,null),e[9](t)},p(s,[l]){s[0]?i?i.p(s,l):(i=q(s),i.c(),i.m(t,n)):i&&(i.d(1),i=null),s[1]&&!s[3]?r?r.p(s,l):(r=G(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:C,o:C,d(s){s&&m(t),i&&i.d(),r&&r.d(),e[9](null)}}}function St(e,t,n){let{title:i=""}=t,{text:r=""}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,c,f=!1;const o=()=>{n(3,f=!f)},h=()=>{let a=document.createElement("style");a.innerHTML=s,c.appendChild(a)},d=()=>{let a=new URL(l),L=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{L.innerHTML=b,setTimeout(()=>{c.appendChild(L)},1),setTimeout(()=>{},500)})},_=(a,L)=>{let b=document.createElement("div");b.innerHTML=L,a.append(b)},T=()=>o();function j(a){M[a?"unshift":"push"](()=>{c=a,n(2,c)})}return e.$$set=a=>{"title"in a&&n(0,i=a.title),"text"in a&&n(1,r=a.text),"clientstyling"in a&&n(6,s=a.clientstyling),"clientstylingurl"in a&&n(7,l=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&68&&c&&s&&h(),e.$$.dirty&132&&c&&l&&d()},[i,r,c,f,o,_,s,l,T,j]}class Y extends vt{constructor(t){super(),kt(this,t,St,Ot,st,{title:0,text:1,clientstyling:6,clientstylingurl:7},Tt)}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),x()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),x()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),x()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),x()}}Ct(Y,{title:{},text:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=Y;
@@ -0,0 +1,676 @@
1
+ var Y = Object.defineProperty, Z = Object.defineProperties;
2
+ var tt = Object.getOwnPropertyDescriptors;
3
+ var R = Object.getOwnPropertySymbols;
4
+ var et = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
5
+ var N = (e, t, n) => t in e ? Y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, I = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ et.call(t, n) && N(e, n, t[n]);
8
+ if (R)
9
+ for (var n of R(t))
10
+ nt.call(t, n) && N(e, n, t[n]);
11
+ return e;
12
+ }, U = (e, t) => Z(e, tt(t));
13
+ var $ = (e, t, n) => N(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var z = (e, t, n) => new Promise((i, r) => {
15
+ var s = (f) => {
16
+ try {
17
+ c(n.next(f));
18
+ } catch (o) {
19
+ r(o);
20
+ }
21
+ }, l = (f) => {
22
+ try {
23
+ c(n.throw(f));
24
+ } catch (o) {
25
+ r(o);
26
+ }
27
+ }, c = (f) => f.done ? i(f.value) : Promise.resolve(f.value).then(s, l);
28
+ c((n = n.apply(e, t)).next());
29
+ });
30
+ function C() {
31
+ }
32
+ function K(e) {
33
+ return e();
34
+ }
35
+ function J() {
36
+ return /* @__PURE__ */ Object.create(null);
37
+ }
38
+ function A(e) {
39
+ e.forEach(K);
40
+ }
41
+ function F(e) {
42
+ return typeof e == "function";
43
+ }
44
+ function it(e, t) {
45
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
+ }
47
+ function st(e) {
48
+ return Object.keys(e).length === 0;
49
+ }
50
+ function rt(e) {
51
+ return e && F(e.destroy) ? e.destroy : C;
52
+ }
53
+ function g(e, t) {
54
+ e.appendChild(t);
55
+ }
56
+ function lt(e, t, n) {
57
+ const i = ot(e);
58
+ if (!i.getElementById(t)) {
59
+ const r = p("style");
60
+ r.id = t, r.textContent = n, ct(i, r);
61
+ }
62
+ }
63
+ function ot(e) {
64
+ if (!e) return document;
65
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
66
+ return t && /** @type {ShadowRoot} */
67
+ t.host ? (
68
+ /** @type {ShadowRoot} */
69
+ t
70
+ ) : e.ownerDocument;
71
+ }
72
+ function ct(e, t) {
73
+ return g(
74
+ /** @type {Document} */
75
+ e.head || e,
76
+ t
77
+ ), t.sheet;
78
+ }
79
+ function v(e, t, n) {
80
+ e.insertBefore(t, n || null);
81
+ }
82
+ function m(e) {
83
+ e.parentNode && e.parentNode.removeChild(e);
84
+ }
85
+ function p(e) {
86
+ return document.createElement(e);
87
+ }
88
+ function O(e) {
89
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
90
+ }
91
+ function Q(e) {
92
+ return document.createTextNode(e);
93
+ }
94
+ function W() {
95
+ return Q(" ");
96
+ }
97
+ function ut(e, t, n, i) {
98
+ return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
99
+ }
100
+ function u(e, t, n) {
101
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
102
+ }
103
+ function ft(e) {
104
+ return Array.from(e.childNodes);
105
+ }
106
+ function at(e, t) {
107
+ t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
+ t);
109
+ }
110
+ function dt(e) {
111
+ const t = {};
112
+ return e.childNodes.forEach(
113
+ /** @param {Element} node */
114
+ (n) => {
115
+ t[n.slot || "default"] = !0;
116
+ }
117
+ ), t;
118
+ }
119
+ let H;
120
+ function E(e) {
121
+ H = e;
122
+ }
123
+ const w = [], B = [];
124
+ let k = [];
125
+ const V = [], ht = /* @__PURE__ */ Promise.resolve();
126
+ let M = !1;
127
+ function $t() {
128
+ M || (M = !0, ht.then(x));
129
+ }
130
+ function P(e) {
131
+ k.push(e);
132
+ }
133
+ const S = /* @__PURE__ */ new Set();
134
+ let y = 0;
135
+ function x() {
136
+ if (y !== 0)
137
+ return;
138
+ const e = H;
139
+ do {
140
+ try {
141
+ for (; y < w.length; ) {
142
+ const t = w[y];
143
+ y++, E(t), _t(t.$$);
144
+ }
145
+ } catch (t) {
146
+ throw w.length = 0, y = 0, t;
147
+ }
148
+ for (E(null), w.length = 0, y = 0; B.length; ) B.pop()();
149
+ for (let t = 0; t < k.length; t += 1) {
150
+ const n = k[t];
151
+ S.has(n) || (S.add(n), n());
152
+ }
153
+ k.length = 0;
154
+ } while (w.length);
155
+ for (; V.length; )
156
+ V.pop()();
157
+ M = !1, S.clear(), E(e);
158
+ }
159
+ function _t(e) {
160
+ if (e.fragment !== null) {
161
+ e.update(), A(e.before_update);
162
+ const t = e.dirty;
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(P);
164
+ }
165
+ }
166
+ function gt(e) {
167
+ const t = [], n = [];
168
+ k.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), k = t;
169
+ }
170
+ const pt = /* @__PURE__ */ new Set();
171
+ function mt(e, t) {
172
+ e && e.i && (pt.delete(e), e.i(t));
173
+ }
174
+ function bt(e, t, n) {
175
+ const { fragment: i, after_update: r } = e.$$;
176
+ i && i.m(t, n), P(() => {
177
+ const s = e.$$.on_mount.map(K).filter(F);
178
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : A(s), e.$$.on_mount = [];
179
+ }), r.forEach(P);
180
+ }
181
+ function yt(e, t) {
182
+ const n = e.$$;
183
+ n.fragment !== null && (gt(n.after_update), A(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
184
+ }
185
+ function wt(e, t) {
186
+ e.$$.dirty[0] === -1 && (w.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
+ }
188
+ function xt(e, t, n, i, r, s, l = null, c = [-1]) {
189
+ const f = H;
190
+ E(e);
191
+ const o = e.$$ = {
192
+ fragment: null,
193
+ ctx: [],
194
+ // state
195
+ props: s,
196
+ update: C,
197
+ not_equal: r,
198
+ bound: J(),
199
+ // lifecycle
200
+ on_mount: [],
201
+ on_destroy: [],
202
+ on_disconnect: [],
203
+ before_update: [],
204
+ after_update: [],
205
+ context: new Map(t.context || (f ? f.$$.context : [])),
206
+ // everything else
207
+ callbacks: J(),
208
+ dirty: c,
209
+ skip_bound: !1,
210
+ root: t.target || f.$$.root
211
+ };
212
+ l && l(o.root);
213
+ let h = !1;
214
+ if (o.ctx = n ? n(e, t.props || {}, (a, _, ...L) => {
215
+ const T = L.length ? L[0] : _;
216
+ return o.ctx && r(o.ctx[a], o.ctx[a] = T) && (!o.skip_bound && o.bound[a] && o.bound[a](T), h && wt(e, a)), _;
217
+ }) : [], o.update(), h = !0, A(o.before_update), o.fragment = i ? i(o.ctx) : !1, t.target) {
218
+ if (t.hydrate) {
219
+ const a = ft(t.target);
220
+ o.fragment && o.fragment.l(a), a.forEach(m);
221
+ } else
222
+ o.fragment && o.fragment.c();
223
+ t.intro && mt(e.$$.fragment), bt(e, t.target, t.anchor), x();
224
+ }
225
+ E(f);
226
+ }
227
+ let X;
228
+ typeof HTMLElement == "function" && (X = class extends HTMLElement {
229
+ constructor(t, n, i) {
230
+ super();
231
+ /** The Svelte component constructor */
232
+ $(this, "$$ctor");
233
+ /** Slots */
234
+ $(this, "$$s");
235
+ /** The Svelte component instance */
236
+ $(this, "$$c");
237
+ /** Whether or not the custom element is connected */
238
+ $(this, "$$cn", !1);
239
+ /** Component props data */
240
+ $(this, "$$d", {});
241
+ /** `true` if currently in the process of reflecting component props back to attributes */
242
+ $(this, "$$r", !1);
243
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
244
+ $(this, "$$p_d", {});
245
+ /** @type {Record<string, Function[]>} Event listeners */
246
+ $(this, "$$l", {});
247
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
248
+ $(this, "$$l_u", /* @__PURE__ */ new Map());
249
+ this.$$ctor = t, this.$$s = n, i && this.attachShadow({ mode: "open" });
250
+ }
251
+ addEventListener(t, n, i) {
252
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
253
+ const r = this.$$c.$on(t, n);
254
+ this.$$l_u.set(n, r);
255
+ }
256
+ super.addEventListener(t, n, i);
257
+ }
258
+ removeEventListener(t, n, i) {
259
+ if (super.removeEventListener(t, n, i), this.$$c) {
260
+ const r = this.$$l_u.get(n);
261
+ r && (r(), this.$$l_u.delete(n));
262
+ }
263
+ }
264
+ connectedCallback() {
265
+ return z(this, null, function* () {
266
+ if (this.$$cn = !0, !this.$$c) {
267
+ let t = function(s) {
268
+ return () => {
269
+ let l;
270
+ return {
271
+ c: function() {
272
+ l = p("slot"), s !== "default" && u(l, "name", s);
273
+ },
274
+ /**
275
+ * @param {HTMLElement} target
276
+ * @param {HTMLElement} [anchor]
277
+ */
278
+ m: function(o, h) {
279
+ v(o, l, h);
280
+ },
281
+ d: function(o) {
282
+ o && m(l);
283
+ }
284
+ };
285
+ };
286
+ };
287
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
288
+ return;
289
+ const n = {}, i = dt(this);
290
+ for (const s of this.$$s)
291
+ s in i && (n[s] = [t(s)]);
292
+ for (const s of this.attributes) {
293
+ const l = this.$$g_p(s.name);
294
+ l in this.$$d || (this.$$d[l] = D(l, s.value, this.$$p_d, "toProp"));
295
+ }
296
+ for (const s in this.$$p_d)
297
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
298
+ this.$$c = new this.$$ctor({
299
+ target: this.shadowRoot || this,
300
+ props: U(I({}, this.$$d), {
301
+ $$slots: n,
302
+ $$scope: {
303
+ ctx: []
304
+ }
305
+ })
306
+ });
307
+ const r = () => {
308
+ this.$$r = !0;
309
+ for (const s in this.$$p_d)
310
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
311
+ const l = D(
312
+ s,
313
+ this.$$d[s],
314
+ this.$$p_d,
315
+ "toAttribute"
316
+ );
317
+ l == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, l);
318
+ }
319
+ this.$$r = !1;
320
+ };
321
+ this.$$c.$$.after_update.push(r), r();
322
+ for (const s in this.$$l)
323
+ for (const l of this.$$l[s]) {
324
+ const c = this.$$c.$on(s, l);
325
+ this.$$l_u.set(l, c);
326
+ }
327
+ this.$$l = {};
328
+ }
329
+ });
330
+ }
331
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
332
+ // and setting attributes through setAttribute etc, this is helpful
333
+ attributeChangedCallback(t, n, i) {
334
+ var r;
335
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = D(t, i, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
336
+ }
337
+ disconnectedCallback() {
338
+ this.$$cn = !1, Promise.resolve().then(() => {
339
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
340
+ });
341
+ }
342
+ $$g_p(t) {
343
+ return Object.keys(this.$$p_d).find(
344
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
345
+ ) || t;
346
+ }
347
+ });
348
+ function D(e, t, n, i) {
349
+ var s;
350
+ const r = (s = n[e]) == null ? void 0 : s.type;
351
+ if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
352
+ return t;
353
+ if (i === "toAttribute")
354
+ switch (r) {
355
+ case "Object":
356
+ case "Array":
357
+ return t == null ? null : JSON.stringify(t);
358
+ case "Boolean":
359
+ return t ? "" : null;
360
+ case "Number":
361
+ return t == null ? null : t;
362
+ default:
363
+ return t;
364
+ }
365
+ else
366
+ switch (r) {
367
+ case "Object":
368
+ case "Array":
369
+ return t && JSON.parse(t);
370
+ case "Boolean":
371
+ return t;
372
+ case "Number":
373
+ return t != null ? +t : t;
374
+ default:
375
+ return t;
376
+ }
377
+ }
378
+ function kt(e, t, n, i, r, s) {
379
+ let l = class extends X {
380
+ constructor() {
381
+ super(e, n, r), this.$$p_d = t;
382
+ }
383
+ static get observedAttributes() {
384
+ return Object.keys(t).map(
385
+ (c) => (t[c].attribute || c).toLowerCase()
386
+ );
387
+ }
388
+ };
389
+ return Object.keys(t).forEach((c) => {
390
+ Object.defineProperty(l.prototype, c, {
391
+ get() {
392
+ return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
393
+ },
394
+ set(f) {
395
+ var o;
396
+ f = D(c, f, t), this.$$d[c] = f, (o = this.$$c) == null || o.$set({ [c]: f });
397
+ }
398
+ });
399
+ }), i.forEach((c) => {
400
+ Object.defineProperty(l.prototype, c, {
401
+ get() {
402
+ var f;
403
+ return (f = this.$$c) == null ? void 0 : f[c];
404
+ }
405
+ });
406
+ }), e.element = /** @type {any} */
407
+ l, l;
408
+ }
409
+ class Ct {
410
+ constructor() {
411
+ /**
412
+ * ### PRIVATE API
413
+ *
414
+ * Do not use, may change at any time
415
+ *
416
+ * @type {any}
417
+ */
418
+ $(this, "$$");
419
+ /**
420
+ * ### PRIVATE API
421
+ *
422
+ * Do not use, may change at any time
423
+ *
424
+ * @type {any}
425
+ */
426
+ $(this, "$$set");
427
+ }
428
+ /** @returns {void} */
429
+ $destroy() {
430
+ yt(this, 1), this.$destroy = C;
431
+ }
432
+ /**
433
+ * @template {Extract<keyof Events, string>} K
434
+ * @param {K} type
435
+ * @param {((e: Events[K]) => void) | null | undefined} callback
436
+ * @returns {() => void}
437
+ */
438
+ $on(t, n) {
439
+ if (!F(n))
440
+ return C;
441
+ const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
+ return i.push(n), () => {
443
+ const r = i.indexOf(n);
444
+ r !== -1 && i.splice(r, 1);
445
+ };
446
+ }
447
+ /**
448
+ * @param {Partial<Props>} props
449
+ * @returns {void}
450
+ */
451
+ $set(t) {
452
+ this.$$set && !st(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
+ }
454
+ }
455
+ const vt = "4";
456
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vt);
457
+ function Et(e) {
458
+ lt(e, "svelte-auahn8", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}");
459
+ }
460
+ function q(e) {
461
+ let t, n, i, r, s, l, c;
462
+ function f(a, _) {
463
+ return (
464
+ /*collapsed*/
465
+ a[3] ? Lt : Tt
466
+ );
467
+ }
468
+ let o = f(e), h = o(e);
469
+ return {
470
+ c() {
471
+ t = p("div"), n = p("p"), i = Q(
472
+ /*title*/
473
+ e[0]
474
+ ), r = W(), s = p("div"), h.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(s, "class", "CollapseButtonDetails"), u(s, "part", "CollapseButtonDetails"), u(t, "class", "DetailsTitle"), u(t, "part", "DetailsTitle");
475
+ },
476
+ m(a, _) {
477
+ v(a, t, _), g(t, n), g(n, i), g(t, r), g(t, s), h.m(s, null), l || (c = ut(
478
+ s,
479
+ "click",
480
+ /*click_handler*/
481
+ e[8]
482
+ ), l = !0);
483
+ },
484
+ p(a, _) {
485
+ _ & /*title*/
486
+ 1 && at(
487
+ i,
488
+ /*title*/
489
+ a[0]
490
+ ), o !== (o = f(a)) && (h.d(1), h = o(a), h && (h.c(), h.m(s, null)));
491
+ },
492
+ d(a) {
493
+ a && m(t), h.d(), l = !1, c();
494
+ }
495
+ };
496
+ }
497
+ function Lt(e) {
498
+ let t, n;
499
+ return {
500
+ c() {
501
+ t = O("svg"), n = O("path"), u(n, "d", "M6 9l6 6 6-6"), u(t, "xmlns", "http://www.w3.org/2000/svg"), u(t, "width", "24"), u(t, "height", "24"), u(t, "viewBox", "0 0 24 24"), u(t, "fill", "none"), u(t, "stroke", "#ffffff"), u(t, "stroke-width", "2"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round");
502
+ },
503
+ m(i, r) {
504
+ v(i, t, r), g(t, n);
505
+ },
506
+ d(i) {
507
+ i && m(t);
508
+ }
509
+ };
510
+ }
511
+ function Tt(e) {
512
+ let t, n;
513
+ return {
514
+ c() {
515
+ t = O("svg"), n = O("path"), u(n, "d", "M18 15l-6-6-6 6"), u(t, "xmlns", "http://www.w3.org/2000/svg"), u(t, "width", "24"), u(t, "height", "24"), u(t, "viewBox", "0 0 24 24"), u(t, "fill", "none"), u(t, "stroke", "#ffffff"), u(t, "stroke-width", "2"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round");
516
+ },
517
+ m(i, r) {
518
+ v(i, t, r), g(t, n);
519
+ },
520
+ d(i) {
521
+ i && m(t);
522
+ }
523
+ };
524
+ }
525
+ function G(e) {
526
+ let t, n, i, r;
527
+ return {
528
+ c() {
529
+ t = p("div"), t.innerHTML = "", u(t, "class", "DetailsContent sc"), u(t, "part", "DetailsContent");
530
+ },
531
+ m(s, l) {
532
+ v(s, t, l), i || (r = rt(n = /*setContent*/
533
+ e[5].call(
534
+ null,
535
+ t,
536
+ /*text*/
537
+ e[1]
538
+ )), i = !0);
539
+ },
540
+ p(s, l) {
541
+ n && F(n.update) && l & /*text*/
542
+ 2 && n.update.call(
543
+ null,
544
+ /*text*/
545
+ s[1]
546
+ );
547
+ },
548
+ d(s) {
549
+ s && m(t), i = !1, r();
550
+ }
551
+ };
552
+ }
553
+ function jt(e) {
554
+ let t, n, i = (
555
+ /*title*/
556
+ e[0] && q(e)
557
+ ), r = (
558
+ /*text*/
559
+ e[1] && !/*collapsed*/
560
+ e[3] && G(e)
561
+ );
562
+ return {
563
+ c() {
564
+ t = p("div"), i && i.c(), n = W(), r && r.c(), u(t, "class", "DetailsCard"), u(t, "part", "DetailsCard");
565
+ },
566
+ m(s, l) {
567
+ v(s, t, l), i && i.m(t, null), g(t, n), r && r.m(t, null), e[9](t);
568
+ },
569
+ p(s, [l]) {
570
+ /*title*/
571
+ s[0] ? i ? i.p(s, l) : (i = q(s), i.c(), i.m(t, n)) : i && (i.d(1), i = null), /*text*/
572
+ s[1] && !/*collapsed*/
573
+ s[3] ? r ? r.p(s, l) : (r = G(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
574
+ },
575
+ i: C,
576
+ o: C,
577
+ d(s) {
578
+ s && m(t), i && i.d(), r && r.d(), e[9](null);
579
+ }
580
+ };
581
+ }
582
+ function Dt(e, t, n) {
583
+ let { title: i = "" } = t, { text: r = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, c, f = !1;
584
+ const o = () => {
585
+ n(3, f = !f);
586
+ }, h = () => {
587
+ let d = document.createElement("style");
588
+ d.innerHTML = s, c.appendChild(d);
589
+ }, a = () => {
590
+ let d = new URL(l), j = document.createElement("style");
591
+ fetch(d.href).then((b) => b.text()).then((b) => {
592
+ j.innerHTML = b, setTimeout(
593
+ () => {
594
+ c.appendChild(j);
595
+ },
596
+ 1
597
+ ), setTimeout(
598
+ () => {
599
+ },
600
+ 500
601
+ );
602
+ });
603
+ }, _ = (d, j) => {
604
+ let b = document.createElement("div");
605
+ b.innerHTML = j, d.append(b);
606
+ }, L = () => o();
607
+ function T(d) {
608
+ B[d ? "unshift" : "push"](() => {
609
+ c = d, n(2, c);
610
+ });
611
+ }
612
+ return e.$$set = (d) => {
613
+ "title" in d && n(0, i = d.title), "text" in d && n(1, r = d.text), "clientstyling" in d && n(6, s = d.clientstyling), "clientstylingurl" in d && n(7, l = d.clientstylingurl);
614
+ }, e.$$.update = () => {
615
+ e.$$.dirty & /*customStylingContainer, clientstyling*/
616
+ 68 && c && s && h(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
617
+ 132 && c && l && a();
618
+ }, [
619
+ i,
620
+ r,
621
+ c,
622
+ f,
623
+ o,
624
+ _,
625
+ s,
626
+ l,
627
+ L,
628
+ T
629
+ ];
630
+ }
631
+ class Ot extends Ct {
632
+ constructor(t) {
633
+ super(), xt(
634
+ this,
635
+ t,
636
+ Dt,
637
+ jt,
638
+ it,
639
+ {
640
+ title: 0,
641
+ text: 1,
642
+ clientstyling: 6,
643
+ clientstylingurl: 7
644
+ },
645
+ Et
646
+ );
647
+ }
648
+ get title() {
649
+ return this.$$.ctx[0];
650
+ }
651
+ set title(t) {
652
+ this.$$set({ title: t }), x();
653
+ }
654
+ get text() {
655
+ return this.$$.ctx[1];
656
+ }
657
+ set text(t) {
658
+ this.$$set({ text: t }), x();
659
+ }
660
+ get clientstyling() {
661
+ return this.$$.ctx[6];
662
+ }
663
+ set clientstyling(t) {
664
+ this.$$set({ clientstyling: t }), x();
665
+ }
666
+ get clientstylingurl() {
667
+ return this.$$.ctx[7];
668
+ }
669
+ set clientstylingurl(t) {
670
+ this.$$set({ clientstylingurl: t }), x();
671
+ }
672
+ }
673
+ kt(Ot, { title: {}, text: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
674
+ export {
675
+ Ot as default
676
+ };
@@ -0,0 +1 @@
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsDetails-CcceCDKV.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}