@everymatrix/casino-tournaments-thumbnail 1.74.7 → 1.74.8
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/{CasinoTournamentsThumbnail-ClM834q5.cjs → CasinoTournamentsThumbnail-BrMObsmf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-e9ro3_kh.js → CasinoTournamentsThumbnail-ChU682xs.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-mEEyfOpm.js → CasinoTournamentsThumbnail-CkdsDaG7.js} +1 -1
- package/es2015/casino-tournaments-thumbnail.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail.js +1 -1
- package/esnext/casino-tournaments-thumbnail.js +1 -1
- package/package.json +1 -1
|
@@ -16,4 +16,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
16
16
|
`,ne.MISSING_INTL_API,a);var B=r.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0));_=h.options[B]||h.options.other}if(!_)throw new _t(h.value,c,Object.keys(h.options),a);o.push.apply(o,_e(_.value,t,r,n,i,c-(h.offset||0)));continue}}return Xn(o)}function qn(e,t){return t?S(S(S({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=S(S({},e[n]),t[n]||{}),r},{})):e}function Qn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=qn(e[n],t[n]),r},S({},e)):e}function Ue(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Yn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Re(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Le([void 0],r,!1)))},{cache:Ue(e.number),strategy:De.variadic}),getDateTimeFormat:Re(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Le([void 0],r,!1)))},{cache:Ue(e.dateTime),strategy:De.variadic}),getPluralRules:Re(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Le([void 0],r,!1)))},{cache:Ue(e.pluralRules),strategy:De.variadic})}}var Kn=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,c){return!f.length||c.type!==R.literal||typeof f[f.length-1]!="string"?f.push(c.value):f[f.length-1]+=c.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return _e(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=ln(a,["formatters"]);this.ast=e.__parse(t,S(S({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Qn(e.formats,n),this.formatters=i&&i.formatters||Yn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Jn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ei(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const j={},ti=(e,t,r)=>r&&(t in j||(j[t]={}),e in j[t]||(j[t][e]=r),r),er=(e,t)=>{if(t==null)return;if(t in j&&e in j[t])return j[t][e];const r=Ce(t);for(let n=0;n<r.length;n++){const i=r[n],s=ni(i,e);if(s)return ti(e,t,s)}};let rt;const ae=Te({});function ri(e){return rt[e]||null}function tr(e){return e in rt}function ni(e,t){if(!tr(e))return null;const r=ri(e);return ei(r,t)}function ii(e){if(e==null)return;const t=Ce(e);for(let r=0;r<t.length;r++){const n=t[r];if(tr(n))return n}}function rr(e,...t){delete j[e],ae.update(r=>(r[e]=un.all([r[e]||{},...t]),r))}se([ae],([e])=>Object.keys(e));ae.subscribe(e=>rt=e);const ve={};function si(e,t){ve[e].delete(t),ve[e].size===0&&delete ve[e]}function nr(e){return ve[e]}function ai(e){return Ce(e).map(t=>{const r=nr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ye(e){return e==null?!1:Ce(e).some(t=>{var r;return(r=nr(t))==null?void 0:r.size})}function oi(e,t){return Promise.all(t.map(n=>(si(e,n),n().then(i=>i.default||i)))).then(n=>rr(e,...n))}const le={};function ir(e){if(!Ye(e))return e in le?le[e]:Promise.resolve();const t=ai(e);return le[e]=Promise.all(t.map(([r,n])=>oi(r,n))).then(()=>{if(Ye(e))return ir(e);delete le[e]}),le[e]}const ui={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},li={fallbackLocale:null,loadingDelay:200,formats:ui,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},hi=li;function ie(){return hi}const Fe=Te(!1);var ci=Object.defineProperty,fi=Object.defineProperties,mi=Object.getOwnPropertyDescriptors,vt=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,xt=(e,t,r)=>t in e?ci(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gi=(e,t)=>{for(var r in t||(t={}))di.call(t,r)&&xt(e,r,t[r]);if(vt)for(var r of vt(t))bi.call(t,r)&&xt(e,r,t[r]);return e},pi=(e,t)=>fi(e,mi(t));let Ke;const xe=Te(null);function Et(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Ce(e,t=ie().fallbackLocale){const r=Et(e);return t?[...new Set([...r,...Et(t)])]:r}function W(){return Ke!=null?Ke:void 0}xe.subscribe(e=>{Ke=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const yi=e=>{if(e&&ii(e)&&Ye(e)){const{loadingDelay:t}=ie();let r;return typeof window!="undefined"&&W()!=null&&t?r=window.setTimeout(()=>Fe.set(!0),t):Fe.set(!0),ir(e).then(()=>{xe.set(e)}).finally(()=>{clearTimeout(r),Fe.set(!1)})}return xe.set(e)},V=pi(gi({},xe),{set:yi}),Be=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var _i=Object.defineProperty,Ee=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,St=(e,t,r)=>t in e?_i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nt=(e,t)=>{for(var r in t||(t={}))sr.call(t,r)&&St(e,r,t[r]);if(Ee)for(var r of Ee(t))ar.call(t,r)&&St(e,r,t[r]);return e},oe=(e,t)=>{var r={};for(var n in e)sr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ee)for(var n of Ee(e))t.indexOf(n)<0&&ar.call(e,n)&&(r[n]=e[n]);return r};const me=(e,t)=>{const{formats:r}=ie();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},vi=Be(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=me("number",n)),new Intl.NumberFormat(r,i)}),xi=Be(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=me("date",n):Object.keys(i).length===0&&(i=me("date","short")),new Intl.DateTimeFormat(r,i)}),Ei=Be(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=me("time",n):Object.keys(i).length===0&&(i=me("time","short")),new Intl.DateTimeFormat(r,i)}),Si=(e={})=>{var t=e,{locale:r=W()}=t,n=oe(t,["locale"]);return vi(nt({locale:r},n))},Ti=(e={})=>{var t=e,{locale:r=W()}=t,n=oe(t,["locale"]);return xi(nt({locale:r},n))},Ai=(e={})=>{var t=e,{locale:r=W()}=t,n=oe(t,["locale"]);return Ei(nt({locale:r},n))},Hi=Be((e,t=W())=>new Kn(e,t,ie().formats,{ignoreTag:ie().ignoreTag})),Ci=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=W(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=er(e,l);if(!h)h=(s=(i=(n=(r=ie()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let f=h;try{f=Hi(h,l).format(o)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},Bi=(e,t)=>Ai(t).format(e),wi=(e,t)=>Ti(t).format(e),Ii=(e,t)=>Si(t).format(e),Ni=(e,t=W())=>er(e,t),Mi=se([V,ae],()=>Ci);se([V],()=>Bi);se([V],()=>wi);se([V],()=>Ii);se([V,ae],()=>Ni);function Oi({withLocale:e,translations:t}){V.subscribe(r=>{r==null&&(ae.set(t),V.set(e))})}function Tt(e,t){rr(e,t)}function Pi(e){V.set(e)}const At={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function Li(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Ri(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Di(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function ki(e){Tr(e,"svelte-52u9sp",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function Ht(e){let t,r,n;return{c(){t=w("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',r=$(),n=w("div"),n.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',b(t,"class","Skeleton CardImg"),b(n,"class","Details"),b(n,"part","Details")},m(i,s){O(i,t,s),O(i,r,s),O(i,n,s)},d(i){i&&(N(t),N(r),N(n))}}}function Ct(e){let t,r,n,i,s,a,o,l,u,h,f=e[0]&&Bt(e),c=e[6]=="true"&&wt(e);function E(d,_){return d[3]?Fi:Ui}let x=E(e),g=x(e),y=e[2]&&Nt(e),T=e[11]&&Mt(e);return{c(){f&&f.c(),t=$(),c&&c.c(),r=$(),g.c(),n=$(),i=w("div"),s=w("div"),a=D(e[1]),o=$(),y&&y.c(),l=$(),T&&T.c(),b(s,"class","Title"),b(s,"part","Title"),b(i,"class","Details"),b(i,"part","Details")},m(d,_){f&&f.m(d,_),O(d,t,_),c&&c.m(d,_),O(d,r,_),g.m(d,_),O(d,n,_),O(d,i,_),A(i,s),A(s,a),A(i,o),y&&y.m(i,null),A(i,l),T&&T.m(i,null),u||(h=Se(s,"click",e[20]),u=!0)},p(d,_){d[0]?f?f.p(d,_):(f=Bt(d),f.c(),f.m(t.parentNode,t)):f&&(f.d(1),f=null),d[6]=="true"?c?c.p(d,_):(c=wt(d),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null),x===(x=E(d))&&g?g.p(d,_):(g.d(1),g=x(d),g&&(g.c(),g.m(n.parentNode,n))),_[0]&2&&G(a,d[1]),d[2]?y?y.p(d,_):(y=Nt(d),y.c(),y.m(i,l)):y&&(y.d(1),y=null),d[11]?T?T.p(d,_):(T=Mt(d),T.c(),T.m(i,null)):T&&(T.d(1),T=null)},d(d){d&&(N(t),N(r),N(n),N(i)),f&&f.d(d),c&&c.d(d),g.d(d),y&&y.d(),T&&T.d(),u=!1,h()}}}function Bt(e){let t,r,n,i,s,a;return{c(){t=w("div"),r=D(e[12]),b(t,"class",n="Status "+e[14]),b(t,"part",i="Status "+e[14])},m(o,l){O(o,t,l),A(t,r),s||(a=be(e[17].call(null,t)),s=!0)},p(o,l){l[0]&4096&&G(r,o[12]),l[0]&16384&&n!==(n="Status "+o[14])&&b(t,"class",n),l[0]&16384&&i!==(i="Status "+o[14])&&b(t,"part",i)},d(o){o&&N(t),s=!1,a()}}}function wt(e){let t,r=e[4]&&It(e);return{c(){r&&r.c(),t=Cr()},m(n,i){r&&r.m(n,i),O(n,t,i)},p(n,i){n[4]?r?r.p(n,i):(r=It(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&N(t),r&&r.d(n)}}}function It(e){let t,r=e[15]("enrolled")+"",n;return{c(){t=w("div"),n=D(r),b(t,"class","Enrolled"),b(t,"part","Enrolled")},m(i,s){O(i,t,s),A(t,n)},p(i,s){s[0]&32768&&r!==(r=i[15]("enrolled")+"")&&G(n,r)},d(i){i&&N(t)}}}function Ui(e){let t,r,n,i,s,a,o;return{c(){t=w("div"),r=w("ui-image"),Ge(r.src,n="https://i.stack.imgur.com/y9DpT.jpg")||K(r,"src",n),K(r,"alt","icon"),b(t,"class",i="CardImg "+(e[0]=="Closing"||e[0]=="Closed"?"CardImgFinished":"")),b(t,"part",s="CardImg "+(e[0]=="Closing"||e[0]=="Closed"?"CardImgFinished":""))},m(l,u){O(l,t,u),A(t,r),a||(o=[be(e[17].call(null,t)),Se(t,"click",e[20])],a=!0)},p(l,u){u[0]&1&&i!==(i="CardImg "+(l[0]=="Closing"||l[0]=="Closed"?"CardImgFinished":""))&&b(t,"class",i),u[0]&1&&s!==(s="CardImg "+(l[0]=="Closing"||l[0]=="Closed"?"CardImgFinished":""))&&b(t,"part",s)},d(l){l&&N(t),a=!1,J(o)}}}function Fi(e){let t,r,n,i,s,a,o;return{c(){t=w("div"),r=w("ui-image"),K(r,"class","UIImage"),Ge(r.src,n=e[3])||K(r,"src",n),K(r,"alt","icon"),b(t,"class",i="CardImg "+(e[0]=="Closing"||e[0]=="Closed"?"CardImgFinished":"")),b(t,"part",s="CardImg "+(e[0]=="Closing"||e[0]=="Closed"?"CardImgFinished":""))},m(l,u){O(l,t,u),A(t,r),a||(o=[be(e[17].call(null,t)),Se(t,"click",e[20])],a=!0)},p(l,u){u[0]&8&&!Ge(r.src,n=l[3])&&K(r,"src",n),u[0]&1&&i!==(i="CardImg "+(l[0]=="Closing"||l[0]=="Closed"?"CardImgFinished":""))&&b(t,"class",i),u[0]&1&&s!==(s="CardImg "+(l[0]=="Closing"||l[0]=="Closed"?"CardImgFinished":""))&&b(t,"part",s)},d(l){l&&N(t),a=!1,J(o)}}}function Nt(e){let t,r,n,i,s;return{c(){t=w("div"),r=D(e[10]),b(t,"class","Date"),b(t,"part","Date")},m(a,o){O(a,t,o),A(t,r),i||(s=be(n=e[16].call(null,t,e[2])),i=!0)},p(a,o){o[0]&1024&&G(r,a[10]),n&&de(n.update)&&o[0]&4&&n.update.call(null,a[2])},d(a){a&&N(t),i=!1,s()}}}function Mt(e){let t,r,n=e[15]("scoreCriteria")+"",i,s,a,o,l,u=e[15]("minbet")+"",h,f,c,E,x,g,y,T=e[15]("seegames")+"",d,_,B,P=e[15]("here")+"",k,L,X,z;return{c(){t=w("div"),r=w("p"),i=D(n),s=D(`:
|
|
17
17
|
|
|
18
18
|
`),a=w("span"),o=D(e[13]),l=D(`
|
|
19
|
-
(`),h=D(u),f=$(),c=D(e[5]),E=D(")"),x=$(),g=w("div"),y=w("p"),d=D(T),_=$(),B=w("a"),k=D(P),b(a,"part","ScoreCriteriaSpan"),b(r,"part","ScoreCriteriaP"),b(t,"class","ScoreCriteria"),b(t,"part","ScoreCriteria"),b(B,"part","GamesAnchor"),b(B,"href",e[7]),b(B,"target",L=e[8]==="true"?"_self":"_blank"),b(y,"part","GamesP"),b(g,"class","Games"),b(g,"part","Games")},m(I,M){O(I,t,M),A(t,r),A(r,i),A(r,s),A(r,a),A(a,o),A(r,l),A(r,h),A(r,f),A(r,c),A(r,E),O(I,x,M),O(I,g,M),A(g,y),A(y,d),A(y,_),A(y,B),A(B,k),X||(z=[be(e[18].call(null,a)),Se(B,"click",e[19])],X=!0)},p(I,M){M[0]&32768&&n!==(n=I[15]("scoreCriteria")+"")&&G(i,n),M[0]&8192&&G(o,I[13]),M[0]&32768&&u!==(u=I[15]("minbet")+"")&&G(h,u),M[0]&32&&G(c,I[5]),M[0]&32768&&T!==(T=I[15]("seegames")+"")&&G(d,T),M[0]&32768&&P!==(P=I[15]("here")+"")&&G(k,P),M[0]&128&&b(B,"href",I[7]),M[0]&256&&L!==(L=I[8]==="true"?"_self":"_blank")&&b(B,"target",L)},d(I){I&&(N(t),N(x),N(g)),X=!1,J(z)}}}function Gi(e){let t,r,n,i=e[1]==="undefined"&&Ht(),s=e[1]!=="undefined"&&Ct(e);return{c(){t=w("div"),i&&i.c(),r=$(),s&&s.c(),b(t,"class",n=`Thumbnail ${e[1]==="undefined"?"Loading":""}`),b(t,"part","Thumbnail")},m(a,o){O(a,t,o),i&&i.m(t,null),A(t,r),s&&s.m(t,null),e[31](t)},p(a,o){a[1]==="undefined"?i||(i=Ht(),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[1]!=="undefined"?s?s.p(a,o):(s=Ct(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null),o[0]&2&&n!==(n=`Thumbnail ${a[1]==="undefined"?"Loading":""}`)&&b(t,"class",n)},i:F,o:F,d(a){a&&N(t),i&&i.d(),s&&s.d(),e[31](null)}}}function $i(e,t,r){let n;Sr(e,Mi,m=>r(15,n=m));let{session:i=""}=t,{userid:s=""}=t,{title:a=""}=t,{startdate:o=""}=t,{status:l=""}=t,{tourid:u=""}=t,{thumbnail:h=""}=t,{userenrolled:f=""}=t,{scorecriteria:c=""}=t,{minbetcount:E=""}=t,{showenrolled:x="false"}=t,{detailsevent:g=""}=t,{gameurl:y=""}=t,{lang:T="en"}=t,{keepbrowsercontext:d="false"}=t,{clientstyling:_=""}=t,{clientstylingurl:B=""}=t,{translationurl:P=""}=t,{mbsource:k}=t,L,X="",z=!1,I="",M="",ue="";Oi({withLocale:"en",translations:{}});const ur=()=>{fetch(P).then(m=>m.json()).then(m=>{Object.keys(m).forEach(Z=>{Tt(Z,m[Z])}),o&&Me()}).catch(m=>{console.log(m)})};Object.keys(At).forEach(m=>{Tt(m,At[m])});const it=m=>{m.data&&(m.data&&m.data.type=="SessionID"&&r(11,z=!0),m.data.type==`TournamentStatus_${u}`&&r(0,l=m.data.status))},we=()=>{const m={month:"long"};let Z=new Date(o),mr=new Intl.DateTimeFormat("en",m).format(Z),dr=Z.getDate(),br=Z.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const gr=()=>n(l==="Running"?"startedAt":"startingAt");r(10,X=`${dr} `+n(`${mr}`)+", "+gr()+` ${br}`)},Ie=()=>{l=="Unstarted"&&(r(12,I=n("scheduled")),r(14,ue="StatusUnstarted")),l=="Running"&&(r(12,I=n("ongoing")),r(14,ue="StatusRunning")),(l=="Closed"||l=="Closing")&&r(12,I=n("finished")),l=="Closed"&&r(14,ue="StatusClosed"),l=="Closing"&&r(14,ue="StatusClosing")},Ne=()=>{c=="BetCount"&&r(13,M=n("betCount")),c=="MaxWinStakeRatio"&&r(13,M=n("maxWinStakeRatio")),c=="WinStakeRatio"&&r(13,M=n("winStakeRatio")),c=="Stake"&&r(13,M=n("stake"))},lr=()=>{window.postMessage({type:"tournamentGamesClicked",tourid:u},window.location.href)},hr=()=>{g&&window.postMessage({type:g,
|
|
19
|
+
(`),h=D(u),f=$(),c=D(e[5]),E=D(")"),x=$(),g=w("div"),y=w("p"),d=D(T),_=$(),B=w("a"),k=D(P),b(a,"part","ScoreCriteriaSpan"),b(r,"part","ScoreCriteriaP"),b(t,"class","ScoreCriteria"),b(t,"part","ScoreCriteria"),b(B,"part","GamesAnchor"),b(B,"href",e[7]),b(B,"target",L=e[8]==="true"?"_self":"_blank"),b(y,"part","GamesP"),b(g,"class","Games"),b(g,"part","Games")},m(I,M){O(I,t,M),A(t,r),A(r,i),A(r,s),A(r,a),A(a,o),A(r,l),A(r,h),A(r,f),A(r,c),A(r,E),O(I,x,M),O(I,g,M),A(g,y),A(y,d),A(y,_),A(y,B),A(B,k),X||(z=[be(e[18].call(null,a)),Se(B,"click",e[19])],X=!0)},p(I,M){M[0]&32768&&n!==(n=I[15]("scoreCriteria")+"")&&G(i,n),M[0]&8192&&G(o,I[13]),M[0]&32768&&u!==(u=I[15]("minbet")+"")&&G(h,u),M[0]&32&&G(c,I[5]),M[0]&32768&&T!==(T=I[15]("seegames")+"")&&G(d,T),M[0]&32768&&P!==(P=I[15]("here")+"")&&G(k,P),M[0]&128&&b(B,"href",I[7]),M[0]&256&&L!==(L=I[8]==="true"?"_self":"_blank")&&b(B,"target",L)},d(I){I&&(N(t),N(x),N(g)),X=!1,J(z)}}}function Gi(e){let t,r,n,i=e[1]==="undefined"&&Ht(),s=e[1]!=="undefined"&&Ct(e);return{c(){t=w("div"),i&&i.c(),r=$(),s&&s.c(),b(t,"class",n=`Thumbnail ${e[1]==="undefined"?"Loading":""}`),b(t,"part","Thumbnail")},m(a,o){O(a,t,o),i&&i.m(t,null),A(t,r),s&&s.m(t,null),e[31](t)},p(a,o){a[1]==="undefined"?i||(i=Ht(),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[1]!=="undefined"?s?s.p(a,o):(s=Ct(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null),o[0]&2&&n!==(n=`Thumbnail ${a[1]==="undefined"?"Loading":""}`)&&b(t,"class",n)},i:F,o:F,d(a){a&&N(t),i&&i.d(),s&&s.d(),e[31](null)}}}function $i(e,t,r){let n;Sr(e,Mi,m=>r(15,n=m));let{session:i=""}=t,{userid:s=""}=t,{title:a=""}=t,{startdate:o=""}=t,{status:l=""}=t,{tourid:u=""}=t,{thumbnail:h=""}=t,{userenrolled:f=""}=t,{scorecriteria:c=""}=t,{minbetcount:E=""}=t,{showenrolled:x="false"}=t,{detailsevent:g=""}=t,{gameurl:y=""}=t,{lang:T="en"}=t,{keepbrowsercontext:d="false"}=t,{clientstyling:_=""}=t,{clientstylingurl:B=""}=t,{translationurl:P=""}=t,{mbsource:k}=t,L,X="",z=!1,I="",M="",ue="";Oi({withLocale:"en",translations:{}});const ur=()=>{fetch(P).then(m=>m.json()).then(m=>{Object.keys(m).forEach(Z=>{Tt(Z,m[Z])}),o&&Me()}).catch(m=>{console.log(m)})};Object.keys(At).forEach(m=>{Tt(m,At[m])});const it=m=>{m.data&&(m.data&&m.data.type=="SessionID"&&r(11,z=!0),m.data.type==`TournamentStatus_${u}`&&r(0,l=m.data.status))},we=()=>{const m={month:"long"};let Z=new Date(o),mr=new Intl.DateTimeFormat("en",m).format(Z),dr=Z.getDate(),br=Z.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const gr=()=>n(l==="Running"?"startedAt":"startingAt");r(10,X=`${dr} `+n(`${mr}`)+", "+gr()+` ${br}`)},Ie=()=>{l=="Unstarted"&&(r(12,I=n("scheduled")),r(14,ue="StatusUnstarted")),l=="Running"&&(r(12,I=n("ongoing")),r(14,ue="StatusRunning")),(l=="Closed"||l=="Closing")&&r(12,I=n("finished")),l=="Closed"&&r(14,ue="StatusClosed"),l=="Closing"&&r(14,ue="StatusClosing")},Ne=()=>{c=="BetCount"&&r(13,M=n("betCount")),c=="MaxWinStakeRatio"&&r(13,M=n("maxWinStakeRatio")),c=="WinStakeRatio"&&r(13,M=n("winStakeRatio")),c=="Stake"&&r(13,M=n("stake"))},lr=()=>{window.postMessage({type:"tournamentGamesClicked",tourid:u},window.location.href)},hr=()=>{g&&window.postMessage({type:g,tournamentId:u,showLeaderboard:!0},window.location.href)},cr=()=>{i.length>0&&i!="false"?r(11,z=!0):r(11,z=!1)};Nr(()=>(setTimeout(()=>Me(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",it,!1),()=>{window.removeEventListener("message",it)}));const Me=()=>{Pi(T),Ne(),Ie(),o&&we()};function fr(m){$e[m?"unshift":"push"](()=>{L=m,r(9,L)})}return e.$$set=m=>{"session"in m&&r(21,i=m.session),"userid"in m&&r(22,s=m.userid),"title"in m&&r(1,a=m.title),"startdate"in m&&r(2,o=m.startdate),"status"in m&&r(0,l=m.status),"tourid"in m&&r(23,u=m.tourid),"thumbnail"in m&&r(3,h=m.thumbnail),"userenrolled"in m&&r(4,f=m.userenrolled),"scorecriteria"in m&&r(24,c=m.scorecriteria),"minbetcount"in m&&r(5,E=m.minbetcount),"showenrolled"in m&&r(6,x=m.showenrolled),"detailsevent"in m&&r(25,g=m.detailsevent),"gameurl"in m&&r(7,y=m.gameurl),"lang"in m&&r(26,T=m.lang),"keepbrowsercontext"in m&&r(8,d=m.keepbrowsercontext),"clientstyling"in m&&r(27,_=m.clientstyling),"clientstylingurl"in m&&r(28,B=m.clientstylingurl),"translationurl"in m&&r(29,P=m.translationurl),"mbsource"in m&&r(30,k=m.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&134218240&&_&&L&&Li(L,_),e.$$.dirty[0]&268435968&&B&&L&&Ri(L,B),e.$$.dirty[0]&1073742336&&k&&L&&Di(L,`${k}.Style`),e.$$.dirty[0]&536870912&&P&&ur(),e.$$.dirty[0]&2097152&&i&&cr(),e.$$.dirty[0]&1&&l&&Ie(),e.$$.dirty[0]&67108866&&a&&T&&Me(),e.$$.dirty[0]&4&&o&&we(),e.$$.dirty[0]&16777216&&c&&Ne()},[l,a,o,h,f,E,x,y,d,L,X,z,I,M,ue,n,we,Ie,Ne,lr,hr,i,s,u,c,g,T,_,B,P,k,fr]}class or extends jr{constructor(t){super(),Gr(this,t,$i,Gi,Pt,{session:21,userid:22,title:1,startdate:2,status:0,tourid:23,thumbnail:3,userenrolled:4,scorecriteria:24,minbetcount:5,showenrolled:6,detailsevent:25,gameurl:7,lang:26,keepbrowsercontext:8,clientstyling:27,clientstylingurl:28,translationurl:29,mbsource:30},ki,[-1,-1])}get session(){return this.$$.ctx[21]}set session(t){this.$$set({session:t}),C()}get userid(){return this.$$.ctx[22]}set userid(t){this.$$set({userid:t}),C()}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),C()}get startdate(){return this.$$.ctx[2]}set startdate(t){this.$$set({startdate:t}),C()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),C()}get tourid(){return this.$$.ctx[23]}set tourid(t){this.$$set({tourid:t}),C()}get thumbnail(){return this.$$.ctx[3]}set thumbnail(t){this.$$set({thumbnail:t}),C()}get userenrolled(){return this.$$.ctx[4]}set userenrolled(t){this.$$set({userenrolled:t}),C()}get scorecriteria(){return this.$$.ctx[24]}set scorecriteria(t){this.$$set({scorecriteria:t}),C()}get minbetcount(){return this.$$.ctx[5]}set minbetcount(t){this.$$set({minbetcount:t}),C()}get showenrolled(){return this.$$.ctx[6]}set showenrolled(t){this.$$set({showenrolled:t}),C()}get detailsevent(){return this.$$.ctx[25]}set detailsevent(t){this.$$set({detailsevent:t}),C()}get gameurl(){return this.$$.ctx[7]}set gameurl(t){this.$$set({gameurl:t}),C()}get lang(){return this.$$.ctx[26]}set lang(t){this.$$set({lang:t}),C()}get keepbrowsercontext(){return this.$$.ctx[8]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),C()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),C()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),C()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),C()}get mbsource(){return this.$$.ctx[30]}set mbsource(t){this.$$set({mbsource:t}),C()}}$r(or,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},detailsevent:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=or;
|
|
@@ -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/CasinoTournamentsThumbnail-
|
|
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/CasinoTournamentsThumbnail-BrMObsmf.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnail-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnail-ChU682xs.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|