@everymatrix/general-navigation-bar 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralNavigationBar-CWwavhtR.cjs +415 -0
- package/components/GeneralNavigationBar-Dry7jJy1.js +5448 -0
- package/es2015/general-navigation-bar.cjs +1 -0
- package/es2015/general-navigation-bar.js +16 -0
- package/package.json +15 -33
- package/CHANGELOG.md +0 -10
- package/README.md +0 -30
- package/dist/general-navigation-bar.js +0 -700
- package/dist/general-navigation-bar.js.map +0 -1
- package/index.html +0 -31
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -59
- package/src/GeneralNavigationBar.svelte +0 -725
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -32
- package/stories/MobileBottomNavigation.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
"use strict";var lr=Object.defineProperty,ur=Object.defineProperties;var hr=Object.getOwnPropertyDescriptors;var wt=Object.getOwnPropertySymbols;var cr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable;var $e=(e,t,n)=>t in e?lr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nt=(e,t)=>{for(var n in t||(t={}))cr.call(t,n)&&$e(e,n,t[n]);if(wt)for(var n of wt(t))fr.call(t,n)&&$e(e,n,t[n]);return e},St=(e,t)=>ur(e,hr(t));var F=(e,t,n)=>$e(e,typeof t!="symbol"?t+"":t,n);var It=(e,t,n)=>new Promise((r,i)=>{var o=u=>{try{s(n.next(u))}catch(l){i(l)}},a=u=>{try{s(n.throw(u))}catch(l){i(l)}},s=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,a);s((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function D(){}function dr(e,t){for(const n in t)e[n]=t[n];return e}function un(e){return e()}function At(){return Object.create(null)}function se(e){e.forEach(un)}function ft(e){return typeof e=="function"}function hn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let xe;function ne(e,t){return e===t?!0:(xe||(xe=document.createElement("a")),xe.href=t,e===xe.href)}function mr(e){return Object.keys(e).length===0}function cn(e,...t){if(e==null){for(const r of t)r(void 0);return D}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function pr(e,t,n){e.$$.on_destroy.push(cn(t,n))}function gr(e,t,n,r){if(e){const i=fn(e,t,n,r);return e[0](i)}}function fn(e,t,n,r){return e[1]&&r?dr(n.ctx.slice(),e[1](r(t))):n.ctx}function vr(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const o=[],a=Math.max(t.dirty.length,i.length);for(let s=0;s<a;s+=1)o[s]=t.dirty[s]|i[s];return o}return t.dirty|i}return t.dirty}function br(e,t,n,r,i,o){if(i){const a=fn(t,n,r,o);e.p(a,i)}}function yr(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let r=0;r<n;r++)t[r]=-1;return t}return-1}function y(e,t){e.appendChild(t)}function O(e,t,n){e.insertBefore(t,n||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function dn(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function I(e){return document.createElement(e)}function M(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function be(e){return document.createTextNode(e)}function G(){return be(" ")}function mn(){return be("")}function Oe(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function c(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _r(e){return Array.from(e.childNodes)}function dt(e,t){t=""+t,e.data!==t&&(e.data=t)}function xr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let me;function de(e){me=e}function Er(){if(!me)throw new Error("Function called outside component initialization");return me}function wr(e){Er().$$.on_mount.push(e)}const K=[],Je=[];let ee=[];const Bt=[],Nr=Promise.resolve();let Ye=!1;function Sr(){Ye||(Ye=!0,Nr.then(U))}function qe(e){ee.push(e)}const ke=new Set;let Y=0;function U(){if(Y!==0)return;const e=me;do{try{for(;Y<K.length;){const t=K[Y];Y++,de(t),Ir(t.$$)}}catch(t){throw K.length=0,Y=0,t}for(de(null),K.length=0,Y=0;Je.length;)Je.pop()();for(let t=0;t<ee.length;t+=1){const n=ee[t];ke.has(n)||(ke.add(n),n())}ee.length=0}while(K.length);for(;Bt.length;)Bt.pop()();Ye=!1,ke.clear(),de(e)}function Ir(e){if(e.fragment!==null){e.update(),se(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(qe)}}function Ar(e){const t=[],n=[];ee.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),ee=t}const Ne=new Set;let Z;function pn(){Z={r:0,c:[],p:Z}}function gn(){Z.r||se(Z.c),Z=Z.p}function z(e,t){e&&e.i&&(Ne.delete(e),e.i(t))}function pe(e,t,n,r){if(e&&e.o){if(Ne.has(e))return;Ne.add(e),Z.c.push(()=>{Ne.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function Te(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Br(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),qe(()=>{const o=e.$$.on_mount.map(un).filter(ft);e.$$.on_destroy?e.$$.on_destroy.push(...o):se(o),e.$$.on_mount=[]}),i.forEach(qe)}function Tr(e,t){const n=e.$$;n.fragment!==null&&(Ar(n.after_update),se(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Pr(e,t){e.$$.dirty[0]===-1&&(K.push(e),Sr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Hr(e,t,n,r,i,o,a=null,s=[-1]){const u=me;de(e);const l=e.$$={fragment:null,ctx:[],props:o,update:D,not_equal:i,bound:At(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:At(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};a&&a(l.root);let h=!1;if(l.ctx=n?n(e,t.props||{},(d,f,...p)=>{const g=p.length?p[0]:f;return l.ctx&&i(l.ctx[d],l.ctx[d]=g)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](g),h&&Pr(e,d)),f}):[],l.update(),h=!0,se(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const d=_r(t.target);l.fragment&&l.fragment.l(d),d.forEach(H)}else l.fragment&&l.fragment.c();t.intro&&z(e.$$.fragment),Br(e,t.target,t.anchor),U()}de(u)}let vn;typeof HTMLElement=="function"&&(vn=class extends HTMLElement{constructor(t,n,r){super();F(this,"$$ctor");F(this,"$$s");F(this,"$$c");F(this,"$$cn",!1);F(this,"$$d",{});F(this,"$$r",!1);F(this,"$$p_d",{});F(this,"$$l",{});F(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return It(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=I("slot"),o!=="default"&&c(a,"name",o)},m:function(l,h){O(l,a,h)},d:function(l){l&&H(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=xr(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Se(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:St(Nt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Se(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const a of this.$$l[o]){const s=this.$$c.$on(o,a);this.$$l_u.set(a,s)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Se(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Se(e,t,n,r){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Or(e,t,n,r,i,o){let a=class extends vn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var l;u=Se(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),r.forEach(s=>{Object.defineProperty(a.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=a,a}class Mr{constructor(){F(this,"$$");F(this,"$$set")}$destroy(){Tr(this,1),this.$destroy=D}$on(t,n){if(!ft(n))return D;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!mr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Lr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Lr);var Ke=function(e,t){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Ke(e,t)};function k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ke(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var w=function(){return w=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},w.apply(this,arguments)};function Cr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function et(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function tt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function te(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function $(e){return typeof e=="function"}function bn(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var je=bn(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
2
|
+
`+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=n}});function nt(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Me=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=et(a),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(v){t={error:v}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if($(h))try{h()}catch(v){o=v instanceof je?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var f=et(d),p=f.next();!p.done;p=f.next()){var g=p.value;try{Tt(g)}catch(v){o=o!=null?o:[],v instanceof je?o=te(te([],tt(o)),tt(v.errors)):o.push(v)}}}catch(v){r={error:v}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}if(o)throw new je(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Tt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&nt(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&nt(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),yn=Me.EMPTY;function _n(e){return e instanceof Me||e&&"closed"in e&&$(e.remove)&&$(e.add)&&$(e.unsubscribe)}function Tt(e){$(e)?e():e.unsubscribe()}var xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},En={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,te([e,t],tt(n)))},clearTimeout:function(e){var t=En.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Rr(e){En.setTimeout(function(){throw e})}function Pt(){}function Ie(e){e()}var wn=function(e){k(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,_n(n)&&n.add(r)):r.destination=Gr,r}return t.create=function(n,r,i){return new rt(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Me),Fr=Function.prototype.bind;function We(e,t){return Fr.call(e,t)}var Ur=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Ee(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Ee(r)}else Ee(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Ee(n)}},e}(),rt=function(e){k(t,e);function t(n,r,i){var o=e.call(this)||this,a;if($(n)||!n)a={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0};else{var s;o&&xn.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=function(){return o.unsubscribe()},a={next:n.next&&We(n.next,s),error:n.error&&We(n.error,s),complete:n.complete&&We(n.complete,s)}):a=n}return o.destination=new Ur(a),o}return t}(wn);function Ee(e){Rr(e)}function Dr(e){throw e}var Gr={closed:!0,next:Pt,error:Dr,complete:Pt},$r=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function kr(e){return e}function jr(e){return e.length===0?kr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Ht=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,o=Vr(t)?t:new rt(t,n,r);return Ie(function(){var a=i,s=a.operator,u=a.source;o.add(s?s.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Ot(n),new n(function(i,o){var a=new rt({next:function(s){try{t(s)}catch(u){o(u),a.unsubscribe()}},error:o,complete:i});r.subscribe(a)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[$r]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return jr(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Ot(t),new t(function(r,i){var o;n.subscribe(function(a){return o=a},function(a){return i(a)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Ot(e){var t;return(t=e!=null?e:xn.Promise)!==null&&t!==void 0?t:Promise}function Wr(e){return e&&$(e.next)&&$(e.error)&&$(e.complete)}function Vr(e){return e&&e instanceof wn||Wr(e)&&_n(e)}var Xr=bn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Nn=function(e){k(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Mt(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Xr},t.prototype.next=function(n){var r=this;Ie(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var a=et(r.currentObservers),s=a.next();!s.done;s=a.next()){var u=s.value;u.next(n)}}catch(l){i={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;Ie(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;Ie(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,o=i.hasError,a=i.isStopped,s=i.observers;return o||a?yn:(this.currentObservers=null,s.push(n),new Me(function(){r.currentObservers=null,nt(s,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r.thrownError,a=r.isStopped;i?n.error(o):a&&n.complete()},t.prototype.asObservable=function(){var n=new Ht;return n.source=this,n},t.create=function(n,r){return new Mt(n,r)},t}(Ht),Mt=function(e){k(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:yn},t}(Nn),Sn={now:function(){return(Sn.delegate||Date).now()},delegate:void 0},zr=function(e){k(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Sn);var o=e.call(this)||this;return o._bufferSize=n,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(n){var r=this,i=r.isStopped,o=r._buffer,a=r._infiniteTimeWindow,s=r._timestampProvider,u=r._windowTime;i||(o.push(n),!a&&o.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,o=i._infiniteTimeWindow,a=i._buffer,s=a.slice(),u=0;u<s.length&&!n.closed;u+=o?1:2)n.next(s[u]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,o=n._buffer,a=n._infiniteTimeWindow,s=(a?1:2)*r;if(r<1/0&&s<o.length&&o.splice(0,o.length-s),!a){for(var u=i.now(),l=0,h=1;h<o.length&&o[h]<=u;h+=2)l=h;l&&o.splice(0,l+1)}},t}(Nn);const Lt=[],Ct={},Zr=(e,t=0)=>{if(Lt.indexOf(e)==-1){const n=new zr(t);Ct[e]=n,Lt.push(e)}return Ct[e]},q=[];function Qr(e,t){return{subscribe:Le(e,t).subscribe}}function Le(e,t=D){let n;const r=new Set;function i(s){if(hn(e,s)&&(e=s,n)){const u=!q.length;for(const l of r)l[1](),q.push(l,e);if(u){for(let l=0;l<q.length;l+=2)q[l][0](q[l+1]);q.length=0}}}function o(s){i(s(e))}function a(s,u=D){const l=[s,u];return r.add(l),r.size===1&&(n=t(i,o)||D),s(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:a}}function le(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Qr(n,(a,s)=>{let u=!1;const l=[];let h=0,d=D;const f=()=>{if(h)return;d();const g=t(r?l[0]:l,a,s);o?a(g):d=ft(g)?g:D},p=i.map((g,v)=>cn(g,P=>{l[v]=P,h&=~(1<<v),u&&f()},()=>{h|=1<<v}));return u=!0,f(),function(){se(p),d(),u=!1}})}function Jr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yr=function(t){return qr(t)&&!Kr(t)};function qr(e){return!!e&&typeof e=="object"}function Kr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ni(e)}var ei=typeof Symbol=="function"&&Symbol.for,ti=ei?Symbol.for("react.element"):60103;function ni(e){return e.$$typeof===ti}function ri(e){return Array.isArray(e)?[]:{}}function ge(e,t){return t.clone!==!1&&t.isMergeableObject(e)?re(ri(e),e,t):e}function ii(e,t,n){return e.concat(t).map(function(r){return ge(r,n)})}function oi(e,t){if(!t.customMerge)return re;var n=t.customMerge(e);return typeof n=="function"?n:re}function ai(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Rt(e){return Object.keys(e).concat(ai(e))}function In(e,t){try{return t in e}catch(n){return!1}}function si(e,t){return In(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function li(e,t,n){var r={};return n.isMergeableObject(e)&&Rt(e).forEach(function(i){r[i]=ge(e[i],n)}),Rt(t).forEach(function(i){si(e,i)||(In(e,i)&&n.isMergeableObject(t[i])?r[i]=oi(i,n)(e[i],t[i],n):r[i]=ge(t[i],n))}),r}function re(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||ii,n.isMergeableObject=n.isMergeableObject||Yr,n.cloneUnlessOtherwiseSpecified=ge;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):li(e,t,n):ge(t,n)}re.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return re(r,i,n)},{})};var ui=re,hi=ui;const ci=Jr(hi);var _;(function(e){e[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"})(_||(_={}));var A;(function(e){e[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"})(A||(A={}));var ie;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ie||(ie={}));function Ft(e){return e.type===A.literal}function fi(e){return e.type===A.argument}function An(e){return e.type===A.number}function Bn(e){return e.type===A.date}function Tn(e){return e.type===A.time}function Pn(e){return e.type===A.select}function Hn(e){return e.type===A.plural}function di(e){return e.type===A.pound}function On(e){return e.type===A.tag}function Mn(e){return!!(e&&typeof e=="object"&&e.type===ie.number)}function it(e){return!!(e&&typeof e=="object"&&e.type===ie.dateTime)}var Ln=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,mi=/(?:[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;function pi(e){var t={};return e.replace(mi,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"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":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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""}),t}var gi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function vi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(gi).filter(function(f){return f.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],u=a.slice(1),l=0,h=u;l<h.length;l++){var d=h[l];if(d.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:u})}return n}function bi(e){return e.replace(/^(.*?)-/,"")}var Ut=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Cn=/^(@+)?(\+|#+)?[rs]?$/g,yi=/(\*)(0+)|(#+)(0+)|(0+)/g,Rn=/^(0+)$/;function Dt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Cn,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Fn(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 _i(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Rn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Gt(e){var t={},n=Fn(e);return n||t}function xi(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=bi(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=w(w(w({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return w(w({},u),Gt(l))},{}));continue;case"engineering":t=w(w(w({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return w(w({},u),Gt(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(yi,function(u,l,h,d,f,p){if(l)t.minimumIntegerDigits=h.length;else{if(d&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Rn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Ut.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ut,function(u,l,h,d,f,p){return h==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=w(w({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=w(w({},t),Dt(o)));continue}if(Cn.test(i.stem)){t=w(w({},t),Dt(i.stem));continue}var a=Fn(i.stem);a&&(t=w(w({},t),a));var s=_i(i.stem);s&&(t=w(w({},t),s))}return t}var we={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","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"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ei(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(o&1),s=o<2?1:3+(o>>1),u="a",l=wi(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)n+=u;for(;a-- >0;)n=l+n}else i==="J"?n+="H":n+=i}return n}function wi(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=we[r||""]||we[n||""]||we["".concat(n,"-001")]||we["001"];return i[0]}var Ve,Ni=new RegExp("^".concat(Ln.source,"*")),Si=new RegExp("".concat(Ln.source,"*$"));function E(e,t){return{start:e,end:t}}var Ii=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ai=!!String.fromCodePoint,Bi=!!Object.fromEntries,Ti=!!String.prototype.codePointAt,Pi=!!String.prototype.trimStart,Hi=!!String.prototype.trimEnd,Oi=!!Number.isSafeInteger,Mi=Oi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ot=!0;try{var Li=Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ot=((Ve=Li.exec("a"))===null||Ve===void 0?void 0:Ve[0])==="a"}catch(e){ot=!1}var $t=Ii?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},at=Ai?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,a;i>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},kt=Bi?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],a=o[0],s=o[1];n[a]=s}return n},Un=Ti?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Ci=Pi?function(t){return t.trimStart()}:function(t){return t.replace(Ni,"")},Ri=Hi?function(t){return t.trimEnd()}:function(t){return t.replace(Si,"")};function Dn(e,t){return new RegExp(e,t)}var st;if(ot){var jt=Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=function(t,n){var r;jt.lastIndex=n;var i=jt.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else st=function(t,n){for(var r=[];;){var i=Un(t,n);if(i===void 0||Gn(i)||Gi(i))break;r.push(i),n+=i>=65536?2:1}return at.apply(void 0,r)};var Fi=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,r);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:A.pound,location:E(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(_.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&<(this.peek()||0)){var a=this.parseTag(t,n);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,n);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:A.literal,value:"<".concat(i,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!lt(this.char()))return this.error(_.INVALID_TAG,E(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(_.UNMATCHED_CLOSING_TAG,E(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:A.tag,value:i,children:a,location:E(r,this.clonePosition())},err:null}:this.error(_.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(_.UNCLOSED_TAG,E(r,this.clonePosition()))}else return this.error(_.INVALID_TAG,E(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Di(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,n);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var u=E(r,this.clonePosition());return{val:{type:A.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ui(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return at.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),at(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(_.EMPTY_ARGUMENT,E(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(_.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:A.argument,value:i,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(_.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=st(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),a=E(t,o);return{value:r,location:a}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(_.EXPECT_ARGUMENT_TYPE,E(a,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var f=Ri(d.val);if(f.length===0)return this.error(_.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var p=E(h,this.clonePosition());l={style:f,styleLocation:p}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var v=E(i,this.clonePosition());if(l&&$t(l==null?void 0:l.style,"::",0)){var P=Ci(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(P,l.styleLocation);return d.err?d:{val:{type:A.number,value:r,location:v,style:d.val},err:null}}else{if(P.length===0)return this.error(_.EXPECT_DATE_TIME_SKELETON,v);var N=P;this.locale&&(N=Ei(P,this.locale));var f={type:ie.dateTime,pattern:N,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?pi(N):{}},b=s==="date"?A.date:A.time;return{val:{type:b,value:r,location:v,style:f},err:null}}}return{val:{type:s==="number"?A.number:s==="date"?A.date:A.time,value:r,location:v,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS,E(T,w({},T)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),C=0;if(s!=="select"&&x.value==="offset"){if(!this.bumpIf(":"))return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),x=this.parseIdentifierIfPossible(),C=d.val}var j=this.tryParsePluralOrSelectOptions(t,s,n,x);if(j.err)return j;var g=this.tryParseArgumentClose(i);if(g.err)return g;var J=E(i,this.clonePosition());return s==="select"?{val:{type:A.select,value:r,options:kt(j.val),location:J},err:null}:{val:{type:A.plural,value:r,options:kt(j.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:J},err:null}}default:return this.error(_.INVALID_ARGUMENT_TYPE,E(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=vi(t)}catch(i){return this.error(_.INVALID_NUMBER_SKELETON,n)}return{val:{type:ie.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?xi(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,a=!1,s=[],u=new Set,l=i.value,h=i.location;;){if(l.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR,_.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=E(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?_.DUPLICATE_SELECT_ARGUMENT_SELECTOR:_.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?_.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:_.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,n,r);if(g.err)return g;var v=this.tryParseArgumentClose(p);if(v.err)return v;s.push([l,{value:g.val,location:E(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(n==="select"?_.EXPECT_SELECT_ARGUMENT_SELECTOR:_.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(_.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var u=E(i,this.clonePosition());return o?(a*=r,Mi(a)?{val:a,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Un(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if($t(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Gn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function lt(e){return e>=97&&e<=122||e>=65&&e<=90}function Ui(e){return lt(e)||e===47}function Di(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Gn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Gi(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ut(e){e.forEach(function(t){if(delete t.location,Pn(t)||Hn(t))for(var n in t.options)delete t.options[n].location,ut(t.options[n].value);else An(t)&&Mn(t.style)||(Bn(t)||Tn(t))&&it(t.style)?delete t.style.location:On(t)&&ut(t.children)})}function $i(e,t){t===void 0&&(t={}),t=w({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Fi(e,t).parse();if(n.err){var r=SyntaxError(_[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||ut(n.val),n.val}function Xe(e,t){var n=t&&t.cache?t.cache:zi,r=t&&t.serializer?t.serializer:Xi,i=t&&t.strategy?t.strategy:ji;return i(e,{cache:n,serializer:r})}function ki(e){return e==null||typeof e=="number"||typeof e=="boolean"}function $n(e,t,n,r){var i=ki(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function kn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(i,o)),o}function mt(e,t,n,r,i){return n.bind(t,e,r,i)}function ji(e,t){var n=e.length===1?$n:kn;return mt(e,this,n,t.cache.create(),t.serializer)}function Wi(e,t){return mt(e,this,kn,t.cache.create(),t.serializer)}function Vi(e,t){return mt(e,this,$n,t.cache.create(),t.serializer)}var Xi=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 zi={create:function(){return new pt}},ze={variadic:Wi,monadic:Vi},oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var Ce=function(e){k(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Wt=function(e){k(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),oe.INVALID_VALUE,o)||this}return t}(Ce),Zi=function(e){k(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),oe.INVALID_VALUE,i)||this}return t}(Ce),Qi=function(e){k(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),oe.MISSING_VALUE,r)||this}return t}(Ce),L;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(L||(L={}));function Ji(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==L.literal||n.type!==L.literal?t.push(n):r.value+=n.value,t},[])}function Yi(e){return typeof e=="function"}function Ae(e,t,n,r,i,o,a){if(e.length===1&&Ft(e[0]))return[{type:L.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var h=l[u];if(Ft(h)){s.push({type:L.literal,value:h.value});continue}if(di(h)){typeof o=="number"&&s.push({type:L.literal,value:n.getNumberFormat(t).format(o)});continue}var d=h.value;if(!(i&&d in i))throw new Qi(d,a);var f=i[d];if(fi(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),s.push({type:typeof f=="string"?L.literal:L.object,value:f});continue}if(Bn(h)){var p=typeof h.style=="string"?r.date[h.style]:it(h.style)?h.style.parsedOptions:void 0;s.push({type:L.literal,value:n.getDateTimeFormat(t,p).format(f)});continue}if(Tn(h)){var p=typeof h.style=="string"?r.time[h.style]:it(h.style)?h.style.parsedOptions:r.time.medium;s.push({type:L.literal,value:n.getDateTimeFormat(t,p).format(f)});continue}if(An(h)){var p=typeof h.style=="string"?r.number[h.style]:Mn(h.style)?h.style.parsedOptions:void 0;p&&p.scale&&(f=f*(p.scale||1)),s.push({type:L.literal,value:n.getNumberFormat(t,p).format(f)});continue}if(On(h)){var g=h.children,v=h.value,P=i[v];if(!Yi(P))throw new Zi(v,"function",a);var N=Ae(g,t,n,r,i,o),b=P(N.map(function(C){return C.value}));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map(function(C){return{type:typeof C=="string"?L.literal:L.object,value:C}}))}if(Pn(h)){var T=h.options[f]||h.options.other;if(!T)throw new Wt(h.value,f,Object.keys(h.options),a);s.push.apply(s,Ae(T.value,t,n,r,i));continue}if(Hn(h)){var T=h.options["=".concat(f)];if(!T){if(!Intl.PluralRules)throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
4
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
+
`,oe.MISSING_INTL_API,a);var x=n.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));T=h.options[x]||h.options.other}if(!T)throw new Wt(h.value,f,Object.keys(h.options),a);s.push.apply(s,Ae(T.value,t,n,r,i,f-(h.offset||0)));continue}}return Ji(s)}function qi(e,t){return t?w(w(w({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=w(w({},e[r]),t[r]||{}),n},{})):e}function Ki(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=qi(e[r],t[r]),n},w({},e)):e}function Ze(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function eo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xe(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,te([void 0],n,!1)))},{cache:Ze(e.number),strategy:ze.variadic}),getDateTimeFormat:Xe(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,te([void 0],n,!1)))},{cache:Ze(e.dateTime),strategy:ze.variadic}),getPluralRules:Xe(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,te([void 0],n,!1)))},{cache:Ze(e.pluralRules),strategy:ze.variadic})}}var to=function(){function e(t,n,r,i){var o=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var h=l.reduce(function(d,f){return!d.length||f.type!==L.literal||typeof d[d.length-1]!="string"?d.push(f.value):d[d.length-1]+=f.value,d},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(u){return Ae(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var s=Cr(a,["formatters"]);this.ast=e.__parse(t,w(w({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ki(e.formats,r),this.formatters=i&&i.formatters||eo(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=$i,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function no(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}const X={},ro=(e,t,n)=>n&&(t in X||(X[t]={}),e in X[t]||(X[t][e]=n),n),jn=(e,t)=>{if(t==null)return;if(t in X&&e in X[t])return X[t][e];const n=Re(t);for(let r=0;r<n.length;r++){const i=n[r],o=oo(i,e);if(o)return ro(e,t,o)}};let gt;const ye=Le({});function io(e){return gt[e]||null}function Wn(e){return e in gt}function oo(e,t){if(!Wn(e))return null;const n=io(e);return no(n,t)}function ao(e){if(e==null)return;const t=Re(e);for(let n=0;n<t.length;n++){const r=t[n];if(Wn(r))return r}}function Vn(e,...t){delete X[e],ye.update(n=>(n[e]=ci.all([n[e]||{},...t]),n))}le([ye],([e])=>Object.keys(e));ye.subscribe(e=>gt=e);const Be={};function so(e,t){Be[e].delete(t),Be[e].size===0&&delete Be[e]}function Xn(e){return Be[e]}function lo(e){return Re(e).map(t=>{const n=Xn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function ht(e){return e==null?!1:Re(e).some(t=>{var n;return(n=Xn(t))==null?void 0:n.size})}function uo(e,t){return Promise.all(t.map(r=>(so(e,r),r().then(i=>i.default||i)))).then(r=>Vn(e,...r))}const fe={};function zn(e){if(!ht(e))return e in fe?fe[e]:Promise.resolve();const t=lo(e);return fe[e]=Promise.all(t.map(([n,r])=>uo(n,r))).then(()=>{if(ht(e))return zn(e);delete fe[e]}),fe[e]}const ho={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"}}},co={fallbackLocale:null,loadingDelay:200,formats:ho,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},fo=co;function ae(){return fo}const Qe=Le(!1);var mo=Object.defineProperty,po=Object.defineProperties,go=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,Xt=(e,t,n)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yo=(e,t)=>{for(var n in t||(t={}))vo.call(t,n)&&Xt(e,n,t[n]);if(Vt)for(var n of Vt(t))bo.call(t,n)&&Xt(e,n,t[n]);return e},_o=(e,t)=>po(e,go(t));let ct;const Pe=Le(null);function zt(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function Re(e,t=ae().fallbackLocale){const n=zt(e);return t?[...new Set([...n,...zt(t)])]:n}function Q(){return ct!=null?ct:void 0}Pe.subscribe(e=>{ct=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const xo=e=>{if(e&&ao(e)&&ht(e)){const{loadingDelay:t}=ae();let n;return typeof window!="undefined"&&Q()!=null&&t?n=window.setTimeout(()=>Qe.set(!0),t):Qe.set(!0),zn(e).then(()=>{Pe.set(e)}).finally(()=>{clearTimeout(n),Qe.set(!1)})}return Pe.set(e)},ue=_o(yo({},Pe),{set:xo}),Fe=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Eo=Object.defineProperty,He=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?Eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vt=(e,t)=>{for(var n in t||(t={}))Zn.call(t,n)&&Zt(e,n,t[n]);if(He)for(var n of He(t))Qn.call(t,n)&&Zt(e,n,t[n]);return e},he=(e,t)=>{var n={};for(var r in e)Zn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&He)for(var r of He(e))t.indexOf(r)<0&&Qn.call(e,r)&&(n[r]=e[r]);return n};const ve=(e,t)=>{const{formats:n}=ae();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},wo=Fe(e=>{var t=e,{locale:n,format:r}=t,i=he(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=ve("number",r)),new Intl.NumberFormat(n,i)}),No=Fe(e=>{var t=e,{locale:n,format:r}=t,i=he(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=ve("date",r):Object.keys(i).length===0&&(i=ve("date","short")),new Intl.DateTimeFormat(n,i)}),So=Fe(e=>{var t=e,{locale:n,format:r}=t,i=he(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=ve("time",r):Object.keys(i).length===0&&(i=ve("time","short")),new Intl.DateTimeFormat(n,i)}),Io=(e={})=>{var t=e,{locale:n=Q()}=t,r=he(t,["locale"]);return wo(vt({locale:n},r))},Ao=(e={})=>{var t=e,{locale:n=Q()}=t,r=he(t,["locale"]);return No(vt({locale:n},r))},Bo=(e={})=>{var t=e,{locale:n=Q()}=t,r=he(t,["locale"]);return So(vt({locale:n},r))},To=Fe((e,t=Q())=>new to(e,t,ae().formats,{ignoreTag:ae().ignoreTag})),Po=(e,t={})=>{var n,r,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:s,locale:u=Q(),default:l}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=jn(e,u);if(!h)h=(o=(i=(r=(n=ae()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!s)return h;let d=h;try{d=To(h,u).format(s)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return d},Ho=(e,t)=>Bo(t).format(e),Oo=(e,t)=>Ao(t).format(e),Mo=(e,t)=>Io(t).format(e),Lo=(e,t=Q())=>jn(e,t),Co=le([ue,ye],()=>Po);le([ue],()=>Ho);le([ue],()=>Oo);le([ue],()=>Mo);le([ue,ye],()=>Lo);window.emWidgets={topic:Zr};const Qt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Jt(e,t){Vn(e,t)}function Ro(e){ue.set(e)}const Yt={en:{secondaryMenuTitle:"Categories"},"zh-hk":{secondaryMenuTitle:"類別"},fr:{secondaryMenuTitle:"Catégories"},ro:{secondaryMenuTitle:"Categorii"},es:{secondaryMenuTitle:"Categorias"},pt:{secondaryMenuTitle:"Categorias"},hr:{secondaryMenuTitle:"Kategorije"},"pt-br":{secondaryMenuTitle:"Categorias"},"es-mx":{secondaryMenuTitle:"Categorias"},tr:{secondaryMenuTitle:"Kategoriler"}};function qt(e,t,n){const r=e.slice();return r[44]=t[n],r[46]=n,r}function Kt(e,t,n){const r=e.slice();return r[44]=t[n],r}const Fo=e=>({}),en=e=>({});function tn(e){let t,n,r,i,o,a,s,u=!e[6]&&nn(e),l=Te(e[7]),h=[];for(let f=0;f<l.length;f+=1)h[f]=sn(qt(e,l,f));let d=!e[6]&&ln(e);return{c(){t=I("div"),u&&u.c(),n=G(),r=I("div");for(let f=0;f<h.length;f+=1)h[f].c();i=G(),d&&d.c(),c(r,"class",o="NavigationBar "+(e[4]?"NavigationBarOpened":"")+" "+(e[6]?"NavigationBarSimple":"")),c(r,"part",a="NavigationBar "+(e[4]?"NavigationBarOpened":"")+" "+(e[6]?"NavigationBarSimple":"")),c(t,"class","NavigationPanel")},m(f,p){O(f,t,p),u&&u.m(t,null),y(t,n),y(t,r);for(let g=0;g<h.length;g+=1)h[g]&&h[g].m(r,null);y(r,i),d&&d.m(r,null),s=!0},p(f,p){if(f[6]?u&&(pn(),pe(u,1,1,()=>{u=null}),gn()):u?(u.p(f,p),p[0]&64&&z(u,1)):(u=nn(f),u.c(),z(u,1),u.m(t,n)),p[0]&32928){l=Te(f[7]);let g;for(g=0;g<l.length;g+=1){const v=qt(f,l,g);h[g]?h[g].p(v,p):(h[g]=sn(v),h[g].c(),h[g].m(r,i))}for(;g<h.length;g+=1)h[g].d(1);h.length=l.length}f[6]?d&&(d.d(1),d=null):d?d.p(f,p):(d=ln(f),d.c(),d.m(r,null)),(!s||p[0]&80&&o!==(o="NavigationBar "+(f[4]?"NavigationBarOpened":"")+" "+(f[6]?"NavigationBarSimple":"")))&&c(r,"class",o),(!s||p[0]&80&&a!==(a="NavigationBar "+(f[4]?"NavigationBarOpened":"")+" "+(f[6]?"NavigationBarSimple":"")))&&c(r,"part",a)},i(f){s||(z(u),s=!0)},o(f){pe(u),s=!1},d(f){f&&H(t),u&&u.d(),dn(h,f),d&&d.d()}}}function nn(e){let t,n,r,i,o=(e[0]||e[12]("secondaryMenuTitle"))+"",a,s,u,l,h,d,f;const p=e[26].close,g=gr(p,e,e[25],en),v=g||Uo();let P=Te(e[8]),N=[];for(let b=0;b<P.length;b+=1)N[b]=on(Kt(e,P,b));return{c(){t=I("div"),n=I("span"),v&&v.c(),r=G(),i=I("h3"),a=be(o),s=G(),u=I("div");for(let b=0;b<N.length;b+=1)N[b].c();c(n,"class","ModalCloseBtn"),c(n,"part","ModalCloseBtn"),c(n,"role","button"),c(i,"class","NavigationWindowTitle"),c(u,"class","NavigationSecondaryWrapper"),c(t,"class",l="NavigationWindow "+(e[4]?"NavigationWindowOpened":""))},m(b,T){O(b,t,T),y(t,n),v&&v.m(n,null),y(t,r),y(t,i),y(i,a),y(t,s),y(t,u);for(let x=0;x<N.length;x+=1)N[x]&&N[x].m(u,null);h=!0,d||(f=Oe(n,"click",e[14]),d=!0)},p(b,T){if(g&&g.p&&(!h||T[0]&33554432)&&br(g,p,b,b[25],h?vr(p,b[25],T,Fo):yr(b[25]),en),(!h||T[0]&4097)&&o!==(o=(b[0]||b[12]("secondaryMenuTitle"))+"")&&dt(a,o),T[0]&33056){P=Te(b[8]);let x;for(x=0;x<P.length;x+=1){const C=Kt(b,P,x);N[x]?N[x].p(C,T):(N[x]=on(C),N[x].c(),N[x].m(u,null))}for(;x<N.length;x+=1)N[x].d(1);N.length=P.length}(!h||T[0]&16&&l!==(l="NavigationWindow "+(b[4]?"NavigationWindowOpened":"")))&&c(t,"class",l)},i(b){h||(z(v,b),h=!0)},o(b){pe(v,b),h=!1},d(b){b&&H(t),v&&v.d(b),dn(N,b),d=!1,f()}}}function Uo(e){let t,n;return{c(){t=M("svg"),n=M("path"),c(n,"part","ModalCloseBtnPath"),c(n,"stroke-linecap","round"),c(n,"stroke-linejoin","round"),c(n,"stroke-width","2"),c(n,"d","M6 18L18 6M6 6l12 12"),c(t,"class","w-6 h-6"),c(t,"part","w-6 h-6"),c(t,"fill","none"),c(t,"stroke","currentColor"),c(t,"viewBox","0 0 24 24"),c(t,"xmlns","http://www.w3.org/2000/svg")},m(r,i){O(r,t,i),y(t,n)},p:D,d(r){r&&H(t)}}}function rn(e){let t,n,r,i;return{c(){t=I("div"),n=I("img"),c(n,"class","NavigationSecondaryItemImg"),c(n,"part","NavigationSecondaryItemImg"),ne(n.src,r=e[44].img)||c(n,"src",r),c(n,"alt",i=e[44].label),c(t,"class","NavigationSecondaryItemImgWrapper"),c(t,"part","NavigationSecondaryItemImgWrapper")},m(o,a){O(o,t,a),y(t,n)},p(o,a){a[0]&256&&!ne(n.src,r=o[44].img)&&c(n,"src",r),a[0]&256&&i!==(i=o[44].label)&&c(n,"alt",i)},d(o){o&&H(t)}}}function on(e){let t,n,r,i=e[44].label+"",o,a,s,u,l,h=e[44].img&&rn(e);function d(){return e[27](e[44])}return{c(){t=I("div"),h&&h.c(),n=G(),r=I("p"),o=be(i),a=G(),c(r,"class","NavigationSecondaryItemLabel"),c(r,"part","NavigationSecondaryItemLabel"),c(t,"class",s="NavigationSecondaryItemAnchor "+(e[5]===e[44].id?"ActiveItem":""))},m(f,p){O(f,t,p),h&&h.m(t,null),y(t,n),y(t,r),y(r,o),y(t,a),u||(l=Oe(t,"click",d),u=!0)},p(f,p){e=f,e[44].img?h?h.p(e,p):(h=rn(e),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&256&&i!==(i=e[44].label+"")&&dt(o,i),p[0]&288&&s!==(s="NavigationSecondaryItemAnchor "+(e[5]===e[44].id?"ActiveItem":""))&&c(t,"class",s)},d(f){f&&H(t),h&&h.d(),u=!1,l()}}}function an(e){let t,n,r,i;return{c(){t=I("div"),n=I("img"),c(n,"class","NavigationPrimaryItemImg"),ne(n.src,r=e[44].img)||c(n,"src",r),c(n,"alt",i=e[44].label),c(t,"class","NavigationPrimaryItemImgWrapper")},m(o,a){O(o,t,a),y(t,n)},p(o,a){a[0]&128&&!ne(n.src,r=o[44].img)&&c(n,"src",r),a[0]&128&&i!==(i=o[44].label)&&c(n,"alt",i)},d(o){o&&H(t)}}}function sn(e){let t,n,r,i=e[44].label+"",o,a,s,u,l=e[44].img&&an(e);function h(){return e[28](e[44])}return{c(){t=I("div"),l&&l.c(),n=G(),r=I("p"),o=be(i),c(r,"class","NavigationPrimaryItemLabel"),c(t,"class",a="NavigationPrimaryItemAnchor NavItem"+e[46]+" "+(e[5]===e[44].id?"ActiveItem":""))},m(d,f){O(d,t,f),l&&l.m(t,null),y(t,n),y(t,r),y(r,o),s||(u=Oe(t,"click",h),s=!0)},p(d,f){e=d,e[44].img?l?l.p(e,f):(l=an(e),l.c(),l.m(t,n)):l&&(l.d(1),l=null),f[0]&128&&i!==(i=e[44].label+"")&&dt(o,i),f[0]&160&&a!==(a="NavigationPrimaryItemAnchor NavItem"+e[46]+" "+(e[5]===e[44].id?"ActiveItem":""))&&c(t,"class",a)},d(d){d&&H(t),l&&l.d(),s=!1,u()}}}function ln(e){let t,n,r,i,o;function a(l,h){return l[11]?Do:Go}let s=a(e),u=s(e);return{c(){t=I("button"),n=I("span"),u.c(),c(n,"class","NavigationButtonSpan"),c(n,"part","NavigationButtonSpan"),c(t,"class",r="NavigationButton "+(e[4]?"NavigationButtonActive":""))},m(l,h){O(l,t,h),y(t,n),u.m(n,null),i||(o=Oe(t,"click",e[14]),i=!0)},p(l,h){s===(s=a(l))&&u?u.p(l,h):(u.d(1),u=s(l),u&&(u.c(),u.m(n,null))),h[0]&16&&r!==(r="NavigationButton "+(l[4]?"NavigationButtonActive":""))&&c(t,"class",r)},d(l){l&&H(t),u.d(),i=!1,o()}}}function Do(e){let t,n,r,i,o,a,s;return{c(){t=I("div"),n=I("span"),r=G(),i=I("span"),o=G(),a=I("span"),c(n,"class","middleIconLine"),c(i,"class","middleIconLine"),c(a,"class","middleIconLine"),c(t,"class",s="labelMiddleIcon "+(e[4]?"labelMiddleIconActive":""))},m(u,l){O(u,t,l),y(t,n),y(t,r),y(t,i),y(t,o),y(t,a)},p(u,l){l[0]&16&&s!==(s="labelMiddleIcon "+(u[4]?"labelMiddleIconActive":""))&&c(t,"class",s)},d(u){u&&H(t)}}}function Go(e){let t;function n(o,a){return o[9]?ko:$o}let r=n(e),i=r(e);return{c(){i.c(),t=mn()},m(o,a){i.m(o,a),O(o,t,a)},p(o,a){r===(r=n(o))&&i?i.p(o,a):(i.d(1),i=r(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&H(t),i.d(o)}}}function $o(e){let t,n,r,i,o,a,s,u,l,h,d,f,p,g;return{c(){t=M("svg"),n=M("g"),r=M("g"),i=M("rect"),o=M("rect"),a=M("g"),s=M("rect"),u=M("rect"),l=M("g"),h=M("rect"),d=M("rect"),f=M("g"),p=M("rect"),g=M("rect"),c(i,"class","b"),c(i,"part","b"),c(i,"width","10"),c(i,"height","10"),c(i,"rx","2"),c(o,"class","c"),c(o,"part","c"),c(o,"x","0.5"),c(o,"y","0.5"),c(o,"width","9"),c(o,"height","9"),c(o,"rx","1.5"),c(r,"class","a"),c(r,"part","a"),c(r,"transform","translate(150 514)"),c(s,"class","b"),c(s,"part","b"),c(s,"width","10"),c(s,"height","10"),c(s,"rx","2"),c(u,"class","c"),c(u,"part","c"),c(u,"x","0.5"),c(u,"y","0.5"),c(u,"width","9"),c(u,"height","9"),c(u,"rx","1.5"),c(a,"class","a"),c(a,"part","a"),c(a,"transform","translate(161 514)"),c(h,"class","b"),c(h,"part","b"),c(h,"width","10"),c(h,"height","10"),c(h,"rx","2"),c(d,"class","c"),c(d,"part","c"),c(d,"x","0.5"),c(d,"y","0.5"),c(d,"width","9"),c(d,"height","9"),c(d,"rx","1.5"),c(l,"class","a"),c(l,"part","a"),c(l,"transform","translate(161 525)"),c(p,"class","b"),c(p,"part","b"),c(p,"width","10"),c(p,"height","10"),c(p,"rx","2"),c(g,"class","c"),c(g,"part","c"),c(g,"x","0.5"),c(g,"y","0.5"),c(g,"width","9"),c(g,"height","9"),c(g,"rx","1.5"),c(f,"class","a"),c(f,"part","a"),c(f,"transform","translate(150 525)"),c(n,"transform","translate(-150 -514)"),c(t,"class","middleIcon"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","21"),c(t,"height","21"),c(t,"viewBox","0 0 21 21")},m(v,P){O(v,t,P),y(t,n),y(n,r),y(r,i),y(r,o),y(n,a),y(a,s),y(a,u),y(n,l),y(l,h),y(l,d),y(n,f),y(f,p),y(f,g)},p:D,d(v){v&&H(t)}}}function ko(e){let t,n;return{c(){t=I("img"),ne(t.src,n=e[9])||c(t,"src",n),c(t,"class","middleIcon"),c(t,"alt",e[9])},m(r,i){O(r,t,i)},p(r,i){i[0]&512&&!ne(t.src,n=r[9])&&c(t,"src",n),i[0]&512&&c(t,"alt",r[9])},d(r){r&&H(t)}}}function jo(e){let t;return{c(){t=I("style"),t.textContent=`.NavigationWrapper {
|
|
6
|
+
background: var(--emfe-w-color-gray-50, #F9F8F8);
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.NavigationPanel {
|
|
11
|
+
position: fixed;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
width: 100%;
|
|
16
|
+
z-index: 30;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.NavigationWindow {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
backdrop-filter: blur(2px);
|
|
23
|
+
background: linear-gradient(0deg, var(--emfe-w-color-black, #000000) 0%, transparent 100%);
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transition: 0.25s ease;
|
|
26
|
+
width: 100%;
|
|
27
|
+
max-height: 0vh;
|
|
28
|
+
}
|
|
29
|
+
.NavigationWindow.NavigationWindowOpened {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
max-height: 200px;
|
|
32
|
+
}
|
|
33
|
+
.NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1) {
|
|
34
|
+
transform: translate3d(-210%, 50%, 0);
|
|
35
|
+
transition: transform 0.1s;
|
|
36
|
+
}
|
|
37
|
+
.NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2) {
|
|
38
|
+
transform: translate3d(-150%, -50%, 0);
|
|
39
|
+
transition: transform 0.1s 0.1s;
|
|
40
|
+
}
|
|
41
|
+
.NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3) {
|
|
42
|
+
transform: translate3d(-50%, -100%, 0);
|
|
43
|
+
transition: transform 0.1s 0.2s;
|
|
44
|
+
}
|
|
45
|
+
.NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4) {
|
|
46
|
+
transform: translate3d(50%, -50%, 0);
|
|
47
|
+
transition: transform 0.1s 0.3s;
|
|
48
|
+
}
|
|
49
|
+
.NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5) {
|
|
50
|
+
transform: translate3d(110%, 50%, 0);
|
|
51
|
+
transition: transform 0.1s 0.4s;
|
|
52
|
+
}
|
|
53
|
+
.NavigationWindow .ModalCloseBtn, .NavigationWindow .NavigationWindowTitle {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
.NavigationWindow .NavigationSecondaryWrapper {
|
|
57
|
+
position: relative;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 170px;
|
|
60
|
+
list-style: none;
|
|
61
|
+
}
|
|
62
|
+
.NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor {
|
|
63
|
+
display: flex;
|
|
64
|
+
width: 60px;
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 50%;
|
|
67
|
+
left: 50%;
|
|
68
|
+
padding: 0px;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
transform: translate(-50%, 150%);
|
|
71
|
+
}
|
|
72
|
+
.NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel {
|
|
73
|
+
width: 100%;
|
|
74
|
+
height: 20px;
|
|
75
|
+
text-wrap: pretty;
|
|
76
|
+
line-height: 10px;
|
|
77
|
+
color: var(--emfe-w-color-white, #FFFFFF);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.NavigationPrimaryItemAnchor.NavItem0 {
|
|
81
|
+
grid-area: item0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.NavigationPrimaryItemAnchor.NavItem1 {
|
|
85
|
+
grid-area: item1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.NavigationPrimaryItemAnchor.NavItem2 {
|
|
89
|
+
grid-area: item2;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.NavigationPrimaryItemAnchor.NavItem3 {
|
|
93
|
+
grid-area: item3;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.NavigationPrimaryItemAnchor.NavItem4 {
|
|
97
|
+
grid-area: item4;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.NavigationBar {
|
|
101
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
102
|
+
display: grid;
|
|
103
|
+
grid-auto-flow: column;
|
|
104
|
+
grid-template-columns: 1fr 1fr 20% 1fr 1fr;
|
|
105
|
+
grid-template-areas: "item0 item1 . item2 item3";
|
|
106
|
+
border-radius: 5px;
|
|
107
|
+
position: relative;
|
|
108
|
+
}
|
|
109
|
+
.NavigationBar.NavigationBarSimple {
|
|
110
|
+
grid-template-columns: repeat(5, 20%);
|
|
111
|
+
grid-template-areas: "item0 item1 item2 item3 item4";
|
|
112
|
+
}
|
|
113
|
+
.NavigationBar.NavigationBarOpened {
|
|
114
|
+
box-shadow: 0 0 11px rgba(0, 0, 0, 0.09);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.NavigationPrimaryItemAnchor,
|
|
118
|
+
.NavigationSecondaryItemAnchor {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
align-items: center;
|
|
122
|
+
gap: 5px;
|
|
123
|
+
text-decoration: none;
|
|
124
|
+
color: var(--emfe-w-color-black, #000000);
|
|
125
|
+
font-size: 9px;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
padding: 10px;
|
|
129
|
+
}
|
|
130
|
+
.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,
|
|
131
|
+
.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg {
|
|
132
|
+
width: 20px;
|
|
133
|
+
height: 20px;
|
|
134
|
+
}
|
|
135
|
+
.NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,
|
|
136
|
+
.NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper {
|
|
137
|
+
display: flex;
|
|
138
|
+
justify-content: center;
|
|
139
|
+
align-items: center;
|
|
140
|
+
padding: 5px;
|
|
141
|
+
border-radius: 100%;
|
|
142
|
+
background-color: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
143
|
+
}
|
|
144
|
+
.NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,
|
|
145
|
+
.NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg {
|
|
146
|
+
width: 25px;
|
|
147
|
+
height: 25px;
|
|
148
|
+
}
|
|
149
|
+
.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,
|
|
150
|
+
.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,
|
|
151
|
+
.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,
|
|
152
|
+
.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel {
|
|
153
|
+
margin: 0;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
text-overflow: ellipsis;
|
|
157
|
+
text-align: center;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.NavigationButton {
|
|
161
|
+
background: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
162
|
+
border: none;
|
|
163
|
+
position: absolute;
|
|
164
|
+
border-radius: 100%;
|
|
165
|
+
top: 20%;
|
|
166
|
+
left: 50%;
|
|
167
|
+
transform: translate(-50%, -50%);
|
|
168
|
+
padding: 10px;
|
|
169
|
+
}
|
|
170
|
+
.NavigationButton .NavigationButtonSpan {
|
|
171
|
+
width: 100%;
|
|
172
|
+
height: 100%;
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
align-items: center;
|
|
176
|
+
}
|
|
177
|
+
.NavigationButton .labelMiddleIcon {
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
display: grid;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
width: 20px;
|
|
183
|
+
height: 20px;
|
|
184
|
+
padding: 4px;
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
}
|
|
187
|
+
.NavigationButton .labelMiddleIcon .middleIconLine {
|
|
188
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
189
|
+
content: "";
|
|
190
|
+
height: 2px;
|
|
191
|
+
width: 20px;
|
|
192
|
+
grid-row-start: 1;
|
|
193
|
+
grid-column-start: 1;
|
|
194
|
+
transition: transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s;
|
|
195
|
+
}
|
|
196
|
+
.NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1) {
|
|
197
|
+
margin-top: 10px;
|
|
198
|
+
}
|
|
199
|
+
.NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2) {
|
|
200
|
+
margin: auto;
|
|
201
|
+
}
|
|
202
|
+
.NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3) {
|
|
203
|
+
margin-top: -10px;
|
|
204
|
+
}
|
|
205
|
+
.NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1) {
|
|
206
|
+
margin-top: 0px;
|
|
207
|
+
transform: rotate(-45deg);
|
|
208
|
+
transition: margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s;
|
|
209
|
+
}
|
|
210
|
+
.NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2) {
|
|
211
|
+
width: 0px;
|
|
212
|
+
transition: width ease 0.2s;
|
|
213
|
+
}
|
|
214
|
+
.NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3) {
|
|
215
|
+
margin-top: 0px;
|
|
216
|
+
transform: rotate(45deg);
|
|
217
|
+
transition: margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s;
|
|
218
|
+
}`,c(t,"lang","scss")},m(n,r){O(n,t,r)},d(n){n&&H(t)}}}function Wo(e){let t;return{c(){t=I("style"),t.textContent=`.NavigationWrapper {
|
|
219
|
+
background: var(--emfe-w-color-gray-50, #F9F8F8);
|
|
220
|
+
width: 100%;
|
|
221
|
+
height: 100px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.NavigationPanel {
|
|
225
|
+
position: fixed;
|
|
226
|
+
bottom: 20px;
|
|
227
|
+
left: 50%;
|
|
228
|
+
transform: translateX(-50%);
|
|
229
|
+
width: calc(100% - 30px);
|
|
230
|
+
max-width: 450px;
|
|
231
|
+
height: 70px;
|
|
232
|
+
z-index: 30;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.NavigationWindow {
|
|
236
|
+
display: flex;
|
|
237
|
+
flex-direction: column;
|
|
238
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
239
|
+
position: absolute;
|
|
240
|
+
bottom: 30px;
|
|
241
|
+
left: 0;
|
|
242
|
+
opacity: 0;
|
|
243
|
+
transform: translateY(100%);
|
|
244
|
+
border-radius: 5px 5px 0 0;
|
|
245
|
+
transition: 0.25s ease;
|
|
246
|
+
width: 100%;
|
|
247
|
+
max-height: 40vh;
|
|
248
|
+
}
|
|
249
|
+
.NavigationWindow.NavigationWindowOpened {
|
|
250
|
+
opacity: 1;
|
|
251
|
+
padding-bottom: 60px;
|
|
252
|
+
transform: translateY(5px);
|
|
253
|
+
}
|
|
254
|
+
.NavigationWindow .ModalCloseBtn {
|
|
255
|
+
position: absolute;
|
|
256
|
+
top: 10px;
|
|
257
|
+
right: 10px;
|
|
258
|
+
width: 24px;
|
|
259
|
+
height: 24px;
|
|
260
|
+
border-radius: 100%;
|
|
261
|
+
color: var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));
|
|
262
|
+
background: rgba(255, 255, 255, 0.1);
|
|
263
|
+
cursor: pointer;
|
|
264
|
+
transition: all 150ms ease-in-out;
|
|
265
|
+
z-index: 1;
|
|
266
|
+
}
|
|
267
|
+
.NavigationWindow .ModalCloseBtn svg {
|
|
268
|
+
width: 24px;
|
|
269
|
+
height: 24px;
|
|
270
|
+
margin: 50%;
|
|
271
|
+
transform: translate(-50%, -50%);
|
|
272
|
+
}
|
|
273
|
+
.NavigationWindow .ModalCloseBtn:hover {
|
|
274
|
+
background: rgba(255, 255, 255, 0.2);
|
|
275
|
+
}
|
|
276
|
+
.NavigationWindow .NavigationWindowTitle {
|
|
277
|
+
padding: 16px 10px;
|
|
278
|
+
margin: 0;
|
|
279
|
+
color: var(--emfe-w-color-black, #000000);
|
|
280
|
+
font-size: 12px;
|
|
281
|
+
flex-grow: 0;
|
|
282
|
+
}
|
|
283
|
+
.NavigationWindow .NavigationSecondaryWrapper {
|
|
284
|
+
display: flex;
|
|
285
|
+
flex-wrap: wrap;
|
|
286
|
+
padding: 0 10px;
|
|
287
|
+
flex-grow: 1;
|
|
288
|
+
overflow-y: auto;
|
|
289
|
+
-webkit-overflow-scrolling: touch;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.NavigationPrimaryItemAnchor.NavItem0 {
|
|
293
|
+
grid-area: item0;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.NavigationPrimaryItemAnchor.NavItem1 {
|
|
297
|
+
grid-area: item1;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.NavigationPrimaryItemAnchor.NavItem2 {
|
|
301
|
+
grid-area: item2;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.NavigationPrimaryItemAnchor.NavItem3 {
|
|
305
|
+
grid-area: item3;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.NavigationPrimaryItemAnchor.NavItem4 {
|
|
309
|
+
grid-area: item4;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.NavigationBar {
|
|
313
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
314
|
+
display: grid;
|
|
315
|
+
grid-auto-flow: column;
|
|
316
|
+
grid-template-columns: 1fr 1fr 20% 1fr 1fr;
|
|
317
|
+
grid-template-areas: "item0 item1 . item2 item3";
|
|
318
|
+
height: 70px;
|
|
319
|
+
border-radius: 5px;
|
|
320
|
+
position: relative;
|
|
321
|
+
}
|
|
322
|
+
.NavigationBar.NavigationBarSimple {
|
|
323
|
+
grid-template-columns: repeat(5, 20%);
|
|
324
|
+
grid-template-areas: "item0 item1 item2 item3 item4";
|
|
325
|
+
}
|
|
326
|
+
.NavigationBar.NavigationBarOpened {
|
|
327
|
+
box-shadow: 0 0 11px rgba(0, 0, 0, 0.09);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.NavigationPrimaryItemAnchor,
|
|
331
|
+
.NavigationSecondaryItemAnchor {
|
|
332
|
+
display: flex;
|
|
333
|
+
flex-direction: column;
|
|
334
|
+
align-items: center;
|
|
335
|
+
justify-content: center;
|
|
336
|
+
gap: 5px;
|
|
337
|
+
text-decoration: none;
|
|
338
|
+
color: var(--emfe-w-color-black, #000000);
|
|
339
|
+
font-size: 9px;
|
|
340
|
+
overflow: hidden;
|
|
341
|
+
white-space: nowrap;
|
|
342
|
+
padding-bottom: 12px;
|
|
343
|
+
}
|
|
344
|
+
.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,
|
|
345
|
+
.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,
|
|
346
|
+
.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,
|
|
347
|
+
.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg {
|
|
348
|
+
width: 20px;
|
|
349
|
+
}
|
|
350
|
+
.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,
|
|
351
|
+
.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,
|
|
352
|
+
.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,
|
|
353
|
+
.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel {
|
|
354
|
+
margin: 0;
|
|
355
|
+
overflow: hidden;
|
|
356
|
+
white-space: nowrap;
|
|
357
|
+
text-overflow: ellipsis;
|
|
358
|
+
width: 100%;
|
|
359
|
+
text-align: center;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.NavigationSecondaryItemAnchor {
|
|
363
|
+
width: 25%;
|
|
364
|
+
padding: 10px 0;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.ActiveItem {
|
|
368
|
+
background-color: var(--emfe-w-color-primary-50, var(--emfe-w-color-pink-20, #FBECF4));
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.NavigationButton {
|
|
372
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
373
|
+
border: none;
|
|
374
|
+
width: 20%;
|
|
375
|
+
height: 100%;
|
|
376
|
+
position: absolute;
|
|
377
|
+
top: 50%;
|
|
378
|
+
left: 50%;
|
|
379
|
+
transform: translate(-50%, -50%);
|
|
380
|
+
padding: 0;
|
|
381
|
+
padding-bottom: 12px;
|
|
382
|
+
}
|
|
383
|
+
.NavigationButton .middleIcon {
|
|
384
|
+
width: 32px;
|
|
385
|
+
height: 32px;
|
|
386
|
+
}
|
|
387
|
+
.NavigationButton .middleIcon .a {
|
|
388
|
+
fill: var(--emfe-w-color-white, #FFFFFF);
|
|
389
|
+
stroke: var(--emfe-w-color-primary, #D0046C);
|
|
390
|
+
stroke-linecap: round;
|
|
391
|
+
stroke-linejoin: round;
|
|
392
|
+
}
|
|
393
|
+
.NavigationButton .middleIcon .b {
|
|
394
|
+
stroke: none;
|
|
395
|
+
}
|
|
396
|
+
.NavigationButton .middleIcon .c {
|
|
397
|
+
fill: none;
|
|
398
|
+
}
|
|
399
|
+
.NavigationButton:before {
|
|
400
|
+
border-left: 8px solid transparent;
|
|
401
|
+
border-right: 8px solid transparent;
|
|
402
|
+
border-top: 8px solid var(--emfe-w-color-gray-50, #F9F8F8);
|
|
403
|
+
content: "";
|
|
404
|
+
height: 0;
|
|
405
|
+
left: 50%;
|
|
406
|
+
opacity: 0;
|
|
407
|
+
position: absolute;
|
|
408
|
+
top: 0;
|
|
409
|
+
transform: translateX(-50%);
|
|
410
|
+
width: 0;
|
|
411
|
+
}
|
|
412
|
+
.NavigationButton.NavigationButtonActive:before {
|
|
413
|
+
opacity: 1;
|
|
414
|
+
transition: 0.7s ease;
|
|
415
|
+
}`,c(t,"lang","scss")},m(n,r){O(n,t,r)},d(n){n&&H(t)}}}function Vo(e){let t,n,r,i,o,a=!e[1]&&e[13]&&e[3]&&tn(e);function s(h,d){return h[11]?jo:Wo}let u=s(e),l=u(e);return{c(){t=I("div"),a&&a.c(),r=G(),l.c(),i=mn(),c(t,"class",n="NavigationWrapper "+(e[10]?"NavigationWrapperLandScape":""))},m(h,d){O(h,t,d),a&&a.m(t,null),e[29](t),O(h,r,d),l.m(h,d),O(h,i,d),o=!0},p(h,d){!h[1]&&h[13]&&h[3]?a?(a.p(h,d),d[0]&10&&z(a,1)):(a=tn(h),a.c(),z(a,1),a.m(t,null)):a&&(pn(),pe(a,1,1,()=>{a=null}),gn()),(!o||d[0]&1024&&n!==(n="NavigationWrapper "+(h[10]?"NavigationWrapperLandScape":"")))&&c(t,"class",n),u!==(u=s(h))&&(l.d(1),l=u(h),l&&(l.c(),l.m(i.parentNode,i)))},i(h){o||(z(a),o=!0)},o(h){pe(a),o=!1},d(h){h&&(H(t),H(r),H(i)),a&&a.d(),e[29](null),l.d(h)}}}function Xo(e,t,n){let r;pr(e,Co,m=>n(12,r=m));let{$$slots:i={},$$scope:o}=t,{cmsendpoint:a=""}=t,{lang:s=""}=t,{env:u=""}=t,{secondarymenutitle:l=""}=t,{userroles:h=""}=t,{clientstyling:d=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{activecategory:g=""}=t,{flowermenustyle:v="false"}=t,P=window.navigator.userAgent,N=Qt(P)!=="PC",b=!0,T=!1,x=!1,C="",j=!1,J=[],_e=[],W=[],V,bt="",Ue={},yt,De=!1;const Yn=()=>{fetch(p).then(S=>S.json()).then(S=>{Object.keys(S).forEach(B=>{Jt(B,S[B])})}).catch(S=>{console.log(S)})};Object.keys(Yt).forEach(m=>{Jt(m,Yt[m])});const _t=m=>{if(m.data)switch(m.data.type){case"PlayerAccountMenuActive":n(4,x=!1);break;case"OpenLoginRegisterModal":n(4,x=!1);break;case"GoToHomepage":n(4,x=!1);break}},qn=()=>{n(11,De=v.toLowerCase()==="true")},Kn=()=>{n(4,x=!x),window.postMessage({type:"MobileBottomNav",navigationWindowOpened:x},window.location.href)},er=m=>{n(7,_e=[]),n(7,_e=j?m.splice(0,5):m.splice(0,4)),g&&xt()},tr=()=>{Ge(),n(1,b=!0);let m=Qt(P),S=new URL(`${a}/${s}/bottom-mobile-menu?env=${u}`);S.searchParams.append("userRoles",h),m&&S.searchParams.append("device","mtWeb"),fetch(S.href).then(B=>B.json()).then(B=>{J=[],n(8,W=[]),n(3,T=B.length>0),B.forEach(R=>{Ue[R.label]=R.eventTrigger?R.path:null,R.path=="/menu-item"?(n(9,bt=R==null?void 0:R.img),n(8,W=R.children)):J.push(R)}),n(6,j=W.length==0),W.length>=5&&De&&n(8,W=W.splice(0,5)),er(J),n(1,b=!1)}).catch(B=>{n(1,b=!1),console.error(B)})},xt=()=>{const S=_e.concat(W).find(B=>B.path.includes(g));S&&n(5,C=S.id)},ce=(m,S,B,R)=>{Ue[R]?window.postMessage({type:"MobileBottomNavigationEvent",event:Ue[R]},window.location.href):window.postMessage({type:"NavigateTo",path:m,target:S||null,externalLink:B||!1},window.location.href),n(4,x=!1),typeof gtag=="function"&>ag("event","ChangeMenu",{context:"MobileBottomNavigation",menuItem:`${m}`})},nr=()=>{let m=document.createElement("style");d&&V&&(m.innerHTML=d,V.appendChild(m))},rr=()=>{let m=new URL(f),S=document.createElement("style");fetch(m.href).then(B=>B.text()).then(B=>{S.innerHTML=B,setTimeout(()=>{V.appendChild(S)},1)})},ir=()=>{Ro(s)},Ge=()=>{n(10,yt=N&&window.innerHeight/window.innerWidth<1)},Et=()=>{x&&n(4,x=!1)};wr(()=>(window.addEventListener("message",_t,!1),document.addEventListener("focusin",Et),N&&window.screen.orientation.addEventListener("change",Ge),()=>{window.removeEventListener("message",_t),document.removeEventListener("focusin",Et),N&&window.screen.orientation.removeEventListener("change",Ge)}));const or=m=>{var S,B;(S=m.attrs)!=null&&S.target?ce(m.path,(B=m.attrs)==null?void 0:B.target,m==null?void 0:m.externalLink,m.label):ce(m.path,null,m==null?void 0:m.externalLink,m.label)},ar=m=>{var S,B;(S=m.attrs)!=null&&S.target?ce(m.path,(B=m.attrs)==null?void 0:B.target,m==null?void 0:m.externalLink,m.label):ce(m.path,null,m==null?void 0:m.externalLink,m.label)};function sr(m){Je[m?"unshift":"push"](()=>{V=m,n(2,V)})}return e.$$set=m=>{"cmsendpoint"in m&&n(16,a=m.cmsendpoint),"lang"in m&&n(17,s=m.lang),"env"in m&&n(18,u=m.env),"secondarymenutitle"in m&&n(0,l=m.secondarymenutitle),"userroles"in m&&n(19,h=m.userroles),"clientstyling"in m&&n(20,d=m.clientstyling),"clientstylingurl"in m&&n(21,f=m.clientstylingurl),"translationurl"in m&&n(22,p=m.translationurl),"activecategory"in m&&n(23,g=m.activecategory),"flowermenustyle"in m&&n(24,v=m.flowermenustyle),"$$scope"in m&&n(25,o=m.$$scope)},e.$$.update=()=>{e.$$.dirty[0]&16777216&&v&&qn(),e.$$.dirty[0]&8388610&&g&&!b&&xt(),e.$$.dirty[0]&131072&&s&&ir(),e.$$.dirty[0]&983040&&a&&s&&u&&h&&tr(),e.$$.dirty[0]&1048580&&d&&V&&nr(),e.$$.dirty[0]&2097156&&f&&V&&rr(),e.$$.dirty[0]&4194304&&p&&Yn()},[l,b,V,T,x,C,j,_e,W,bt,yt,De,r,N,Kn,ce,a,s,u,h,d,f,p,g,v,o,i,or,ar,sr]}class Jn extends Mr{constructor(t){super(),Hr(this,t,Xo,Vo,hn,{cmsendpoint:16,lang:17,env:18,secondarymenutitle:0,userroles:19,clientstyling:20,clientstylingurl:21,translationurl:22,activecategory:23,flowermenustyle:24},null,[-1,-1])}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),U()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),U()}get env(){return this.$$.ctx[18]}set env(t){this.$$set({env:t}),U()}get secondarymenutitle(){return this.$$.ctx[0]}set secondarymenutitle(t){this.$$set({secondarymenutitle:t}),U()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),U()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}get translationurl(){return this.$$.ctx[22]}set translationurl(t){this.$$set({translationurl:t}),U()}get activecategory(){return this.$$.ctx[23]}set activecategory(t){this.$$set({activecategory:t}),U()}get flowermenustyle(){return this.$$.ctx[24]}set flowermenustyle(t){this.$$set({flowermenustyle:t}),U()}}Or(Jn,{cmsendpoint:{},lang:{},env:{},secondarymenutitle:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activecategory:{},flowermenustyle:{}},["close"],[],!0);exports.default=Jn;
|