@everymatrix/casino-403 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/casino-403.js +2 -2
- package/dist/casino-403.js.map +1 -1
- package/package.json +2 -2
- package/src/Casino_403.svelte +15 -0
package/dist/casino-403.js
CHANGED
@@ -567,6 +567,6 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
570
|
-
***************************************************************************** */function Ot(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}const Mt={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Rt(){return Mt}const Ut=R(!1);let Dt;const Gt=R(null);function Ft(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function xt(e,t=Rt().fallbackLocale){const r=Ft(e);return t?[...new Set([...r,...Ft(t)])]:r}function kt(){return null!=Dt?Dt:void 0}Gt.subscribe((e=>{Dt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const $t=Object.assign(Object.assign({},Gt),{set:e=>{if(e&&function(e){if(null==e)return;const t=xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(At(r))return r}}(e)&&wt(e)){const{loadingDelay:t}=Rt();let r;return"undefined"!=typeof window&&null!=kt()&&t?r=window.setTimeout((()=>Ut.set(!0)),t):Ut.set(!0),Ct(e).then((()=>{Gt.set(e)})).finally((()=>{clearTimeout(r),Ut.set(!1)}))}return Gt.set(e)}}),jt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Vt=(e,t)=>{const{formats:r}=Rt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Vt("number",r)),new Intl.NumberFormat(t,n)})),Kt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Vt("date",r):0===Object.keys(n).length&&(n=Vt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Vt("time",r):0===Object.keys(n).length&&(n=Vt("time","short")),new Intl.DateTimeFormat(t,n)})),zt=jt(((e,t=kt())=>new dt(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Wt=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=kt(),default:l}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(e,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(i=null!==(o=null===(n=(r=Rt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:e,defaultValue:l}))&&void 0!==o?o:l)&&void 0!==i?i:e;if(!a)return c;let u=c;try{u=zt(c,h).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Yt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),qt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Kt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Xt(Object.assign({locale:t},r))})(t).format(e),Jt=(e,t=kt())=>Ht(e,t),er=U([$t,Bt],(()=>Wt));U([$t],(()=>Yt)),U([$t],(()=>qt)),U([$t],(()=>Qt)),U([$t,Bt],(()=>Jt));const
|
571
|
-
/* src/Casino_403.svelte generated by Svelte v3.48.0 */function
|
570
|
+
***************************************************************************** */function Ot(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}const Mt={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Rt(){return Mt}const Ut=R(!1);let Dt;const Gt=R(null);function Ft(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function xt(e,t=Rt().fallbackLocale){const r=Ft(e);return t?[...new Set([...r,...Ft(t)])]:r}function kt(){return null!=Dt?Dt:void 0}Gt.subscribe((e=>{Dt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const $t=Object.assign(Object.assign({},Gt),{set:e=>{if(e&&function(e){if(null==e)return;const t=xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(At(r))return r}}(e)&&wt(e)){const{loadingDelay:t}=Rt();let r;return"undefined"!=typeof window&&null!=kt()&&t?r=window.setTimeout((()=>Ut.set(!0)),t):Ut.set(!0),Ct(e).then((()=>{Gt.set(e)})).finally((()=>{clearTimeout(r),Ut.set(!1)}))}return Gt.set(e)}}),jt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Vt=(e,t)=>{const{formats:r}=Rt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Vt("number",r)),new Intl.NumberFormat(t,n)})),Kt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Vt("date",r):0===Object.keys(n).length&&(n=Vt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Vt("time",r):0===Object.keys(n).length&&(n=Vt("time","short")),new Intl.DateTimeFormat(t,n)})),zt=jt(((e,t=kt())=>new dt(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Wt=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=kt(),default:l}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(e,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(i=null!==(o=null===(n=(r=Rt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:e,defaultValue:l}))&&void 0!==o?o:l)&&void 0!==i?i:e;if(!a)return c;let u=c;try{u=zt(c,h).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Yt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),qt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Kt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Xt(Object.assign({locale:t},r))})(t).format(e),Jt=(e,t=kt())=>Ht(e,t),er=U([$t,Bt],(()=>Wt));function tr(e,t){Lt(e,t)}U([$t],(()=>Yt)),U([$t],(()=>qt)),U([$t],(()=>Qt)),U([$t,Bt],(()=>Jt));const rr={en:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},zh:{Translations:{sorry:"我们很抱歉",access:"您尝试访问的页面仅对登录用户可用。 请登录。.",login:"登录"}},de:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},it:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},fr:{Translations:{sorry:"Nous sommes désolés",access:"La page à laquelle vous essayez d'accéder n'est disponible que pour les utilisateurs connectés. Veuillez vous connecter.",login:"Connexion"}},es:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},tr:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},ru:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},ro:{Translations:{sorry:"Ne pare rau",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},hr:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},hu:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},pl:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},pt:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},sl:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},sr:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}}};
|
571
|
+
/* src/Casino_403.svelte generated by Svelte v3.48.0 */function nr(t){let r,n,o,i,s,b,y,E,d,v,T,H,_,B,A,P,L,S,N,w=/*$_*/t[0]("Translations.sorry")+"",I=/*$_*/t[0]("Translations.access")+"",C=/*$_*/t[0]("Translations.login")+"";return{c(){r=c("div"),n=c("div"),o=u("svg"),i=u("g"),s=u("path"),b=u("path"),y=u("path"),E=u("path"),d=p(),v=c("p"),T=f(w),H=p(),_=c("p"),B=f(I),A=p(),P=c("button"),L=f(C),this.c=e,g(s,"class","a"),g(s,"d","M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"),g(b,"class","a"),g(b,"d","M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"),g(b,"transform","translate(-116.772 -116.794)"),g(y,"class","a"),g(y,"d","M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"),g(y,"transform","translate(-250.22 -116.794)"),g(E,"class","a"),g(E,"d","M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"),g(E,"transform","translate(-109.326 -3.172)"),g(i,"transform","translate(-9.37 -9.34)"),g(o,"xmlns","http://www.w3.org/2000/svg"),g(o,"width","130.345"),g(o,"height","130.345"),g(o,"viewBox","0 0 130.345 130.345"),g(v,"class","PageTitle"),g(_,"class","PageContent"),g(P,"class","ButtonDefaultSmall"),g(n,"class","NotFoundPage"),g(r,"class","PageWrapper")},m(e,l){var c,u,f,p;h(e,r,l),a(r,n),a(n,o),a(o,i),a(i,s),a(i,b),a(i,y),a(i,E),a(n,d),a(n,v),a(v,T),a(n,H),a(n,_),a(_,B),a(n,A),a(n,P),a(P,L),S||(c=P,u="click",f=/*click_handler*/t[4],c.addEventListener(u,f,p),N=()=>c.removeEventListener(u,f,p),S=!0)},p(e,[t]){/*$_*/1&t&&w!==(w=/*$_*/e[0]("Translations.sorry")+"")&&m(T,w),/*$_*/1&t&&I!==(I=/*$_*/e[0]("Translations.access")+"")&&m(B,I),/*$_*/1&t&&C!==(C=/*$_*/e[0]("Translations.login")+"")&&m(L,C)},i:e,o:e,d(e){e&&l(r),S=!1,N()}}}function or(e,t,r){let n;var o,i;o=er,i=e=>r(0,n=e),e.$$.on_destroy.push(s(o,i));let{lang:a="en"}=t,{translationUrl:h=""}=t;Object.keys(rr).forEach((e=>{tr(e,rr[e])}));const l=()=>{window.postMessage({type:"403ActionButton"},window.location.href)},c=()=>{var e;e=a,$t.set(e)};return e.$$set=e=>{"lang"in e&&r(2,a=e.lang),"translationUrl"in e&&r(3,h=e.translationUrl)},e.$$.update=()=>{/*lang*/4&e.$$.dirty&&a&&c(),/*translationUrl*/8&e.$$.dirty&&h&&fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tr(t,e[t])}))})).catch((e=>{console.log(e)}))},[n,l,a,h,()=>l()]}class ir extends O{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, 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:\"Helvetica Neue\", \"Helvetica\", sans-serif}.PageWrapper{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-contrast, #07072A);padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emfe-w-color-primary, #D0046C)}.PageTitle{color:var(--emfe-w-color-primary, #D0046C);font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:#fff;border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-contrast, #07072A);padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}</style>",C(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},or,nr,i,{lang:2,translationUrl:3},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["lang","translationUrl"]}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),S()}get translationUrl(){return this.$$.ctx[3]}set translationUrl(e){this.$$set({translationUrl:e}),S()}}return!customElements.get("casino-403")&&customElements.define("casino-403",ir),ir}));
|
572
572
|
//# sourceMappingURL=casino-403.js.map
|