@everymatrix/casino-promotions-nd 1.43.2 → 1.43.3
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
((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(){function f(){}function A(e){return e()}function H(){return Object.create(null)}function R(e){e.forEach(A)}function E(e){return"function"==typeof e}function x(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let S,K,W;function U(e,t){return(S=S||document.createElement("a")).href=t,e===S.href}function Y(e,...t){if(null==e)return f;let r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function k(e,t){e.appendChild(t)}function D(e,t,r){e.insertBefore(t,r||null)}function F(e){e.parentNode&&e.parentNode.removeChild(e)}function q(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function G(e){return document.createElement(e)}function t(e){return document.createTextNode(e)}function $(){return t(" ")}function P(){return t("")}function j(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function z(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function L(e,t){e.data!==(t=""+t)&&(e.data=t)}function O(e,t,r){e.classList[r?"add":"remove"](t)}function C(e){W=e}let d=[],V=[],n=[],N=[],Z=Promise.resolve(),I=!1;function J(){I||(I=!0,Z.then(m))}function Q(e){n.push(e)}let M=new Set,ee=0;function m(){if(0===ee){let e=W;do{try{for(;ee<d.length;){let e=d[ee];ee++,C(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),R(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Q))}}catch(e){throw d.length=0,ee=0,e}for(C(null),d.length=0,ee=0;V.length;)V.pop()();for(let e=0;e<n.length;e+=1){var o=n[e];M.has(o)||(M.add(o),o())}}while(n.length=0,d.length);for(;N.length;)N.pop()();I=!1,M.clear(),C(e)}}let te=new Set;let re,oe=("function"==typeof HTMLElement&&(re=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(A).filter(E);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){R(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var o=e.after_update;let t=[],r=[];n.forEach(e=>(-1===o.indexOf(e)?t:r).push(e)),r.forEach(e=>e()),n=t}R(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=f}$on(e,t){if(!E(t))return f;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}),[]);function ne(o,n=f){let i,s=new Set;function a(e){if(x(o,e)&&(o=e,i)){let e=!oe.length;for(let e of s)e[1](),oe.push(e,o);if(e){for(let e=0;e<oe.length;e+=2)oe[e][0](oe[e+1]);oe.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=f){let r=[e,t];return s.add(r),1===s.size&&(i=n(a)||f),e(o),()=>{s.delete(r),0===s.size&&i&&(i(),i=null)}}}}function ie(e,a,t){let l=!Array.isArray(e),c=l?[e]:e,h=a.length<2;return{subscribe:ne(t,t=>{let r=!1,o=[],n=0,i=f,s=()=>{var e;n||(i(),e=a(l?o[0]:o,t),h?t(e):i=E(e)?e:f)},e=c.map((e,t)=>Y(e,e=>{o[t]=e,n&=~(1<<t),r&&s()},()=>{n|=1<<t}));return r=!0,s(),function(){R(e),i(),r=!1}}).subscribe}}function se(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===ae);var t}var ae="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function le(e,t){return!1!==t.clone&&t.isMergeableObject(e)?fe(Array.isArray(e)?[]:{},e,t):e}function ce(e,t,r){return e.concat(t).map(function(e){return le(e,r)})}function he(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function ue(e,t){try{return t in e}catch(e){return!1}}function pe(o,n,i){var s={};return i.isMergeableObject(o)&&he(o).forEach(function(e){s[e]=le(o[e],i)}),he(n).forEach(function(e){var t,r;(!ue(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ue(o,e)&&i.isMergeableObject(n[e])?s[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:fe)(o[e],n[e],i):s[e]=le(n[e],i))}),s}function fe(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||ce,r.isMergeableObject=r.isMergeableObject||se,r.cloneUnlessOtherwiseSpecified=le;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):pe(e,t,r):le(t,r)}fe.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return fe(e,t,r)},{});throw new Error("first argument should be an array")};var de=fe,me=function(e,t){return(me=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var b,g,ge,y=function(){return(y=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function ye(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function ve(e){return e.type===g.literal}function _e(e){return e.type===g.number}function Ee(e){return e.type===g.date}function we(e){return e.type===g.time}function Te(e){return e.type===g.select}function Be(e){return e.type===g.plural}function Ae(e){return e.type===g.tag}function He(e){return e&&"object"==typeof e&&e.type===ge.number}function xe(e){return e&&"object"==typeof e&&e.type===ge.dateTime}(e=b=b||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=g=g||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=ge=ge||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Se=/(?:[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;var Pe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oe=/^(@+)?(\+|#+)?[rs]?$/g,Ce=/(\*)(0+)|(#+)(0+)|(0+)/g,Ne=/^(0+)$/;function Ie(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Oe,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function Me(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Re(e){return Me(e)||{}}function Ue(e){for(var s={},t=0,r=e;t<r.length;t++){var o,n=r[t];switch(n.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=n.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=y(y(y({},s),{notation:"scientific"}),n.options.reduce(function(e,t){return y(y({},e),Re(t))},{}));continue;case"engineering":s=y(y(y({},s),{notation:"engineering"}),n.options.reduce(function(e,t){return y(y({},e),Re(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Ce,function(e,t,r,o,n,i){if(t)s.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ne.test(n.stem))s.minimumIntegerDigits=n.stem.length;else if(Le.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Le,function(e,t,r,o,n,i){return"*"===r?s.minimumFractionDigits=t.length:o&&"#"===o[0]?s.maximumFractionDigits=o.length:n&&i?(s.minimumFractionDigits=n.length,s.maximumFractionDigits=n.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var i=n.options[0];"w"===i?s=y(y({},s),{trailingZeroDisplay:"stripIfInteger"}):i&&(s=y(y({},s),Ie(i)))}else Oe.test(n.stem)?s=y(y({},s),Ie(n.stem)):((i=Me(n.stem))&&(s=y(y({},s),i)),(o=(e=>{var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ne.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(n.stem))&&(s=y(y({},s),o)))}return s}var ke={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var De=new RegExp("^".concat(e.source,"*")),Fe=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,$e=!!Object.fromEntries,je=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,Xe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ke=!0;try{Ke="a"===(null==(dt=rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:dt[0])}catch(f){Ke=!1}var We,Ye,qe=e?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ze=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",n=e.length,i=0;i<n;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},Je=$e?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var n=o[r];t[n[0]]=n[1]}return t},Qe=je?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},et=ze?function(e){return e.trimStart()}:function(e){return e.replace(De,"")},tt=Ve?function(e){return e.trimEnd()}:function(e){return e.replace(Fe,"")};function rt(e,t){return new RegExp(e,t)}Ye=Ke?(We=rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return We.lastIndex=t,null!=(t=We.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=Qe(e,t);if(void 0===n||it(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;o.push(n),t+=65536<=n?2:1}return Ze.apply(void 0,o)};r.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,i=this.char();if(123===i){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(b.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&nt(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}else{i=this.clonePosition();this.bump(),o.push({type:g.pound,location:v(i,this.clonePosition())})}}}return{val:o,err:null}},r.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:g.literal,value:"<".concat(n,"/>"),location:v(o,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!nt(this.char())?this.error(b.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(b.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:n,children:t,location:v(o,this.clonePosition())},err:null}:this.error(b.INVALID_TAG,v(e,this.clonePosition())))):this.error(b.UNCLOSED_TAG,v(o,this.clonePosition()))):this.error(b.INVALID_TAG,v(o,this.clonePosition()))},r.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},r.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=v(r,this.clonePosition());return{val:{type:g.literal,value:o,location:r},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(nt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},r.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ze.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Ze(r))},r.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(b.EMPTY_ARGUMENT,v(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(b.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:o,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(b.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ye(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},r.prototype.parseArgumentOptions=function(e,t,r,o){var n,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(b.EXPECT_ARGUMENT_TYPE,v(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(p=tt(u.val)).length)return this.error(b.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(o)).err?c:(f=v(o,this.clonePosition()),l&&qe(null==l?void 0:l.style,"::",0)?(d=et(l.style.slice(2)),"number"===s?(u=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?u:{val:{type:g.number,value:r,location:f,style:u.val},err:null}:0===d.length?this.error(b.EXPECT_DATE_TIME_SKELETON,f):(h=d,this.locale&&(h=((e,t)=>{for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var i=0;o+1<e.length&&e.charAt(o+1)===n;)i++,o++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=(e=>{var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(ke[t||""]||ke[r||""]||ke["".concat(r,"-001")]||ke["001"])[0]})(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<s--;)r=l+r}else r+="J"===n?"H":n}return r})(d,this.locale)),p={type:ge.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},h.replace(Se,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}},{val:{type:"date"===s?g.date:g.time,value:r,location:f,style:p},err:null})):{val:{type:"number"===s?g.number:"date"===s?g.date:g.time,value:r,location:f,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,y({},h)));this.bumpSpace();var u,p=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),p=this.parseIdentifierIfPossible(),f=u.val}var d,l=this.tryParsePluralOrSelectOptions(e,s,t,p);return l.err?l:(c=this.tryParseArgumentClose(o)).err?c:(d=v(o,this.clonePosition()),"select"===s?{val:{type:g.select,value:r,options:Je(l.val),location:d},err:null}:{val:{type:g.plural,value:r,options:Je(l.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:d},err:null});default:return this.error(b.INVALID_ARGUMENT_TYPE,v(i,a))}},r.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,o=e.split(Pe).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],n=n.slice(1),s=0,a=n;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:n})}return t})(e)}catch(e){return this.error(b.INVALID_NUMBER_SKELETON,t)}return{val:{type:ge.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ue(r):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,i=[],s=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR,b.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=v(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?b.DUPLICATE_SELECT_ARGUMENT_SELECTOR:b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var u=this.tryParseArgumentClose(h);if(u.err)return u;i.push([a,{value:c.val,location:v(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?b.EXPECT_SELECT_ARGUMENT_SELECTOR:b.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(b.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}o=v(o,this.clonePosition());return n?Xe(i*=r)?{val:i,err:null}:this.error(t,o):this.error(e,o)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},r.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},r.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},r.prototype.bumpIf=function(e){if(qe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&it(this.char());)this.bump()},r.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var ot=r;function r(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}function nt(e){return 97<=e&&e<=122||65<=e&&e<=90}function it(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function st(e,t){t=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new ot(e,t).parse();if(e.err)throw(r=SyntaxError(b[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Te(e)||Be(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else _e(e)&&He(e.style)||(Ee(e)||we(e))&&xe(e.style)?delete e.style.location:Ae(e)&&r(e.children)})}(e.val),e.val}function at(e,t){var r=t&&t.cache?t.cache:mt,o=t&&t.serializer?t.serializer:ut;return(t&&t.strategy?t.strategy:function(e,t){return ht(e,this,1===e.length?lt:ct,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function lt(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),n=t.get(r);return void 0===n&&(n=e.call(this,o),t.set(r,n)),n}function ct(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),n=t.get(r);return void 0===n&&(n=e.apply(this,o),t.set(r,n)),n}function ht(e,t,r,o,n){return r.bind(t,e,o,n)}var ut=function(){return JSON.stringify(arguments)};function pt(){this.cache=Object.create(null)}pt.prototype.get=function(e){return this.cache[e]},pt.prototype.set=function(e,t){this.cache[e]=t};var ft,dt,mt={create:function(){return new pt}},bt={variadic:function(e,t){return ht(e,this,ct,t.cache.create(),t.serializer)},monadic:function(e,t){return ht(e,this,lt,t.cache.create(),t.serializer)}};(dt=ft=ft||{}).MISSING_VALUE="MISSING_VALUE",dt.INVALID_VALUE="INVALID_VALUE",dt.MISSING_INTL_API="MISSING_INTL_API";be(St,_t=Error),St.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var _,gt,yt,vt,_t,Et=St,wt=(be(xt,vt=Et),xt),Tt=(be(Ht,yt=Et),Ht),Bt=(be(At,gt=Et),At);function At(e,t){return gt.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ft.MISSING_VALUE,t)||this}function Ht(e,t,r){return yt.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ft.INVALID_VALUE,r)||this}function xt(e,t,r,o){return vt.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ft.INVALID_VALUE,o)||this}function St(e,t,r){e=_t.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Pt(e,t,r,o,n,i,s){if(1===e.length&&ve(e[0]))return[{type:_.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var h=c[l];if(ve(h))a.push({type:_.literal,value:h.value});else if(h.type===g.pound)"number"==typeof i&&a.push({type:_.literal,value:r.getNumberFormat(t).format(i)});else{var u=h.value;if(!(n&&u in n))throw new Bt(u,s);u=n[u];if(h.type===g.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),a.push({type:"string"==typeof u?_.literal:_.object,value:u});else if(Ee(h)){var p="string"==typeof h.style?o.date[h.style]:xe(h.style)?h.style.parsedOptions:void 0;a.push({type:_.literal,value:r.getDateTimeFormat(t,p).format(u)})}else if(we(h))p="string"==typeof h.style?o.time[h.style]:xe(h.style)?h.style.parsedOptions:o.time.medium,a.push({type:_.literal,value:r.getDateTimeFormat(t,p).format(u)});else if(_e(h))(p="string"==typeof h.style?o.number[h.style]:He(h.style)?h.style.parsedOptions:void 0)&&p.scale&&(u*=p.scale||1),a.push({type:_.literal,value:r.getNumberFormat(t,p).format(u)});else{if(Ae(h)){var f=h.children,d=h.value,m=n[d];if("function"!=typeof m)throw new Tt(d,"function",s);d=m(Pt(f,t,r,o,n,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?_.literal:_.object,value:e}}))}if(Te(h)){if(!(b=h.options[u]||h.options.other))throw new wt(h.value,u,Object.keys(h.options),s);a.push.apply(a,Pt(b.value,t,r,o,n))}else if(Be(h)){if(!(b=h.options["=".concat(u)])){if(!Intl.PluralRules)throw new Et('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var m=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0)),b=h.options[m]||h.options.other}if(!b)throw new wt(h.value,u,Object.keys(h.options),s);a.push.apply(a,Pt(b.value,t,r,o,n,u-(h.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===_.literal&&t.type===_.literal?r.value+=t.value:e.push(t),e},[])}function Lt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(e=_=_||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(a,"defaultLocale",{get:function(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),a.memoizedDefaultLocale},enumerable:!1,configurable:!0}),a.memoizedDefaultLocale=null,a.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},a.__parse=st,a.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"}}};var Ot=a;function a(e,t,r,o){var n,i,s=this;if(void 0===t&&(t=a.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===_.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Pt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=a.resolveLocale(t),"string"==typeof e){if(this.message=e,!a.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=a.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=a.formats,(i=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=i[t])?y(y(y({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=y(y({},r[t]),o[t]||{}),e},{})):r),e},y({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:at(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ye([void 0],t,!1)))},{cache:Lt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:bt.variadic}),getDateTimeFormat:at(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ye([void 0],t,!1)))},{cache:Lt(t.dateTime),strategy:bt.variadic}),getPluralRules:at(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ye([void 0],t,!1)))},{cache:Lt(t.pluralRules),strategy:bt.variadic})}}let i={},Ct=(e,t,r)=>r&&(t in i||(i[t]={}),e in i[t]||(i[t][e]=r),r),Nt=(t,r)=>{if(null!=r){if(r in i&&t in i[r])return i[r][t];var o=Qt(r);for(let e=0;e<o.length;e++){var n=((e,t)=>{if(!Rt(e))return null;e=(e=>It[e]||null)(e);var o=t;if(null!=o){if(o in e)return e[o];var n=o.split(".");let r=e;for(let t=0;t<n.length;t++)if("object"==typeof r){if(0<t){let e=n.slice(t,n.length).join(".");if(e in r){r=r[e];break}}r=r[n[t]]}else r=void 0;return r}})(o[e],t);if(n)return Ct(t,r,n)}}},It,Mt=ne({});function Rt(e){return e in It}function Ut(t,...r){delete i[t],Mt.update(e=>(e[t]=de.all([e[t]||{},...r]),e))}ie([Mt],([e])=>Object.keys(e)),Mt.subscribe(e=>It=e);let kt={};function Dt(e){return kt[e]}function Ft(e){return null!=e&&Qt(e).some(e=>null==(e=Dt(e))?void 0:e.size)}function Gt(o,e){return Promise.all(e.map(e=>{return t=o,r=e,kt[t].delete(r),0===kt[t].size&&delete kt[t],e().then(e=>e.default||e);var t,r})).then(e=>Ut(o,...e))}let $t={};let jt={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};let zt=ne(!1);var Vt=Object.defineProperty,Ge=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Yt=(e,t,r)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let qt,Zt=ne(null);function Jt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Qt(e,t=jt.fallbackLocale){e=Jt(e);return t?[...new Set([...e,...Jt(t)])]:e}function p(){return null!=qt?qt:void 0}Zt.subscribe(e=>{qt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let X=Ge(((e,t)=>{for(var r in t=t||{})Kt.call(t,r)&&Yt(e,r,t[r]);if(Xt)for(var r of Xt(t))Wt.call(t,r)&&Yt(e,r,t[r]);return e})({},Zt),$e({set:t=>{if(t&&(e=>{if(null!=e){var t=Qt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Rt(r))return r}}})(t)&&Ft(t)){var r=jt.loadingDelay;let e;return"undefined"!=typeof window&&null!=p()&&r?e=window.setTimeout(()=>zt.set(!0),r):zt.set(!0),function e(t){var r;return Ft(t)?(r=Qt(t).map(e=>{var t=Dt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),$t[t]=Promise.all(r.map(([e,t])=>Gt(e,t))).then(()=>{if(Ft(t))return e(t);delete $t[t]}),$t[t]):t in $t?$t[t]:Promise.resolve()}(t).then(()=>{Zt.set(t)}).finally(()=>{clearTimeout(e),zt.set(!1)})}return Zt.set(t)}}));var je=r=>{let o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},er=Object.defineProperty,tr=Object.getOwnPropertySymbols,rr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ir=(e,t)=>{for(var r in t=t||{})rr.call(t,r)&&nr(e,r,t[r]);if(tr)for(var r of tr(t))or.call(t,r)&&nr(e,r,t[r]);return e},sr=(e,t)=>{var r={};for(o in e)rr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&tr)for(var o of tr(e))t.indexOf(o)<0&&or.call(e,o)&&(r[o]=e[o]);return r};let ar=(e,t)=>{var r=jt.formats;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lr=je(e=>{var{locale:t,format:r}=e,e=sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ar("number",r)),new Intl.NumberFormat(t,e)}),cr=je(e=>{var{locale:t,format:r}=e,e=sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ar("date",r):0===Object.keys(e).length&&(e=ar("date","short")),new Intl.DateTimeFormat(t,e)}),hr=je(e=>{var{locale:t,format:r}=e,e=sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ar("time",r):0===Object.keys(e).length&&(e=ar("time","short")),new Intl.DateTimeFormat(t,e)}),ur=je((e,t=p())=>new Ot(e,t,jt.formats,{ignoreTag:jt.ignoreTag})),pr=ie([X,Mt],()=>(e,t={})=>{let r,o,n,i,s=t;"object"==typeof e&&(e=(s=e).id);var{values:a,locale:l=p(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Nt(e,l);if(h){if("string"!=typeof h)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}else h=null!=(i=null!=(n=null==(o=(r=jt).handleMissingMessage)?void 0:o.call(r,{locale:l,id:e,defaultValue:c}))?n:c)?i:e;if(!a)return h;let u=h;try{u=ur(h,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function fr(e,t){Ut(e,t)}ie([X],()=>(e,t)=>((e={})=>{var{locale:t=p()}=e,e=sr(e,["locale"]);return hr(ir({locale:t},e))})(t).format(e)),ie([X],()=>(e,t)=>((e={})=>{var{locale:t=p()}=e,e=sr(e,["locale"]);return cr(ir({locale:t},e))})(t).format(e)),ie([X],()=>(e,t)=>((e={})=>{var{locale:t=p()}=e,e=sr(e,["locale"]);return lr(ir({locale:t},e))})(t).format(e)),ie([X,Mt],()=>(e,t=p())=>Nt(e,t));var dr,mr,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},br="URLSearchParams"in l,gr="Symbol"in l&&"iterator"in Symbol,yr="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),vr="FormData"in l,_r="ArrayBuffer"in l;function Er(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function wr(e){return e="string"!=typeof e?String(e):e}function Tr(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return gr&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Br(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ar(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Hr(e){var t=new FileReader,r=Ar(t);return t.readAsArrayBuffer(e),r}function xr(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Sr(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:yr&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:vr&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:br&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_r&&yr&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=xr(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_r&&(ArrayBuffer.prototype.isPrototypeOf(e)||mr(e))?this._bodyArrayBuffer=xr(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):br&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},yr&&(this.blob=function(){var e=Br(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Br(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(yr)return this.blob().then(Hr);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=Br(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=Ar(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,r),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},vr&&(this.formData=function(){return this.text().then(Lr)}),this.json=function(){return this.text().then(JSON.parse)},this}_r&&(dr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],mr=ArrayBuffer.isView||function(e){return e&&-1<dr.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=Er(e),t=wr(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[Er(e)]},c.prototype.get=function(e){return e=Er(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(Er(e))},c.prototype.set=function(e,t){this.map[Er(e)]=wr(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Tr(r)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Tr(t)},c.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Tr(r)},gr&&(c.prototype[Symbol.iterator]=c.prototype.entries);var Pr=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(t=t||{}).body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Pr.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Lr(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},Sr.call(h.prototype),Sr.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Or=[301,302,303,307,308],Cr=(u.redirect=function(e,t){if(-1===Or.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},l.DOMException);try{new Cr}catch(f){(Cr=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Cr.prototype.constructor=Cr}function Nr(o,a){return new Promise(function(n,e){var i=new h(o,a);if(i.signal&&i.signal.aborted)return e(new Cr("Aborted","AbortError"));var r,s=new XMLHttpRequest;function t(){s.abort()}s.onload=function(){var e,o,t={statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",o=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(0===i.url.indexOf("file://")&&(s.status<200||599<s.status)?t.status=200:t.status=s.status,t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new u(r,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},s.onabort=function(){setTimeout(function(){e(new Cr("Aborted","AbortError"))},0)},s.open(i.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(yr?s.responseType="blob":_r&&(s.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof c||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(Er(e)),s.setRequestHeader(e,wr(a.headers[e]))}),i.headers.forEach(function(e,t){-1===r.indexOf(t)&&s.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",t)}),s.send(void 0===i._bodyInit?null:i._bodyInit)})}Nr.polyfill=!0,l.fetch||(l.fetch=Nr,l.Headers=c,l.Request=h,l.Response=u),self.fetch.bind(self);var Ir=function(e,t){return(Ir=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Mr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ir(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Rr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ur(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function kr(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function w(e){return"function"==typeof e}function Dr(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Fr=Dr(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Gr(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}o.prototype.unsubscribe=function(){var e,t,r,o,n;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Rr(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(w(i))try{i()}catch(e){n=e instanceof Fr?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Rr(i),c=l.next();!c.done;c=l.next()){var h=c.value;try{Vr(h)}catch(e){n=null!=n?n:[],e instanceof Fr?n=kr(kr([],Ur(n)),Ur(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new Fr(n)}},o.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Vr(e);else{if(e instanceof o){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},o.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},o.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},o.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Gr(t,e)},o.prototype.remove=function(e){var t=this._finalizers;t&&Gr(t,e),e instanceof o&&e._removeParent(this)},o.EMPTY=((ze=new o).closed=!0,ze);var $r=o,jr=$r.EMPTY;function o(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function zr(e){return e instanceof $r||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Vr(e){w(e)?e():e.unsubscribe()}var Xr=void 0,Kr=!1,Wr=!1,Yr={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=Yr.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,kr([e,t],Ur(r))):setTimeout.apply(void 0,kr([e,t],Ur(r)))},clearTimeout:function(e){var t=Yr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function qr(){}var Zr=null;function Jr(e){if(Kr){var t=!Zr;if(t&&(Zr={errorThrown:!1,error:null}),e(),t){var t=Zr,r=t.errorThrown;if(Zr=null,r)throw t.error}}else e()}Mr(s,Qr=$r),s.create=function(e,t,r){return new io(e,t,r)},s.prototype.next=function(e){this.isStopped||this._next(e)},s.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},s.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},s.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Qr.prototype.unsubscribe.call(this),this.destination=null)},s.prototype._next=function(e){this.destination.next(e)},s.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},s.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Qr,eo=s,to=Function.prototype.bind;function s(e){var t=Qr.call(this)||this;return t.isStopped=!1,e?zr(t.destination=e)&&e.add(t):t.destination=co,t}function ro(e,t){return to.call(e,t)}ao.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){lo(e)}},ao.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){lo(e)}else lo(e)},ao.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){lo(e)}};var oo,no=ao,io=(Mr(so,oo=eo),so);function so(e,t,r){var o=oo.call(this)||this,r=w(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Wr?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&ro(e.next,t),error:e.error&&ro(e.error,t),complete:e.complete&&ro(e.complete,t)}):e;return o.destination=new no(r),o}function ao(e){this.partialObserver=e}function lo(e){var t=e;Yr.setTimeout(function(){throw t})}var co={closed:!0,next:qr,error:function(e){throw e},complete:qr},Ve="function"==typeof Symbol&&Symbol.observable||"@@observable";T.prototype.lift=function(e){var t=new T;return t.source=this,t.operator=e,t},T.prototype.subscribe=function(e,t,r){var o,n=this,i=(o=e)&&o instanceof eo||o&&w(o.next)&&w(o.error)&&w(o.complete)&&zr(o)?e:new io(e,t,r);return Jr(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},T.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},T.prototype.forEach=function(o,e){var n=this;return new(e=uo(e))(function(e,t){var r=new io({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},T.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},T.prototype[Ve]=function(){return this},T.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},T.prototype.toPromise=function(e){var o=this;return new(e=uo(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},T.create=function(e){return new T(e)};var ho=T;function T(e){e&&(this._subscribe=e)}function uo(e){return null!=(e=null!=e?e:Xr)?e:Promise}var po,fo,mo,bo=Dr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ke=(Mr(B,mo=ho),B.prototype.lift=function(e){var t=new go(this,this);return t.operator=e,t},B.prototype._throwIfClosed=function(){if(this.closed)throw new bo},B.prototype.next=function(n){var i=this;Jr(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var r=Rr(i.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},B.prototype.error=function(t){var r=this;Jr(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},B.prototype.complete=function(){var t=this;Jr(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},B.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(B.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),B.prototype._trySubscribe=function(e){return this._throwIfClosed(),mo.prototype._trySubscribe.call(this,e)},B.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},B.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,n=this.observers;return r||o?jr:(this.currentObservers=null,n.push(e),new $r(function(){t.currentObservers=null,Gr(n,e)}))},B.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},B.prototype.asObservable=function(){var e=new ho;return e.source=this,e},B.create=function(e,t){return new go(e,t)},B),go=(Mr(Eo,fo=Ke),Eo.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Eo.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Eo.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Eo.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:jr},Eo),yo={now:function(){return(yo.delegate||Date).now()},delegate:void 0},vo=(Mr(_o,po=Ke),_o.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,n=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(o.push(e),n)||o.push(i.now()+t),this._trimBuffer(),po.prototype.next.call(this,e)},_o.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t},_o.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},_o);function _o(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=yo);var o=po.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function Eo(e,t){var r=fo.call(this)||this;return r.destination=e,r.source=t,r}function B(){var e=mo.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let wo=[],To={},Bo=(window.emWidgets={topic:(e,t=0)=>(-1==wo.indexOf(e)&&(t=new vo(t),To[e]=t,wo.push(e)),To[e])},{en:{promotionsTitle:"Promotions",promotionsButton:"More Info",promotionsNone:"There are no promotions available at the moment.",promotionsBack:"Back",promotionsTerms:"Terms and Conditions"},"zh-hk":{promotionsTitle:"促銷活動",promotionsButton:"更多信息",promotionsNone:"目前沒有促銷活動。",promotionsBack:"後退",promotionsTerms:"条款和条件。"},fr:{promotionsTitle:"Promotions",promotionsButton:"Plus d'informations",promotionsNone:"Il n'y a pas de promotions disponibles pour le moment.",promotionsBack:"Retour",promotionsTerms:"Conditions générales"},tr:{promotionsTitle:"Promosyonlar",promotionsButton:"Daha fazla bilgi",promotionsNone:"Şu anda herhangi bir promosyon bulunmamaktadır.",promotionsBack:"Geri",promotionsTerms:"Şartlar ve Koşullar"},ro:{promotionsTitle:"Promotii",promotionsButton:"Detalii",promotionsNone:"Nu avem promotii disponibile momentan.",promotionsBack:"Înapoi",promotionsTerms:"Termenele și Condițiile"},es:{promotionsTitle:"Promociones",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles en este momento.",promotionsBack:"Volver",promotionsTerms:"Términos y Condiciones"},pt:{promotionsTitle:"Promoções",promotionsButton:"Mais informações",promotionsNone:"Não há promoções disponíveis no momento.",promotionsBack:"Voltar",promotionsTerms:"Termos e Condições"},hr:{promotionsTitle:"Promocije",promotionsButton:"Više informacija",promotionsNone:"Trenutno nema dostupnih promocija.",promotionsBack:"Vratiti se",promotionsTerms:"Odredbe i Uvjeti"},"pt-br":{promotionsTitle:"Promoções",promotionsButton:"Mais informação",promotionsNone:"Não há promoções disponíveis no momento",promotionsBack:"Volte",promotionsTerms:"Termos e Condições"},"es-mx":{promotionsTitle:"Promociones",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles al momento",promotionsBack:"Regresar",promotionsTerms:"Términos y condiciones"}});function Ao(e,t,r){e=e.slice();return e[47]=t[r],e}function Ho(e,t,r){e=e.slice();return e[50]=t[r],e[52]=r,e}function xo(e,t,r){e=e.slice();return e[47]=t[r],e}function So(e,t,r){e=e.slice();return e[55]=t[r],e}function Po(e,t,r){e=e.slice();return e[47]=t[r],e}function Lo(r){let o,i,s,n,a,l,c,h,u,p,f,d,m,e,b,g,y,v,_,E,w,T,B,A,H,x,S,P,L=!0!==r[6]&&Oo(r),O=r[10],C=[];for(let e=0;e<O.length;e+=1)C[e]=Ro(xo(r,O,e));let N=r[11],I=[];for(let e=0;e<N.length;e+=1)I[e]=Uo(Ho(r,N,e));let M=1==r[6]&&ko(r);return{c(){o=G("section"),i=G("div"),L&&L.c(),s=$(),n=G("div"),a=G("div"),l=$(),c=G("div"),(h=G("div")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',u=$(),p=G("div"),f=G("picture");for(let e=0;e<C.length;e+=1)C[e].c();d=$(),m=G("img"),b=$(),g=G("div"),y=G("div"),v=G("ul");for(let e=0;e<I.length;e+=1)I[e].c();_=$(),E=G("div"),w=G("h3"),T=$(),B=G("div"),A=$(),M&&M.c(),z(a,"class","modal__backdrop"),z(h,"class","modal__close"),U(m.src,e=r[9])||z(m,"src",e),z(m,"alt",r[7]),z(f,"class","modal__picture"),z(p,"class","modal__header"),z(v,"class","modal__tabs"),z(w,"class","modal__body_title"),z(B,"class","modal__tab_content"),z(E,"class","modal__tabContentWrapper"),z(y,"class","modal__body_content"),z(g,"class","modal__body"),z(c,"class","modal__content"),z(n,"class","promo__modal modal"),z(i,"class",H="promotions "+r[4]),Q(()=>r[32].call(i)),z(o,"class","promotion__section")},m(e,t){D(e,o,t),k(o,i),L&&L.m(i,null),k(i,s),k(i,n),k(n,a),k(n,l),k(n,c),k(c,h),k(c,u),k(c,p),k(p,f);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(f,null);k(f,d),k(f,m),k(c,b),k(c,g),k(g,y),k(y,v);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(v,null);k(y,_),k(y,E),k(E,w),w.innerHTML=r[7],k(E,T),k(E,B),B.innerHTML=r[8],r[29](y),k(i,A),M&&M.m(i,null),x=((e,t)=>{"static"===getComputedStyle(e).position&&(e.style.position="relative");let r=G("iframe"),o=(r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1,(()=>{if(void 0===K){K=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){K=!0}}return K})()),n;return o?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",n=j(window,"message",e=>{e.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{n=j(r.contentWindow,"resize",t),t()}),k(e,r),()=>{(o||n&&r.contentWindow)&&n(),F(r)}})(i,r[32].bind(i)),r[33](i),S||(P=[j(a,"click",r[18]),j(h,"click",r[18])],S=!0)},p(t,r){if(!0!==t[6]?L?L.p(t,r):((L=Oo(t)).c(),L.m(i,s)):L&&(L.d(1),L=null),1024&r[0]){let e;for(O=t[10],e=0;e<O.length;e+=1){var o=xo(t,O,e);C[e]?C[e].p(o,r):(C[e]=Ro(o),C[e].c(),C[e].m(f,d))}for(;e<C.length;e+=1)C[e].d(1);C.length=O.length}if(512&r[0]&&!U(m.src,e=t[9])&&z(m,"src",e),128&r[0]&&z(m,"alt",t[7]),526336&r[0]){let e;for(N=t[11],e=0;e<N.length;e+=1){var n=Ho(t,N,e);I[e]?I[e].p(n,r):(I[e]=Uo(n),I[e].c(),I[e].m(v,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=N.length}128&r[0]&&(w.innerHTML=t[7]),256&r[0]&&(B.innerHTML=t[8]),1==t[6]?M?M.p(t,r):((M=ko(t)).c(),M.m(i,null)):M&&(M.d(1),M=null),16&r[0]&&H!==(H="promotions "+t[4])&&z(i,"class",H)},d(e){e&&F(o),L&&L.d(),q(C,e),q(I,e),r[29](null),M&&M.d(),x(),r[33](null),S=!1,R(P)}}}function Oo(e){let r,o,n,i,s,a,l,c=e[16]("promotionsTitle")+"";function h(e){return 0<e[1].length?No:Co}let u=h(e),p=u(e);return{c(){r=G("div"),(o=G("div")).innerHTML='<div class="svg-background"></div> \n <div class="svg-content"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" version="1.1" xml:space="preserve"><circle class="circle" cx="50" cy="50" r="40" fill="none"></circle><g id="gift_box-box_-heart-love-valentine"><path d="M408,160h-64c15.55-0.021,28.483-12.719,28.504-28.269c0.021-15.55-12.568-28.139-28.118-28.118 c0.023-17.486-15.9-31.228-34.048-27.504C297.124,78.82,288,91.085,288,104.575v5.667c-4.256-3.838-9.831-6.242-16-6.242h-32 c-6.169,0-11.744,2.404-16,6.242v-5.667c0-13.491-9.124-25.755-22.339-28.467c-18.148-3.724-34.071,10.018-34.048,27.504 c-15.549-0.021-28.138,12.568-28.118,28.118C139.517,147.281,152.45,159.979,168,160h-64c-17.673,0-32,14.327-32,32v8 c0,17.673,14.327,32,32,32h96v16H96v161.28c0,16.966,13.754,30.72,30.72,30.72H200c8.837,0,16-7.163,16-16V168h80v256 c0,8.837,7.163,16,16,16h73.28c16.966,0,30.72-13.754,30.72-30.72V248H312v-16h96c17.673,0,32-14.327,32-32v-8 C440,174.327,425.673,160,408,160z M232,152v-24c0-4.41,3.586-8,8-8h32c4.414,0,8,3.59,8,8v24H232z"></path></g><g id="Layer_1"></g></svg></div>',n=$(),i=G("h1"),s=t(c),a=$(),p.c(),l=P(),z(o,"class","svg-container"),z(i,"class","promotions__title"),z(r,"class","promotion__header")},m(e,t){D(e,r,t),k(r,o),k(r,n),k(r,i),k(i,s),D(e,a,t),p.m(e,t),D(e,l,t)},p(e,t){65536&t[0]&&c!==(c=e[16]("promotionsTitle")+"")&&L(s,c),u===(u=h(e))&&p?p.p(e,t):(p.d(1),(p=u(e))&&(p.c(),p.m(l.parentNode,l)))},d(e){e&&F(r),e&&F(a),p.d(e),e&&F(l)}}}function Co(e){let r,o,n=e[16]("promotionsNone")+"";return{c(){r=G("p"),o=t(n),z(r,"class","promotions__none")},m(e,t){D(e,r,t),k(r,o)},p(e,t){65536&t[0]&&n!==(n=e[16]("promotionsNone")+"")&&L(o,n)},d(e){e&&F(r)}}}function No(t){let n,i=t[1],s=[];for(let e=0;e<i.length;e+=1)s[e]=Mo(So(t,i,e));return{c(){n=G("div");for(let e=0;e<s.length;e+=1)s[e].c();z(n,"class","promotions__grid")},m(e,t){D(e,n,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(n,null)},p(t,r){if(131074&r[0]){let e;for(i=t[1],e=0;e<i.length;e+=1){var o=So(t,i,e);s[e]?s[e].p(o,r):(s[e]=Mo(o),s[e].c(),s[e].m(n,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){e&&F(n),q(s,e)}}}function Io(e){let r,o,n;return{c(){z(r=G("source"),"srcset",o=e[47].pictureSource),z(r,"media",n="("+e[47].media+")")},m(e,t){D(e,r,t)},p(e,t){2&t[0]&&o!==(o=e[47].pictureSource)&&z(r,"srcset",o),2&t[0]&&n!==(n="("+e[47].media+")")&&z(r,"media",n)},d(e){e&&F(r)}}}function Mo(o){let r,n,i,s,a,l,c,h,u,p,f,d,m,b,g,y=o[55].title+"",v=o[55].image.sources,_=[];for(let e=0;e<v.length;e+=1)_[e]=Io(Po(o,v,e));return{c(){r=G("div"),n=G("div"),(i=G("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" viewBox="0 0 302.967 302.967" xml:space="preserve"><path d="M151.483,302.967C67.956,302.967,0,235.017,0,151.483S67.956,0,151.483,0 s151.483,67.956,151.483,151.483S235.017,302.967,151.483,302.967z M151.483,24.416c-70.066,0-127.067,57.001-127.067,127.067 s57.001,127.067,127.067,127.067s127.067-57.001,127.067-127.067S221.555,24.416,151.483,24.416z"></path><path d="M116.586,118.12c1.795-4.607,4.297-8.588,7.511-11.961c3.225-3.389,7.114-6.016,11.667-7.898 c4.547-1.904,9.633-2.845,15.262-2.845c7.261,0,13.32,0.995,18.183,2.997c4.857,1.996,8.768,4.482,11.738,7.441 c2.964,2.97,5.091,6.168,6.369,9.584c1.273,3.432,1.915,6.636,1.915,9.595c0,4.901-0.642,8.947-1.915,12.118 c-1.278,3.171-2.866,5.88-4.759,8.131c-1.898,2.252-3.987,4.172-6.293,5.755c-2.295,1.588-4.471,3.171-6.516,4.759 c-2.045,1.583-3.862,3.394-5.445,5.439c-1.588,2.04-2.589,4.601-2.991,7.664v5.831H140.6v-6.908 c0.305-4.395,1.153-8.072,2.529-11.036c1.382-2.964,2.991-5.499,4.83-7.598c1.844-2.089,3.786-3.911,5.836-5.445 c2.04-1.539,3.927-3.073,5.673-4.591c1.73-1.545,3.144-3.225,4.221-5.069c1.071-1.833,1.556-4.15,1.452-6.908 c0-4.705-1.148-8.18-3.454-10.427c-2.295-2.257-5.493-3.378-9.589-3.378c-2.758,0-5.134,0.533-7.131,1.605 s-3.628,2.513-4.911,4.302c-1.278,1.795-2.225,3.894-2.834,6.288c-0.615,2.415-0.919,4.982-0.919,7.756h-22.55 C113.85,127.785,114.791,122.732,116.586,118.12z M162.536,183.938v23.616h-24.09v-23.616H162.536z"></path></svg>',s=$(),a=G("picture");for(let e=0;e<_.length;e+=1)_[e].c();l=$(),c=G("img"),p=$(),f=G("div"),d=G("h2"),m=$(),z(n,"class","promo__info"),U(c.src,h=o[55].image.src)||z(c,"src",h),z(c,"alt",u=o[55].title),z(a,"class","promo__picture"),z(d,"class","promo__title"),z(f,"class","promo__details"),z(r,"class","promo"),z(r,"part","promo")},m(e,t){D(e,r,t),k(r,n),k(n,i),k(r,s),k(r,a);for(let e=0;e<_.length;e+=1)_[e]&&_[e].m(a,null);k(a,l),k(a,c),k(r,p),k(r,f),k(f,d),d.innerHTML=y,k(r,m),b||(g=j(i,"click",function(){E(o[17](o[55]))&&o[17](o[55]).apply(this,arguments)}),b=!0)},p(e,t){if(o=e,2&t[0]){let e;for(v=o[55].image.sources,e=0;e<v.length;e+=1){var r=Po(o,v,e);_[e]?_[e].p(r,t):(_[e]=Io(r),_[e].c(),_[e].m(a,l))}for(;e<_.length;e+=1)_[e].d(1);_.length=v.length}2&t[0]&&!U(c.src,h=o[55].image.src)&&z(c,"src",h),2&t[0]&&u!==(u=o[55].title)&&z(c,"alt",u),2&t[0]&&y!==(y=o[55].title+"")&&(d.innerHTML=y)},d(e){e&&F(r),q(_,e),b=!1,g()}}}function Ro(e){let r,o,n;return{c(){z(r=G("source"),"srcset",o=e[47].pictureSource),z(r,"media",n="("+e[47].media+")")},m(e,t){D(e,r,t)},p(e,t){1024&t[0]&&o!==(o=e[47].pictureSource)&&z(r,"srcset",o),1024&t[0]&&n!==(n="("+e[47].media+")")&&z(r,"media",n)},d(e){e&&F(r)}}}function Uo(r){let o,n,i,s,a=r[50].tabDesc+"";return{c(){o=G("li"),n=t(a),z(o,"class","modal__tab"),z(o,"id","tab-"+r[52])},m(e,t){D(e,o,t),k(o,n),i||(s=j(o,"click",function(){E(r[19](r[50],r[52]))&&r[19](r[50],r[52]).apply(this,arguments)}),i=!0)},p(e,t){r=e,2048&t[0]&&a!==(a=r[50].tabDesc+"")&&L(n,a)},d(e){e&&F(o),i=!1,s()}}}function ko(r){let o,n,i,s,a,l,c,h,u,p,f,d,e,m,b,g,y,v,_,E=r[16]("promotionsBack")+"",w=r[10],T=[];for(let e=0;e<w.length;e+=1)T[e]=Do(Ao(r,w,e));let B=0<r[11].length&&Fo(r);return{c(){o=G("div"),n=G("div"),i=G("h1"),s=t("< "),a=t(E),l=$(),c=G("div"),h=G("h1"),u=$(),p=G("picture");for(let e=0;e<T.length;e+=1)T[e].c();f=$(),d=G("img"),m=$(),b=G("div"),g=G("div"),y=G("ul"),B&&B.c(),z(n,"class","page__close"),z(h,"class","page__body_title"),U(d.src,e=r[9])||z(d,"src",e),z(d,"alt",r[7]),z(p,"class","page__picture"),z(c,"class","page__header"),z(y,"class","page__tabs"),z(g,"class","page__body_content"),z(b,"class","page__body"),z(o,"class","promo__page page page--open")},m(e,t){D(e,o,t),k(o,n),k(n,i),k(i,s),k(i,a),k(o,l),k(o,c),k(c,h),h.innerHTML=r[7],k(c,u),k(c,p);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(p,null);k(p,f),k(p,d),k(o,m),k(o,b),k(b,g),k(g,y),B&&B.m(y,null),r[31](g),v||(_=j(n,"click",r[18]),v=!0)},p(t,r){if(65536&r[0]&&E!==(E=t[16]("promotionsBack")+"")&&L(a,E),128&r[0]&&(h.innerHTML=t[7]),1024&r[0]){let e;for(w=t[10],e=0;e<w.length;e+=1){var o=Ao(t,w,e);T[e]?T[e].p(o,r):(T[e]=Do(o),T[e].c(),T[e].m(p,f))}for(;e<T.length;e+=1)T[e].d(1);T.length=w.length}512&r[0]&&!U(d.src,e=t[9])&&z(d,"src",e),128&r[0]&&z(d,"alt",t[7]),0<t[11].length?B?B.p(t,r):((B=Fo(t)).c(),B.m(y,null)):B&&(B.d(1),B=null)},d(e){e&&F(o),q(T,e),B&&B.d(),r[31](null),v=!1,_()}}}function Do(e){let r,o,n;return{c(){z(r=G("source"),"srcset",o=e[47].pictureSource),z(r,"media",n="("+e[47].media+")")},m(e,t){D(e,r,t)},p(e,t){1024&t[0]&&o!==(o=e[47].pictureSource)&&z(r,"srcset",o),1024&t[0]&&n!==(n="("+e[47].media+")")&&z(r,"media",n)},d(e){e&&F(r)}}}function Fo(e){let r,o,n,i,s=e[11][0].tabContent+"",a=e[11][1]&&Go(e);return{c(){r=G("div"),o=G("div"),n=$(),a&&a.c(),i=P(),z(o,"class","page__tab_content"),z(r,"class","page__tabContentWrapper")},m(e,t){D(e,r,t),k(r,o),o.innerHTML=s,D(e,n,t),a&&a.m(e,t),D(e,i,t)},p(e,t){2048&t[0]&&s!==(s=e[11][0].tabContent+"")&&(o.innerHTML=s),e[11][1]?a?a.p(e,t):((a=Go(e)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){e&&F(r),e&&F(n),a&&a.d(e),e&&F(i)}}}function Go(r){let o,n,i,s,a,l,c,h,u,p,f,d=r[16]("promotionsTerms")+"",m=r[11][1].tabContent+"";return{c(){o=G("div"),n=G("h4"),i=t(d),s=$(),(a=G("p")).textContent="∇",l=$(),c=G("div"),h=G("div"),O(a,"active",r[15]),z(o,"class","page__tab"),z(o,"id","tab-1"),z(h,"class","page__tab_content"),z(h,"part","page__tab_content"),z(c,"class",u="page__tabContentWrapper "+(r[12]?"":"hidden"))},m(e,t){D(e,o,t),k(o,n),k(n,i),k(o,s),k(o,a),D(e,l,t),D(e,c,t),k(c,h),h.innerHTML=m,p||(f=j(o,"click",r[30]),p=!0)},p(e,t){65536&t[0]&&d!==(d=e[16]("promotionsTerms")+"")&&L(i,d),32768&t[0]&&O(a,"active",e[15]),2048&t[0]&&m!==(m=e[11][1].tabContent+"")&&(h.innerHTML=m),4096&t[0]&&u!==(u="page__tabContentWrapper "+(e[12]?"":"hidden"))&&z(c,"class",u)},d(e){e&&F(o),e&&F(l),e&&F(c),p=!1,f()}}}function $o(r){let o,n=!0!==r[3]&&Lo(r);return{c(){o=G("div"),n&&n.c(),this.c=f,z(o,"class","promotion__wrapper")},m(e,t){D(e,o,t),n&&n.m(o,null),r[34](o)},p(e,t){!0!==e[3]?n?n.p(e,t):((n=Lo(e)).c(),n.m(o,null)):n&&(n.d(1),n=null)},i:f,o:f,d(e){e&&F(o),n&&n.d(),r[34](null)}}}function jo(r,e,o){let t,n;n=pr,r.$$.on_destroy.push(Y(n,e=>o(16,t=e)));let i,s,a,l,c,h,u,p,{endpoint:f=""}=e,{lang:d=""}=e,{env:m=""}=e,{userroles:b=""}=e,{translationurl:g=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{modalpromotion:_=""}=e,E=!1,w=[],T="",R=window.navigator.userAgent,B=!1,A="",H="",x={},S=[],P=[],L=!1;var O,C;({withLocale:O,translations:C}={withLocale:"en",translations:{}}),X.subscribe(e=>{null==e&&(Mt.set(C),X.set(O))}),Object.keys(Bo).forEach(e=>{fr(e,Bo[e])});let N=e=>{e.data&&"promotionPath"===e.data.type&&(o(28,T=e.data.id),null==T)&&o(6,B=!1)},I=async e=>{"true"==_?(o(7,A=e.title),o(8,H=e.content),o(9,x=e.image.src),o(10,S=e.image.sources),o(11,P=[{order:"0",tabContent:H,tabDesc:"Description"},...e.tabs]),c=l.querySelector(".modal"),window.document.querySelector("body"),c.classList.add("modal--open"),window.postMessage({type:"DisableScroll"},window.location.href),J(),await Z,M(P[0],0)):(o(6,B=!0),o(7,A=e.title),o(8,H=e.content),o(9,x=e.image.src),o(10,S=e.image.sources),o(11,P=[{order:"0",tabContent:H,tabDesc:"Description"},...e.tabs]),window.postMessage({type:"handlePromotionPage",pageHandler:"open",dataPromotion:e},window.location.href)),"function"==typeof gtag&>ag("event","MoreInfo",{context:"PromotionsWidget"})},M=(e,t)=>{h.querySelector(".modal__tab_content").innerHTML=e.tabContent;var r=h.querySelectorAll(".modal__tab");for(let e=0;e<r.length;e++)r[e].classList.remove("modal__tab--active");h.querySelector("#tab-"+t).classList.add("modal__tab--active")},U={sm:640,md:768,lg:1024,xl:1280,xxl:1536};return e=()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}),(()=>{if(W)return W;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e),r.$$set=e=>{"endpoint"in e&&o(20,f=e.endpoint),"lang"in e&&o(21,d=e.lang),"env"in e&&o(22,m=e.env),"userroles"in e&&o(23,b=e.userroles),"translationurl"in e&&o(24,g=e.translationurl),"clientstyling"in e&&o(25,y=e.clientstyling),"clientstylingurl"in e&&o(26,v=e.clientstylingurl),"modalpromotion"in e&&o(27,_=e.modalpromotion)},r.$$.update=()=>{if(4&r.$$.dirty[0]&&o(4,a=Object.entries(U).reduce((e,[t,r])=>[...e,s>=r?t:""],[]).join(" ")),2097152&r.$$.dirty[0]&&d&&(t=d,X.set(t)),16777216&r.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{fr(e,t[e])})}).catch(e=>{console.log(e)}),268435458&r.$$.dirty[0]&&T&&w&&I(w.find(e=>e.slug==T)),15728640&r.$$.dirty[0]&&f&&d&&m&&b&&(o(3,E=!0),(t=new URL(`${f}/${d}/promotions?env=`+m)).searchParams.append("userRoles",b),(e=(e=R).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")&&("PC"==e?t.searchParams.append("device","dk"):t.searchParams.append("device","mtWeb")),fetch(t.href).then(e=>e.json()).then(e=>{o(3,E=!1),o(1,w=e)}).catch(e=>{o(3,E=!1),console.error(e)})),33554433&r.$$.dirty[0]&&y&&i&&((e=document.createElement("style")).innerHTML=y,i.appendChild(e)),67108865&r.$$.dirty[0]&&v&&i){let t=document.createElement("style");fetch(new URL(v)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[i,w,s,E,a,l,B,A,H,x,S,P,L,h,void 0,p,t,I,()=>{"true"==_?(c=l.querySelector(".modal"),window.document.querySelector("body"),c.classList.remove("modal--open"),window.postMessage({type:"EnableScroll"},window.location.href)):(o(6,B=!1),window.postMessage({type:"handlePromotionPage",pageHandler:"back"},window.location.href))},M,f,d,m,b,g,y,v,_,T,function(e){V[e?"unshift":"push"](()=>{h=e,o(13,h)})},()=>{o(12,L=!L),o(15,p=!p)},function(e){V[e?"unshift":"push"](()=>{u=e,o(14,u)})},function(){s=this.clientWidth,o(2,s)},function(e){V[e?"unshift":"push"](()=>{l=e,o(5,l)})},function(e){V[e?"unshift":"push"](()=>{i=e,o(0,i)})}]}class zo extends re{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis>*{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__wrapper{min-height:100vh;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__section{min-height:100vh;width:100%;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__header{display:flex;align-items:center;justify-content:flex-start;gap:20px}.promotion__header .svg-container{display:flex;position:relative;width:70px;height:70px;align-items:center;justify-content:center}.promotion__header .svg-container .svg-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:linear-gradient(to top, color-mix(in srgb, var(--emw--color-primary, #22B04E) 10%, var(--emw--color-black, black) 90%) 25%, color-mix(in srgb, var(--emw--color-primary, #22B04E) 40%, var(--emw--color-black, black) 60%) 40%, var(--emw--color-primary, #22B04E) 90% 70%, color-mix(in srgb, var(--emw--color-primary, #22B04E) 70%, var(--emw--color-white, white) 30%) 100%);border-radius:50%;z-index:1}.promotion__header .svg-container .svg-content{position:relative;z-index:2;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));padding:3px 4px;border-radius:50%}.promotion__header .svg-container .svg-content svg{width:50px;height:50px;fill:var(--emw--color-white, white)}.promotions{margin:0 auto;max-width:1300px;padding:24px 0;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;gap:20px}@media screen and (max-width: 1300px){.promotions{padding:24px 2.4%}}.promotions__title{font-size:22px;font-weight:normal;margin-bottom:18px;color:var(--emw--color-contrast)}.promotions__grid{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promotions__none{padding:50px 0;text-align:center;font-size:30px}.promo{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border-radius:10px;overflow:hidden;transition:all 150ms ease}.promo:hover{border:1px solid var(--emw--color-white, #FFFFFF)}.promo__info{z-index:5;position:absolute;top:10px;right:10px}.promo__info button{background:unset;border:0;cursor:pointer}.promo__info svg{height:24px;width:24px;fill:var(--emw--color-white, white)}.promo__picture{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture img{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(7, 7, 42, 0) 40%)}.promo__details{padding:0 10px 0px 17px;z-index:5}.promo__title{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content{margin-bottom:15px;font-size:14px}.promo__button{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button:hover{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page{display:none;margin:0 auto;width:80%;margin-bottom:40px}.page__body_title{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page--open{max-width:1000px;flex-direction:column;display:flex;position:relative;justify-content:center}.page__header{align-items:stretch;text-decoration:underline;text-align:center}.page__header img{width:90%;margin:2%;border-radius:5px;box-shadow:rgba(220, 220, 220, 0.414) 0px 8px 24px}.page__tab{padding:0px 30px;background-color:grey;border-radius:5px;cursor:pointer;margin:35px 0px;display:flex;justify-content:space-between;align-items:center;transition:all 150ms ease}.page__tab .active{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.5s linear;-webkit-transition:all 0.5s linear;transition:all 0.5s linear}.page__tab p{font-size:20px;outline:0}.page__tab p:focus{-webkit-transform:rotate(95deg);-ms-transform:rotate(95deg);transform:rotate(95deg)}.page__tab:hover{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page__tabContentWrapper.hidden{display:none}.page__close{height:40px;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-contrast, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%;width:max-content;font-size:75%}.page__close:hover{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open{display:flex;z-index:999}.modal__backdrop{position:absolute;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A));opacity:0.6;width:100%;height:100%;z-index:105}.modal__content{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--emw--color-gray-50, #F9F8F8);z-index:110;border-radius:5px}.md .modal__content{width:700px;height:70%}.modal__close{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-white, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%}.modal__close:hover{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.modal__picture img{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));border-top-left-radius:5px;border-top-right-radius:5px}.md .modal__picture img{height:300px}.modal__body{padding:16px 8px;color:var(--emw--color-black, #000000);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title{font-size:18px;margin-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal__body_content{font-size:14px;line-height:1.3}.modal__body_content *{margin-bottom:8px}.md .modal__body{height:calc(100vh - 300px);padding:22px 8%}.lg .modal__body{padding:30px 40px}.modal__tabs{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs::before{content:"";position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6);z-index:125}.modal__tab{background:none;border:none;padding:8px 0;color:var(--emw--color-gray-150, #828282);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active{position:relative;color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A));z-index:130}.modal__tab--active:before{content:"";left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A))}.modal__tab:hover{color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A))}',this.shadowRoot.appendChild(t);{var i=this,r=(t={target:this.shadowRoot,props:(e=>{var t,r={};for(t of e)r[t.name]=t.value;return r})(this.attributes),customElement:!0},jo),s=$o,a=x,l={endpoint:20,lang:21,env:22,userroles:23,translationurl:24,clientstyling:25,clientstylingurl:26,modalpromotion:27},c=null,h=[-1,-1],u=W;C(i);let o=i.$$={fragment:null,ctx:[],props:l,update:f,not_equal:a,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:H(),dirty:h,skip_bound:!1,root:t.target||u.$$.root},n=(c&&c(o.root),!1);if(o.ctx=r?r(i,t.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return o.ctx&&a(o.ctx[e],o.ctx[e]=r)&&(!o.skip_bound&&o.bound[e]&&o.bound[e](r),n)&&(r=e,-1===(e=i).$$.dirty[0]&&(d.push(e),J(),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],o.update(),n=!0,R(o.before_update),o.fragment=!!s&&s(o.ctx),t.target){if(t.hydrate){l=t.target;let e=Array.from(l.childNodes);o.fragment&&o.fragment.l(e),e.forEach(F)}else o.fragment&&o.fragment.c();t.intro&&(h=i.$$.fragment)&&h.i&&(te.delete(h),h.i(void 0));var p=i,c=t.customElement,{fragment:r,after_update:s}=p.$$;r&&r.m(t.target,t.anchor),c||Q(()=>{var e=p.$$.on_mount.map(A).filter(E);p.$$.on_destroy?p.$$.on_destroy.push(...e):R(e),p.$$.on_mount=[]}),s.forEach(Q),m()}C(u)}e&&(e.target&&D(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","env","userroles","translationurl","clientstyling","clientstylingurl","modalpromotion"]}get endpoint(){return this.$$.ctx[20]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),m()}get env(){return this.$$.ctx[22]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[23]}set userroles(e){this.$$set({userroles:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get modalpromotion(){return this.$$.ctx[27]}set modalpromotion(e){this.$$set({modalpromotion:e}),m()}}return customElements.get("casino-promotions-nd")||customElements.define("casino-promotions-nd",zo),zo});
|
|
1
|
+
((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(){function f(){}function A(e){return e()}function H(){return Object.create(null)}function R(e){e.forEach(A)}function _(e){return"function"==typeof e}function x(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let S,K,W;function U(e,t){return(S=S||document.createElement("a")).href=t,e===S.href}function Y(e,...t){if(null==e)return f;let r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function k(e,t){e.appendChild(t)}function D(e,t,r){e.insertBefore(t,r||null)}function F(e){e.parentNode&&e.parentNode.removeChild(e)}function q(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function G(e){return document.createElement(e)}function t(e){return document.createTextNode(e)}function $(){return t(" ")}function P(){return t("")}function j(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function z(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function L(e,t){e.data!==(t=""+t)&&(e.data=t)}function O(e,t,r){e.classList[r?"add":"remove"](t)}function C(e){W=e}let d=[],V=[],n=[],N=[],Z=Promise.resolve(),I=!1;function J(){I||(I=!0,Z.then(m))}function Q(e){n.push(e)}let M=new Set,ee=0;function m(){if(0===ee){let e=W;do{try{for(;ee<d.length;){let e=d[ee];ee++,C(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),R(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Q))}}catch(e){throw d.length=0,ee=0,e}for(C(null),d.length=0,ee=0;V.length;)V.pop()();for(let e=0;e<n.length;e+=1){var o=n[e];M.has(o)||(M.add(o),o())}}while(n.length=0,d.length);for(;N.length;)N.pop()();I=!1,M.clear(),C(e)}}let te=new Set;let re,oe=("function"==typeof HTMLElement&&(re=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(A).filter(_);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){R(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var o=e.after_update;let t=[],r=[];n.forEach(e=>(-1===o.indexOf(e)?t:r).push(e)),r.forEach(e=>e()),n=t}R(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=f}$on(e,t){if(!_(t))return f;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}),[]);function ne(o,n=f){let i,s=new Set;function a(e){if(x(o,e)&&(o=e,i)){let e=!oe.length;for(let e of s)e[1](),oe.push(e,o);if(e){for(let e=0;e<oe.length;e+=2)oe[e][0](oe[e+1]);oe.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=f){let r=[e,t];return s.add(r),1===s.size&&(i=n(a)||f),e(o),()=>{s.delete(r),0===s.size&&i&&(i(),i=null)}}}}function ie(e,a,t){let l=!Array.isArray(e),c=l?[e]:e,h=a.length<2;return{subscribe:ne(t,t=>{let r=!1,o=[],n=0,i=f,s=()=>{var e;n||(i(),e=a(l?o[0]:o,t),h?t(e):i=_(e)?e:f)},e=c.map((e,t)=>Y(e,e=>{o[t]=e,n&=~(1<<t),r&&s()},()=>{n|=1<<t}));return r=!0,s(),function(){R(e),i(),r=!1}}).subscribe}}function se(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===ae);var t}var ae="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function le(e,t){return!1!==t.clone&&t.isMergeableObject(e)?fe(Array.isArray(e)?[]:{},e,t):e}function ce(e,t,r){return e.concat(t).map(function(e){return le(e,r)})}function he(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function ue(e,t){try{return t in e}catch(e){return!1}}function pe(o,n,i){var s={};return i.isMergeableObject(o)&&he(o).forEach(function(e){s[e]=le(o[e],i)}),he(n).forEach(function(e){var t,r;(!ue(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ue(o,e)&&i.isMergeableObject(n[e])?s[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:fe)(o[e],n[e],i):s[e]=le(n[e],i))}),s}function fe(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||ce,r.isMergeableObject=r.isMergeableObject||se,r.cloneUnlessOtherwiseSpecified=le;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):pe(e,t,r):le(t,r)}fe.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return fe(e,t,r)},{});throw new Error("first argument should be an array")};var de=fe,me=function(e,t){return(me=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var b,g,ge,y=function(){return(y=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function ye(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function ve(e){return e.type===g.literal}function _e(e){return e.type===g.number}function Ee(e){return e.type===g.date}function we(e){return e.type===g.time}function Te(e){return e.type===g.select}function Be(e){return e.type===g.plural}function Ae(e){return e.type===g.tag}function He(e){return e&&"object"==typeof e&&e.type===ge.number}function xe(e){return e&&"object"==typeof e&&e.type===ge.dateTime}(e=b=b||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=g=g||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=ge=ge||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Se=/(?:[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;var Pe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oe=/^(@+)?(\+|#+)?[rs]?$/g,Ce=/(\*)(0+)|(#+)(0+)|(0+)/g,Ne=/^(0+)$/;function Ie(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Oe,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function Me(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Re(e){return Me(e)||{}}function Ue(e){for(var s={},t=0,r=e;t<r.length;t++){var o,n=r[t];switch(n.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=n.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=y(y(y({},s),{notation:"scientific"}),n.options.reduce(function(e,t){return y(y({},e),Re(t))},{}));continue;case"engineering":s=y(y(y({},s),{notation:"engineering"}),n.options.reduce(function(e,t){return y(y({},e),Re(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Ce,function(e,t,r,o,n,i){if(t)s.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ne.test(n.stem))s.minimumIntegerDigits=n.stem.length;else if(Le.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Le,function(e,t,r,o,n,i){return"*"===r?s.minimumFractionDigits=t.length:o&&"#"===o[0]?s.maximumFractionDigits=o.length:n&&i?(s.minimumFractionDigits=n.length,s.maximumFractionDigits=n.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var i=n.options[0];"w"===i?s=y(y({},s),{trailingZeroDisplay:"stripIfInteger"}):i&&(s=y(y({},s),Ie(i)))}else Oe.test(n.stem)?s=y(y({},s),Ie(n.stem)):((i=Me(n.stem))&&(s=y(y({},s),i)),(o=(e=>{var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ne.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(n.stem))&&(s=y(y({},s),o)))}return s}var ke={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var De=new RegExp("^".concat(e.source,"*")),Fe=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,$e=!!Object.fromEntries,je=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,Xe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ke=!0;try{Ke="a"===(null==(dt=rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:dt[0])}catch(f){Ke=!1}var We,Ye,qe=e?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ze=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",n=e.length,i=0;i<n;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},Je=$e?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var n=o[r];t[n[0]]=n[1]}return t},Qe=je?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},et=ze?function(e){return e.trimStart()}:function(e){return e.replace(De,"")},tt=Ve?function(e){return e.trimEnd()}:function(e){return e.replace(Fe,"")};function rt(e,t){return new RegExp(e,t)}Ye=Ke?(We=rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return We.lastIndex=t,null!=(t=We.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=Qe(e,t);if(void 0===n||it(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;o.push(n),t+=65536<=n?2:1}return Ze.apply(void 0,o)};r.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,i=this.char();if(123===i){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(b.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&nt(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}else{i=this.clonePosition();this.bump(),o.push({type:g.pound,location:v(i,this.clonePosition())})}}}return{val:o,err:null}},r.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:g.literal,value:"<".concat(n,"/>"),location:v(o,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!nt(this.char())?this.error(b.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(b.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:n,children:t,location:v(o,this.clonePosition())},err:null}:this.error(b.INVALID_TAG,v(e,this.clonePosition())))):this.error(b.UNCLOSED_TAG,v(o,this.clonePosition()))):this.error(b.INVALID_TAG,v(o,this.clonePosition()))},r.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},r.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=v(r,this.clonePosition());return{val:{type:g.literal,value:o,location:r},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(nt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},r.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ze.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Ze(r))},r.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(b.EMPTY_ARGUMENT,v(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(b.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:o,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(b.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ye(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},r.prototype.parseArgumentOptions=function(e,t,r,o){var n,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(b.EXPECT_ARGUMENT_TYPE,v(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(p=tt(u.val)).length)return this.error(b.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(o)).err?c:(f=v(o,this.clonePosition()),l&&qe(null==l?void 0:l.style,"::",0)?(d=et(l.style.slice(2)),"number"===s?(u=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?u:{val:{type:g.number,value:r,location:f,style:u.val},err:null}:0===d.length?this.error(b.EXPECT_DATE_TIME_SKELETON,f):(h=d,this.locale&&(h=((e,t)=>{for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var i=0;o+1<e.length&&e.charAt(o+1)===n;)i++,o++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=(e=>{var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(ke[t||""]||ke[r||""]||ke["".concat(r,"-001")]||ke["001"])[0]})(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<s--;)r=l+r}else r+="J"===n?"H":n}return r})(d,this.locale)),p={type:ge.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},h.replace(Se,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}},{val:{type:"date"===s?g.date:g.time,value:r,location:f,style:p},err:null})):{val:{type:"number"===s?g.number:"date"===s?g.date:g.time,value:r,location:f,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,y({},h)));this.bumpSpace();var u,p=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),p=this.parseIdentifierIfPossible(),f=u.val}var d,l=this.tryParsePluralOrSelectOptions(e,s,t,p);return l.err?l:(c=this.tryParseArgumentClose(o)).err?c:(d=v(o,this.clonePosition()),"select"===s?{val:{type:g.select,value:r,options:Je(l.val),location:d},err:null}:{val:{type:g.plural,value:r,options:Je(l.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:d},err:null});default:return this.error(b.INVALID_ARGUMENT_TYPE,v(i,a))}},r.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,o=e.split(Pe).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],n=n.slice(1),s=0,a=n;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:n})}return t})(e)}catch(e){return this.error(b.INVALID_NUMBER_SKELETON,t)}return{val:{type:ge.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ue(r):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,i=[],s=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR,b.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=v(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?b.DUPLICATE_SELECT_ARGUMENT_SELECTOR:b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var u=this.tryParseArgumentClose(h);if(u.err)return u;i.push([a,{value:c.val,location:v(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?b.EXPECT_SELECT_ARGUMENT_SELECTOR:b.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(b.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}o=v(o,this.clonePosition());return n?Xe(i*=r)?{val:i,err:null}:this.error(t,o):this.error(e,o)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},r.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},r.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},r.prototype.bumpIf=function(e){if(qe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&it(this.char());)this.bump()},r.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var ot=r;function r(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}function nt(e){return 97<=e&&e<=122||65<=e&&e<=90}function it(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function st(e,t){t=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new ot(e,t).parse();if(e.err)throw(r=SyntaxError(b[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Te(e)||Be(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else _e(e)&&He(e.style)||(Ee(e)||we(e))&&xe(e.style)?delete e.style.location:Ae(e)&&r(e.children)})}(e.val),e.val}function at(e,t){var r=t&&t.cache?t.cache:mt,o=t&&t.serializer?t.serializer:ut;return(t&&t.strategy?t.strategy:function(e,t){return ht(e,this,1===e.length?lt:ct,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function lt(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),n=t.get(r);return void 0===n&&(n=e.call(this,o),t.set(r,n)),n}function ct(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),n=t.get(r);return void 0===n&&(n=e.apply(this,o),t.set(r,n)),n}function ht(e,t,r,o,n){return r.bind(t,e,o,n)}var ut=function(){return JSON.stringify(arguments)};function pt(){this.cache=Object.create(null)}pt.prototype.get=function(e){return this.cache[e]},pt.prototype.set=function(e,t){this.cache[e]=t};var ft,dt,mt={create:function(){return new pt}},bt={variadic:function(e,t){return ht(e,this,ct,t.cache.create(),t.serializer)},monadic:function(e,t){return ht(e,this,lt,t.cache.create(),t.serializer)}};(dt=ft=ft||{}).MISSING_VALUE="MISSING_VALUE",dt.INVALID_VALUE="INVALID_VALUE",dt.MISSING_INTL_API="MISSING_INTL_API";be(St,_t=Error),St.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var E,gt,yt,vt,_t,Et=St,wt=(be(xt,vt=Et),xt),Tt=(be(Ht,yt=Et),Ht),Bt=(be(At,gt=Et),At);function At(e,t){return gt.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ft.MISSING_VALUE,t)||this}function Ht(e,t,r){return yt.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ft.INVALID_VALUE,r)||this}function xt(e,t,r,o){return vt.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ft.INVALID_VALUE,o)||this}function St(e,t,r){e=_t.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Pt(e,t,r,o,n,i,s){if(1===e.length&&ve(e[0]))return[{type:E.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var h=c[l];if(ve(h))a.push({type:E.literal,value:h.value});else if(h.type===g.pound)"number"==typeof i&&a.push({type:E.literal,value:r.getNumberFormat(t).format(i)});else{var u=h.value;if(!(n&&u in n))throw new Bt(u,s);u=n[u];if(h.type===g.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),a.push({type:"string"==typeof u?E.literal:E.object,value:u});else if(Ee(h)){var p="string"==typeof h.style?o.date[h.style]:xe(h.style)?h.style.parsedOptions:void 0;a.push({type:E.literal,value:r.getDateTimeFormat(t,p).format(u)})}else if(we(h))p="string"==typeof h.style?o.time[h.style]:xe(h.style)?h.style.parsedOptions:o.time.medium,a.push({type:E.literal,value:r.getDateTimeFormat(t,p).format(u)});else if(_e(h))(p="string"==typeof h.style?o.number[h.style]:He(h.style)?h.style.parsedOptions:void 0)&&p.scale&&(u*=p.scale||1),a.push({type:E.literal,value:r.getNumberFormat(t,p).format(u)});else{if(Ae(h)){var f=h.children,d=h.value,m=n[d];if("function"!=typeof m)throw new Tt(d,"function",s);d=m(Pt(f,t,r,o,n,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?E.literal:E.object,value:e}}))}if(Te(h)){if(!(b=h.options[u]||h.options.other))throw new wt(h.value,u,Object.keys(h.options),s);a.push.apply(a,Pt(b.value,t,r,o,n))}else if(Be(h)){if(!(b=h.options["=".concat(u)])){if(!Intl.PluralRules)throw new Et('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var m=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0)),b=h.options[m]||h.options.other}if(!b)throw new wt(h.value,u,Object.keys(h.options),s);a.push.apply(a,Pt(b.value,t,r,o,n,u-(h.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===E.literal&&t.type===E.literal?r.value+=t.value:e.push(t),e},[])}function Lt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(e=E=E||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(a,"defaultLocale",{get:function(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),a.memoizedDefaultLocale},enumerable:!1,configurable:!0}),a.memoizedDefaultLocale=null,a.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},a.__parse=st,a.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"}}};var Ot=a;function a(e,t,r,o){var n,i,s=this;if(void 0===t&&(t=a.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===E.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Pt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=a.resolveLocale(t),"string"==typeof e){if(this.message=e,!a.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=a.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=a.formats,(i=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=i[t])?y(y(y({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=y(y({},r[t]),o[t]||{}),e},{})):r),e},y({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:at(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ye([void 0],t,!1)))},{cache:Lt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:bt.variadic}),getDateTimeFormat:at(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ye([void 0],t,!1)))},{cache:Lt(t.dateTime),strategy:bt.variadic}),getPluralRules:at(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ye([void 0],t,!1)))},{cache:Lt(t.pluralRules),strategy:bt.variadic})}}let i={},Ct=(e,t,r)=>r&&(t in i||(i[t]={}),e in i[t]||(i[t][e]=r),r),Nt=(t,r)=>{if(null!=r){if(r in i&&t in i[r])return i[r][t];var o=Qt(r);for(let e=0;e<o.length;e++){var n=((e,t)=>{if(!Rt(e))return null;e=(e=>It[e]||null)(e);var o=t;if(null!=o){if(o in e)return e[o];var n=o.split(".");let r=e;for(let t=0;t<n.length;t++)if("object"==typeof r){if(0<t){let e=n.slice(t,n.length).join(".");if(e in r){r=r[e];break}}r=r[n[t]]}else r=void 0;return r}})(o[e],t);if(n)return Ct(t,r,n)}}},It,Mt=ne({});function Rt(e){return e in It}function Ut(t,...r){delete i[t],Mt.update(e=>(e[t]=de.all([e[t]||{},...r]),e))}ie([Mt],([e])=>Object.keys(e)),Mt.subscribe(e=>It=e);let kt={};function Dt(e){return kt[e]}function Ft(e){return null!=e&&Qt(e).some(e=>null==(e=Dt(e))?void 0:e.size)}function Gt(o,e){return Promise.all(e.map(e=>{return t=o,r=e,kt[t].delete(r),0===kt[t].size&&delete kt[t],e().then(e=>e.default||e);var t,r})).then(e=>Ut(o,...e))}let $t={};let jt={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};let zt=ne(!1);var Vt=Object.defineProperty,Ge=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Yt=(e,t,r)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let qt,Zt=ne(null);function Jt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Qt(e,t=jt.fallbackLocale){e=Jt(e);return t?[...new Set([...e,...Jt(t)])]:e}function p(){return null!=qt?qt:void 0}Zt.subscribe(e=>{qt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let X=Ge(((e,t)=>{for(var r in t=t||{})Kt.call(t,r)&&Yt(e,r,t[r]);if(Xt)for(var r of Xt(t))Wt.call(t,r)&&Yt(e,r,t[r]);return e})({},Zt),$e({set:t=>{if(t&&(e=>{if(null!=e){var t=Qt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Rt(r))return r}}})(t)&&Ft(t)){var r=jt.loadingDelay;let e;return"undefined"!=typeof window&&null!=p()&&r?e=window.setTimeout(()=>zt.set(!0),r):zt.set(!0),function e(t){var r;return Ft(t)?(r=Qt(t).map(e=>{var t=Dt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),$t[t]=Promise.all(r.map(([e,t])=>Gt(e,t))).then(()=>{if(Ft(t))return e(t);delete $t[t]}),$t[t]):t in $t?$t[t]:Promise.resolve()}(t).then(()=>{Zt.set(t)}).finally(()=>{clearTimeout(e),zt.set(!1)})}return Zt.set(t)}}));var je=r=>{let o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},er=Object.defineProperty,tr=Object.getOwnPropertySymbols,rr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ir=(e,t)=>{for(var r in t=t||{})rr.call(t,r)&&nr(e,r,t[r]);if(tr)for(var r of tr(t))or.call(t,r)&&nr(e,r,t[r]);return e},sr=(e,t)=>{var r={};for(o in e)rr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&tr)for(var o of tr(e))t.indexOf(o)<0&&or.call(e,o)&&(r[o]=e[o]);return r};let ar=(e,t)=>{var r=jt.formats;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lr=je(e=>{var{locale:t,format:r}=e,e=sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ar("number",r)),new Intl.NumberFormat(t,e)}),cr=je(e=>{var{locale:t,format:r}=e,e=sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ar("date",r):0===Object.keys(e).length&&(e=ar("date","short")),new Intl.DateTimeFormat(t,e)}),hr=je(e=>{var{locale:t,format:r}=e,e=sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ar("time",r):0===Object.keys(e).length&&(e=ar("time","short")),new Intl.DateTimeFormat(t,e)}),ur=je((e,t=p())=>new Ot(e,t,jt.formats,{ignoreTag:jt.ignoreTag})),pr=ie([X,Mt],()=>(e,t={})=>{let r,o,n,i,s=t;"object"==typeof e&&(e=(s=e).id);var{values:a,locale:l=p(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Nt(e,l);if(h){if("string"!=typeof h)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}else h=null!=(i=null!=(n=null==(o=(r=jt).handleMissingMessage)?void 0:o.call(r,{locale:l,id:e,defaultValue:c}))?n:c)?i:e;if(!a)return h;let u=h;try{u=ur(h,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function fr(e,t){Ut(e,t)}ie([X],()=>(e,t)=>((e={})=>{var{locale:t=p()}=e,e=sr(e,["locale"]);return hr(ir({locale:t},e))})(t).format(e)),ie([X],()=>(e,t)=>((e={})=>{var{locale:t=p()}=e,e=sr(e,["locale"]);return cr(ir({locale:t},e))})(t).format(e)),ie([X],()=>(e,t)=>((e={})=>{var{locale:t=p()}=e,e=sr(e,["locale"]);return lr(ir({locale:t},e))})(t).format(e)),ie([X,Mt],()=>(e,t=p())=>Nt(e,t));var dr,mr,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},br="URLSearchParams"in l,gr="Symbol"in l&&"iterator"in Symbol,yr="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),vr="FormData"in l,_r="ArrayBuffer"in l;function Er(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function wr(e){return e="string"!=typeof e?String(e):e}function Tr(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return gr&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Br(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ar(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Hr(e){var t=new FileReader,r=Ar(t);return t.readAsArrayBuffer(e),r}function xr(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Sr(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:yr&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:vr&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:br&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_r&&yr&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=xr(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_r&&(ArrayBuffer.prototype.isPrototypeOf(e)||mr(e))?this._bodyArrayBuffer=xr(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):br&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},yr&&(this.blob=function(){var e=Br(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Br(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(yr)return this.blob().then(Hr);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=Br(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=Ar(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,r),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},vr&&(this.formData=function(){return this.text().then(Lr)}),this.json=function(){return this.text().then(JSON.parse)},this}_r&&(dr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],mr=ArrayBuffer.isView||function(e){return e&&-1<dr.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=Er(e),t=wr(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[Er(e)]},c.prototype.get=function(e){return e=Er(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(Er(e))},c.prototype.set=function(e,t){this.map[Er(e)]=wr(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Tr(r)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Tr(t)},c.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Tr(r)},gr&&(c.prototype[Symbol.iterator]=c.prototype.entries);var Pr=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(t=t||{}).body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Pr.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Lr(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},Sr.call(h.prototype),Sr.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Or=[301,302,303,307,308],Cr=(u.redirect=function(e,t){if(-1===Or.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},l.DOMException);try{new Cr}catch(f){(Cr=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Cr.prototype.constructor=Cr}function Nr(o,a){return new Promise(function(n,e){var i=new h(o,a);if(i.signal&&i.signal.aborted)return e(new Cr("Aborted","AbortError"));var r,s=new XMLHttpRequest;function t(){s.abort()}s.onload=function(){var e,o,t={statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",o=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(0===i.url.indexOf("file://")&&(s.status<200||599<s.status)?t.status=200:t.status=s.status,t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new u(r,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},s.onabort=function(){setTimeout(function(){e(new Cr("Aborted","AbortError"))},0)},s.open(i.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(yr?s.responseType="blob":_r&&(s.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof c||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(Er(e)),s.setRequestHeader(e,wr(a.headers[e]))}),i.headers.forEach(function(e,t){-1===r.indexOf(t)&&s.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",t)}),s.send(void 0===i._bodyInit?null:i._bodyInit)})}Nr.polyfill=!0,l.fetch||(l.fetch=Nr,l.Headers=c,l.Request=h,l.Response=u),self.fetch.bind(self);var Ir=function(e,t){return(Ir=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Mr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ir(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Rr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ur(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function kr(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function w(e){return"function"==typeof e}function Dr(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Fr=Dr(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Gr(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}o.prototype.unsubscribe=function(){var e,t,r,o,n;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Rr(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(w(i))try{i()}catch(e){n=e instanceof Fr?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Rr(i),c=l.next();!c.done;c=l.next()){var h=c.value;try{Vr(h)}catch(e){n=null!=n?n:[],e instanceof Fr?n=kr(kr([],Ur(n)),Ur(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new Fr(n)}},o.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Vr(e);else{if(e instanceof o){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},o.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},o.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},o.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Gr(t,e)},o.prototype.remove=function(e){var t=this._finalizers;t&&Gr(t,e),e instanceof o&&e._removeParent(this)},o.EMPTY=((ze=new o).closed=!0,ze);var $r=o,jr=$r.EMPTY;function o(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function zr(e){return e instanceof $r||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Vr(e){w(e)?e():e.unsubscribe()}var Xr=void 0,Kr=!1,Wr=!1,Yr={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=Yr.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,kr([e,t],Ur(r))):setTimeout.apply(void 0,kr([e,t],Ur(r)))},clearTimeout:function(e){var t=Yr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function qr(){}var Zr=null;function Jr(e){if(Kr){var t=!Zr;if(t&&(Zr={errorThrown:!1,error:null}),e(),t){var t=Zr,r=t.errorThrown;if(Zr=null,r)throw t.error}}else e()}Mr(s,Qr=$r),s.create=function(e,t,r){return new io(e,t,r)},s.prototype.next=function(e){this.isStopped||this._next(e)},s.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},s.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},s.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Qr.prototype.unsubscribe.call(this),this.destination=null)},s.prototype._next=function(e){this.destination.next(e)},s.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},s.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Qr,eo=s,to=Function.prototype.bind;function s(e){var t=Qr.call(this)||this;return t.isStopped=!1,e?zr(t.destination=e)&&e.add(t):t.destination=co,t}function ro(e,t){return to.call(e,t)}ao.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){lo(e)}},ao.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){lo(e)}else lo(e)},ao.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){lo(e)}};var oo,no=ao,io=(Mr(so,oo=eo),so);function so(e,t,r){var o=oo.call(this)||this,r=w(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Wr?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&ro(e.next,t),error:e.error&&ro(e.error,t),complete:e.complete&&ro(e.complete,t)}):e;return o.destination=new no(r),o}function ao(e){this.partialObserver=e}function lo(e){var t=e;Yr.setTimeout(function(){throw t})}var co={closed:!0,next:qr,error:function(e){throw e},complete:qr},Ve="function"==typeof Symbol&&Symbol.observable||"@@observable";T.prototype.lift=function(e){var t=new T;return t.source=this,t.operator=e,t},T.prototype.subscribe=function(e,t,r){var o,n=this,i=(o=e)&&o instanceof eo||o&&w(o.next)&&w(o.error)&&w(o.complete)&&zr(o)?e:new io(e,t,r);return Jr(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},T.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},T.prototype.forEach=function(o,e){var n=this;return new(e=uo(e))(function(e,t){var r=new io({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},T.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},T.prototype[Ve]=function(){return this},T.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},T.prototype.toPromise=function(e){var o=this;return new(e=uo(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},T.create=function(e){return new T(e)};var ho=T;function T(e){e&&(this._subscribe=e)}function uo(e){return null!=(e=null!=e?e:Xr)?e:Promise}var po,fo,mo,bo=Dr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ke=(Mr(B,mo=ho),B.prototype.lift=function(e){var t=new go(this,this);return t.operator=e,t},B.prototype._throwIfClosed=function(){if(this.closed)throw new bo},B.prototype.next=function(n){var i=this;Jr(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var r=Rr(i.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},B.prototype.error=function(t){var r=this;Jr(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},B.prototype.complete=function(){var t=this;Jr(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},B.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(B.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),B.prototype._trySubscribe=function(e){return this._throwIfClosed(),mo.prototype._trySubscribe.call(this,e)},B.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},B.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,n=this.observers;return r||o?jr:(this.currentObservers=null,n.push(e),new $r(function(){t.currentObservers=null,Gr(n,e)}))},B.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},B.prototype.asObservable=function(){var e=new ho;return e.source=this,e},B.create=function(e,t){return new go(e,t)},B),go=(Mr(Eo,fo=Ke),Eo.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Eo.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Eo.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Eo.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:jr},Eo),yo={now:function(){return(yo.delegate||Date).now()},delegate:void 0},vo=(Mr(_o,po=Ke),_o.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,n=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(o.push(e),n)||o.push(i.now()+t),this._trimBuffer(),po.prototype.next.call(this,e)},_o.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t},_o.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},_o);function _o(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=yo);var o=po.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function Eo(e,t){var r=fo.call(this)||this;return r.destination=e,r.source=t,r}function B(){var e=mo.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let wo=[],To={},Bo=(window.emWidgets={topic:(e,t=0)=>(-1==wo.indexOf(e)&&(t=new vo(t),To[e]=t,wo.push(e)),To[e])},{en:{promotionsTitle:"Promotions",promotionsButton:"More Info",promotionsNone:"There are no promotions available at the moment.",promotionsBack:"Back",promotionsTerms:"Terms and Conditions"},"zh-hk":{promotionsTitle:"促銷活動",promotionsButton:"更多信息",promotionsNone:"目前沒有促銷活動。",promotionsBack:"後退",promotionsTerms:"条款和条件。"},fr:{promotionsTitle:"Promotions",promotionsButton:"Plus d'informations",promotionsNone:"Il n'y a pas de promotions disponibles pour le moment.",promotionsBack:"Retour",promotionsTerms:"Conditions générales"},tr:{promotionsTitle:"Promosyonlar",promotionsButton:"Daha fazla bilgi",promotionsNone:"Şu anda herhangi bir promosyon bulunmamaktadır.",promotionsBack:"Geri",promotionsTerms:"Şartlar ve Koşullar"},ro:{promotionsTitle:"Promotii",promotionsButton:"Detalii",promotionsNone:"Nu avem promotii disponibile momentan.",promotionsBack:"Înapoi",promotionsTerms:"Termenele și Condițiile"},es:{promotionsTitle:"Promociones",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles en este momento.",promotionsBack:"Volver",promotionsTerms:"Términos y Condiciones"},pt:{promotionsTitle:"Promoções",promotionsButton:"Mais informações",promotionsNone:"Não há promoções disponíveis no momento.",promotionsBack:"Voltar",promotionsTerms:"Termos e Condições"},hr:{promotionsTitle:"Promocije",promotionsButton:"Više informacija",promotionsNone:"Trenutno nema dostupnih promocija.",promotionsBack:"Vratiti se",promotionsTerms:"Odredbe i Uvjeti"},"pt-br":{promotionsTitle:"Promoções",promotionsButton:"Mais informação",promotionsNone:"Não há promoções disponíveis no momento",promotionsBack:"Volte",promotionsTerms:"Termos e Condições"},"es-mx":{promotionsTitle:"Promociones",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles al momento",promotionsBack:"Regresar",promotionsTerms:"Términos y condiciones"}});function Ao(e,t,r){e=e.slice();return e[47]=t[r],e}function Ho(e,t,r){e=e.slice();return e[50]=t[r],e[52]=r,e}function xo(e,t,r){e=e.slice();return e[47]=t[r],e}function So(e,t,r){e=e.slice();return e[55]=t[r],e}function Po(e,t,r){e=e.slice();return e[47]=t[r],e}function Lo(r){let o,i,s,n,a,l,c,h,u,p,f,d,m,e,b,g,y,v,_,E,w,T,B,A,H,x,S,P,L=!0!==r[6]&&Oo(r),O=r[10],C=[];for(let e=0;e<O.length;e+=1)C[e]=Ro(xo(r,O,e));let N=r[11],I=[];for(let e=0;e<N.length;e+=1)I[e]=Uo(Ho(r,N,e));let M=1==r[6]&&ko(r);return{c(){o=G("section"),i=G("div"),L&&L.c(),s=$(),n=G("div"),a=G("div"),l=$(),c=G("div"),(h=G("div")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',u=$(),p=G("div"),f=G("picture");for(let e=0;e<C.length;e+=1)C[e].c();d=$(),m=G("img"),b=$(),g=G("div"),y=G("div"),v=G("ul");for(let e=0;e<I.length;e+=1)I[e].c();_=$(),E=G("div"),w=G("h3"),T=$(),B=G("div"),A=$(),M&&M.c(),z(a,"class","modal__backdrop"),z(h,"class","modal__close"),U(m.src,e=r[9])||z(m,"src",e),z(m,"alt",r[7]),z(f,"class","modal__picture"),z(p,"class","modal__header"),z(v,"class","modal__tabs"),z(w,"class","modal__body_title"),z(B,"class","modal__tab_content"),z(E,"class","modal__tabContentWrapper"),z(y,"class","modal__body_content"),z(g,"class","modal__body"),z(c,"class","modal__content"),z(n,"class","promo__modal modal"),z(i,"class",H="promotions "+r[4]),Q(()=>r[32].call(i)),z(o,"class","promotion__section")},m(e,t){D(e,o,t),k(o,i),L&&L.m(i,null),k(i,s),k(i,n),k(n,a),k(n,l),k(n,c),k(c,h),k(c,u),k(c,p),k(p,f);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(f,null);k(f,d),k(f,m),k(c,b),k(c,g),k(g,y),k(y,v);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(v,null);k(y,_),k(y,E),k(E,w),w.innerHTML=r[7],k(E,T),k(E,B),B.innerHTML=r[8],r[29](y),k(i,A),M&&M.m(i,null),x=((e,t)=>{"static"===getComputedStyle(e).position&&(e.style.position="relative");let r=G("iframe"),o=(r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1,(()=>{if(void 0===K){K=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){K=!0}}return K})()),n;return o?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",n=j(window,"message",e=>{e.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{n=j(r.contentWindow,"resize",t),t()}),k(e,r),()=>{(o||n&&r.contentWindow)&&n(),F(r)}})(i,r[32].bind(i)),r[33](i),S||(P=[j(a,"click",r[18]),j(h,"click",r[18])],S=!0)},p(t,r){if(!0!==t[6]?L?L.p(t,r):((L=Oo(t)).c(),L.m(i,s)):L&&(L.d(1),L=null),1024&r[0]){let e;for(O=t[10],e=0;e<O.length;e+=1){var o=xo(t,O,e);C[e]?C[e].p(o,r):(C[e]=Ro(o),C[e].c(),C[e].m(f,d))}for(;e<C.length;e+=1)C[e].d(1);C.length=O.length}if(512&r[0]&&!U(m.src,e=t[9])&&z(m,"src",e),128&r[0]&&z(m,"alt",t[7]),526336&r[0]){let e;for(N=t[11],e=0;e<N.length;e+=1){var n=Ho(t,N,e);I[e]?I[e].p(n,r):(I[e]=Uo(n),I[e].c(),I[e].m(v,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=N.length}128&r[0]&&(w.innerHTML=t[7]),256&r[0]&&(B.innerHTML=t[8]),1==t[6]?M?M.p(t,r):((M=ko(t)).c(),M.m(i,null)):M&&(M.d(1),M=null),16&r[0]&&H!==(H="promotions "+t[4])&&z(i,"class",H)},d(e){e&&F(o),L&&L.d(),q(C,e),q(I,e),r[29](null),M&&M.d(),x(),r[33](null),S=!1,R(P)}}}function Oo(e){let r,o,n,i,s,a,l,c=e[16]("promotionsTitle")+"";function h(e){return 0<e[1].length?No:Co}let u=h(e),p=u(e);return{c(){r=G("div"),(o=G("div")).innerHTML='<div class="svg-background"></div> \n <div class="svg-content"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" version="1.1" xml:space="preserve"><circle class="circle" cx="50" cy="50" r="40" fill="none"></circle><g id="gift_box-box_-heart-love-valentine"><path d="M408,160h-64c15.55-0.021,28.483-12.719,28.504-28.269c0.021-15.55-12.568-28.139-28.118-28.118 c0.023-17.486-15.9-31.228-34.048-27.504C297.124,78.82,288,91.085,288,104.575v5.667c-4.256-3.838-9.831-6.242-16-6.242h-32 c-6.169,0-11.744,2.404-16,6.242v-5.667c0-13.491-9.124-25.755-22.339-28.467c-18.148-3.724-34.071,10.018-34.048,27.504 c-15.549-0.021-28.138,12.568-28.118,28.118C139.517,147.281,152.45,159.979,168,160h-64c-17.673,0-32,14.327-32,32v8 c0,17.673,14.327,32,32,32h96v16H96v161.28c0,16.966,13.754,30.72,30.72,30.72H200c8.837,0,16-7.163,16-16V168h80v256 c0,8.837,7.163,16,16,16h73.28c16.966,0,30.72-13.754,30.72-30.72V248H312v-16h96c17.673,0,32-14.327,32-32v-8 C440,174.327,425.673,160,408,160z M232,152v-24c0-4.41,3.586-8,8-8h32c4.414,0,8,3.59,8,8v24H232z"></path></g><g id="Layer_1"></g></svg></div>',n=$(),i=G("h1"),s=t(c),a=$(),p.c(),l=P(),z(o,"class","svg-container"),z(i,"class","promotions__title"),z(r,"class","promotion__header")},m(e,t){D(e,r,t),k(r,o),k(r,n),k(r,i),k(i,s),D(e,a,t),p.m(e,t),D(e,l,t)},p(e,t){65536&t[0]&&c!==(c=e[16]("promotionsTitle")+"")&&L(s,c),u===(u=h(e))&&p?p.p(e,t):(p.d(1),(p=u(e))&&(p.c(),p.m(l.parentNode,l)))},d(e){e&&F(r),e&&F(a),p.d(e),e&&F(l)}}}function Co(e){let r,o,n=e[16]("promotionsNone")+"";return{c(){r=G("p"),o=t(n),z(r,"class","promotions__none")},m(e,t){D(e,r,t),k(r,o)},p(e,t){65536&t[0]&&n!==(n=e[16]("promotionsNone")+"")&&L(o,n)},d(e){e&&F(r)}}}function No(t){let n,i=t[1],s=[];for(let e=0;e<i.length;e+=1)s[e]=Mo(So(t,i,e));return{c(){n=G("div");for(let e=0;e<s.length;e+=1)s[e].c();z(n,"class","promotions__grid")},m(e,t){D(e,n,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(n,null)},p(t,r){if(131074&r[0]){let e;for(i=t[1],e=0;e<i.length;e+=1){var o=So(t,i,e);s[e]?s[e].p(o,r):(s[e]=Mo(o),s[e].c(),s[e].m(n,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){e&&F(n),q(s,e)}}}function Io(e){let r,o,n;return{c(){z(r=G("source"),"srcset",o=e[47].pictureSource),z(r,"media",n="("+e[47].media+")")},m(e,t){D(e,r,t)},p(e,t){2&t[0]&&o!==(o=e[47].pictureSource)&&z(r,"srcset",o),2&t[0]&&n!==(n="("+e[47].media+")")&&z(r,"media",n)},d(e){e&&F(r)}}}function Mo(o){let r,n,i,s,a,l,c,h,u,p,f,d,m,b,g=o[55].title+"",y=o[55].image.sources,v=[];for(let e=0;e<y.length;e+=1)v[e]=Io(Po(o,y,e));return{c(){r=G("div"),(n=G("div")).innerHTML='<button><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" viewBox="0 0 302.967 302.967" xml:space="preserve"><path d="M151.483,302.967C67.956,302.967,0,235.017,0,151.483S67.956,0,151.483,0 s151.483,67.956,151.483,151.483S235.017,302.967,151.483,302.967z M151.483,24.416c-70.066,0-127.067,57.001-127.067,127.067 s57.001,127.067,127.067,127.067s127.067-57.001,127.067-127.067S221.555,24.416,151.483,24.416z"></path><path d="M116.586,118.12c1.795-4.607,4.297-8.588,7.511-11.961c3.225-3.389,7.114-6.016,11.667-7.898 c4.547-1.904,9.633-2.845,15.262-2.845c7.261,0,13.32,0.995,18.183,2.997c4.857,1.996,8.768,4.482,11.738,7.441 c2.964,2.97,5.091,6.168,6.369,9.584c1.273,3.432,1.915,6.636,1.915,9.595c0,4.901-0.642,8.947-1.915,12.118 c-1.278,3.171-2.866,5.88-4.759,8.131c-1.898,2.252-3.987,4.172-6.293,5.755c-2.295,1.588-4.471,3.171-6.516,4.759 c-2.045,1.583-3.862,3.394-5.445,5.439c-1.588,2.04-2.589,4.601-2.991,7.664v5.831H140.6v-6.908 c0.305-4.395,1.153-8.072,2.529-11.036c1.382-2.964,2.991-5.499,4.83-7.598c1.844-2.089,3.786-3.911,5.836-5.445 c2.04-1.539,3.927-3.073,5.673-4.591c1.73-1.545,3.144-3.225,4.221-5.069c1.071-1.833,1.556-4.15,1.452-6.908 c0-4.705-1.148-8.18-3.454-10.427c-2.295-2.257-5.493-3.378-9.589-3.378c-2.758,0-5.134,0.533-7.131,1.605 s-3.628,2.513-4.911,4.302c-1.278,1.795-2.225,3.894-2.834,6.288c-0.615,2.415-0.919,4.982-0.919,7.756h-22.55 C113.85,127.785,114.791,122.732,116.586,118.12z M162.536,183.938v23.616h-24.09v-23.616H162.536z"></path></svg></button>',i=$(),s=G("picture");for(let e=0;e<v.length;e+=1)v[e].c();a=$(),l=G("img"),u=$(),p=G("div"),f=G("h2"),d=$(),z(n,"class","promo__info"),U(l.src,c=o[55].image.src)||z(l,"src",c),z(l,"alt",h=o[55].title),z(s,"class","promo__picture"),z(f,"class","promo__title"),z(p,"class","promo__details"),z(r,"class","promo")},m(e,t){D(e,r,t),k(r,n),k(r,i),k(r,s);for(let e=0;e<v.length;e+=1)v[e]&&v[e].m(s,null);k(s,a),k(s,l),k(r,u),k(r,p),k(p,f),f.innerHTML=g,k(r,d),m||(b=j(r,"click",function(){_(o[17](o[55]))&&o[17](o[55]).apply(this,arguments)}),m=!0)},p(e,t){if(o=e,2&t[0]){let e;for(y=o[55].image.sources,e=0;e<y.length;e+=1){var r=Po(o,y,e);v[e]?v[e].p(r,t):(v[e]=Io(r),v[e].c(),v[e].m(s,a))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}2&t[0]&&!U(l.src,c=o[55].image.src)&&z(l,"src",c),2&t[0]&&h!==(h=o[55].title)&&z(l,"alt",h),2&t[0]&&g!==(g=o[55].title+"")&&(f.innerHTML=g)},d(e){e&&F(r),q(v,e),m=!1,b()}}}function Ro(e){let r,o,n;return{c(){z(r=G("source"),"srcset",o=e[47].pictureSource),z(r,"media",n="("+e[47].media+")")},m(e,t){D(e,r,t)},p(e,t){1024&t[0]&&o!==(o=e[47].pictureSource)&&z(r,"srcset",o),1024&t[0]&&n!==(n="("+e[47].media+")")&&z(r,"media",n)},d(e){e&&F(r)}}}function Uo(r){let o,n,i,s,a=r[50].tabDesc+"";return{c(){o=G("li"),n=t(a),z(o,"class","modal__tab"),z(o,"id","tab-"+r[52])},m(e,t){D(e,o,t),k(o,n),i||(s=j(o,"click",function(){_(r[19](r[50],r[52]))&&r[19](r[50],r[52]).apply(this,arguments)}),i=!0)},p(e,t){r=e,2048&t[0]&&a!==(a=r[50].tabDesc+"")&&L(n,a)},d(e){e&&F(o),i=!1,s()}}}function ko(r){let o,n,i,s,a,l,c,h,u,p,f,d,e,m,b,g,y,v,_,E=r[16]("promotionsBack")+"",w=r[10],T=[];for(let e=0;e<w.length;e+=1)T[e]=Do(Ao(r,w,e));let B=0<r[11].length&&Fo(r);return{c(){o=G("div"),n=G("div"),i=G("h1"),s=t("< "),a=t(E),l=$(),c=G("div"),h=G("h1"),u=$(),p=G("picture");for(let e=0;e<T.length;e+=1)T[e].c();f=$(),d=G("img"),m=$(),b=G("div"),g=G("div"),y=G("ul"),B&&B.c(),z(n,"class","page__close"),z(h,"class","page__body_title"),U(d.src,e=r[9])||z(d,"src",e),z(d,"alt",r[7]),z(p,"class","page__picture"),z(c,"class","page__header"),z(y,"class","page__tabs"),z(g,"class","page__body_content"),z(b,"class","page__body"),z(o,"class","promo__page page page--open")},m(e,t){D(e,o,t),k(o,n),k(n,i),k(i,s),k(i,a),k(o,l),k(o,c),k(c,h),h.innerHTML=r[7],k(c,u),k(c,p);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(p,null);k(p,f),k(p,d),k(o,m),k(o,b),k(b,g),k(g,y),B&&B.m(y,null),r[31](g),v||(_=j(n,"click",r[18]),v=!0)},p(t,r){if(65536&r[0]&&E!==(E=t[16]("promotionsBack")+"")&&L(a,E),128&r[0]&&(h.innerHTML=t[7]),1024&r[0]){let e;for(w=t[10],e=0;e<w.length;e+=1){var o=Ao(t,w,e);T[e]?T[e].p(o,r):(T[e]=Do(o),T[e].c(),T[e].m(p,f))}for(;e<T.length;e+=1)T[e].d(1);T.length=w.length}512&r[0]&&!U(d.src,e=t[9])&&z(d,"src",e),128&r[0]&&z(d,"alt",t[7]),0<t[11].length?B?B.p(t,r):((B=Fo(t)).c(),B.m(y,null)):B&&(B.d(1),B=null)},d(e){e&&F(o),q(T,e),B&&B.d(),r[31](null),v=!1,_()}}}function Do(e){let r,o,n;return{c(){z(r=G("source"),"srcset",o=e[47].pictureSource),z(r,"media",n="("+e[47].media+")")},m(e,t){D(e,r,t)},p(e,t){1024&t[0]&&o!==(o=e[47].pictureSource)&&z(r,"srcset",o),1024&t[0]&&n!==(n="("+e[47].media+")")&&z(r,"media",n)},d(e){e&&F(r)}}}function Fo(e){let r,o,n,i,s=e[11][0].tabContent+"",a=e[11][1]&&Go(e);return{c(){r=G("div"),o=G("div"),n=$(),a&&a.c(),i=P(),z(o,"class","page__tab_content"),z(r,"class","page__tabContentWrapper")},m(e,t){D(e,r,t),k(r,o),o.innerHTML=s,D(e,n,t),a&&a.m(e,t),D(e,i,t)},p(e,t){2048&t[0]&&s!==(s=e[11][0].tabContent+"")&&(o.innerHTML=s),e[11][1]?a?a.p(e,t):((a=Go(e)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){e&&F(r),e&&F(n),a&&a.d(e),e&&F(i)}}}function Go(r){let o,n,i,s,a,l,c,h,u,p,f,d=r[16]("promotionsTerms")+"",m=r[11][1].tabContent+"";return{c(){o=G("div"),n=G("h4"),i=t(d),s=$(),(a=G("p")).textContent="∇",l=$(),c=G("div"),h=G("div"),O(a,"active",r[15]),z(o,"class","page__tab"),z(o,"id","tab-1"),z(h,"class","page__tab_content"),z(h,"part","page__tab_content"),z(c,"class",u="page__tabContentWrapper "+(r[12]?"":"hidden"))},m(e,t){D(e,o,t),k(o,n),k(n,i),k(o,s),k(o,a),D(e,l,t),D(e,c,t),k(c,h),h.innerHTML=m,p||(f=j(o,"click",r[30]),p=!0)},p(e,t){65536&t[0]&&d!==(d=e[16]("promotionsTerms")+"")&&L(i,d),32768&t[0]&&O(a,"active",e[15]),2048&t[0]&&m!==(m=e[11][1].tabContent+"")&&(h.innerHTML=m),4096&t[0]&&u!==(u="page__tabContentWrapper "+(e[12]?"":"hidden"))&&z(c,"class",u)},d(e){e&&F(o),e&&F(l),e&&F(c),p=!1,f()}}}function $o(r){let o,n=!0!==r[3]&&Lo(r);return{c(){o=G("div"),n&&n.c(),this.c=f,z(o,"class","promotion__wrapper")},m(e,t){D(e,o,t),n&&n.m(o,null),r[34](o)},p(e,t){!0!==e[3]?n?n.p(e,t):((n=Lo(e)).c(),n.m(o,null)):n&&(n.d(1),n=null)},i:f,o:f,d(e){e&&F(o),n&&n.d(),r[34](null)}}}function jo(r,e,o){let t,n;n=pr,r.$$.on_destroy.push(Y(n,e=>o(16,t=e)));let i,s,a,l,c,h,u,p,{endpoint:f=""}=e,{lang:d=""}=e,{env:m=""}=e,{userroles:b=""}=e,{translationurl:g=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{modalpromotion:_=""}=e,E=!1,w=[],T="",R=window.navigator.userAgent,B=!1,A="",H="",x={},S=[],P=[],L=!1;var O,C;({withLocale:O,translations:C}={withLocale:"en",translations:{}}),X.subscribe(e=>{null==e&&(Mt.set(C),X.set(O))}),Object.keys(Bo).forEach(e=>{fr(e,Bo[e])});let N=e=>{e.data&&"promotionPath"===e.data.type&&(o(28,T=e.data.id),null==T)&&o(6,B=!1)},I=async e=>{"true"==_?(o(7,A=e.title),o(8,H=e.content),o(9,x=e.image.src),o(10,S=e.image.sources),o(11,P=[{order:"0",tabContent:H,tabDesc:"Description"},...e.tabs]),c=l.querySelector(".modal"),window.document.querySelector("body"),c.classList.add("modal--open"),window.postMessage({type:"DisableScroll"},window.location.href),J(),await Z,M(P[0],0)):(o(6,B=!0),o(7,A=e.title),o(8,H=e.content),o(9,x=e.image.src),o(10,S=e.image.sources),o(11,P=[{order:"0",tabContent:H,tabDesc:"Description"},...e.tabs]),window.postMessage({type:"handlePromotionPage",pageHandler:"open",dataPromotion:e},window.location.href)),"function"==typeof gtag&>ag("event","MoreInfo",{context:"PromotionsWidget"})},M=(e,t)=>{h.querySelector(".modal__tab_content").innerHTML=e.tabContent;var r=h.querySelectorAll(".modal__tab");for(let e=0;e<r.length;e++)r[e].classList.remove("modal__tab--active");h.querySelector("#tab-"+t).classList.add("modal__tab--active")},U={sm:640,md:768,lg:1024,xl:1280,xxl:1536};return e=()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}),(()=>{if(W)return W;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e),r.$$set=e=>{"endpoint"in e&&o(20,f=e.endpoint),"lang"in e&&o(21,d=e.lang),"env"in e&&o(22,m=e.env),"userroles"in e&&o(23,b=e.userroles),"translationurl"in e&&o(24,g=e.translationurl),"clientstyling"in e&&o(25,y=e.clientstyling),"clientstylingurl"in e&&o(26,v=e.clientstylingurl),"modalpromotion"in e&&o(27,_=e.modalpromotion)},r.$$.update=()=>{if(4&r.$$.dirty[0]&&o(4,a=Object.entries(U).reduce((e,[t,r])=>[...e,s>=r?t:""],[]).join(" ")),2097152&r.$$.dirty[0]&&d&&(t=d,X.set(t)),16777216&r.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{fr(e,t[e])})}).catch(e=>{console.log(e)}),268435458&r.$$.dirty[0]&&T&&w&&I(w.find(e=>e.slug==T)),15728640&r.$$.dirty[0]&&f&&d&&m&&b&&(o(3,E=!0),(t=new URL(`${f}/${d}/promotions?env=`+m)).searchParams.append("userRoles",b),(e=(e=R).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")&&("PC"==e?t.searchParams.append("device","dk"):t.searchParams.append("device","mtWeb")),fetch(t.href).then(e=>e.json()).then(e=>{o(3,E=!1),o(1,w=e)}).catch(e=>{o(3,E=!1),console.error(e)})),33554433&r.$$.dirty[0]&&y&&i&&((e=document.createElement("style")).innerHTML=y,i.appendChild(e)),67108865&r.$$.dirty[0]&&v&&i){let t=document.createElement("style");fetch(new URL(v)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[i,w,s,E,a,l,B,A,H,x,S,P,L,h,void 0,p,t,I,()=>{"true"==_?(c=l.querySelector(".modal"),window.document.querySelector("body"),c.classList.remove("modal--open"),window.postMessage({type:"EnableScroll"},window.location.href)):(o(6,B=!1),window.postMessage({type:"handlePromotionPage",pageHandler:"back"},window.location.href))},M,f,d,m,b,g,y,v,_,T,function(e){V[e?"unshift":"push"](()=>{h=e,o(13,h)})},()=>{o(12,L=!L),o(15,p=!p)},function(e){V[e?"unshift":"push"](()=>{u=e,o(14,u)})},function(){s=this.clientWidth,o(2,s)},function(e){V[e?"unshift":"push"](()=>{l=e,o(5,l)})},function(e){V[e?"unshift":"push"](()=>{i=e,o(0,i)})}]}class zo extends re{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis>*{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__wrapper{min-height:100vh;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__section{min-height:100vh;width:100%;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__header{display:flex;align-items:center;justify-content:flex-start;gap:20px}.promotion__header .svg-container{display:flex;position:relative;width:70px;height:70px;align-items:center;justify-content:center}.promotion__header .svg-container .svg-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:linear-gradient(to top, color-mix(in srgb, var(--emw--color-primary, #22B04E) 10%, var(--emw--color-black, black) 90%) 25%, color-mix(in srgb, var(--emw--color-primary, #22B04E) 40%, var(--emw--color-black, black) 60%) 40%, var(--emw--color-primary, #22B04E) 90% 70%, color-mix(in srgb, var(--emw--color-primary, #22B04E) 70%, var(--emw--color-white, white) 30%) 100%);border-radius:50%;z-index:1}.promotion__header .svg-container .svg-content{position:relative;z-index:2;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));padding:3px 4px;border-radius:50%}.promotion__header .svg-container .svg-content svg{width:50px;height:50px;fill:var(--emw--color-white, white)}.promotions{margin:0 auto;max-width:1300px;padding:24px 0;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;gap:20px}@media screen and (max-width: 1300px){.promotions{padding:24px 2.4%}}.promotions__title{font-size:22px;font-weight:normal;margin-bottom:18px;color:var(--emw--color-contrast)}.promotions__grid{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promotions__none{padding:50px 0;text-align:center;font-size:30px}.promo{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border-radius:10px;overflow:hidden;transition:all 150ms ease}.promo:hover{border:1px solid var(--emw--color-white, #FFFFFF)}.promo__info{z-index:5;position:absolute;top:10px;right:10px}.promo__info button{background:unset;border:0;cursor:pointer}.promo__info svg{height:24px;width:24px;fill:var(--emw--color-white, white)}.promo__picture{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture img{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(7, 7, 42, 0) 40%)}.promo__details{padding:0 10px 0px 17px;z-index:5}.promo__title{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content{margin-bottom:15px;font-size:14px}.promo__button{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button:hover{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page{display:none;margin:0 auto;width:80%;margin-bottom:40px}.page__body_title{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page--open{max-width:1000px;flex-direction:column;display:flex;position:relative;justify-content:center}.page__header{align-items:stretch;text-decoration:underline;text-align:center}.page__header img{width:90%;margin:2%;border-radius:5px;box-shadow:rgba(220, 220, 220, 0.414) 0px 8px 24px}.page__tab{padding:0px 30px;background-color:grey;border-radius:5px;cursor:pointer;margin:35px 0px;display:flex;justify-content:space-between;align-items:center;transition:all 150ms ease}.page__tab .active{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.5s linear;-webkit-transition:all 0.5s linear;transition:all 0.5s linear}.page__tab p{font-size:20px;outline:0}.page__tab p:focus{-webkit-transform:rotate(95deg);-ms-transform:rotate(95deg);transform:rotate(95deg)}.page__tab:hover{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page__tabContentWrapper.hidden{display:none}.page__close{height:40px;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-contrast, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%;width:max-content;font-size:75%}.page__close:hover{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open{display:flex;z-index:999}.modal__backdrop{position:absolute;background-color:rgba(0, 0, 0, 0.8);opacity:0.6;width:100%;height:100%;z-index:105}.modal__content{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--emw--color-gray-50, #F9F8F8);z-index:110;border-radius:5px}.md .modal__content{width:700px;height:70%}.modal__close{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-white, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%}.modal__close:hover{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.modal__picture img{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));border-top-left-radius:5px;border-top-right-radius:5px}.md .modal__picture img{height:300px}.modal__body{padding:16px 8px;color:var(--emw--color-black, #000000);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title{font-size:18px;margin-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal__body_content{font-size:14px;line-height:1.3}.modal__body_content *{margin-bottom:8px}.md .modal__body{height:calc(100vh - 300px);padding:22px 8%}.lg .modal__body{padding:30px 40px}.modal__tabs{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs::before{content:"";position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6);z-index:125}.modal__tab{background:none;border:none;padding:8px 0;color:var(--emw--color-gray-150, #828282);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active{position:relative;color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A));z-index:130}.modal__tab--active:before{content:"";left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A))}.modal__tab:hover{color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A))}',this.shadowRoot.appendChild(t);{var i=this,r=(t={target:this.shadowRoot,props:(e=>{var t,r={};for(t of e)r[t.name]=t.value;return r})(this.attributes),customElement:!0},jo),s=$o,a=x,l={endpoint:20,lang:21,env:22,userroles:23,translationurl:24,clientstyling:25,clientstylingurl:26,modalpromotion:27},c=null,h=[-1,-1],u=W;C(i);let o=i.$$={fragment:null,ctx:[],props:l,update:f,not_equal:a,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:H(),dirty:h,skip_bound:!1,root:t.target||u.$$.root},n=(c&&c(o.root),!1);if(o.ctx=r?r(i,t.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return o.ctx&&a(o.ctx[e],o.ctx[e]=r)&&(!o.skip_bound&&o.bound[e]&&o.bound[e](r),n)&&(r=e,-1===(e=i).$$.dirty[0]&&(d.push(e),J(),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],o.update(),n=!0,R(o.before_update),o.fragment=!!s&&s(o.ctx),t.target){if(t.hydrate){l=t.target;let e=Array.from(l.childNodes);o.fragment&&o.fragment.l(e),e.forEach(F)}else o.fragment&&o.fragment.c();t.intro&&(h=i.$$.fragment)&&h.i&&(te.delete(h),h.i(void 0));var p=i,c=t.customElement,{fragment:r,after_update:s}=p.$$;r&&r.m(t.target,t.anchor),c||Q(()=>{var e=p.$$.on_mount.map(A).filter(_);p.$$.on_destroy?p.$$.on_destroy.push(...e):R(e),p.$$.on_mount=[]}),s.forEach(Q),m()}C(u)}e&&(e.target&&D(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","env","userroles","translationurl","clientstyling","clientstylingurl","modalpromotion"]}get endpoint(){return this.$$.ctx[20]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),m()}get env(){return this.$$.ctx[22]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[23]}set userroles(e){this.$$set({userroles:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get modalpromotion(){return this.$$.ctx[27]}set modalpromotion(e){this.$$set({modalpromotion:e}),m()}}return customElements.get("casino-promotions-nd")||customElements.define("casino-promotions-nd",zo),zo});
|
|
2
2
|
//# sourceMappingURL=casino-promotions-nd.js.map
|