@everymatrix/casino-404 1.2.1 → 1.3.0
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/dist/casino-404.js +42 -42
- package/dist/casino-404.js.map +1 -1
- package/package.json +2 -2
- package/src/Casino_404.svelte +3 -3
package/dist/casino-404.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function o(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function s(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function o(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function s(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function l(e){return document.createElement(e)}function c(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function p(){return f(" ")}function g(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function m(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function d(e){const t={};for(const n of e)t[n.name]=n.value;return t}let b;function E(e){b=e}const y=[],v=[],T=[],H=[],_=Promise.resolve();let B=!1;function A(e){T.push(e)}
|
|
2
2
|
// flush() calls callbacks in this order:
|
|
3
3
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
4
4
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -27,24 +27,24 @@ for(;N<y.length;){const e=y[N];N++,E(e),L(e.$$)}for(E(null),y.length=0,N=0;v.len
|
|
|
27
27
|
// subsequent updates...
|
|
28
28
|
for(let e=0;e<T.length;e+=1){const t=T[e];P.has(t)||(
|
|
29
29
|
// ...so guard against infinite loops
|
|
30
|
-
P.add(t),t())}T.length=0}while(y.length);for(;H.length;)H.pop()();B=!1,P.clear(),E(e)}function L(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}const w=new Set;function M(e,t){-1===e.$$.dirty[0]&&(y.push(e),B||(B=!0,_.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function I(i,a,s,h,
|
|
30
|
+
P.add(t),t())}T.length=0}while(y.length);for(;H.length;)H.pop()();B=!1,P.clear(),E(e)}function L(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}const w=new Set;function M(e,t){-1===e.$$.dirty[0]&&(y.push(e),B||(B=!0,_.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function I(i,a,s,h,l,c,f,p=[-1]){const g=b;E(i);const m=i.$$={fragment:null,ctx:null,
|
|
31
31
|
// state
|
|
32
|
-
props:c,update:e,not_equal:
|
|
32
|
+
props:c,update:e,not_equal:l,bound:n(),
|
|
33
33
|
// lifecycle
|
|
34
34
|
on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(g?g.$$.context:[])),
|
|
35
35
|
// everything else
|
|
36
|
-
callbacks:n(),dirty:p,skip_bound:!1,root:a.target||g.$$.root};f&&f(m.root);let d=!1;if(m.ctx=s?s(i,a.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return m.ctx&&
|
|
36
|
+
callbacks:n(),dirty:p,skip_bound:!1,root:a.target||g.$$.root};f&&f(m.root);let d=!1;if(m.ctx=s?s(i,a.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return m.ctx&&l(m.ctx[e],m.ctx[e]=r)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](r),d&&M(i,e)),t})):[],m.update(),d=!0,r(m.before_update),
|
|
37
37
|
// `false` as a special case of no DOM component
|
|
38
38
|
m.fragment=!!h&&h(m.ctx),a.target){if(a.hydrate){const e=function(e){return Array.from(e.childNodes)}(a.target);
|
|
39
39
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
40
|
-
m.fragment&&m.fragment.l(e),e.forEach(
|
|
40
|
+
m.fragment&&m.fragment.l(e),e.forEach(u)}else
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
42
|
-
m.fragment&&m.fragment.c();a.intro&&((y=i.$$.fragment)&&y.i&&(w.delete(y),y.i(v))),function(e,n,i,a){const{fragment:s,on_mount:h,on_destroy:
|
|
42
|
+
m.fragment&&m.fragment.c();a.intro&&((y=i.$$.fragment)&&y.i&&(w.delete(y),y.i(v))),function(e,n,i,a){const{fragment:s,on_mount:h,on_destroy:u,after_update:l}=e.$$;s&&s.m(n,i),a||
|
|
43
43
|
// onMount happens before the initial afterUpdate
|
|
44
|
-
A((()=>{const n=h.map(t).filter(o);
|
|
44
|
+
A((()=>{const n=h.map(t).filter(o);u?u.push(...n):
|
|
45
45
|
// Edge case - component was destroyed immediately,
|
|
46
46
|
// most likely as a result of a binding initialising
|
|
47
|
-
r(n),e.$$.on_mount=[]})),
|
|
47
|
+
r(n),e.$$.on_mount=[]})),l.forEach(A)}(i,a.target,a.anchor,a.customElement),S()}var y,v;E(g)}let C;"function"==typeof HTMLElement&&(C=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(o);
|
|
48
48
|
// @ts-ignore todo: improve typings
|
|
49
49
|
for(const e in this.$$.slotted)
|
|
50
50
|
// @ts-ignore todo: improve typings
|
|
@@ -65,19 +65,19 @@ const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{co
|
|
|
65
65
|
* @param {StartStopNotifier=}start start and stop notifications for subscriptions
|
|
66
66
|
*/
|
|
67
67
|
function R(t,n=e){let r;const o=new Set;function a(e){if(i(t,e)&&(t=e,r)){// store is ready
|
|
68
|
-
const e=!O.length;for(const e of o)e[1](),O.push(e,t);if(e){for(let e=0;e<O.length;e+=2)O[e][0](O[e+1]);O.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(i,s=e){const h=[i,s];return o.add(h),1===o.size&&(r=n(a)||e),i(t),()=>{o.delete(h),0===o.size&&(r(),r=null)}}}}function
|
|
68
|
+
const e=!O.length;for(const e of o)e[1](),O.push(e,t);if(e){for(let e=0;e<O.length;e+=2)O[e][0](O[e+1]);O.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(i,s=e){const h=[i,s];return o.add(h),1===o.size&&(r=n(a)||e),i(t),()=>{o.delete(h),0===o.size&&(r(),r=null)}}}}function G(t,n,i){const s=!Array.isArray(t),h=s?[t]:t,u=n.length<2;return l=t=>{let i=!1;const l=[];let c=0,f=e;const p=()=>{if(c)return;f();const r=n(s?l[0]:l,t);u?t(r):f=o(r)?r:e},g=h.map(((e,t)=>a(e,(e=>{l[t]=e,c&=~(1<<t),i&&p()}),(()=>{c|=1<<t}))));return i=!0,p(),function(){r(g),f()}},{subscribe:R(i,l).subscribe};var l}var U=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===F}(e)}
|
|
69
69
|
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
70
70
|
(e)};var F="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function D(e,t){return!1!==t.clone&&t.isMergeableObject(e)?V((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function k(e,t,n){return e.concat(t).map((function(e){return D(e,n)}))}function x(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function $(e,t){try{return t in e}catch(e){return!1}}
|
|
71
71
|
// Protects from prototype poisoning and unexpected merging up the prototype chain.
|
|
72
72
|
function j(e,t,n){var r={};return n.isMergeableObject(e)&&x(e).forEach((function(t){r[t]=D(e[t],n)})),x(t).forEach((function(o){(function(e,t){return $(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
|
|
73
|
-
})(e,o)||($(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return V;var n=t.customMerge(e);return"function"==typeof n?n:V}(o,n)(e[o],t[o],n):r[o]=D(t[o],n))})),r}function V(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||k,n.isMergeableObject=n.isMergeableObject||
|
|
73
|
+
})(e,o)||($(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return V;var n=t.customMerge(e);return"function"==typeof n?n:V}(o,n)(e[o],t[o],n):r[o]=D(t[o],n))})),r}function V(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||k,n.isMergeableObject=n.isMergeableObject||U,
|
|
74
74
|
// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
|
|
75
75
|
// implementations can use it. The caller may not replace it.
|
|
76
76
|
n.cloneUnlessOtherwiseSpecified=D;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):j(e,t,n):D(t,n)}V.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return V(e,n,t)}),{})};var X=V,K=function(e,t){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},K(e,t)};function Z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}K(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var z,Y,W,Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q.apply(this,arguments)};function q(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
|
|
77
77
|
/**
|
|
78
78
|
* Type Guards
|
|
79
79
|
*/
|
|
80
|
-
function J(e){return e.type===Y.literal}function ee(e){return e.type===Y.argument}function te(e){return e.type===Y.number}function ne(e){return e.type===Y.date}function re(e){return e.type===Y.time}function oe(e){return e.type===Y.select}function ie(e){return e.type===Y.plural}function ae(e){return e.type===Y.pound}function se(e){return e.type===Y.tag}function he(e){return!(!e||"object"!=typeof e||e.type!==W.number)}function
|
|
80
|
+
function J(e){return e.type===Y.literal}function ee(e){return e.type===Y.argument}function te(e){return e.type===Y.number}function ne(e){return e.type===Y.date}function re(e){return e.type===Y.time}function oe(e){return e.type===Y.select}function ie(e){return e.type===Y.plural}function ae(e){return e.type===Y.pound}function se(e){return e.type===Y.tag}function he(e){return!(!e||"object"!=typeof e||e.type!==W.number)}function ue(e){return!(!e||"object"!=typeof e||e.type!==W.dateTime)}
|
|
81
81
|
// @generated from regex-gen.ts
|
|
82
82
|
!function(e){
|
|
83
83
|
/** Argument is unclosed (e.g. `{0`) */
|
|
@@ -176,7 +176,7 @@ e[e.pound=7]="pound",
|
|
|
176
176
|
/**
|
|
177
177
|
* XML-like tag
|
|
178
178
|
*/
|
|
179
|
-
e[e.tag=8]="tag"}(Y||(Y={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(W||(W={}));var
|
|
179
|
+
e[e.tag=8]="tag"}(Y||(Y={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(W||(W={}));var le=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ce=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
180
180
|
/**
|
|
181
181
|
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
182
182
|
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
@@ -269,17 +269,17 @@ e.hourCycles.length&&(
|
|
|
269
269
|
// @ts-ignore
|
|
270
270
|
t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
|
|
271
271
|
// TODO: Once hourCycle is fully supported remove the following with data generation
|
|
272
|
-
var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Be[n||""]||Be[r||""]||Be["".concat(r,"-001")]||Be["001"])[0]}var Pe=new RegExp("^".concat(
|
|
272
|
+
var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Be[n||""]||Be[r||""]||Be["".concat(r,"-001")]||Be["001"])[0]}var Pe=new RegExp("^".concat(le.source,"*")),Ne=new RegExp("".concat(le.source,"*$"));function Se(e,t){return{start:e,end:t}}
|
|
273
273
|
// #region Ponyfills
|
|
274
274
|
// Consolidate these variables up top for easier toggling during debugging
|
|
275
|
-
var Le=!!String.prototype.startsWith,we=!!String.fromCodePoint,Me=!!Object.fromEntries,Ie=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,Oe=!!String.prototype.trimEnd,Re=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},
|
|
275
|
+
var Le=!!String.prototype.startsWith,we=!!String.fromCodePoint,Me=!!Object.fromEntries,Ie=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,Oe=!!String.prototype.trimEnd,Re=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ge=!0;try{
|
|
276
276
|
/**
|
|
277
277
|
* legacy Edge or Xbox One browser
|
|
278
278
|
* Unicode flag support: supported
|
|
279
279
|
* Pattern_Syntax support: not supported
|
|
280
280
|
* See https://github.com/formatjs/formatjs/issues/2822
|
|
281
281
|
*/
|
|
282
|
-
|
|
282
|
+
Ge="a"===(null===(_e=Ve("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===_e?void 0:_e[0])}catch(e){Ge=!1}var Ue,Fe=Le?// Native
|
|
283
283
|
function(e,t,n){return e.startsWith(t,n)}:// For IE11
|
|
284
284
|
function(e,t,n){return e.slice(n,n+t.length)===t},De=we?String.fromCodePoint:// IE11
|
|
285
285
|
function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;o>i;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},ke=
|
|
@@ -295,11 +295,11 @@ function(e){return e.replace(Ne,"")};
|
|
|
295
295
|
// Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
|
|
296
296
|
function Ve(e,t){return new RegExp(e,t)}
|
|
297
297
|
// #endregion
|
|
298
|
-
if(
|
|
298
|
+
if(Ge){
|
|
299
299
|
// Native
|
|
300
|
-
var Xe=Ve("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");
|
|
300
|
+
var Xe=Ve("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ue=function(e,t){var n;return Xe.lastIndex=t,null!==(n=Xe.exec(e)[1])&&void 0!==n?n:""}}else
|
|
301
301
|
// IE11
|
|
302
|
-
|
|
302
|
+
Ue=function(e,t){for(var n=[];;){var r=xe(e,t);if(void 0===r||Ye(r)||We(r))break;n.push(r),t+=r>=65536?2:1}return De.apply(void 0,n)};var Ke=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125/* `}` */===o&&e>0)break;if(35/* `#` */!==o||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(z.UNMATCHED_CLOSING_TAG,Se(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&Ze(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:Y.pound,location:Se(a,this.clonePosition())})}}}return{val:r,err:null}},
|
|
303
303
|
/**
|
|
304
304
|
* A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
|
|
305
305
|
* [custom element name][] except that a dash is NOT always mandatory and uppercase letters
|
|
@@ -366,7 +366,7 @@ this.bumpSpace(),this.isEOF()?this.error(z.EXPECT_ARGUMENT_CLOSING_BRACE,Se(n,th
|
|
|
366
366
|
* Advance the parser until the end of the identifier, if it is currently on
|
|
367
367
|
* an identifier character. Return an empty string otherwise.
|
|
368
368
|
*/
|
|
369
|
-
e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=
|
|
369
|
+
e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Ue(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Se(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();
|
|
370
370
|
// Parse this range:
|
|
371
371
|
// {name, type, style}
|
|
372
372
|
// ^---^
|
|
@@ -376,17 +376,17 @@ return this.error(z.EXPECT_ARGUMENT_TYPE,Se(i,s));case"number":case"date":case"t
|
|
|
376
376
|
// Parse this range:
|
|
377
377
|
// {name, number, style}
|
|
378
378
|
// ^-------^
|
|
379
|
-
this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var
|
|
379
|
+
this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(p=je(b.val)).length)return this.error(z.EXPECT_ARGUMENT_STYLE,Se(this.clonePosition(),this.clonePosition()));h={style:p,styleLocation:Se(u,this.clonePosition())}}if((E=this.tryParseArgumentClose(r)).err)return E;var l=Se(r,this.clonePosition());
|
|
380
380
|
// Extract style or skeleton
|
|
381
381
|
if(h&&Fe(null==h?void 0:h.style,"::",0)){
|
|
382
382
|
// Skeleton starts with `::`.
|
|
383
|
-
var c=$e(h.style.slice(2));if("number"===a)return(b=this.parseNumberSkeletonFromString(c,h.styleLocation)).err?b:{val:{type:Y.number,value:n,location:
|
|
383
|
+
var c=$e(h.style.slice(2));if("number"===a)return(b=this.parseNumberSkeletonFromString(c,h.styleLocation)).err?b:{val:{type:Y.number,value:n,location:l,style:b.val},err:null};if(0===c.length)return this.error(z.EXPECT_DATE_TIME_SKELETON,l);var f=c;
|
|
384
384
|
// Get "best match" pattern only if locale is passed, if not, let it
|
|
385
385
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
|
386
386
|
// for unsupported patterns.
|
|
387
|
-
this.locale&&(f=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),h=Ae(t);for("H"!=h&&"k"!=h||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=h+n}else n+="J"===o?"H":o}return n}(c,this.locale));var p={type:W.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?fe(f):{}};return{val:{type:"date"===a?Y.date:Y.time,value:n,location:
|
|
387
|
+
this.locale&&(f=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),h=Ae(t);for("H"!=h&&"k"!=h||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=h+n}else n+="J"===o?"H":o}return n}(c,this.locale));var p={type:W.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?fe(f):{}};return{val:{type:"date"===a?Y.date:Y.time,value:n,location:l,style:p},err:null}}
|
|
388
388
|
// Regular style or no style.
|
|
389
|
-
return{val:{type:"number"===a?Y.number:"date"===a?Y.date:Y.time,value:n,location:
|
|
389
|
+
return{val:{type:"number"===a?Y.number:"date"===a?Y.date:Y.time,value:n,location:l,style:null!==(o=null==h?void 0:h.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":
|
|
390
390
|
// Parse this range:
|
|
391
391
|
// {name, plural, options}
|
|
392
392
|
// ^---------^
|
|
@@ -410,7 +410,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
|
|
|
410
410
|
// Find the end of the quoted literal text.
|
|
411
411
|
this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(z.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Se(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
|
|
412
412
|
// Parse the skeleton
|
|
413
|
-
for(var t=e.split(pe).filter((function(e){return e.length>0})),n=[],r=0,o=t;r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),h=0,
|
|
413
|
+
for(var t=e.split(pe).filter((function(e){return e.length>0})),n=[],r=0,o=t;r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),h=0,u=s;h<u.length;h++)if(0===u[h].length)throw new Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}(e)}catch(e){return this.error(z.INVALID_NUMBER_SKELETON,t)}return{val:{type:W.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?He(n):{}},err:null}},
|
|
414
414
|
/**
|
|
415
415
|
* @param nesting_level The current nesting level of messages.
|
|
416
416
|
* This can be positive when parsing message fragment in select or plural argument options.
|
|
@@ -425,11 +425,11 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
|
|
|
425
425
|
// Parse:
|
|
426
426
|
// one {one apple}
|
|
427
427
|
// ^--^
|
|
428
|
-
for(var o,i=!1,a=[],s=new Set,h=r.value,
|
|
428
|
+
for(var o,i=!1,a=[],s=new Set,h=r.value,u=r.location;;){if(0===h.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
|
|
429
429
|
// Try parse `={number}` selector
|
|
430
|
-
var c=this.tryParseDecimalInteger(z.EXPECT_PLURAL_ARGUMENT_SELECTOR,z.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;
|
|
430
|
+
var c=this.tryParseDecimalInteger(z.EXPECT_PLURAL_ARGUMENT_SELECTOR,z.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=Se(l,this.clonePosition()),h=this.message.slice(l.offset,this.offset())}
|
|
431
431
|
// Duplicate selector clauses
|
|
432
|
-
if(s.has(h))return this.error("select"===t?z.DUPLICATE_SELECT_ARGUMENT_SELECTOR:z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
432
|
+
if(s.has(h))return this.error("select"===t?z.DUPLICATE_SELECT_ARGUMENT_SELECTOR:z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===h&&(i=!0),
|
|
433
433
|
// Parse:
|
|
434
434
|
// one {one apple}
|
|
435
435
|
// ^----------^
|
|
@@ -437,7 +437,7 @@ this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.err
|
|
|
437
437
|
// Keep track of the existing selectors
|
|
438
438
|
s.add(h),
|
|
439
439
|
// Prep next selector clause.
|
|
440
|
-
this.bumpSpace(),h=(o=this.parseIdentifierIfPossible()).value,
|
|
440
|
+
this.bumpSpace(),h=(o=this.parseIdentifierIfPossible()).value,u=o.location}return 0===a.length?this.error("select"===t?z.EXPECT_SELECT_ARGUMENT_SELECTOR:z.EXPECT_PLURAL_ARGUMENT_SELECTOR,Se(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(z.MISSING_OTHER_CLAUSE,Se(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48/* `0` */&&a<=57/* `9` */))break;o=!0,i=10*i+(a-48),this.bump()}var s=Se(r,this.clonePosition());return o?Re(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
|
|
441
441
|
// This is much faster than `Object.assign` or spread.
|
|
442
442
|
return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
|
|
443
443
|
/**
|
|
@@ -485,7 +485,7 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
|
|
|
485
485
|
/**
|
|
486
486
|
* Code point equivalent of regex `\p{Pattern_Syntax}`.
|
|
487
487
|
* See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
488
|
-
*/function We(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,oe(e)||ie(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else te(e)&&he(e.style)||(ne(e)||re(e))&&
|
|
488
|
+
*/function We(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,oe(e)||ie(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else te(e)&&he(e.style)||(ne(e)||re(e))&&ue(e.style)?delete e.style.location:se(e)&&Qe(e.children)}))}function qe(e,t){void 0===t&&(t={}),t=Q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ke(e,t).parse();if(n.err){var r=SyntaxError(z[n.err.kind]);
|
|
489
489
|
// @ts-expect-error Assign to error object
|
|
490
490
|
throw r.location=n.err.location,
|
|
491
491
|
// @ts-expect-error Assign to error object
|
|
@@ -511,33 +511,33 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
|
511
511
|
// When value supplied is invalid
|
|
512
512
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
513
513
|
// When we need specific Intl API but it's not available
|
|
514
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(at||(at={}));var lt
|
|
514
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(at||(at={}));var ut,lt=/** @class */function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Z(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ct=/** @class */function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),at.INVALID_VALUE,o)||this}return Z(t,e),t}(lt),ft=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),at.INVALID_VALUE,r)||this}return Z(t,e),t}(lt),pt=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),at.MISSING_VALUE,n)||this}return Z(t,e),t}(lt);function gt(e){return"function"==typeof e}
|
|
515
515
|
// TODO(skeleton): add skeleton support
|
|
516
516
|
function mt(e,t,n,r,o,i,
|
|
517
517
|
// For debugging
|
|
518
518
|
a){
|
|
519
519
|
// Hot path for straight simple msg translations
|
|
520
|
-
if(1===e.length&&J(e[0]))return[{type:
|
|
520
|
+
if(1===e.length&&J(e[0]))return[{type:ut.literal,value:e[0].value}];for(var s=[],h=0,u=e;h<u.length;h++){var l=u[h];
|
|
521
521
|
// Exit early for string parts.
|
|
522
|
-
if(J(
|
|
522
|
+
if(J(l))s.push({type:ut.literal,value:l.value});else
|
|
523
523
|
// TODO: should this part be literal type?
|
|
524
524
|
// Replace `#` in plural rules with the actual numeric value.
|
|
525
|
-
if(ae(
|
|
525
|
+
if(ae(l))"number"==typeof i&&s.push({type:ut.literal,value:n.getNumberFormat(t).format(i)});else{var c=l.value;
|
|
526
526
|
// Enforce that all required values are provided by the caller.
|
|
527
|
-
if(!o||!(c in o))throw new pt(c,a);var f=o[c];if(ee(
|
|
527
|
+
if(!o||!(c in o))throw new pt(c,a);var f=o[c];if(ee(l))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?ut.literal:ut.object,value:f});else
|
|
528
528
|
// Recursively format plural and select parts' option — which can be a
|
|
529
529
|
// nested pattern structure. The choosing of the option to use is
|
|
530
530
|
// abstracted-by and delegated-to the part helper object.
|
|
531
|
-
if(ne(
|
|
531
|
+
if(ne(l)){var p="string"==typeof l.style?r.date[l.style]:ue(l.style)?l.style.parsedOptions:void 0;s.push({type:ut.literal,value:n.getDateTimeFormat(t,p).format(f)})}else if(re(l)){p="string"==typeof l.style?r.time[l.style]:ue(l.style)?l.style.parsedOptions:r.time.medium;s.push({type:ut.literal,value:n.getDateTimeFormat(t,p).format(f)})}else if(te(l)){(p="string"==typeof l.style?r.number[l.style]:he(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),s.push({type:ut.literal,value:n.getNumberFormat(t,p).format(f)})}else{if(se(l)){var g=l.children,m=l.value,d=o[m];if(!gt(d))throw new ft(m,"function",a);var b=d(mt(g,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?ut.literal:ut.object,value:e}})))}if(oe(l)){if(!(E=l.options[f]||l.options.other))throw new ct(l.value,f,Object.keys(l.options),a);s.push.apply(s,mt(E.value,t,n,r,o))}else if(ie(l)){var E;if(!(E=l.options["=".concat(f)])){if(!Intl.PluralRules)throw new lt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',at.MISSING_INTL_API,a);var y=n.getPluralRules(t,{type:l.pluralType}).select(f-(l.offset||0));E=l.options[y]||l.options.other}if(!E)throw new ct(l.value,f,Object.keys(l.options),a);s.push.apply(s,mt(E.value,t,n,r,o,f-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===ut.literal&&t.type===ut.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
|
|
532
532
|
/*
|
|
533
533
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
534
534
|
Copyrights licensed under the New BSD License.
|
|
535
535
|
See the accompanying LICENSE file for terms.
|
|
536
536
|
*/
|
|
537
537
|
// -- MessageFormat --------------------------------------------------------
|
|
538
|
-
function dt(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?Q(Q(Q({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=Q(Q({},o[t]),i[t]||{}),e}),{})):o),n}),Q({},e)):e}function bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(
|
|
538
|
+
function dt(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?Q(Q(Q({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=Q(Q({},o[t]),i[t]||{}),e}),{})):o),n}),Q({},e)):e}function bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(ut||(ut={}));var Et=/** @class */function(){function e(t,n,r,o){var i,a=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);
|
|
539
539
|
// Hot path for straight simple msg translations
|
|
540
|
-
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===
|
|
540
|
+
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===ut.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return mt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},
|
|
541
541
|
// Defined first because it's used to build the format pattern.
|
|
542
542
|
this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
543
543
|
// Parse string messages into an AST.
|
|
@@ -553,7 +553,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
553
553
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
554
554
|
Copyrights licensed under the New BSD License.
|
|
555
555
|
See the accompanying LICENSE file for terms.
|
|
556
|
-
*/const vt={},Tt=(e,t,n)=>n?(t in vt||(vt[t]={}),e in vt[t]||(vt[t][e]=n),n):n,Ht=(e,t)=>{if(null==t)return;if(t in vt&&e in vt[t])return vt[t][e];const n=kt(t);for(let r=0;r<n.length;r++){const o=Pt(n[r],e);if(o)return Tt(e,t,o)}};let _t;const Bt=R({});function At(e){return e in _t}function Pt(e,t){if(!At(e))return null;const n=function(e){return _t[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Nt(e,...t){delete vt[e],Bt.update((n=>(n[e]=X.all([n[e]||{},...t]),n)))}
|
|
556
|
+
*/const vt={},Tt=(e,t,n)=>n?(t in vt||(vt[t]={}),e in vt[t]||(vt[t][e]=n),n):n,Ht=(e,t)=>{if(null==t)return;if(t in vt&&e in vt[t])return vt[t][e];const n=kt(t);for(let r=0;r<n.length;r++){const o=Pt(n[r],e);if(o)return Tt(e,t,o)}};let _t;const Bt=R({});function At(e){return e in _t}function Pt(e,t){if(!At(e))return null;const n=function(e){return _t[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Nt(e,...t){delete vt[e],Bt.update((n=>(n[e]=X.all([n[e]||{},...t]),n)))}G([Bt],(([e])=>Object.keys(e))),Bt.subscribe((e=>_t=e));const St={};function Lt(e){return St[e]}function wt(e){return null!=e&&kt(e).some((e=>{var t;return null===(t=Lt(e))||void 0===t?void 0:t.size}))}const Mt={};function It(e){if(!wt(e))return e in Mt?Mt[e]:Promise.resolve();const t=function(e){return kt(e).map((e=>{const t=Lt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Mt[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){St[e].delete(t),0===St[e].size&&delete St[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}(e,t)))).then((()=>{if(wt(e))return It(e);delete Mt[e]})),Mt[e]}
|
|
557
557
|
/*! *****************************************************************************
|
|
558
558
|
Copyright (c) Microsoft Corporation.
|
|
559
559
|
|
|
@@ -567,8 +567,8 @@ 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 Ct(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const Ot={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 Ot}const
|
|
571
|
-
/* src/Casino_404.svelte generated by Svelte v3.48.0 */function rn(t){let n,r,o,i,a,d,b,E,y,v,T,H,_,B,A,P,N,S,L,w,M,I=/*$_*/t[1]("Translations.pageNotFound")+"",C=/*$_*/t[1]("Translations.pageNotFoundMessage")+"",O=/*$_*/t[1]("Translations.home")+"";return{c(){n=
|
|
572
|
-
/*div1_binding*/t[8](n),w||(
|
|
573
|
-
/*div1_binding*/,t[8](null),w=!1,M()}}}function on(e,t,n){let r;var o,i;o=en,i=e=>n(1,r=e),e.$$.on_destroy.push(a(o,i));let s,{lang:h="en"}=t,{clientstyling:
|
|
570
|
+
***************************************************************************** */function Ct(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const Ot={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 Ot}const Gt=R(!1);let Ut;const Ft=R(null);function Dt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function kt(e,t=Rt().fallbackLocale){const n=Dt(e);return t?[...new Set([...n,...Dt(t)])]:n}function xt(){return null!=Ut?Ut:void 0}Ft.subscribe((e=>{Ut=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const $t=Object.assign(Object.assign({},Ft),{set:e=>{if(e&&function(e){if(null==e)return;const t=kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(At(n))return n}}(e)&&wt(e)){const{loadingDelay:t}=Rt();let n;return"undefined"!=typeof window&&null!=xt()&&t?n=window.setTimeout((()=>Gt.set(!0)),t):Gt.set(!0),It(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),Gt.set(!1)}))}return Ft.set(e)}}),jt=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Vt=(e,t)=>{const{formats:n}=Rt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Vt("number",n)),new Intl.NumberFormat(t,r)})),Kt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Vt("date",n):0===Object.keys(r).length&&(r=Vt("date","short")),new Intl.DateTimeFormat(t,r)})),Zt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Vt("time",n):0===Object.keys(r).length&&(r=Vt("time","short")),new Intl.DateTimeFormat(t,r)})),zt=jt(((e,t=xt())=>new yt(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Yt=(e,t={})=>{var n,r,o,i;let a=t;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:h=xt(),default:u}=a;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ht(e,h);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(i=null!==(o=null===(r=(n=Rt()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:h,id:e,defaultValue:u}))&&void 0!==o?o:u)&&void 0!==i?i:e;if(!s)return l;let c=l;try{c=zt(l,h).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c},Wt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Zt(Object.assign({locale:t},n))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Kt(Object.assign({locale:t},n))})(t).format(e),qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Xt(Object.assign({locale:t},n))})(t).format(e),Jt=(e,t=xt())=>Ht(e,t),en=G([$t,Bt],(()=>Yt));function tn(e,t){Nt(e,t)}G([$t],(()=>Wt)),G([$t],(()=>Qt)),G([$t],(()=>qt)),G([$t,Bt],(()=>Jt));const nn={en:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},zh:{Translations:{pageNotFound:"网页未找到",pageNotFoundMessage:"找不到您要查找的页面。 请返回我们的主页",home:"去首页"}},de:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},it:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},fr:{Translations:{pageNotFound:"Page non trouvée",pageNotFoundMessage:"La page que vous recherchez est introuvable. Veuillez retourner à notre page d'accueil.",home:"Accéder à la page d'accueil"}},es:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},tr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},ru:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},ro:{Translations:{pageNotFound:"Pagina negasita",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},hr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},hu:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},pl:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},pt:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},sl:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},sr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}}};
|
|
571
|
+
/* src/Casino_404.svelte generated by Svelte v3.48.0 */function rn(t){let n,r,o,i,a,d,b,E,y,v,T,H,_,B,A,P,N,S,L,w,M,I=/*$_*/t[1]("Translations.pageNotFound")+"",C=/*$_*/t[1]("Translations.pageNotFoundMessage")+"",O=/*$_*/t[1]("Translations.home")+"";return{c(){n=l("div"),r=l("div"),o=c("svg"),i=c("g"),a=c("path"),d=c("path"),b=c("path"),E=c("path"),y=c("path"),v=c("path"),T=p(),H=l("p"),_=f(I),B=p(),A=l("p"),P=f(C),N=p(),S=l("button"),L=f(O),this.c=e,g(a,"class","a"),g(a,"d","M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"),g(a,"transform","translate(-658.898 -446.452)"),g(d,"class","a"),g(d,"d","M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"),g(d,"transform","translate(-433.716 -446.252)"),g(b,"class","a"),g(b,"d","M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"),g(b,"transform","translate(-200.173 -446.452)"),g(E,"class","a"),g(E,"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(y,"class","a"),g(y,"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(y,"transform","translate(-116.772 -116.794)"),g(v,"class","a"),g(v,"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(v,"transform","translate(-250.22 -116.794)"),g(i,"transform","translate(-9.37 -9.34)"),g(o,"class","svgColor"),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(H,"class","PageTitle"),g(A,"class","PageContent"),g(S,"class","ButtonDefaultSmall"),g(r,"class","NotFoundPage"),g(n,"class","PageWrapper")},m(e,u){var l,c,f,p;h(e,n,u),s(n,r),s(r,o),s(o,i),s(i,a),s(i,d),s(i,b),s(i,E),s(i,y),s(i,v),s(r,T),s(r,H),s(H,_),s(r,B),s(r,A),s(A,P),s(r,N),s(r,S),s(S,L),
|
|
572
|
+
/*div1_binding*/t[8](n),w||(l=S,c="click",f=/*click_handler*/t[7],l.addEventListener(c,f,p),M=()=>l.removeEventListener(c,f,p),w=!0)},p(e,[t]){/*$_*/2&t&&I!==(I=/*$_*/e[1]("Translations.pageNotFound")+"")&&m(_,I),/*$_*/2&t&&C!==(C=/*$_*/e[1]("Translations.pageNotFoundMessage")+"")&&m(P,C),/*$_*/2&t&&O!==(O=/*$_*/e[1]("Translations.home")+"")&&m(L,O)},i:e,o:e,d(e){e&&u(n)
|
|
573
|
+
/*div1_binding*/,t[8](null),w=!1,M()}}}function on(e,t,n){let r;var o,i;o=en,i=e=>n(1,r=e),e.$$.on_destroy.push(a(o,i));let s,{lang:h="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{translationurl:c=""}=t;Object.keys(nn).forEach((e=>{tn(e,nn[e])}));const f=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},p=()=>{var e;e=h,$t.set(e)};return e.$$set=e=>{"lang"in e&&n(3,h=e.lang),"clientstyling"in e&&n(4,u=e.clientstyling),"clientstylingurl"in e&&n(5,l=e.clientstylingurl),"translationurl"in e&&n(6,c=e.translationurl)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&h&&p(),/*clientstyling, customStylingContainer*/17&e.$$.dirty&&u&&s&&(()=>{let e=document.createElement("style");e.innerHTML=u,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/33&e.$$.dirty&&l&&s&&(()=>{let e=new URL(l),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1)}))})(),/*translationurl*/64&e.$$.dirty&&c&&fetch(c).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tn(t,e[t])}))})).catch((e=>{console.log(e)}))},[s,r,f,h,u,l,c,()=>f(),function(e){v[e?"unshift":"push"]((()=>{s=e,n(0,s)}))}]}class an extends C{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%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}</style>",I(this,{target:this.shadowRoot,props:d(this.attributes),customElement:!0},on,rn,i,{lang:3,clientstyling:4,clientstylingurl:5,translationurl:6},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["lang","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),S()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),S()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),S()}get translationurl(){return this.$$.ctx[6]}set translationurl(e){this.$$set({translationurl:e}),S()}}return!customElements.get("casino-404")&&customElements.define("casino-404",an),an}));
|
|
574
574
|
//# sourceMappingURL=casino-404.js.map
|