@everymatrix/casino-engagement-suite-container 1.99.56 → 1.99.59

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.
@@ -0,0 +1 @@
1
+ var t=Object.defineProperty,n=Object.defineProperties,i=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,r=(n,i,s)=>i in n?t(n,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[i]=s,l=(t,n)=>{for(var i in n||(n={}))e.call(n,i)&&r(t,i,n[i]);if(s)for(var i of s(n))o.call(n,i)&&r(t,i,n[i]);return t},c=(t,s)=>n(t,i(s)),u=(t,n,i)=>r(t,"symbol"!=typeof n?n+"":n,i);function h(){}function f(t){return t()}function a(){return Object.create(null)}function d(t){t.forEach(f)}function p(t){return"function"==typeof t}function m(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}function b(t,n,i){t.insertBefore(n,i||null)}function y(t){t.parentNode&&t.parentNode.removeChild(t)}function w(t){return document.createElement(t)}let v;function g(t){v=t}const $=[],x=[];let O=[];const _=[],j=Promise.resolve();let S=!1;function L(t){O.push(t)}const k=new Set;let C=0;function A(){if(0!==C)return;const t=v;do{try{for(;C<$.length;){const t=$[C];C++,g(t),E(t.$$)}}catch(t){throw $.length=0,C=0,t}for(g(null),$.length=0,C=0;x.length;)x.pop()();for(let t=0;t<O.length;t+=1){const n=O[t];k.has(n)||(k.add(n),n())}O.length=0}while($.length);for(;_.length;)_.pop()();S=!1,k.clear(),g(t)}function E(t){if(null!==t.fragment){t.update(),d(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(L)}}const P=new Set;function T(t,n,i,s,e,o,r=null,l=[-1]){const c=v;g(t);const u=t.$$={fragment:null,ctx:[],props:o,update:h,not_equal:e,bound:a(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(c?c.$$.context:[])),callbacks:a(),dirty:l,skip_bound:!1,root:n.target||c.$$.root};r&&r(u.root);let m=!1;if(u.ctx=i?i(t,n.props||{},((n,i,...s)=>{const o=s.length?s[0]:i;return u.ctx&&e(u.ctx[n],u.ctx[n]=o)&&(!u.skip_bound&&u.bound[n]&&u.bound[n](o),m&&function(t,n){-1===t.$$.dirty[0]&&($.push(t),S||(S=!0,j.then(A)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}(t,n)),i})):[],u.update(),m=!0,d(u.before_update),u.fragment=!!s&&s(u.ctx),n.target){if(n.hydrate){const t=function(t){return Array.from(t.childNodes)}(n.target);u.fragment&&u.fragment.l(t),t.forEach(y)}else u.fragment&&u.fragment.c();n.intro&&function(t){t&&t.i&&(P.delete(t),t.i(void 0))}(t.$$.fragment),function(t,n,i){const{fragment:s,after_update:e}=t.$$;s&&s.m(n,i),L((()=>{const n=t.$$.on_mount.map(f).filter(p);t.$$.on_destroy?t.$$.on_destroy.push(...n):d(n),t.$$.on_mount=[]})),e.forEach(L)}(t,n.target,n.anchor),A()}g(c)}let B;function M(t,n,i,s){var e;const o=null==(e=i[t])?void 0:e.type;if(n="Boolean"===o&&"boolean"!=typeof n?null!=n:n,!s||!i[t])return n;if("toAttribute"===s)switch(o){case"Object":case"Array":return null==n?null:JSON.stringify(n);case"Boolean":return n?"":null;case"Number":return null==n?null:n;default:return n}else switch(o){case"Object":case"Array":return n&&JSON.parse(n);case"Boolean":default:return n;case"Number":return null!=n?+n:n}}"function"==typeof HTMLElement&&(B=class extends HTMLElement{constructor(t,n,i){super(),u(this,"$$ctor"),u(this,"$$s"),u(this,"$$c"),u(this,"$$cn",!1),u(this,"$$d",{}),u(this,"$$r",!1),u(this,"$$p_d",{}),u(this,"$$l",{}),u(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 i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const t=this.$$l_u.get(n);t&&(t(),this.$$l_u.delete(n))}}connectedCallback(){return t=this,n=function*(){if(this.$$cn=!0,!this.$$c){let t=function(t){return()=>{let n;return{c:function(){n=w("slot"),"default"!==t&&function(t,n,i){null==i?t.removeAttribute(n):t.getAttribute(n)!==i&&t.setAttribute(n,i)}(n,"name",t)},m:function(t,i){b(t,n,i)},d:function(t){t&&y(n)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=function(t){const n={};return t.childNodes.forEach((t=>{n[t.slot||"default"]=!0})),n}(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const t of this.attributes){const n=this.$$g_p(t.name);n in this.$$d||(this.$$d[n]=M(n,t.value,this.$$p_d,"toProp"))}for(const t in this.$$p_d)!(t in this.$$d)&&void 0!==this[t]&&(this.$$d[t]=this[t],delete this[t]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:c(l({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const s=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const n=M(t,this.$$d[t],this.$$p_d,"toAttribute");null==n?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,n)}this.$$r=!1};this.$$c.$$.after_update.push(s),s();for(const t in this.$$l)for(const n of this.$$l[t]){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}this.$$l={}}},new Promise(((i,s)=>{var e=t=>{try{r(n.next(t))}catch(t){s(t)}},o=t=>{try{r(n.throw(t))}catch(t){s(t)}},r=t=>t.done?i(t.value):Promise.resolve(t.value).then(e,o);r((n=n.apply(t,null)).next())}));var t,n}attributeChangedCallback(t,n,i){var s;this.$$r||(t=this.$$g_p(t),this.$$d[t]=M(t,i,this.$$p_d,"toProp"),null==(s=this.$$c)||s.$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}});class N{constructor(){u(this,"$$"),u(this,"$$set")}$destroy(){(function(t,n){const i=t.$$;null!==i.fragment&&(function(t){const n=[],i=[];O.forEach((s=>-1===t.indexOf(s)?n.push(s):i.push(s))),i.forEach((t=>t())),O=n}(i.after_update),d(i.on_destroy),i.fragment&&i.fragment.d(n),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=h}$on(t,n){if(!p(n))return h;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");const H="__WIDGET_GLOBAL_STYLE_CACHE__";function z(t){!function(t,n,i){const s=function(t){if(!t)return document;const n=t.getRootNode?t.getRootNode():t.ownerDocument;return n&&n.host?n:t.ownerDocument}(t);if(!s.getElementById(n)){const t=w("style");t.id=n,t.textContent=i,function(t,n){!function(t,n){t.appendChild(n)}(t.head||t,n)}(s,t)}}(t,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function D(t){let n;return{c(){n=w("div"),n.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,s){b(i,n,s),t[4](n)},p:h,i:h,o:h,d(i){i&&y(n),t[4](null)}}}function G(t,n,i){let s,{clientstyling:e=""}=n,{clientstylingurl:o=""}=n,{mbsource:r}=n;return function(t){(function(){if(!v)throw new Error("Function called outside component initialization");return v})().$$.on_mount.push(t)}((()=>()=>{})),t.$$set=t=>{"clientstyling"in t&&i(1,e=t.clientstyling),"clientstylingurl"in t&&i(2,o=t.clientstylingurl),"mbsource"in t&&i(3,r=t.mbsource)},t.$$.update=()=>{3&t.$$.dirty&&e&&s&&function(t,n){if(t){const i=document.createElement("style");i.innerHTML=n,t.appendChild(i)}}(s,e),5&t.$$.dirty&&o&&s&&function(t,n){if(!t||!n)return;const i=new URL(n);fetch(i.href).then((t=>t.text())).then((n=>{const i=document.createElement("style");i.innerHTML=n,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}(s,o),9&t.$$.dirty&&r&&s&&function(t,n,i,s=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!s)return i=function(t,n){const i=document.createElement("style");return window.emMessageBus.subscribe(n,(n=>{t&&(i.innerHTML=n,t.appendChild(i))}))}(t,n),i;window[H]||(window[H]={}),i=function(t,n){return window.emMessageBus.subscribe(n,(i=>{if(!t)return;const s=t.getRootNode(),e=window[H];let o=e[n]&&e[n].sheet;o?e[n].refCount=e[n].refCount+1:(o=new CSSStyleSheet,o.replaceSync(i),e[n]={sheet:o,refCount:1});const r=s.adoptedStyleSheets||[];r.includes(o)||(s.adoptedStyleSheets=[...r,o])}))}(t,n);const e=i.unsubscribe.bind(i);i.unsubscribe=()=>{if(window[H][n]){const t=window[H][n];t.refCount>1?t.refCount=t.refCount-1:delete window[H][n]}e()}}(s,`${r}.Style`,void 0)},[s,e,o,r,function(t){x[t?"unshift":"push"]((()=>{s=t,i(0,s)}))}]}class J extends N{constructor(t){super(),T(this,t,G,D,m,{clientstyling:1,clientstylingurl:2,mbsource:3},z)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),A()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),A()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),A()}}!function(t,n,i){let s=class extends B{constructor(){super(t,i,true),this.$$p_d=n}static get observedAttributes(){return Object.keys(n).map((t=>(n[t].attribute||t).toLowerCase()))}};Object.keys(n).forEach((t=>{Object.defineProperty(s.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(i){var s;i=M(t,i,n),this.$$d[t]=i,null==(s=this.$$c)||s.$set({[t]:i})}})})),[].forEach((t=>{Object.defineProperty(s.prototype,t,{get(){var n;return null==(n=this.$$c)?void 0:n[t]}})})),t.element=s}(J,{clientstyling:{},clientstylingurl:{},mbsource:{}},[]);export{J as default}