@everymatrix/casino-tournaments-details 1.49.2 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -103,11 +103,11 @@ function u(e, t, n) {
103
103
  function ft(e) {
104
104
  return Array.from(e.childNodes);
105
105
  }
106
- function at(e, t) {
106
+ function dt(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
- function dt(e) {
110
+ function at(e) {
111
111
  const t = {};
112
112
  return e.childNodes.forEach(
113
113
  /** @param {Element} node */
@@ -211,13 +211,13 @@ function xt(e, t, n, i, r, s, l = null, c = [-1]) {
211
211
  };
212
212
  l && l(o.root);
213
213
  let h = !1;
214
- if (o.ctx = n ? n(e, t.props || {}, (a, _, ...L) => {
214
+ if (o.ctx = n ? n(e, t.props || {}, (d, _, ...L) => {
215
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)), _;
216
+ return o.ctx && r(o.ctx[d], o.ctx[d] = T) && (!o.skip_bound && o.bound[d] && o.bound[d](T), h && wt(e, d)), _;
217
217
  }) : [], o.update(), h = !0, A(o.before_update), o.fragment = i ? i(o.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const a = ft(t.target);
220
- o.fragment && o.fragment.l(a), a.forEach(m);
219
+ const d = ft(t.target);
220
+ o.fragment && o.fragment.l(d), d.forEach(m);
221
221
  } else
222
222
  o.fragment && o.fragment.c();
223
223
  t.intro && mt(e.$$.fragment), bt(e, t.target, t.anchor), x();
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (X = class extends HTMLElement {
286
286
  };
287
287
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
288
288
  return;
289
- const n = {}, i = dt(this);
289
+ const n = {}, i = at(this);
290
290
  for (const s of this.$$s)
291
291
  s in i && (n[s] = [t(s)]);
292
292
  for (const s of this.attributes) {
@@ -455,14 +455,14 @@ class Ct {
455
455
  const vt = "4";
456
456
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vt);
457
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}");
458
+ lt(e, "svelte-ef5f6c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--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(--emw--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(--emw--color-white, #FFFFFF);border-radius:10px}");
459
459
  }
460
460
  function q(e) {
461
461
  let t, n, i, r, s, l, c;
462
- function f(a, _) {
462
+ function f(d, _) {
463
463
  return (
464
464
  /*collapsed*/
465
- a[3] ? Lt : Tt
465
+ d[3] ? Lt : Tt
466
466
  );
467
467
  }
468
468
  let o = f(e), h = o(e);
@@ -473,24 +473,24 @@ function q(e) {
473
473
  e[0]
474
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
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(
476
+ m(d, _) {
477
+ v(d, t, _), g(t, n), g(n, i), g(t, r), g(t, s), h.m(s, null), l || (c = ut(
478
478
  s,
479
479
  "click",
480
480
  /*click_handler*/
481
481
  e[8]
482
482
  ), l = !0);
483
483
  },
484
- p(a, _) {
484
+ p(d, _) {
485
485
  _ & /*title*/
486
- 1 && at(
486
+ 1 && dt(
487
487
  i,
488
488
  /*title*/
489
- a[0]
490
- ), o !== (o = f(a)) && (h.d(1), h = o(a), h && (h.c(), h.m(s, null)));
489
+ d[0]
490
+ ), o !== (o = f(d)) && (h.d(1), h = o(d), h && (h.c(), h.m(s, null)));
491
491
  },
492
- d(a) {
493
- a && m(t), h.d(), l = !1, c();
492
+ d(d) {
493
+ d && m(t), h.d(), l = !1, c();
494
494
  }
495
495
  };
496
496
  }
@@ -584,11 +584,11 @@ function Dt(e, t, n) {
584
584
  const o = () => {
585
585
  n(3, f = !f);
586
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) => {
587
+ let a = document.createElement("style");
588
+ a.innerHTML = s, c.appendChild(a);
589
+ }, d = () => {
590
+ let a = new URL(l), j = document.createElement("style");
591
+ fetch(a.href).then((b) => b.text()).then((b) => {
592
592
  j.innerHTML = b, setTimeout(
593
593
  () => {
594
594
  c.appendChild(j);
@@ -600,21 +600,21 @@ function Dt(e, t, n) {
600
600
  500
601
601
  );
602
602
  });
603
- }, _ = (d, j) => {
603
+ }, _ = (a, j) => {
604
604
  let b = document.createElement("div");
605
- b.innerHTML = j, d.append(b);
605
+ b.innerHTML = j, a.append(b);
606
606
  }, L = () => o();
607
- function T(d) {
608
- B[d ? "unshift" : "push"](() => {
609
- c = d, n(2, c);
607
+ function T(a) {
608
+ B[a ? "unshift" : "push"](() => {
609
+ c = a, n(2, c);
610
610
  });
611
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);
612
+ return e.$$set = (a) => {
613
+ "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);
614
614
  }, e.$$.update = () => {
615
615
  e.$$.dirty & /*customStylingContainer, clientstyling*/
616
616
  68 && c && s && h(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
617
- 132 && c && l && a();
617
+ 132 && c && l && d();
618
618
  }, [
619
619
  i,
620
620
  r,
@@ -1 +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;
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-ef5f6c","*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--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(--emw--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(--emw--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;
@@ -1 +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)})}
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-DnDGWDzc.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsDetails-ZLn1GnQ3.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsDetails-BqsUg37W.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-details") && customElements.define("casino-tournaments-details", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-details",
3
- "version": "1.49.2",
3
+ "version": "1.50.0",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-details.cjs",
6
6
  "module": "es2015/casino-tournaments-details.js",