@everymatrix/general-player-forgot-password-form-nd 1.54.12 → 1.55.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.
@@ -0,0 +1,3165 @@
1
+ "use strict";var za=Object.defineProperty,Va=Object.defineProperties;var Ua=Object.getOwnPropertyDescriptors;var ui=Object.getOwnPropertySymbols;var $a=Object.prototype.hasOwnProperty,ja=Object.prototype.propertyIsEnumerable;var Or=(e,t,r)=>t in e?za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ft=(e,t)=>{for(var r in t||(t={}))$a.call(t,r)&&Or(e,r,t[r]);if(ui)for(var r of ui(t))ja.call(t,r)&&Or(e,r,t[r]);return e},zt=(e,t)=>Va(e,Ua(t));var we=(e,t,r)=>Or(e,typeof t!="symbol"?t+"":t,r);var Vt=(e,t,r)=>new Promise((s,i)=>{var o=l=>{try{a(r.next(l))}catch(u){i(u)}},n=l=>{try{a(r.throw(l))}catch(u){i(u)}},a=l=>l.done?s(l.value):Promise.resolve(l.value).then(o,n);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function xe(){}function Bo(e){return e()}function hi(){return Object.create(null)}function De(e){e.forEach(Bo)}function xt(e){return typeof e=="function"}function Mo(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ut;function ci(e,t){return e===t?!0:(Ut||(Ut=document.createElement("a")),Ut.href=t,e===Ut.href)}function Ga(e){return Object.keys(e).length===0}function Lo(e,...t){if(e==null){for(const s of t)s(void 0);return xe}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Wa(e,t,r){e.$$.on_destroy.push(Lo(t,r))}const qa=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(e,t){e.appendChild(t)}function Ya(e,t,r){const s=Za(e);if(!s.getElementById(t)){const i=x("style");i.id=t,i.textContent=r,Ja(s,i)}}function Za(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ja(e,t){return p(e.head||e,t),t.sheet}function D(e,t,r){e.insertBefore(t,r||null)}function k(e){e.parentNode&&e.parentNode.removeChild(e)}function Xa(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function x(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function N(e){return document.createTextNode(e)}function V(){return N(" ")}function Rs(){return N("")}function ie(e,t,r,s){return e.addEventListener(t,r,s),()=>e.removeEventListener(t,r,s)}function d(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Q(e,t,r){const s=t.toLowerCase();s in e?e[s]=typeof e[s]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:d(e,t,r)}function Ka(e){return Array.from(e.childNodes)}function J(e,t){t=""+t,e.data!==t&&(e.data=t)}function We(e,t){e.value=t==null?"":t}function Qa(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Pt;function vt(e){Pt=e}function el(){if(!Pt)throw new Error("Function called outside component initialization");return Pt}function tl(e){el().$$.on_mount.push(e)}const je=[],yt=[];let qe=[];const di=[],rl=Promise.resolve();let is=!1;function sl(){is||(is=!0,rl.then(le))}function os(e){qe.push(e)}const Nr=new Set;let Ve=0;function le(){if(Ve!==0)return;const e=Pt;do{try{for(;Ve<je.length;){const t=je[Ve];Ve++,vt(t),il(t.$$)}}catch(t){throw je.length=0,Ve=0,t}for(vt(null),je.length=0,Ve=0;yt.length;)yt.pop()();for(let t=0;t<qe.length;t+=1){const r=qe[t];Nr.has(r)||(Nr.add(r),r())}qe.length=0}while(je.length);for(;di.length;)di.pop()();is=!1,Nr.clear(),vt(e)}function il(e){if(e.fragment!==null){e.update(),De(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(os)}}function ol(e){const t=[],r=[];qe.forEach(s=>e.indexOf(s)===-1?t.push(s):r.push(s)),r.forEach(s=>s()),qe=t}const nl=new Set;function al(e,t){e&&e.i&&(nl.delete(e),e.i(t))}function fi(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ll(e,t,r){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,r),os(()=>{const o=e.$$.on_mount.map(Bo).filter(xt);e.$$.on_destroy?e.$$.on_destroy.push(...o):De(o),e.$$.on_mount=[]}),i.forEach(os)}function ul(e,t){const r=e.$$;r.fragment!==null&&(ol(r.after_update),De(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function hl(e,t){e.$$.dirty[0]===-1&&(je.push(e),sl(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function cl(e,t,r,s,i,o,n=null,a=[-1]){const l=Pt;vt(e);const u=e.$$={fragment:null,ctx:[],props:o,update:xe,not_equal:i,bound:hi(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:hi(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};n&&n(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(c,f,...m)=>{const g=m.length?m[0]:f;return u.ctx&&i(u.ctx[c],u.ctx[c]=g)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](g),h&&hl(e,c)),f}):[],u.update(),h=!0,De(u.before_update),u.fragment=s?s(u.ctx):!1,t.target){if(t.hydrate){const c=Ka(t.target);u.fragment&&u.fragment.l(c),c.forEach(k)}else u.fragment&&u.fragment.c();t.intro&&al(e.$$.fragment),ll(e,t.target,t.anchor),le()}vt(l)}let Ro;typeof HTMLElement=="function"&&(Ro=class extends HTMLElement{constructor(t,r,s){super();we(this,"$$ctor");we(this,"$$s");we(this,"$$c");we(this,"$$cn",!1);we(this,"$$d",{});we(this,"$$r",!1);we(this,"$$p_d",{});we(this,"$$l",{});we(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,s&&this.attachShadow({mode:"open"})}addEventListener(t,r,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,s)}removeEventListener(t,r,s){if(super.removeEventListener(t,r,s),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Vt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let n;return{c:function(){n=x("slot"),o!=="default"&&d(n,"name",o)},m:function(u,h){D(u,n,h)},d:function(u){u&&k(n)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},s=Qa(this);for(const o of this.$$s)o in s&&(r[o]=[t(o)]);for(const o of this.attributes){const n=this.$$g_p(o.name);n in this.$$d||(this.$$d[n]=Zt(n,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:zt(Ft({},this.$$d),{$$slots:r,$$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 n=Zt(o,this.$$d[o],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,n)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const n of this.$$l[o]){const a=this.$$c.$on(o,n);this.$$l_u.set(n,a)}this.$$l={}}})}attributeChangedCallback(t,r,s){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Zt(t,s,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(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Zt(e,t,r,s){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!r[e])return t;if(s==="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 dl(e,t,r,s,i,o){let n=class extends Ro{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(n.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Zt(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),s.forEach(a=>{Object.defineProperty(n.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=n,n}class fl{constructor(){we(this,"$$");we(this,"$$set")}$destroy(){ul(this,1),this.$destroy=xe}$on(t,r){if(!xt(r))return xe;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(r),()=>{const i=s.indexOf(r);i!==-1&&s.splice(i,1)}}$set(t){this.$$set&&!Ga(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const pl="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pl);var ns=function(e,t){return ns=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(r[i]=s[i])},ns(e,t)};function Te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ns(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var R=function(){return R=Object.assign||function(t){for(var r,s=1,i=arguments.length;s<i;s++){r=arguments[s];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},R.apply(this,arguments)};function ml(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(e);i<s.length;i++)t.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(e,s[i])&&(r[s[i]]=e[s[i]]);return r}function as(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],s=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ls(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var s=r.call(e),i,o=[],n;try{for(;(t===void 0||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o}function Ye(e,t,r){if(r||arguments.length===2)for(var s=0,i=t.length,o;s<i;s++)(o||!(s in t))&&(o||(o=Array.prototype.slice.call(t,0,s)),o[s]=t[s]);return e.concat(o||Array.prototype.slice.call(t))}function Se(e){return typeof e=="function"}function Do(e){var t=function(s){Error.call(s),s.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var kr=Do(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
+ `+r.map(function(s,i){return i+1+") "+s.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function us(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var pr=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,s,i,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=as(n),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else n.remove(this);var h=this.initialTeardown;if(Se(h))try{h()}catch(_){o=_ instanceof kr?_.errors:[_]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var f=as(c),m=f.next();!m.done;m=f.next()){var g=m.value;try{pi(g)}catch(_){o=o!=null?o:[],_ instanceof kr?o=Ye(Ye([],ls(o)),ls(_.errors)):o.push(_)}}}catch(_){s={error:_}}finally{try{m&&!m.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}}if(o)throw new kr(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)pi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&us(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&us(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ho=pr.EMPTY;function Fo(e){return e instanceof pr||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function pi(e){Se(e)?e():e.unsubscribe()}var zo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},_l={setTimeout:function(e,t){for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return setTimeout.apply(void 0,Ye([e,t],ls(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function gl(e){_l.setTimeout(function(){throw e})}function mi(){}function Jt(e){e()}var Vo=function(e){Te(t,e);function t(r){var s=e.call(this)||this;return s.isStopped=!1,r?(s.destination=r,Fo(r)&&r.add(s)):s.destination=wl,s}return t.create=function(r,s,i){return new hs(r,s,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},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(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(pr),bl=Function.prototype.bind;function Br(e,t){return bl.call(e,t)}var vl=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(s){$t(s)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(s){$t(s)}else $t(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){$t(r)}},e}(),hs=function(e){Te(t,e);function t(r,s,i){var o=e.call(this)||this,n;if(Se(r)||!r)n={next:r!=null?r:void 0,error:s!=null?s:void 0,complete:i!=null?i:void 0};else{var a;o&&zo.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return o.unsubscribe()},n={next:r.next&&Br(r.next,a),error:r.error&&Br(r.error,a),complete:r.complete&&Br(r.complete,a)}):n=r}return o.destination=new vl(n),o}return t}(Vo);function $t(e){gl(e)}function yl(e){throw e}var wl={closed:!0,next:mi,error:yl,complete:mi},xl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Pl(e){return e}function El(e){return e.length===0?Pl:e.length===1?e[0]:function(r){return e.reduce(function(s,i){return i(s)},r)}}var _i=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,s){var i=this,o=Cl(t)?t:new hs(t,r,s);return Jt(function(){var n=i,a=n.operator,l=n.source;o.add(a?a.call(o,l):l?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var s=this;return r=gi(r),new r(function(i,o){var n=new hs({next:function(a){try{t(a)}catch(l){o(l),n.unsubscribe()}},error:o,complete:i});s.subscribe(n)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[xl]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return El(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=gi(t),new t(function(s,i){var o;r.subscribe(function(n){return o=n},function(n){return i(n)},function(){return s(o)})})},e.create=function(t){return new e(t)},e}();function gi(e){var t;return(t=e!=null?e:zo.Promise)!==null&&t!==void 0?t:Promise}function Al(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}function Cl(e){return e&&e instanceof Vo||Al(e)&&Fo(e)}var Sl=Do(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Uo=function(e){Te(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var s=new bi(this,this);return s.operator=r,s},t.prototype._throwIfClosed=function(){if(this.closed)throw new Sl},t.prototype.next=function(r){var s=this;Jt(function(){var i,o;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var n=as(s.currentObservers),a=n.next();!a.done;a=n.next()){var l=a.value;l.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var s=this;Jt(function(){if(s._throwIfClosed(),!s.isStopped){s.hasError=s.isStopped=!0,s.thrownError=r;for(var i=s.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Jt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var s=r.observers;s.length;)s.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var s=this,i=this,o=i.hasError,n=i.isStopped,a=i.observers;return o||n?Ho:(this.currentObservers=null,a.push(r),new pr(function(){s.currentObservers=null,us(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var s=this,i=s.hasError,o=s.thrownError,n=s.isStopped;i?r.error(o):n&&r.complete()},t.prototype.asObservable=function(){var r=new _i;return r.source=this,r},t.create=function(r,s){return new bi(r,s)},t}(_i),bi=function(e){Te(t,e);function t(r,s){var i=e.call(this)||this;return i.destination=r,i.source=s,i}return t.prototype.next=function(r){var s,i;(i=(s=this.destination)===null||s===void 0?void 0:s.next)===null||i===void 0||i.call(s,r)},t.prototype.error=function(r){var s,i;(i=(s=this.destination)===null||s===void 0?void 0:s.error)===null||i===void 0||i.call(s,r)},t.prototype.complete=function(){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||s===void 0||s.call(r)},t.prototype._subscribe=function(r){var s,i;return(i=(s=this.source)===null||s===void 0?void 0:s.subscribe(r))!==null&&i!==void 0?i:Ho},t}(Uo),$o={now:function(){return($o.delegate||Date).now()},delegate:void 0},Tl=function(e){Te(t,e);function t(r,s,i){r===void 0&&(r=1/0),s===void 0&&(s=1/0),i===void 0&&(i=$o);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=s,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=s===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,s),o}return t.prototype.next=function(r){var s=this,i=s.isStopped,o=s._buffer,n=s._infiniteTimeWindow,a=s._timestampProvider,l=s._windowTime;i||(o.push(r),!n&&o.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var s=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,n=i._buffer,a=n.slice(),l=0;l<a.length&&!r.closed;l+=o?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),s},t.prototype._trimBuffer=function(){var r=this,s=r._bufferSize,i=r._timestampProvider,o=r._buffer,n=r._infiniteTimeWindow,a=(n?1:2)*s;if(s<1/0&&a<o.length&&o.splice(0,o.length-a),!n){for(var l=i.now(),u=0,h=1;h<o.length&&o[h]<=l;h+=2)u=h;u&&o.splice(0,u+1)}},t}(Uo);const vi=[],yi={},Il=(e,t=0)=>{if(vi.indexOf(e)==-1){const r=new Tl(t);yi[e]=r,vi.push(e)}return yi[e]},Ue=[];function Ol(e,t){return{subscribe:mr(e,t).subscribe}}function mr(e,t=xe){let r;const s=new Set;function i(a){if(Mo(e,a)&&(e=a,r)){const l=!Ue.length;for(const u of s)u[1](),Ue.push(u,e);if(l){for(let u=0;u<Ue.length;u+=2)Ue[u][0](Ue[u+1]);Ue.length=0}}}function o(a){i(a(e))}function n(a,l=xe){const u=[a,l];return s.add(u),s.size===1&&(r=t(i,o)||xe),a(e),()=>{s.delete(u),s.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:n}}function ot(e,t,r){const s=!Array.isArray(e),i=s?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Ol(r,(n,a)=>{let l=!1;const u=[];let h=0,c=xe;const f=()=>{if(h)return;c();const g=t(s?u[0]:u,n,a);o?n(g):c=xt(g)?g:xe},m=i.map((g,_)=>Lo(g,P=>{u[_]=P,h&=~(1<<_),l&&f()},()=>{h|=1<<_}));return l=!0,f(),function(){De(m),c(),l=!1}})}function Nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kl=function(t){return Bl(t)&&!Ml(t)};function Bl(e){return!!e&&typeof e=="object"}function Ml(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Dl(e)}var Ll=typeof Symbol=="function"&&Symbol.for,Rl=Ll?Symbol.for("react.element"):60103;function Dl(e){return e.$$typeof===Rl}function Hl(e){return Array.isArray(e)?[]:{}}function Et(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Xe(Hl(e),e,t):e}function Fl(e,t,r){return e.concat(t).map(function(s){return Et(s,r)})}function zl(e,t){if(!t.customMerge)return Xe;var r=t.customMerge(e);return typeof r=="function"?r:Xe}function Vl(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function wi(e){return Object.keys(e).concat(Vl(e))}function jo(e,t){try{return t in e}catch(r){return!1}}function Ul(e,t){return jo(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function $l(e,t,r){var s={};return r.isMergeableObject(e)&&wi(e).forEach(function(i){s[i]=Et(e[i],r)}),wi(t).forEach(function(i){Ul(e,i)||(jo(e,i)&&r.isMergeableObject(t[i])?s[i]=zl(i,r)(e[i],t[i],r):s[i]=Et(t[i],r))}),s}function Xe(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Fl,r.isMergeableObject=r.isMergeableObject||kl,r.cloneUnlessOtherwiseSpecified=Et;var s=Array.isArray(t),i=Array.isArray(e),o=s===i;return o?s?r.arrayMerge(e,t,r):$l(e,t,r):Et(t,r)}Xe.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(s,i){return Xe(s,i,r)},{})};var jl=Xe,Gl=jl;const Wl=Nl(Gl);function Mr(e,t){var r=t&&t.cache?t.cache:Kl,s=t&&t.serializer?t.serializer:Xl,i=t&&t.strategy?t.strategy:Yl;return i(e,{cache:r,serializer:s})}function ql(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Go(e,t,r,s){var i=ql(s)?s:r(s),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,s),t.set(i,o)),o}function Wo(e,t,r){var s=Array.prototype.slice.call(arguments,3),i=r(s),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,s),t.set(i,o)),o}function Ds(e,t,r,s,i){return r.bind(t,e,s,i)}function Yl(e,t){var r=e.length===1?Go:Wo;return Ds(e,this,r,t.cache.create(),t.serializer)}function Zl(e,t){return Ds(e,this,Wo,t.cache.create(),t.serializer)}function Jl(e,t){return Ds(e,this,Go,t.cache.create(),t.serializer)}var Xl=function(){return JSON.stringify(arguments)};function Hs(){this.cache=Object.create(null)}Hs.prototype.get=function(e){return this.cache[e]};Hs.prototype.set=function(e,t){this.cache[e]=t};var Kl={create:function(){return new Hs}},Lr={variadic:Zl,monadic:Jl},I;(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"})(I||(I={}));var j;(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"})(j||(j={}));var Ke;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ke||(Ke={}));function xi(e){return e.type===j.literal}function Ql(e){return e.type===j.argument}function qo(e){return e.type===j.number}function Yo(e){return e.type===j.date}function Zo(e){return e.type===j.time}function Jo(e){return e.type===j.select}function Xo(e){return e.type===j.plural}function eu(e){return e.type===j.pound}function Ko(e){return e.type===j.tag}function Qo(e){return!!(e&&typeof e=="object"&&e.type===Ke.number)}function cs(e){return!!(e&&typeof e=="object"&&e.type===Ke.dateTime)}var en=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tu=/(?:[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 ru(e){var t={};return e.replace(tu,function(r){var s=r.length;switch(r[0]){case"G":t.era=s===4?"long":s===5?"narrow":"short";break;case"y":t.year=s===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"][s-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][s-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=s===4?"long":s===5?"narrow":"short";break;case"e":if(s<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][s-4];break;case"c":if(s<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][s-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"][s-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][s-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][s-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][s-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"][s-1];break;case"s":t.second=["numeric","2-digit"][s-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=s<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 su=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function iu(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(su).filter(function(f){return f.length>0}),r=[],s=0,i=t;s<i.length;s++){var o=i[s],n=o.split("/");if(n.length===0)throw new Error("Invalid number skeleton");for(var a=n[0],l=n.slice(1),u=0,h=l;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function ou(e){return e.replace(/^(.*?)-/,"")}var Pi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,tn=/^(@+)?(\+|#+)?[rs]?$/g,nu=/(\*)(0+)|(#+)(0+)|(0+)/g,rn=/^(0+)$/;function Ei(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(tn,function(r,s,i){return typeof i!="string"?(t.minimumSignificantDigits=s.length,t.maximumSignificantDigits=s.length):i==="+"?t.minimumSignificantDigits=s.length:s[0]==="#"?t.maximumSignificantDigits=s.length:(t.minimumSignificantDigits=s.length,t.maximumSignificantDigits=s.length+(typeof i=="string"?i.length:0)),""}),t}function sn(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 au(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 r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(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 Ai(e){var t={},r=sn(e);return r||t}function lu(e){for(var t={},r=0,s=e;r<s.length;r++){var i=s[r];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=ou(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=R(R(R({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return R(R({},l),Ai(u))},{}));continue;case"engineering":t=R(R(R({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return R(R({},l),Ai(u))},{}));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(nu,function(l,u,h,c,f,m){if(u)t.minimumIntegerDigits=h.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(m)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(Pi.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pi,function(l,u,h,c,f,m){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&m?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+m.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=R(R({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=R(R({},t),Ei(o)));continue}if(tn.test(i.stem)){t=R(R({},t),Ei(i.stem));continue}var n=sn(i.stem);n&&(t=R(R({},t),n));var a=au(i.stem);a&&(t=R(R({},t),a))}return t}var jt={"001":["H","h"],419:["h","H","hB","hb"],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","H","hB","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","H","hB","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","H","hB","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"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["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 uu(e,t){for(var r="",s=0;s<e.length;s++){var i=e.charAt(s);if(i==="j"){for(var o=0;s+1<e.length&&e.charAt(s+1)===i;)o++,s++;var n=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=hu(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;n-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function hu(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 r=e.language,s;r!=="root"&&(s=e.maximize().region);var i=jt[s||""]||jt[r||""]||jt["".concat(r,"-001")]||jt["001"];return i[0]}var Rr,cu=new RegExp("^".concat(en.source,"*")),du=new RegExp("".concat(en.source,"*$"));function O(e,t){return{start:e,end:t}}var fu=!!String.prototype.startsWith&&"_a".startsWith("a",1),pu=!!String.fromCodePoint,mu=!!Object.fromEntries,_u=!!String.prototype.codePointAt,gu=!!String.prototype.trimStart,bu=!!String.prototype.trimEnd,vu=!!Number.isSafeInteger,yu=vu?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ds=!0;try{var wu=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ds=((Rr=wu.exec("a"))===null||Rr===void 0?void 0:Rr[0])==="a"}catch(e){ds=!1}var Ci=fu?function(t,r,s){return t.startsWith(r,s)}:function(t,r,s){return t.slice(s,s+r.length)===r},fs=pu?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s="",i=t.length,o=0,n;i>o;){if(n=t[o++],n>1114111)throw RangeError(n+" is not a valid code point");s+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return s},Si=mu?Object.fromEntries:function(t){for(var r={},s=0,i=t;s<i.length;s++){var o=i[s],n=o[0],a=o[1];r[n]=a}return r},on=_u?function(t,r){return t.codePointAt(r)}:function(t,r){var s=t.length;if(!(r<0||r>=s)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===s||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},xu=gu?function(t){return t.trimStart()}:function(t){return t.replace(cu,"")},Pu=bu?function(t){return t.trimEnd()}:function(t){return t.replace(du,"")};function nn(e,t){return new RegExp(e,t)}var ps;if(ds){var Ti=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ps=function(t,r){var s;Ti.lastIndex=r;var i=Ti.exec(t);return(s=i[1])!==null&&s!==void 0?s:""}}else ps=function(t,r){for(var s=[];;){var i=on(t,r);if(i===void 0||an(i)||Su(i))break;s.push(i),r+=i>=65536?2:1}return fs.apply(void 0,s)};var Eu=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.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,r,s){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var n=this.parseArgument(t,s);if(n.err)return n;i.push(n.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:j.pound,location:O(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(s)break;return this.error(I.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&ms(this.peek()||0)){var n=this.parseTag(t,r);if(n.err)return n;i.push(n.val)}else{var n=this.parseLiteral(t,r);if(n.err)return n;i.push(n.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var s=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:j.literal,value:"<".concat(i,"/>"),location:O(s,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var n=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ms(this.char()))return this.error(I.INVALID_TAG,O(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(I.UNMATCHED_CLOSING_TAG,O(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:j.tag,value:i,children:n,location:O(s,this.clonePosition())},err:null}:this.error(I.INVALID_TAG,O(a,this.clonePosition())))}else return this.error(I.UNCLOSED_TAG,O(s,this.clonePosition()))}else return this.error(I.INVALID_TAG,O(s,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Cu(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var s=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var n=this.tryParseUnquoted(t,r);if(n){i+=n;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=O(s,this.clonePosition());return{val:{type:j.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Au(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 r=[this.char()];for(this.bump();!this.isEOF();){var s=this.char();if(s===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(s);this.bump()}return fs.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var s=this.char();return s===60||s===123||s===35&&(r==="plural"||r==="selectordinal")||s===125&&t>0?null:(this.bump(),fs(s))},e.prototype.parseArgument=function(t,r){var s=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE,O(s,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(I.EMPTY_ARGUMENT,O(s,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(I.MALFORMED_ARGUMENT,O(s,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE,O(s,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:j.argument,value:i,location:O(s,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE,O(s,this.clonePosition())):this.parseArgumentOptions(t,r,i,s);default:return this.error(I.MALFORMED_ARGUMENT,O(s,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),s=ps(this.message,r),i=r+s.length;this.bumpTo(i);var o=this.clonePosition(),n=O(t,o);return{value:s,location:n}},e.prototype.parseArgumentOptions=function(t,r,s,i){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(I.EXPECT_ARGUMENT_TYPE,O(n,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=Pu(c.val);if(f.length===0)return this.error(I.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var m=O(h,this.clonePosition());u={style:f,styleLocation:m}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var _=O(i,this.clonePosition());if(u&&Ci(u==null?void 0:u.style,"::",0)){var P=xu(u.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(P,u.styleLocation);return c.err?c:{val:{type:j.number,value:s,location:_,style:c.val},err:null}}else{if(P.length===0)return this.error(I.EXPECT_DATE_TIME_SKELETON,_);var w=P;this.locale&&(w=uu(P,this.locale));var f={type:Ke.dateTime,pattern:w,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?ru(w):{}},v=a==="date"?j.date:j.time;return{val:{type:v,value:s,location:_,style:f},err:null}}}return{val:{type:a==="number"?j.number:a==="date"?j.date:j.time,value:s,location:_,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(I.EXPECT_SELECT_ARGUMENT_OPTIONS,O(C,R({},C)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),B=0;if(a!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(I.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(I.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),A=this.parseIdentifierIfPossible(),B=c.val}var H=this.tryParsePluralOrSelectOptions(t,a,r,A);if(H.err)return H;var g=this.tryParseArgumentClose(i);if(g.err)return g;var F=O(i,this.clonePosition());return a==="select"?{val:{type:j.select,value:s,options:Si(H.val),location:F},err:null}:{val:{type:j.plural,value:s,options:Si(H.val),offset:B,pluralType:a==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(I.INVALID_ARGUMENT_TYPE,O(n,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE,O(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var s=this.char();switch(s){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(I.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(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(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var s=[];try{s=iu(t)}catch(i){return this.error(I.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ke.number,tokens:s,location:r,parsedOptions:this.shouldParseSkeletons?lu(s):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,s,i){for(var o,n=!1,a=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(I.EXPECT_PLURAL_ARGUMENT_SELECTOR,I.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=O(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?I.DUPLICATE_SELECT_ARGUMENT_SELECTOR:I.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(n=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?I.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:I.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,s);if(g.err)return g;var _=this.tryParseArgumentClose(m);if(_.err)return _;a.push([u,{value:g.val,location:O(m,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,h=o.location}return a.length===0?this.error(r==="select"?I.EXPECT_SELECT_ARGUMENT_SELECTOR:I.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(I.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var s=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(s=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,n=n*10+(a-48),this.bump();else break}var l=O(i,this.clonePosition());return o?(n*=s,yu(n)?{val:n,err:null}:this.error(r,l)):this.error(t,l)},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 r=on(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},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(Ci(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),s=this.message.indexOf(t,r);return s>=0?(this.bumpTo(s),!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 r=this.offset();if(r===t)break;if(r>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()&&an(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),s=this.message.charCodeAt(r+(t>=65536?2:1));return s!=null?s:null},e}();function ms(e){return e>=97&&e<=122||e>=65&&e<=90}function Au(e){return ms(e)||e===47}function Cu(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 an(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Su(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 _s(e){e.forEach(function(t){if(delete t.location,Jo(t)||Xo(t))for(var r in t.options)delete t.options[r].location,_s(t.options[r].value);else qo(t)&&Qo(t.style)||(Yo(t)||Zo(t))&&cs(t.style)?delete t.style.location:Ko(t)&&_s(t.children)})}function Tu(e,t){t===void 0&&(t={}),t=R({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Eu(e,t).parse();if(r.err){var s=SyntaxError(I[r.err.kind]);throw s.location=r.err.location,s.originalMessage=r.err.message,s}return t!=null&&t.captureLocation||_s(r.val),r.val}var Qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Qe||(Qe={}));var _r=function(e){Te(t,e);function t(r,s,i){var o=e.call(this,r)||this;return o.code=s,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ii=function(e){Te(t,e);function t(r,s,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(s,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Qe.INVALID_VALUE,o)||this}return t}(_r),Iu=function(e){Te(t,e);function t(r,s,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(s),Qe.INVALID_VALUE,i)||this}return t}(_r),Ou=function(e){Te(t,e);function t(r,s){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(s,'"'),Qe.MISSING_VALUE,s)||this}return t}(_r),ce;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ce||(ce={}));function Nu(e){return e.length<2?e:e.reduce(function(t,r){var s=t[t.length-1];return!s||s.type!==ce.literal||r.type!==ce.literal?t.push(r):s.value+=r.value,t},[])}function ku(e){return typeof e=="function"}function Xt(e,t,r,s,i,o,n){if(e.length===1&&xi(e[0]))return[{type:ce.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var h=u[l];if(xi(h)){a.push({type:ce.literal,value:h.value});continue}if(eu(h)){typeof o=="number"&&a.push({type:ce.literal,value:r.getNumberFormat(t).format(o)});continue}var c=h.value;if(!(i&&c in i))throw new Ou(c,n);var f=i[c];if(Ql(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?ce.literal:ce.object,value:f});continue}if(Yo(h)){var m=typeof h.style=="string"?s.date[h.style]:cs(h.style)?h.style.parsedOptions:void 0;a.push({type:ce.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(Zo(h)){var m=typeof h.style=="string"?s.time[h.style]:cs(h.style)?h.style.parsedOptions:s.time.medium;a.push({type:ce.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(qo(h)){var m=typeof h.style=="string"?s.number[h.style]:Qo(h.style)?h.style.parsedOptions:void 0;m&&m.scale&&(f=f*(m.scale||1)),a.push({type:ce.literal,value:r.getNumberFormat(t,m).format(f)});continue}if(Ko(h)){var g=h.children,_=h.value,P=i[_];if(!ku(P))throw new Iu(_,"function",n);var w=Xt(g,t,r,s,i,o),v=P(w.map(function(B){return B.value}));Array.isArray(v)||(v=[v]),a.push.apply(a,v.map(function(B){return{type:typeof B=="string"?ce.literal:ce.object,value:B}}))}if(Jo(h)){var C=h.options[f]||h.options.other;if(!C)throw new Ii(h.value,f,Object.keys(h.options),n);a.push.apply(a,Xt(C.value,t,r,s,i));continue}if(Xo(h)){var C=h.options["=".concat(f)];if(!C){if(!Intl.PluralRules)throw new _r(`Intl.PluralRules is not available in this environment.
4
+ Try polyfilling it using "@formatjs/intl-pluralrules"
5
+ `,Qe.MISSING_INTL_API,n);var A=r.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));C=h.options[A]||h.options.other}if(!C)throw new Ii(h.value,f,Object.keys(h.options),n);a.push.apply(a,Xt(C.value,t,r,s,i,f-(h.offset||0)));continue}}return Nu(a)}function Bu(e,t){return t?R(R(R({},e||{}),t||{}),Object.keys(e).reduce(function(r,s){return r[s]=R(R({},e[s]),t[s]||{}),r},{})):e}function Mu(e,t){return t?Object.keys(e).reduce(function(r,s){return r[s]=Bu(e[s],t[s]),r},R({},e)):e}function Dr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Lu(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Mr(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.NumberFormat).bind.apply(t,Ye([void 0],r,!1)))},{cache:Dr(e.number),strategy:Lr.variadic}),getDateTimeFormat:Mr(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.DateTimeFormat).bind.apply(t,Ye([void 0],r,!1)))},{cache:Dr(e.dateTime),strategy:Lr.variadic}),getPluralRules:Mr(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.PluralRules).bind.apply(t,Ye([void 0],r,!1)))},{cache:Dr(e.pluralRules),strategy:Lr.variadic})}}var Ru=function(){function e(t,r,s,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,f){return!c.length||f.type!==ce.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return Xt(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=i||{};n.formatters;var a=ml(n,["formatters"]);this.ast=e.__parse(t,R(R({},a),{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=Mu(e.formats,s),this.formatters=i&&i.formatters||Lu(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 r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Tu,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 Du(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let s=e;for(let i=0;i<r.length;i++)if(typeof s=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in s){s=s[o];break}}s=s[r[i]]}else s=void 0;return s}const Oe={},Hu=(e,t,r)=>r&&(t in Oe||(Oe[t]={}),e in Oe[t]||(Oe[t][e]=r),r),ln=(e,t)=>{if(t==null)return;if(t in Oe&&e in Oe[t])return Oe[t][e];const r=gr(t);for(let s=0;s<r.length;s++){const i=r[s],o=zu(i,e);if(o)return Hu(e,t,o)}};let Fs;const nt=mr({});function Fu(e){return Fs[e]||null}function un(e){return e in Fs}function zu(e,t){if(!un(e))return null;const r=Fu(e);return Du(r,t)}function Vu(e){if(e==null)return;const t=gr(e);for(let r=0;r<t.length;r++){const s=t[r];if(un(s))return s}}function hn(e,...t){delete Oe[e],nt.update(r=>(r[e]=Wl.all([r[e]||{},...t]),r))}ot([nt],([e])=>Object.keys(e));nt.subscribe(e=>Fs=e);const Kt={};function Uu(e,t){Kt[e].delete(t),Kt[e].size===0&&delete Kt[e]}function cn(e){return Kt[e]}function $u(e){return gr(e).map(t=>{const r=cn(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function gs(e){return e==null?!1:gr(e).some(t=>{var r;return(r=cn(t))==null?void 0:r.size})}function ju(e,t){return Promise.all(t.map(s=>(Uu(e,s),s().then(i=>i.default||i)))).then(s=>hn(e,...s))}const dt={};function dn(e){if(!gs(e))return e in dt?dt[e]:Promise.resolve();const t=$u(e);return dt[e]=Promise.all(t.map(([r,s])=>ju(r,s))).then(()=>{if(gs(e))return dn(e);delete dt[e]}),dt[e]}const Gu={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"}}},Wu={fallbackLocale:null,loadingDelay:200,formats:Gu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},qu=Wu;function et(){return qu}const Hr=mr(!1);var Yu=Object.defineProperty,Zu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,Xu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,Ni=(e,t,r)=>t in e?Yu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qu=(e,t)=>{for(var r in t||(t={}))Xu.call(t,r)&&Ni(e,r,t[r]);if(Oi)for(var r of Oi(t))Ku.call(t,r)&&Ni(e,r,t[r]);return e},eh=(e,t)=>Zu(e,Ju(t));let bs;const ir=mr(null);function ki(e){return e.split("-").map((t,r,s)=>s.slice(0,r+1).join("-")).reverse()}function gr(e,t=et().fallbackLocale){const r=ki(e);return t?[...new Set([...r,...ki(t)])]:r}function He(){return bs!=null?bs:void 0}ir.subscribe(e=>{bs=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const th=e=>{if(e&&Vu(e)&&gs(e)){const{loadingDelay:t}=et();let r;return typeof window!="undefined"&&He()!=null&&t?r=window.setTimeout(()=>Hr.set(!0),t):Hr.set(!0),dn(e).then(()=>{ir.set(e)}).finally(()=>{clearTimeout(r),Hr.set(!1)})}return ir.set(e)},Ne=eh(Qu({},ir),{set:th}),br=e=>{const t=Object.create(null);return s=>{const i=JSON.stringify(s);return i in t?t[i]:t[i]=e(s)}};var rh=Object.defineProperty,or=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,Bi=(e,t,r)=>t in e?rh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zs=(e,t)=>{for(var r in t||(t={}))fn.call(t,r)&&Bi(e,r,t[r]);if(or)for(var r of or(t))pn.call(t,r)&&Bi(e,r,t[r]);return e},at=(e,t)=>{var r={};for(var s in e)fn.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&or)for(var s of or(e))t.indexOf(s)<0&&pn.call(e,s)&&(r[s]=e[s]);return r};const At=(e,t)=>{const{formats:r}=et();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},sh=br(e=>{var t=e,{locale:r,format:s}=t,i=at(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return s&&(i=At("number",s)),new Intl.NumberFormat(r,i)}),ih=br(e=>{var t=e,{locale:r,format:s}=t,i=at(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return s?i=At("date",s):Object.keys(i).length===0&&(i=At("date","short")),new Intl.DateTimeFormat(r,i)}),oh=br(e=>{var t=e,{locale:r,format:s}=t,i=at(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return s?i=At("time",s):Object.keys(i).length===0&&(i=At("time","short")),new Intl.DateTimeFormat(r,i)}),nh=(e={})=>{var t=e,{locale:r=He()}=t,s=at(t,["locale"]);return sh(zs({locale:r},s))},ah=(e={})=>{var t=e,{locale:r=He()}=t,s=at(t,["locale"]);return ih(zs({locale:r},s))},lh=(e={})=>{var t=e,{locale:r=He()}=t,s=at(t,["locale"]);return oh(zs({locale:r},s))},uh=br((e,t=He())=>new Ru(e,t,et().formats,{ignoreTag:et().ignoreTag})),hh=(e,t={})=>{var r,s,i,o;let n=t;typeof e=="object"&&(n=e,e=n.id);const{values:a,locale:l=He(),default:u}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=ln(e,l);if(!h)h=(o=(i=(s=(r=et()).handleMissingMessage)==null?void 0:s.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=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(!a)return h;let c=h;try{c=uh(h,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return c},ch=(e,t)=>lh(t).format(e),dh=(e,t)=>ah(t).format(e),fh=(e,t)=>nh(t).format(e),ph=(e,t=He())=>ln(e,t),mh=ot([Ne,nt],()=>hh);ot([Ne],()=>ch);ot([Ne],()=>dh);ot([Ne],()=>fh);ot([Ne,nt],()=>ph);window.emWidgets={topic:Il};const _h=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function gh({withLocale:e,translations:t}){Ne.subscribe(r=>{r==null&&(nt.set(t),Ne.set(e))})}function Mi(e,t){hn(e,t)}function bh(e){Ne.set(e)}const Li={en:{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation."},hr:{day:"Dan",month:"Mjesec",year:"Godina",goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta."},"zh-hk":{day:"天",month:"月",year:"年",goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。"},fr:{day:"Jour",month:"Mois",year:"Année",goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget."},tr:{day:"Gün",month:"Ay",year:"Yıl",goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Parolayı onayla, yeni parolayla eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış."},ro:{day:"Zi",month:"Luna",year:"An",goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului."},es:{day:"Día",month:"Mes",year:"Año",goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget."},pt:{day:"Dia",month:"Mês",year:"Ano",goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget."},"en-us":{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation."}};/**
6
+ * @license
7
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
8
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9
+ */function ke(e){const t=customElements.get(e.is);if(!t)customElements.define(e.is,e);else{const r=t.version;r&&e.version&&r===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${t.version} is already in use. Something will probably break.`)}}/**
10
+ * @license
11
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
12
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13
+ */let vh=class extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}};ke(vh);/**
14
+ * @license
15
+ * Copyright 2019 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */const Qt=window,Vs=Qt.ShadowRoot&&(Qt.ShadyCSS===void 0||Qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Us=Symbol(),Ri=new WeakMap;let $s=class{constructor(t,r,s){if(this._$cssResult$=!0,s!==Us)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(Vs&&t===void 0){const s=r!==void 0&&r.length===1;s&&(t=Ri.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Ri.set(r,t))}return t}toString(){return this.cssText}};const yh=e=>new $s(typeof e=="string"?e:e+"",void 0,Us),E=(e,...t)=>{const r=e.length===1?e[0]:t.reduce((s,i,o)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new $s(r,e,Us)},wh=(e,t)=>{Vs?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{const s=document.createElement("style"),i=Qt.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=r.cssText,e.appendChild(s)})},Di=Vs?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const s of t.cssRules)r+=s.cssText;return yh(r)})(e):e;/**
18
+ * @license
19
+ * Copyright 2017 Google LLC
20
+ * SPDX-License-Identifier: BSD-3-Clause
21
+ */var Fr;const nr=window,Hi=nr.trustedTypes,xh=Hi?Hi.emptyScript:"",Fi=nr.reactiveElementPolyfillSupport,vs={toAttribute(e,t){switch(t){case Boolean:e=e?xh:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(s){r=null}}return r}},mn=(e,t)=>t!==e&&(t==t||e==e),zr={attribute:!0,type:String,converter:vs,reflect:!1,hasChanged:mn},ys="finalized";let Ge=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((r,s)=>{const i=this._$Ep(s,r);i!==void 0&&(this._$Ev.set(i,s),t.push(i))}),t}static createProperty(t,r=zr){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,s){return{get(){return this[r]},set(i){const o=this[t];this[r]=i,this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||zr}static finalize(){if(this.hasOwnProperty(ys))return!1;this[ys]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const r=this.properties,s=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const i of s)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const r=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)r.unshift(Di(i))}else t!==void 0&&r.push(Di(t));return r}static _$Ep(t,r){const s=r.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,s;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;const r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return wh(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var s;return(s=r.hostConnected)===null||s===void 0?void 0:s.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var s;return(s=r.hostDisconnected)===null||s===void 0?void 0:s.call(r)})}attributeChangedCallback(t,r,s){this._$AK(t,s)}_$EO(t,r,s=zr){var i;const o=this.constructor._$Ep(t,s);if(o!==void 0&&s.reflect===!0){const n=(((i=s.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?s.converter:vs).toAttribute(r,s.type);this._$El=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$El=null}}_$AK(t,r){var s;const i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){const n=i.getPropertyOptions(o),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)===null||s===void 0?void 0:s.fromAttribute)!==void 0?n.converter:vs;this._$El=o,this[o]=a.fromAttribute(r,n.type),this._$El=null}}requestUpdate(t,r,s){let i=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||mn)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),s.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}_$Ej(){return Vt(this,null,function*(){this.isUpdatePending=!0;try{yield this._$E_}catch(r){Promise.reject(r)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1;const s=this._$AL;try{r=this.shouldUpdate(s),r?(this.willUpdate(s),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(s)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(s)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(s=>{var i;return(i=s.hostUpdated)===null||i===void 0?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,s)=>this._$EO(s,this[s],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};Ge[ys]=!0,Ge.elementProperties=new Map,Ge.elementStyles=[],Ge.shadowRootOptions={mode:"open"},Fi==null||Fi({ReactiveElement:Ge}),((Fr=nr.reactiveElementVersions)!==null&&Fr!==void 0?Fr:nr.reactiveElementVersions=[]).push("1.6.3");/**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */var Vr;const ar=window,tt=ar.trustedTypes,zi=tt?tt.createPolicy("lit-html",{createHTML:e=>e}):void 0,ws="$lit$",Ie=`lit$${(Math.random()+"").slice(9)}$`,_n="?"+Ie,Ph=`<${_n}>`,Re=document,Ct=()=>Re.createComment(""),St=e=>e===null||typeof e!="object"&&typeof e!="function",gn=Array.isArray,Eh=e=>gn(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",Ur=`[
26
+ \f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vi=/-->/g,Ui=/>/g,Be=RegExp(`>|${Ur}(?:([^\\s"'>=/]+)(${Ur}*=${Ur}*(?:[^
27
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),$i=/'/g,ji=/"/g,bn=/^(?:script|style|textarea|title)$/i,rt=Symbol.for("lit-noChange"),ee=Symbol.for("lit-nothing"),Gi=new WeakMap,Me=Re.createTreeWalker(Re,129,null,!1);function vn(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return zi!==void 0?zi.createHTML(t):t}const Ah=(e,t)=>{const r=e.length-1,s=[];let i,o=t===2?"<svg>":"",n=ft;for(let a=0;a<r;a++){const l=e[a];let u,h,c=-1,f=0;for(;f<l.length&&(n.lastIndex=f,h=n.exec(l),h!==null);)f=n.lastIndex,n===ft?h[1]==="!--"?n=Vi:h[1]!==void 0?n=Ui:h[2]!==void 0?(bn.test(h[2])&&(i=RegExp("</"+h[2],"g")),n=Be):h[3]!==void 0&&(n=Be):n===Be?h[0]===">"?(n=i!=null?i:ft,c=-1):h[1]===void 0?c=-2:(c=n.lastIndex-h[2].length,u=h[1],n=h[3]===void 0?Be:h[3]==='"'?ji:$i):n===ji||n===$i?n=Be:n===Vi||n===Ui?n=ft:(n=Be,i=void 0);const m=n===Be&&e[a+1].startsWith("/>")?" ":"";o+=n===ft?l+Ph:c>=0?(s.push(u),l.slice(0,c)+ws+l.slice(c)+Ie+m):l+Ie+(c===-2?(s.push(void 0),a):m)}return[vn(e,o+(e[r]||"<?>")+(t===2?"</svg>":"")),s]};class Tt{constructor({strings:t,_$litType$:r},s){let i;this.parts=[];let o=0,n=0;const a=t.length-1,l=this.parts,[u,h]=Ah(t,r);if(this.el=Tt.createElement(u,s),Me.currentNode=this.el.content,r===2){const c=this.el.content,f=c.firstChild;f.remove(),c.append(...f.childNodes)}for(;(i=Me.nextNode())!==null&&l.length<a;){if(i.nodeType===1){if(i.hasAttributes()){const c=[];for(const f of i.getAttributeNames())if(f.endsWith(ws)||f.startsWith(Ie)){const m=h[n++];if(c.push(f),m!==void 0){const g=i.getAttribute(m.toLowerCase()+ws).split(Ie),_=/([.?@])?(.*)/.exec(m);l.push({type:1,index:o,name:_[2],strings:g,ctor:_[1]==="."?Sh:_[1]==="?"?Ih:_[1]==="@"?Oh:vr})}else l.push({type:6,index:o})}for(const f of c)i.removeAttribute(f)}if(bn.test(i.tagName)){const c=i.textContent.split(Ie),f=c.length-1;if(f>0){i.textContent=tt?tt.emptyScript:"";for(let m=0;m<f;m++)i.append(c[m],Ct()),Me.nextNode(),l.push({type:2,index:++o});i.append(c[f],Ct())}}}else if(i.nodeType===8)if(i.data===_n)l.push({type:2,index:o});else{let c=-1;for(;(c=i.data.indexOf(Ie,c+1))!==-1;)l.push({type:7,index:o}),c+=Ie.length-1}o++}}static createElement(t,r){const s=Re.createElement("template");return s.innerHTML=t,s}}function st(e,t,r=e,s){var i,o,n,a;if(t===rt)return t;let l=s!==void 0?(i=r._$Co)===null||i===void 0?void 0:i[s]:r._$Cl;const u=St(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==u&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),u===void 0?l=void 0:(l=new u(e),l._$AT(e,r,s)),s!==void 0?((n=(a=r)._$Co)!==null&&n!==void 0?n:a._$Co=[])[s]=l:r._$Cl=l),l!==void 0&&(t=st(e,l._$AS(e,t.values),l,s)),t}class Ch{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var r;const{el:{content:s},parts:i}=this._$AD,o=((r=t==null?void 0:t.creationScope)!==null&&r!==void 0?r:Re).importNode(s,!0);Me.currentNode=o;let n=Me.nextNode(),a=0,l=0,u=i[0];for(;u!==void 0;){if(a===u.index){let h;u.type===2?h=new Bt(n,n.nextSibling,this,t):u.type===1?h=new u.ctor(n,u.name,u.strings,this,t):u.type===6&&(h=new Nh(n,this,t)),this._$AV.push(h),u=i[++l]}a!==(u==null?void 0:u.index)&&(n=Me.nextNode(),a++)}return Me.currentNode=Re,o}v(t){let r=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,r),r+=s.strings.length-2):s._$AI(t[r])),r++}}class Bt{constructor(t,r,s,i){var o;this.type=2,this._$AH=ee,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=s,this.options=i,this._$Cp=(o=i==null?void 0:i.isConnected)===null||o===void 0||o}get _$AU(){var t,r;return(r=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&r!==void 0?r:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=st(this,t,r),St(t)?t===ee||t==null||t===""?(this._$AH!==ee&&this._$AR(),this._$AH=ee):t!==this._$AH&&t!==rt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Eh(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ee&&St(this._$AH)?this._$AA.nextSibling.data=t:this.$(Re.createTextNode(t)),this._$AH=t}g(t){var r;const{values:s,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Tt.createElement(vn(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===o)this._$AH.v(s);else{const n=new Ch(o,this),a=n.u(this.options);n.v(s),this.$(a),this._$AH=n}}_$AC(t){let r=Gi.get(t.strings);return r===void 0&&Gi.set(t.strings,r=new Tt(t)),r}T(t){gn(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let s,i=0;for(const o of t)i===r.length?r.push(s=new Bt(this.k(Ct()),this.k(Ct()),this,this.options)):s=r[i],s._$AI(o),i++;i<r.length&&(this._$AR(s&&s._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,r);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var r;this._$AM===void 0&&(this._$Cp=t,(r=this._$AP)===null||r===void 0||r.call(this,t))}}class vr{constructor(t,r,s,i,o){this.type=1,this._$AH=ee,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=o,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=ee}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,s,i){const o=this.strings;let n=!1;if(o===void 0)t=st(this,t,r,0),n=!St(t)||t!==this._$AH&&t!==rt,n&&(this._$AH=t);else{const a=t;let l,u;for(t=o[0],l=0;l<o.length-1;l++)u=st(this,a[s+l],r,l),u===rt&&(u=this._$AH[l]),n||(n=!St(u)||u!==this._$AH[l]),u===ee?t=ee:t!==ee&&(t+=(u!=null?u:"")+o[l+1]),this._$AH[l]=u}n&&!i&&this.j(t)}j(t){t===ee?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Sh extends vr{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ee?void 0:t}}const Th=tt?tt.emptyScript:"";class Ih extends vr{constructor(){super(...arguments),this.type=4}j(t){t&&t!==ee?this.element.setAttribute(this.name,Th):this.element.removeAttribute(this.name)}}class Oh extends vr{constructor(t,r,s,i,o){super(t,r,s,i,o),this.type=5}_$AI(t,r=this){var s;if((t=(s=st(this,t,r,0))!==null&&s!==void 0?s:ee)===rt)return;const i=this._$AH,o=t===ee&&i!==ee||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==ee&&(i===ee||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var r,s;typeof this._$AH=="function"?this._$AH.call((s=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&s!==void 0?s:this.element,t):this._$AH.handleEvent(t)}}class Nh{constructor(t,r,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}}const Wi=ar.litHtmlPolyfillSupport;Wi==null||Wi(Tt,Bt),((Vr=ar.litHtmlVersions)!==null&&Vr!==void 0?Vr:ar.litHtmlVersions=[]).push("2.8.0");const kh=(e,t,r)=>{var s,i;const o=(s=r==null?void 0:r.renderBefore)!==null&&s!==void 0?s:t;let n=o._$litPart$;if(n===void 0){const a=(i=r==null?void 0:r.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=n=new Bt(t.insertBefore(Ct(),a),a,void 0,r!=null?r:{})}return n._$AI(e),n};/**
28
+ * @license
29
+ * Copyright 2017 Google LLC
30
+ * SPDX-License-Identifier: BSD-3-Clause
31
+ */var $r,jr;class er extends Ge{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;const s=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=s.firstChild),s}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=kh(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return rt}}er.finalized=!0,er._$litElement$=!0,($r=globalThis.litElementHydrateSupport)===null||$r===void 0||$r.call(globalThis,{LitElement:er});const qi=globalThis.litElementPolyfillSupport;qi==null||qi({LitElement:er});((jr=globalThis.litElementVersions)!==null&&jr!==void 0?jr:globalThis.litElementVersions=[]).push("3.3.3");/**
32
+ * @license
33
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
34
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35
+ */const Bh=e=>class extends e{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(r,s,i){super.attributeChangedCallback(r,s,i),r==="theme"&&this._set_theme(i)}};/**
36
+ * @license
37
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
38
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
39
+ */const yn=[];function wn(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function Mh(e){return wn(customElements.get(e))}function Lh(e=[]){return[e].flat(1/0).filter(t=>t instanceof $s?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function te(e,t,r={}){e&&Mh(e)&&console.warn(`The custom element definition for "${e}"
40
+ was finalized before a style module was registered.
41
+ Make sure to add component specific style modules before
42
+ importing the corresponding custom element.`),t=Lh(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,r):yn.push({themeFor:e,styles:t,include:r.include,moduleId:r.moduleId})}function xs(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():yn}function Rh(e,t){return(e||"").split(" ").some(r=>new RegExp(`^${r.split("*").join(".*")}$`,"u").test(t))}function Dh(e=""){let t=0;return e.startsWith("lumo-")||e.startsWith("material-")?t=1:e.startsWith("vaadin-")&&(t=2),t}function xn(e){const t=[];return e.include&&[].concat(e.include).forEach(r=>{const s=xs().find(i=>i.moduleId===r);s?t.push(...xn(s),...s.styles):console.warn(`Included moduleId ${r} not found in style registry`)},e.styles),t}function Hh(e,t){const r=document.createElement("style");r.innerHTML=e.map(s=>s.cssText).join(`
43
+ `),t.content.appendChild(r)}function Fh(e){const t=`${e}-default-theme`,r=xs().filter(s=>s.moduleId!==t&&Rh(s.themeFor,e)).map(s=>zt(Ft({},s),{styles:[...xn(s),...s.styles],includePriority:Dh(s.moduleId)})).sort((s,i)=>i.includePriority-s.includePriority);return r.length>0?r:xs().filter(s=>s.moduleId===t)}const yr=e=>class extends Bh(e){static finalize(){if(super.finalize(),this.elementStyles)return;const r=this.prototype._template;!r||wn(this)||Hh(this.getStylesForThis(),r)}static finalizeStyles(r){const s=this.getStylesForThis();return r?[...super.finalizeStyles(r),...s]:s}static getStylesForThis(){const r=Object.getPrototypeOf(this.prototype),s=(r?r.constructor.__themes:[])||[];this.__themes=[...s,...Fh(this.is)];const i=this.__themes.flatMap(o=>o.styles);return i.filter((o,n)=>n===i.lastIndexOf(o))}};/**
44
+ * @license
45
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
46
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
47
+ */const js=(e,...t)=>{const r=document.createElement("style");r.id=e,r.textContent=t.map(s=>s.toString()).join(`
48
+ `).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",r)},wr=(e,...t)=>{js(`lumo-${e}`,t)};/**
49
+ * @license
50
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
51
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
52
+ */const zh=E`
53
+ :host {
54
+ /* Base (background) */
55
+ --lumo-base-color: #fff;
56
+
57
+ /* Tint */
58
+ --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
59
+ --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
60
+ --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
61
+ --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
62
+ --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
63
+ --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
64
+ --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
65
+ --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
66
+ --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
67
+ --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
68
+ --lumo-tint: #fff;
69
+
70
+ /* Shade */
71
+ --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
72
+ --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
73
+ --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
74
+ --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
75
+ --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
76
+ --lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
77
+ --lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
78
+ --lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
79
+ --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
80
+ --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
81
+ --lumo-shade: hsl(214, 35%, 15%);
82
+
83
+ /* Contrast */
84
+ --lumo-contrast-5pct: var(--lumo-shade-5pct);
85
+ --lumo-contrast-10pct: var(--lumo-shade-10pct);
86
+ --lumo-contrast-20pct: var(--lumo-shade-20pct);
87
+ --lumo-contrast-30pct: var(--lumo-shade-30pct);
88
+ --lumo-contrast-40pct: var(--lumo-shade-40pct);
89
+ --lumo-contrast-50pct: var(--lumo-shade-50pct);
90
+ --lumo-contrast-60pct: var(--lumo-shade-60pct);
91
+ --lumo-contrast-70pct: var(--lumo-shade-70pct);
92
+ --lumo-contrast-80pct: var(--lumo-shade-80pct);
93
+ --lumo-contrast-90pct: var(--lumo-shade-90pct);
94
+ --lumo-contrast: var(--lumo-shade);
95
+
96
+ /* Text */
97
+ --lumo-header-text-color: var(--lumo-contrast);
98
+ --lumo-body-text-color: var(--lumo-contrast-90pct);
99
+ --lumo-secondary-text-color: var(--lumo-contrast-70pct);
100
+ --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
101
+ --lumo-disabled-text-color: var(--lumo-contrast-30pct);
102
+
103
+ /* Primary */
104
+ --lumo-primary-color: hsl(214, 100%, 48%);
105
+ --lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
106
+ --lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
107
+ --lumo-primary-text-color: hsl(214, 100%, 43%);
108
+ --lumo-primary-contrast-color: #fff;
109
+
110
+ /* Error */
111
+ --lumo-error-color: hsl(3, 85%, 48%);
112
+ --lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
113
+ --lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
114
+ --lumo-error-text-color: hsl(3, 89%, 42%);
115
+ --lumo-error-contrast-color: #fff;
116
+
117
+ /* Success */
118
+ --lumo-success-color: hsl(145, 72%, 30%);
119
+ --lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
120
+ --lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
121
+ --lumo-success-text-color: hsl(145, 85%, 25%);
122
+ --lumo-success-contrast-color: #fff;
123
+
124
+ /* Warning */
125
+ --lumo-warning-color: hsl(48, 100%, 50%);
126
+ --lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
127
+ --lumo-warning-text-color: hsl(32, 100%, 30%);
128
+ --lumo-warning-contrast-color: var(--lumo-shade-90pct);
129
+ }
130
+
131
+ /* forced-colors mode adjustments */
132
+ @media (forced-colors: active) {
133
+ html {
134
+ --lumo-disabled-text-color: GrayText;
135
+ }
136
+ }
137
+ `;wr("color-props",zh);const Vh=E`
138
+ [theme~='dark'] {
139
+ /* Base (background) */
140
+ --lumo-base-color: hsl(214, 35%, 21%);
141
+
142
+ /* Tint */
143
+ --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
144
+ --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
145
+ --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
146
+ --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
147
+ --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
148
+ --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
149
+ --lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
150
+ --lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
151
+ --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
152
+ --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
153
+ --lumo-tint: hsl(214, 100%, 98%);
154
+
155
+ /* Shade */
156
+ --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
157
+ --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
158
+ --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
159
+ --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
160
+ --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
161
+ --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
162
+ --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
163
+ --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
164
+ --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
165
+ --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
166
+ --lumo-shade: hsl(214, 33%, 13%);
167
+
168
+ /* Contrast */
169
+ --lumo-contrast-5pct: var(--lumo-tint-5pct);
170
+ --lumo-contrast-10pct: var(--lumo-tint-10pct);
171
+ --lumo-contrast-20pct: var(--lumo-tint-20pct);
172
+ --lumo-contrast-30pct: var(--lumo-tint-30pct);
173
+ --lumo-contrast-40pct: var(--lumo-tint-40pct);
174
+ --lumo-contrast-50pct: var(--lumo-tint-50pct);
175
+ --lumo-contrast-60pct: var(--lumo-tint-60pct);
176
+ --lumo-contrast-70pct: var(--lumo-tint-70pct);
177
+ --lumo-contrast-80pct: var(--lumo-tint-80pct);
178
+ --lumo-contrast-90pct: var(--lumo-tint-90pct);
179
+ --lumo-contrast: var(--lumo-tint);
180
+
181
+ /* Text */
182
+ --lumo-header-text-color: var(--lumo-contrast);
183
+ --lumo-body-text-color: var(--lumo-contrast-90pct);
184
+ --lumo-secondary-text-color: var(--lumo-contrast-70pct);
185
+ --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
186
+ --lumo-disabled-text-color: var(--lumo-contrast-30pct);
187
+
188
+ /* Primary */
189
+ --lumo-primary-color: hsl(214, 90%, 48%);
190
+ --lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
191
+ --lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
192
+ --lumo-primary-text-color: hsl(214, 90%, 77%);
193
+ --lumo-primary-contrast-color: #fff;
194
+
195
+ /* Error */
196
+ --lumo-error-color: hsl(3, 79%, 49%);
197
+ --lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
198
+ --lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
199
+ --lumo-error-text-color: hsl(3, 100%, 80%);
200
+
201
+ /* Success */
202
+ --lumo-success-color: hsl(145, 72%, 30%);
203
+ --lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
204
+ --lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
205
+ --lumo-success-text-color: hsl(145, 85%, 46%);
206
+
207
+ /* Warning */
208
+ --lumo-warning-color: hsl(43, 100%, 48%);
209
+ --lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
210
+ --lumo-warning-text-color: hsl(45, 100%, 60%);
211
+ --lumo-warning-contrast-color: var(--lumo-shade-90pct);
212
+ }
213
+
214
+ html {
215
+ color: var(--lumo-body-text-color);
216
+ background-color: var(--lumo-base-color);
217
+ color-scheme: light;
218
+ }
219
+
220
+ [theme~='dark'] {
221
+ color: var(--lumo-body-text-color);
222
+ background-color: var(--lumo-base-color);
223
+ color-scheme: dark;
224
+ }
225
+
226
+ h1,
227
+ h2,
228
+ h3,
229
+ h4,
230
+ h5,
231
+ h6 {
232
+ color: var(--lumo-header-text-color);
233
+ }
234
+
235
+ a:where(:any-link) {
236
+ color: var(--lumo-primary-text-color);
237
+ }
238
+
239
+ a:not(:any-link) {
240
+ color: var(--lumo-disabled-text-color);
241
+ }
242
+
243
+ blockquote {
244
+ color: var(--lumo-secondary-text-color);
245
+ }
246
+
247
+ code,
248
+ pre {
249
+ background-color: var(--lumo-contrast-10pct);
250
+ border-radius: var(--lumo-border-radius-m);
251
+ }
252
+ `;te("",Vh,{moduleId:"lumo-color"});/**
253
+ * @license
254
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
255
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
256
+ */const Uh=E`
257
+ :host {
258
+ --lumo-size-xs: 1.625rem;
259
+ --lumo-size-s: 1.875rem;
260
+ --lumo-size-m: 2.25rem;
261
+ --lumo-size-l: 2.75rem;
262
+ --lumo-size-xl: 3.5rem;
263
+
264
+ /* Icons */
265
+ --lumo-icon-size-s: 1.25em;
266
+ --lumo-icon-size-m: 1.5em;
267
+ --lumo-icon-size-l: 2.25em;
268
+ /* For backwards compatibility */
269
+ --lumo-icon-size: var(--lumo-icon-size-m);
270
+ }
271
+ `;wr("sizing-props",Uh);/**
272
+ * @license
273
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
274
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
275
+ */const $h=E`
276
+ :host {
277
+ /* Border radius */
278
+ --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
279
+ --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
280
+ --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
281
+
282
+ /* Shadow */
283
+ --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
284
+ --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
285
+ --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
286
+ --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
287
+ --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
288
+
289
+ /* Clickable element cursor */
290
+ --lumo-clickable-cursor: default;
291
+ }
292
+ `;E`
293
+ html {
294
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
295
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
296
+ --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
297
+ }
298
+ `;wr("style-props",$h);/**
299
+ * @license
300
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
301
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
302
+ */const jh=E`
303
+ :host {
304
+ /* prettier-ignore */
305
+ --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
306
+
307
+ /* Font sizes */
308
+ --lumo-font-size-xxs: 0.75rem;
309
+ --lumo-font-size-xs: 0.8125rem;
310
+ --lumo-font-size-s: 0.875rem;
311
+ --lumo-font-size-m: 1rem;
312
+ --lumo-font-size-l: 1.125rem;
313
+ --lumo-font-size-xl: 1.375rem;
314
+ --lumo-font-size-xxl: 1.75rem;
315
+ --lumo-font-size-xxxl: 2.5rem;
316
+
317
+ /* Line heights */
318
+ --lumo-line-height-xs: 1.25;
319
+ --lumo-line-height-s: 1.375;
320
+ --lumo-line-height-m: 1.625;
321
+ }
322
+ `,Gh=E`
323
+ body,
324
+ :host {
325
+ font-family: var(--lumo-font-family);
326
+ font-size: var(--lumo-font-size-m);
327
+ line-height: var(--lumo-line-height-m);
328
+ -webkit-text-size-adjust: 100%;
329
+ -webkit-font-smoothing: antialiased;
330
+ -moz-osx-font-smoothing: grayscale;
331
+ }
332
+
333
+ small,
334
+ [theme~='font-size-s'] {
335
+ font-size: var(--lumo-font-size-s);
336
+ line-height: var(--lumo-line-height-s);
337
+ }
338
+
339
+ [theme~='font-size-xs'] {
340
+ font-size: var(--lumo-font-size-xs);
341
+ line-height: var(--lumo-line-height-xs);
342
+ }
343
+
344
+ :where(h1, h2, h3, h4, h5, h6) {
345
+ font-weight: 600;
346
+ line-height: var(--lumo-line-height-xs);
347
+ margin-block: 0;
348
+ }
349
+
350
+ :where(h1) {
351
+ font-size: var(--lumo-font-size-xxxl);
352
+ }
353
+
354
+ :where(h2) {
355
+ font-size: var(--lumo-font-size-xxl);
356
+ }
357
+
358
+ :where(h3) {
359
+ font-size: var(--lumo-font-size-xl);
360
+ }
361
+
362
+ :where(h4) {
363
+ font-size: var(--lumo-font-size-l);
364
+ }
365
+
366
+ :where(h5) {
367
+ font-size: var(--lumo-font-size-m);
368
+ }
369
+
370
+ :where(h6) {
371
+ font-size: var(--lumo-font-size-xs);
372
+ text-transform: uppercase;
373
+ letter-spacing: 0.03em;
374
+ }
375
+
376
+ p,
377
+ blockquote {
378
+ margin-top: 0.5em;
379
+ margin-bottom: 0.75em;
380
+ }
381
+
382
+ a {
383
+ text-decoration: none;
384
+ }
385
+
386
+ a:where(:any-link):hover {
387
+ text-decoration: underline;
388
+ }
389
+
390
+ hr {
391
+ display: block;
392
+ align-self: stretch;
393
+ height: 1px;
394
+ border: 0;
395
+ padding: 0;
396
+ margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
397
+ background-color: var(--lumo-contrast-10pct);
398
+ }
399
+
400
+ blockquote {
401
+ border-left: 2px solid var(--lumo-contrast-30pct);
402
+ }
403
+
404
+ b,
405
+ strong {
406
+ font-weight: 600;
407
+ }
408
+
409
+ /* RTL specific styles */
410
+ blockquote[dir='rtl'] {
411
+ border-left: none;
412
+ border-right: 2px solid var(--lumo-contrast-30pct);
413
+ }
414
+ `;te("",Gh,{moduleId:"lumo-typography"});wr("typography-props",jh);te("vaadin-input-container",E`
415
+ :host {
416
+ background-color: var(--lumo-contrast-10pct);
417
+ padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
418
+ font-weight: 500;
419
+ line-height: 1;
420
+ position: relative;
421
+ cursor: text;
422
+ box-sizing: border-box;
423
+ border-radius:
424
+ /* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius#syntax */
425
+ var(--vaadin-input-field-top-start-radius, var(--_input-container-radius))
426
+ var(--vaadin-input-field-top-end-radius, var(--_input-container-radius))
427
+ var(--vaadin-input-field-bottom-end-radius, var(--_input-container-radius))
428
+ var(--vaadin-input-field-bottom-start-radius, var(--_input-container-radius));
429
+ /* Fallback */
430
+ --_input-container-radius: var(--vaadin-input-field-border-radius, var(--lumo-border-radius-m));
431
+ /* Default field border color */
432
+ --_input-border-color: var(--vaadin-input-field-border-color, var(--lumo-contrast-50pct));
433
+ }
434
+
435
+ :host([dir='rtl']) {
436
+ border-radius:
437
+ /* Don't use logical props, see https://github.com/vaadin/vaadin-time-picker/issues/145 */
438
+ var(--vaadin-input-field-top-end-radius, var(--_input-container-radius))
439
+ var(--vaadin-input-field-top-start-radius, var(--_input-container-radius))
440
+ var(--vaadin-input-field-bottom-start-radius, var(--_input-container-radius))
441
+ var(--vaadin-input-field-bottom-end-radius, var(--_input-container-radius));
442
+ }
443
+
444
+ /* Used for hover and activation effects */
445
+ :host::after {
446
+ content: '';
447
+ position: absolute;
448
+ inset: 0;
449
+ border-radius: inherit;
450
+ pointer-events: none;
451
+ background-color: var(--lumo-contrast-50pct);
452
+ opacity: 0;
453
+ transition: transform 0.15s, opacity 0.2s;
454
+ transform-origin: 100% 0;
455
+ }
456
+
457
+ ::slotted(:not([slot$='fix'])) {
458
+ cursor: inherit;
459
+ min-height: var(--lumo-text-field-size, var(--lumo-size-m));
460
+ padding: 0 0.25em;
461
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent, #000 1.25em);
462
+ -webkit-mask-image: var(--_lumo-text-field-overflow-mask-image);
463
+ mask-image: var(--_lumo-text-field-overflow-mask-image);
464
+ }
465
+
466
+ /* Read-only */
467
+ :host([readonly]) {
468
+ color: var(--lumo-secondary-text-color);
469
+ background-color: transparent;
470
+ cursor: default;
471
+ }
472
+
473
+ :host([readonly])::after {
474
+ background-color: transparent;
475
+ opacity: 1;
476
+ border: 1px dashed var(--lumo-contrast-30pct);
477
+ }
478
+
479
+ /* Disabled */
480
+ :host([disabled]) {
481
+ background-color: var(--lumo-contrast-5pct);
482
+ }
483
+
484
+ :host([disabled]) ::slotted(*) {
485
+ color: var(--lumo-disabled-text-color);
486
+ -webkit-text-fill-color: var(--lumo-disabled-text-color);
487
+ }
488
+
489
+ /* Invalid */
490
+ :host([invalid]) {
491
+ background-color: var(--lumo-error-color-10pct);
492
+ }
493
+
494
+ :host([invalid])::after {
495
+ background-color: var(--lumo-error-color-50pct);
496
+ }
497
+
498
+ /* Slotted icons */
499
+ ::slotted(vaadin-icon) {
500
+ color: var(--lumo-contrast-60pct);
501
+ width: var(--lumo-icon-size-m);
502
+ height: var(--lumo-icon-size-m);
503
+ }
504
+
505
+ /* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */
506
+ ::slotted(vaadin-icon[icon^='vaadin:']) {
507
+ padding: 0.25em;
508
+ box-sizing: border-box !important;
509
+ }
510
+
511
+ /* Text align */
512
+ :host([dir='rtl']) ::slotted(:not([slot$='fix'])) {
513
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to right, transparent, #000 1.25em);
514
+ }
515
+
516
+ @-moz-document url-prefix() {
517
+ :host([dir='rtl']) ::slotted(:not([slot$='fix'])) {
518
+ mask-image: var(--_lumo-text-field-overflow-mask-image);
519
+ }
520
+ }
521
+
522
+ :host([theme~='align-left']) ::slotted(:not([slot$='fix'])) {
523
+ text-align: start;
524
+ --_lumo-text-field-overflow-mask-image: none;
525
+ }
526
+
527
+ :host([theme~='align-center']) ::slotted(:not([slot$='fix'])) {
528
+ text-align: center;
529
+ --_lumo-text-field-overflow-mask-image: none;
530
+ }
531
+
532
+ :host([theme~='align-right']) ::slotted(:not([slot$='fix'])) {
533
+ text-align: end;
534
+ --_lumo-text-field-overflow-mask-image: none;
535
+ }
536
+
537
+ @-moz-document url-prefix() {
538
+ /* Firefox is smart enough to align overflowing text to right */
539
+ :host([theme~='align-right']) ::slotted(:not([slot$='fix'])) {
540
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to right, transparent 0.25em, #000 1.5em);
541
+ }
542
+ }
543
+
544
+ @-moz-document url-prefix() {
545
+ /* Firefox is smart enough to align overflowing text to right */
546
+ :host([theme~='align-left']) ::slotted(:not([slot$='fix'])) {
547
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent 0.25em, #000 1.5em);
548
+ }
549
+ }
550
+
551
+ /* RTL specific styles */
552
+ :host([dir='rtl'])::after {
553
+ transform-origin: 0% 0;
554
+ }
555
+
556
+ :host([theme~='align-left'][dir='rtl']) ::slotted(:not([slot$='fix'])) {
557
+ --_lumo-text-field-overflow-mask-image: none;
558
+ }
559
+
560
+ :host([theme~='align-center'][dir='rtl']) ::slotted(:not([slot$='fix'])) {
561
+ --_lumo-text-field-overflow-mask-image: none;
562
+ }
563
+
564
+ :host([theme~='align-right'][dir='rtl']) ::slotted(:not([slot$='fix'])) {
565
+ --_lumo-text-field-overflow-mask-image: none;
566
+ }
567
+
568
+ @-moz-document url-prefix() {
569
+ /* Firefox is smart enough to align overflowing text to right */
570
+ :host([theme~='align-right'][dir='rtl']) ::slotted(:not([slot$='fix'])) {
571
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to right, transparent 0.25em, #000 1.5em);
572
+ }
573
+ }
574
+
575
+ @-moz-document url-prefix() {
576
+ /* Firefox is smart enough to align overflowing text to right */
577
+ :host([theme~='align-left'][dir='rtl']) ::slotted(:not([slot$='fix'])) {
578
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent 0.25em, #000 1.5em);
579
+ }
580
+ }
581
+ `,{moduleId:"lumo-input-container"});/**
582
+ @license
583
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
584
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
585
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
586
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
587
+ Code distributed by Google as part of the polymer project is also
588
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
589
+ */window.JSCompiler_renameProperty=function(e,t){return e};/**
590
+ @license
591
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
592
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
593
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
594
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
595
+ Code distributed by Google as part of the polymer project is also
596
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
597
+ */let Wh=/(url\()([^)]*)(\))/g,qh=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,Gt,ve;function wt(e,t){if(e&&qh.test(e)||e==="//")return e;if(Gt===void 0){Gt=!1;try{const r=new URL("b","http://a");r.pathname="c%20d",Gt=r.href==="http://a/c%20d"}catch(r){}}if(t||(t=document.baseURI||window.location.href),Gt)try{return new URL(e,t).href}catch(r){return e}return ve||(ve=document.implementation.createHTMLDocument("temp"),ve.base=ve.createElement("base"),ve.head.appendChild(ve.base),ve.anchor=ve.createElement("a"),ve.body.appendChild(ve.anchor)),ve.base.href=t,ve.anchor.href=e,ve.anchor.href||e}function Gs(e,t){return e.replace(Wh,function(r,s,i,o){return s+"'"+wt(i.replace(/["']/g,""),t)+"'"+o})}function Ws(e){return e.substring(0,e.lastIndexOf("/")+1)}/**
598
+ @license
599
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
600
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
601
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
602
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
603
+ Code distributed by Google as part of the polymer project is also
604
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
605
+ */const Yh=!window.ShadyDOM||!window.ShadyDOM.inUse;!window.ShadyCSS||window.ShadyCSS.nativeCss;const Zh=Yh&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let Jh=window.Polymer&&window.Polymer.rootPath||Ws(document.baseURI||window.location.href),lr=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let Ps=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Xh=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Kh=window.Polymer&&window.Polymer.legacyOptimizations||!1,Qh=window.Polymer&&window.Polymer.legacyWarnings||!1,ec=window.Polymer&&window.Polymer.syncInitialRender||!1,Es=window.Polymer&&window.Polymer.legacyUndefined||!1,tc=window.Polymer&&window.Polymer.orderedComputed||!1,Yi=window.Polymer&&window.Polymer.removeNestedTemplates||!1,rc=window.Polymer&&window.Polymer.fastDomIf||!1;window.Polymer&&window.Polymer.suppressTemplateNotifications;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let sc=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
606
+ @license
607
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
608
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
609
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
610
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
611
+ Code distributed by Google as part of the polymer project is also
612
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
613
+ */let ic=0;const oe=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let r=ic++;function s(i){let o=i.__mixinSet;if(o&&o[r])return i;let n=t,a=n.get(i);if(!a){a=e(i),n.set(i,a);let l=Object.create(a.__mixinSet||o||null);l[r]=!0,a.__mixinSet=l}return a}return s};/**
614
+ @license
615
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
616
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
617
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
618
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
619
+ Code distributed by Google as part of the polymer project is also
620
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
621
+ */let qs={},Pn={};function Zi(e,t){qs[e]=Pn[e.toLowerCase()]=t}function Ji(e){return qs[e]||Pn[e.toLowerCase()]}function oc(e){e.querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}class It extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,r){if(t){let s=Ji(t);return s&&r?s.querySelector(r):s}return null}attributeChangedCallback(t,r,s,i){r!==s&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,r=wt(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=Ws(r)}return this.__assetpath}register(t){if(t=t||this.id,t){if(Ps&&Ji(t)!==void 0)throw Zi(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,Zi(t,this),oc(this)}}}It.prototype.modules=qs;customElements.define("dom-module",It);/**
622
+ @license
623
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
624
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
625
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
626
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
627
+ Code distributed by Google as part of the polymer project is also
628
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
629
+ */const nc="link[rel=import][type~=css]",ac="include",Xi="shady-unscoped";function En(e){return It.import(e)}function Ki(e){let t=e.body?e.body:e;const r=Gs(t.textContent,e.baseURI),s=document.createElement("style");return s.textContent=r,s}function lc(e){const t=e.trim().split(/\s+/),r=[];for(let s=0;s<t.length;s++)r.push(...uc(t[s]));return r}function uc(e){const t=En(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(t._styles===void 0){const r=[];r.push(...Cn(t));const s=t.querySelector("template");s&&r.push(...An(s,t.assetpath)),t._styles=r}return t._styles}function An(e,t){if(!e._styles){const r=[],s=e.content.querySelectorAll("style");for(let i=0;i<s.length;i++){let o=s[i],n=o.getAttribute(ac);n&&r.push(...lc(n).filter(function(a,l,u){return u.indexOf(a)===l})),t&&(o.textContent=Gs(o.textContent,t)),r.push(o)}e._styles=r}return e._styles}function hc(e){let t=En(e);return t?Cn(t):[]}function Cn(e){const t=[],r=e.querySelectorAll(nc);for(let s=0;s<r.length;s++){let i=r[s];if(i.import){const o=i.import,n=i.hasAttribute(Xi);if(n&&!o._unscopedStyle){const a=Ki(o);a.setAttribute(Xi,""),o._unscopedStyle=a}else o._style||(o._style=Ki(o));t.push(n?o._unscopedStyle:o._style)}}return t}/**
630
+ @license
631
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
632
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
633
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
634
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
635
+ Code distributed by Google as part of the polymer project is also
636
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
637
+ */const Le=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?e=>ShadyDOM.patch(e):e=>e;/**
638
+ @license
639
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
640
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
641
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
642
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
643
+ Code distributed by Google as part of the polymer project is also
644
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
645
+ */function As(e){return e.indexOf(".")>=0}function Fe(e){let t=e.indexOf(".");return t===-1?e:e.slice(0,t)}function cc(e,t){return e.indexOf(t+".")===0}function ur(e,t){return t.indexOf(e+".")===0}function hr(e,t,r){return t+r.slice(e.length)}function _t(e){if(Array.isArray(e)){let t=[];for(let r=0;r<e.length;r++){let s=e[r].toString().split(".");for(let i=0;i<s.length;i++)t.push(s[i])}return t.join(".")}else return e}function Sn(e){return Array.isArray(e)?_t(e).split("."):e.toString().split(".")}function pe(e,t,r){let s=e,i=Sn(t);for(let o=0;o<i.length;o++){if(!s)return;let n=i[o];s=s[n]}return r&&(r.path=i.join(".")),s}function Qi(e,t,r){let s=e,i=Sn(t),o=i[i.length-1];if(i.length>1){for(let n=0;n<i.length-1;n++){let a=i[n];if(s=s[a],!s)return}s[o]=r}else s[t]=r;return i.join(".")}/**
646
+ @license
647
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
648
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
649
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
650
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
651
+ Code distributed by Google as part of the polymer project is also
652
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
653
+ */const cr={},dc=/-[a-z]/g,fc=/([A-Z])/g;function Tn(e){return cr[e]||(cr[e]=e.indexOf("-")<0?e:e.replace(dc,t=>t[1].toUpperCase()))}function xr(e){return cr[e]||(cr[e]=e.replace(fc,"-$1").toLowerCase())}/**
654
+ @license
655
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
656
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
657
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
658
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
659
+ Code distributed by Google as part of the polymer project is also
660
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
661
+ */let pc=0,In=0,Ze=[],mc=0,Cs=!1,On=document.createTextNode("");new window.MutationObserver(_c).observe(On,{characterData:!0});function _c(){Cs=!1;const e=Ze.length;for(let t=0;t<e;t++){let r=Ze[t];if(r)try{r()}catch(s){setTimeout(()=>{throw s})}}Ze.splice(0,e),In+=e}const gc={run(e){return Cs||(Cs=!0,On.textContent=mc++),Ze.push(e),pc++},cancel(e){const t=e-In;if(t>=0){if(!Ze[t])throw new Error("invalid async handle: "+e);Ze[t]=null}}};/**
662
+ @license
663
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
664
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
665
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
666
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
667
+ Code distributed by Google as part of the polymer project is also
668
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
669
+ */const bc=gc,Nn=oe(e=>{class t extends e{static createProperties(s){const i=this.prototype;for(let o in s)o in i||i._createPropertyAccessor(o)}static attributeNameForProperty(s){return s.toLowerCase()}static typeForProperty(s){}_createPropertyAccessor(s,i){this._addPropertyToAttributeMap(s),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[s]||(this.__dataHasAccessor[s]=!0,this._definePropertyAccessor(s,i))}_addPropertyToAttributeMap(s){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let i=this.__dataAttributes[s];return i||(i=this.constructor.attributeNameForProperty(s),this.__dataAttributes[i]=s),i}_definePropertyAccessor(s,i){Object.defineProperty(this,s,{get(){return this.__data[s]},set:i?function(){}:function(o){this._setPendingProperty(s,o,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let s in this.__dataHasAccessor)this.hasOwnProperty(s)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[s]=this[s],delete this[s])}_initializeInstanceProperties(s){Object.assign(this,s)}_setProperty(s,i){this._setPendingProperty(s,i)&&this._invalidateProperties()}_getProperty(s){return this.__data[s]}_setPendingProperty(s,i,o){let n=this.__data[s],a=this._shouldPropertyChange(s,i,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(s in this.__dataOld)&&(this.__dataOld[s]=n),this.__data[s]=i,this.__dataPending[s]=i),a}_isPropertyPending(s){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(s))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,bc.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const s=this.__data,i=this.__dataPending,o=this.__dataOld;this._shouldPropertiesChange(s,i,o)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(s,i,o)),this.__dataCounter--}_shouldPropertiesChange(s,i,o){return!!i}_propertiesChanged(s,i,o){}_shouldPropertyChange(s,i,o){return o!==i&&(o===o||i===i)}attributeChangedCallback(s,i,o,n){i!==o&&this._attributeToProperty(s,o),super.attributeChangedCallback&&super.attributeChangedCallback(s,i,o,n)}_attributeToProperty(s,i,o){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[s]||s;this[a]=this._deserializeValue(i,o||this.constructor.typeForProperty(a))}}_propertyToAttribute(s,i,o){this.__serializing=!0,o=arguments.length<3?this[s]:o,this._valueToNodeAttribute(this,o,i||this.constructor.attributeNameForProperty(s)),this.__serializing=!1}_valueToNodeAttribute(s,i,o){const n=this._serializeValue(i);(o==="class"||o==="name"||o==="slot")&&(s=Le(s)),n===void 0?s.removeAttribute(o):s.setAttribute(o,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(s){switch(typeof s){case"boolean":return s?"":void 0;default:return s!=null?s.toString():void 0}}_deserializeValue(s,i){switch(i){case Boolean:return s!==null;case Number:return Number(s);default:return s}}}return t});/**
670
+ @license
671
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
672
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
673
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
674
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
675
+ Code distributed by Google as part of the polymer project is also
676
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
677
+ */const kn={};let Wt=HTMLElement.prototype;for(;Wt;){let e=Object.getOwnPropertyNames(Wt);for(let t=0;t<e.length;t++)kn[e[t]]=!0;Wt=Object.getPrototypeOf(Wt)}const vc=window.trustedTypes?e=>trustedTypes.isHTML(e)||trustedTypes.isScript(e)||trustedTypes.isScriptURL(e):()=>!1;function yc(e,t){if(!kn[t]){let r=e[t];r!==void 0&&(e.__data?e._setPendingProperty(t,r):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=r))}}const wc=oe(e=>{const t=Nn(e);class r extends t{static createPropertiesForAttributes(){let i=this.observedAttributes;for(let o=0;o<i.length;o++)this.prototype._createPropertyAccessor(Tn(i[o]))}static attributeNameForProperty(i){return xr(i)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(i){for(let o in i)this._setProperty(o,i[o])}_ensureAttribute(i,o){const n=this;n.hasAttribute(i)||this._valueToNodeAttribute(n,o,i)}_serializeValue(i){switch(typeof i){case"object":if(i instanceof Date)return i.toString();if(i){if(vc(i))return i;try{return JSON.stringify(i)}catch(o){return""}}default:return super._serializeValue(i)}}_deserializeValue(i,o){let n;switch(o){case Object:try{n=JSON.parse(i)}catch(a){n=i}break;case Array:try{n=JSON.parse(i)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${i}`)}break;case Date:n=isNaN(i)?String(i):Number(i),n=new Date(n);break;default:n=super._deserializeValue(i,o);break}return n}_definePropertyAccessor(i,o){yc(this,i),super._definePropertyAccessor(i,o)}_hasAccessor(i){return this.__dataHasAccessor&&this.__dataHasAccessor[i]}_isPropertyPending(i){return!!(this.__dataPending&&i in this.__dataPending)}}return r});/**
678
+ @license
679
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
680
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
681
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
682
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
683
+ Code distributed by Google as part of the polymer project is also
684
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
685
+ */const xc={"dom-if":!0,"dom-repeat":!0};let eo=!1,to=!1;function Pc(){if(!eo){eo=!0;const e=document.createElement("textarea");e.placeholder="a",to=e.placeholder===e.textContent}return to}function Ec(e){Pc()&&e.localName==="textarea"&&e.placeholder&&e.placeholder===e.textContent&&(e.textContent=null)}const Ac=(()=>{const e=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,r,s)=>{const i=r.getAttribute(s);if(e&&s.startsWith("on-")){t.setAttribute(s,e.createScript(i,s));return}t.setAttribute(s,i)}})();function Cc(e){let t=e.getAttribute("is");if(t&&xc[t]){let r=e;for(r.removeAttribute("is"),e=r.ownerDocument.createElement(t),r.parentNode.replaceChild(e,r),e.appendChild(r);r.attributes.length;){const{name:s}=r.attributes[0];Ac(e,r,s),r.removeAttribute(s)}}return e}function Bn(e,t){let r=t.parentInfo&&Bn(e,t.parentInfo);if(r){for(let s=r.firstChild,i=0;s;s=s.nextSibling)if(t.parentIndex===i++)return s}else return e}function Sc(e,t,r,s){s.id&&(t[s.id]=r)}function Tc(e,t,r){if(r.events&&r.events.length)for(let s=0,i=r.events,o;s<i.length&&(o=i[s]);s++)e._addMethodEventListenerToNode(t,o.name,o.value,e)}function Ic(e,t,r,s){r.templateInfo&&(t._templateInfo=r.templateInfo,t._parentTemplateInfo=s)}function Oc(e,t,r){return e=e._methodHost||e,function(i){e[r]?e[r](i,i.detail):console.warn("listener method `"+r+"` not defined")}}const Nc=oe(e=>{class t extends e{static _parseTemplate(s,i){if(!s._templateInfo){let o=s._templateInfo={};o.nodeInfoList=[],o.nestedTemplate=!!i,o.stripWhiteSpace=i&&i.stripWhiteSpace||s.hasAttribute&&s.hasAttribute("strip-whitespace"),this._parseTemplateContent(s,o,{parent:null})}return s._templateInfo}static _parseTemplateContent(s,i,o){return this._parseTemplateNode(s.content,i,o)}static _parseTemplateNode(s,i,o){let n=!1,a=s;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,i,o)||n:a.localName==="slot"&&(i.hasInsertionPoint=!0),Ec(a),a.firstChild&&this._parseTemplateChildNodes(a,i,o),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,i,o)||n),n||o.noted}static _parseTemplateChildNodes(s,i,o){if(!(s.localName==="script"||s.localName==="style"))for(let n=s.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=Cc(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let h=l;for(;h&&h.nodeType===Node.TEXT_NODE;)n.textContent+=h.textContent,l=h.nextSibling,s.removeChild(h),h=l;if(i.stripWhiteSpace&&!n.textContent.trim()){s.removeChild(n);continue}}let u={parentIndex:a,parentInfo:o};this._parseTemplateNode(n,i,u)&&(u.infoIndex=i.nodeInfoList.push(u)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(s,i,o){let n=s,a=this._parseTemplate(n,i);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),o.templateInfo=a,!0}static _parseTemplateNodeAttributes(s,i,o){let n=!1,a=Array.from(s.attributes);for(let l=a.length-1,u;u=a[l];l--)n=this._parseTemplateNodeAttribute(s,i,o,u.name,u.value)||n;return n}static _parseTemplateNodeAttribute(s,i,o,n,a){return n.slice(0,3)==="on-"?(s.removeAttribute(n),o.events=o.events||[],o.events.push({name:n.slice(3),value:a}),!0):n==="id"?(o.id=a,!0):!1}static _contentForTemplate(s){let i=s._templateInfo;return i&&i.content||s.content}_stampTemplate(s,i){s&&!s.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(s),i=i||this.constructor._parseTemplate(s);let o=i.nodeInfoList,n=i.content||s.content,a=document.importNode(n,!0);a.__noInsertionPoint=!i.hasInsertionPoint;let l=a.nodeList=new Array(o.length);a.$={};for(let u=0,h=o.length,c;u<h&&(c=o[u]);u++){let f=l[u]=Bn(a,c);Sc(this,a.$,f,c),Ic(this,f,c,i),Tc(this,f,c)}return a=a,a}_addMethodEventListenerToNode(s,i,o,n){n=n||s;let a=Oc(n,i,o);return this._addEventListenerToNode(s,i,a),a}_addEventListenerToNode(s,i,o){s.addEventListener(i,o)}_removeEventListenerFromNode(s,i,o){s.removeEventListener(i,o)}}return t});/**
686
+ * @fileoverview
687
+ * @suppress {checkPrototypalTypes}
688
+ * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
689
+ * This code may only be used under the BSD style license found at
690
+ * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
691
+ * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
692
+ * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
693
+ * Google as part of the polymer project is also subject to an additional IP
694
+ * rights grant found at http://polymer.github.io/PATENTS.txt
695
+ */let Ot=0;const Nt=[],L={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Mn="__computeInfo",kc=/[A-Z]/;function Gr(e,t,r){let s=e[t];if(!s)s=e[t]={};else if(!e.hasOwnProperty(t)&&(s=e[t]=Object.create(e[t]),r))for(let i in s){let o=s[i],n=s[i]=Array(o.length);for(let a=0;a<o.length;a++)n[a]=o[a]}return s}function gt(e,t,r,s,i,o){if(t){let n=!1;const a=Ot++;for(let l in r){let u=i?Fe(l):l,h=t[u];if(h)for(let c=0,f=h.length,m;c<f&&(m=h[c]);c++)(!m.info||m.info.lastRun!==a)&&(!i||Ys(l,m.trigger))&&(m.info&&(m.info.lastRun=a),m.fn(e,l,r,s,m.info,i,o),n=!0)}return n}return!1}function Bc(e,t,r,s,i,o,n,a){let l=!1,u=n?Fe(s):s,h=t[u];if(h)for(let c=0,f=h.length,m;c<f&&(m=h[c]);c++)(!m.info||m.info.lastRun!==r)&&(!n||Ys(s,m.trigger))&&(m.info&&(m.info.lastRun=r),m.fn(e,s,i,o,m.info,n,a),l=!0);return l}function Ys(e,t){if(t){let r=t.name;return r==e||!!(t.structured&&cc(r,e))||!!(t.wildcard&&ur(r,e))}else return!0}function ro(e,t,r,s,i){let o=typeof i.method=="string"?e[i.method]:i.method,n=i.property;o?o.call(e,e.__data[n],s[n]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function Mc(e,t,r,s,i){let o=e[L.NOTIFY],n,a=Ot++;for(let u in t)t[u]&&(o&&Bc(e,o,a,u,r,s,i)||i&&Lc(e,u,r))&&(n=!0);let l;n&&(l=e.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Lc(e,t,r){let s=Fe(t);if(s!==t){let i=xr(s)+"-changed";return Ln(e,i,r[t],t),!0}return!1}function Ln(e,t,r,s){let i={value:r,queueProperty:!0};s&&(i.path=s),Le(e).dispatchEvent(new CustomEvent(t,{detail:i}))}function Rc(e,t,r,s,i,o){let a=(o?Fe(t):t)!=t?t:null,l=a?pe(e,a):e.__data[t];a&&l===void 0&&(l=r[t]),Ln(e,i.eventName,l,a)}function Dc(e,t,r,s,i){let o,n=e.detail,a=n&&n.path;a?(s=hr(r,s,a),o=n&&n.value):o=e.currentTarget[r],o=i?!o:o,(!t[L.READ_ONLY]||!t[L.READ_ONLY][s])&&t._setPendingPropertyOrPath(s,o,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function Hc(e,t,r,s,i){let o=e.__data[t];lr&&(o=lr(o,i.attrName,"attribute",e)),e._propertyToAttribute(t,i.attrName,o)}function Fc(e,t,r,s){let i=e[L.COMPUTE];if(i)if(tc){Ot++;const o=Vc(e),n=[];for(let l in t)so(l,i,n,o,s);let a;for(;a=n.shift();)Rn(e,"",t,r,a)&&so(a.methodInfo,i,n,o,s);Object.assign(r,e.__dataOld),Object.assign(t,e.__dataPending),e.__dataPending=null}else{let o=t;for(;gt(e,i,o,r,s);)Object.assign(r,e.__dataOld),Object.assign(t,e.__dataPending),o=e.__dataPending,e.__dataPending=null}}const zc=(e,t,r)=>{let s=0,i=t.length-1,o=-1;for(;s<=i;){const n=s+i>>1,a=r.get(t[n].methodInfo)-r.get(e.methodInfo);if(a<0)s=n+1;else if(a>0)i=n-1;else{o=n;break}}o<0&&(o=i+1),t.splice(o,0,e)},so=(e,t,r,s,i)=>{const o=i?Fe(e):e,n=t[o];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==Ot&&(!i||Ys(e,l.trigger))&&(l.info.lastRun=Ot,zc(l.info,r,s))}};function Vc(e){let t=e.constructor.__orderedComputedDeps;if(!t){t=new Map;const r=e[L.COMPUTE];let{counts:s,ready:i,total:o}=Uc(e),n;for(;n=i.shift();){t.set(n,t.size);const a=r[n];a&&a.forEach(l=>{const u=l.info.methodInfo;--o,--s[u]===0&&i.push(u)})}o!==0&&console.warn(`Computed graph for ${e.localName} incomplete; circular?`),e.constructor.__orderedComputedDeps=t}return t}function Uc(e){const t=e[Mn],r={},s=e[L.COMPUTE],i=[];let o=0;for(let n in t){const a=t[n];o+=r[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in s)t[n]||i.push(n);return{counts:r,ready:i,total:o}}function Rn(e,t,r,s,i){let o=Ss(e,t,r,s,i);if(o===Nt)return!1;let n=i.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[n]?e._setPendingProperty(n,o,!0):(e[n]=o,!1)}function $c(e,t,r){let s=e.__dataLinkedPaths;if(s){let i;for(let o in s){let n=s[o];ur(o,t)?(i=hr(o,n,t),e._setPendingPropertyOrPath(i,r,!0,!0)):ur(n,t)&&(i=hr(n,o,t),e._setPendingPropertyOrPath(i,r,!0,!0))}}}function Wr(e,t,r,s,i,o,n){r.bindings=r.bindings||[];let a={kind:s,target:i,parts:o,literal:n,isCompound:o.length!==1};if(r.bindings.push(a),Yc(a)){let{event:u,negate:h}=a.parts[0];a.listenerEvent=u||xr(i)+"-changed",a.listenerNegate=h}let l=t.nodeInfoList.length;for(let u=0;u<a.parts.length;u++){let h=a.parts[u];h.compoundIndex=u,jc(e,t,a,h,l)}}function jc(e,t,r,s,i){if(!s.literal)if(r.kind==="attribute"&&r.target[0]==="-")console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let o=s.dependencies,n={index:i,binding:r,part:s,evaluator:e};for(let a=0;a<o.length;a++){let l=o[a];typeof l=="string"&&(l=Hn(l),l.wildcard=!0),e._addTemplatePropertyEffect(t,l.rootProperty,{fn:Gc,info:n,trigger:l})}}}function Gc(e,t,r,s,i,o,n){let a=n[i.index],l=i.binding,u=i.part;if(o&&u.source&&t.length>u.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let h=r[t];t=hr(u.source,l.target,t),a._setPendingPropertyOrPath(t,h,!1,!0)&&e._enqueueClient(a)}else{let h=i.evaluator._evaluateBinding(e,u,t,r,s,o);h!==Nt&&Wc(e,a,l,u,h)}}function Wc(e,t,r,s,i){if(i=qc(t,i,r,s),lr&&(i=lr(i,r.target,r.kind,t)),r.kind=="attribute")e._valueToNodeAttribute(t,i,r.target);else{let o=r.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?(!t[L.READ_ONLY]||!t[L.READ_ONLY][o])&&t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}function qc(e,t,r,s){if(r.isCompound){let i=e.__dataCompoundStorage[r.target];i[s.compoundIndex]=t,t=i.join("")}return r.kind!=="attribute"&&(r.target==="textContent"||r.target==="value"&&(e.localName==="input"||e.localName==="textarea"))&&(t=t==null?"":t),t}function Yc(e){return!!e.target&&e.kind!="attribute"&&e.kind!="text"&&!e.isCompound&&e.parts[0].mode==="{"}function Zc(e,t){let{nodeList:r,nodeInfoList:s}=t;if(s.length)for(let i=0;i<s.length;i++){let o=s[i],n=r[i],a=o.bindings;if(a)for(let l=0;l<a.length;l++){let u=a[l];Jc(n,u),Xc(n,e,u)}n.__dataHost=e}}function Jc(e,t){if(t.isCompound){let r=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),s=t.parts,i=new Array(s.length);for(let n=0;n<s.length;n++)i[n]=s[n].literal;let o=t.target;r[o]=i,t.literal&&t.kind=="property"&&(o==="className"&&(e=Le(e)),e[o]=t.literal)}}function Xc(e,t,r){if(r.listenerEvent){let s=r.parts[0];e.addEventListener(r.listenerEvent,function(i){Dc(i,t,r.target,s.source,s.negate)})}}function io(e,t,r,s,i,o){o=t.static||o&&(typeof o!="object"||o[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:i,dynamicFn:o};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||e._addPropertyEffect(l.rootProperty,r,{fn:s,info:n,trigger:l});return o&&e._addPropertyEffect(t.methodName,r,{fn:s,info:n}),n}function Ss(e,t,r,s,i){let o=e._methodHost||e,n=o[i.methodName];if(n){let a=e._marshalArgs(i.args,t,r);return a===Nt?Nt:n.apply(o,a)}else i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const Kc=[],Dn="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Qc="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",ed="(?:'(?:[^'\\\\]|\\\\.)*')",td='(?:"(?:[^"\\\\]|\\\\.)*")',rd="(?:"+ed+"|"+td+")",oo="(?:("+Dn+"|"+Qc+"|"+rd+")\\s*)",sd="(?:"+oo+"(?:,\\s*"+oo+")*)",id="(?:\\(\\s*(?:"+sd+"?)\\)\\s*)",od="("+Dn+"\\s*"+id+"?)",nd="(\\[\\[|{{)\\s*",ad="(?:]]|}})",ld="(?:(!)\\s*)?",ud=nd+ld+od+ad,no=new RegExp(ud,"g");function ao(e){let t="";for(let r=0;r<e.length;r++){let s=e[r].literal;t+=s||""}return t}function qr(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let s={methodName:t[1],static:!0,args:Kc};if(t[2].trim()){let i=t[2].replace(/\\,/g,"&comma;").split(",");return hd(i,s)}else return s}return null}function hd(e,t){return t.args=e.map(function(r){let s=Hn(r);return s.literal||(t.static=!1),s},this),t}function Hn(e){let t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:t,value:"",literal:!1},s=t[0];switch(s==="-"&&(s=t[1]),s>="0"&&s<="9"&&(s="#"),s){case"'":case'"':r.value=t.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(t),r.literal=!0;break}return r.literal||(r.rootProperty=Fe(t),r.structured=As(t),r.structured&&(r.wildcard=t.slice(-2)==".*",r.wildcard&&(r.name=t.slice(0,-2)))),r}function lo(e,t,r){let s=pe(e,r);return s===void 0&&(s=t[r]),s}function Fn(e,t,r,s){const i={indexSplices:s};Es&&!e._overrideLegacyUndefined&&(t.splices=i),e.notifyPath(r+".splices",i),e.notifyPath(r+".length",t.length),Es&&!e._overrideLegacyUndefined&&(i.indexSplices=[])}function pt(e,t,r,s,i,o){Fn(e,t,r,[{index:s,addedCount:i,removed:o,object:t,type:"splice"}])}function cd(e){return e[0].toUpperCase()+e.substring(1)}const dd=oe(e=>{const t=Nc(wc(e));class r extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return L}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(mt.length){let i=mt[mt.length-1];i._enqueueClient(this),this.__dataHost=i}}_initializeProtoProperties(i){this.__data=Object.create(i),this.__dataPending=Object.create(i),this.__dataOld={}}_initializeInstanceProperties(i){let o=this[L.READ_ONLY];for(let n in i)(!o||!o[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=i[n])}_addPropertyEffect(i,o,n){this._createPropertyAccessor(i,o==L.READ_ONLY);let a=Gr(this,o,!0)[i];a||(a=this[o][i]=[]),a.push(n)}_removePropertyEffect(i,o,n){let a=Gr(this,o,!0)[i],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(i,o){let n=this[o];return!!(n&&n[i])}_hasReadOnlyEffect(i){return this._hasPropertyEffect(i,L.READ_ONLY)}_hasNotifyEffect(i){return this._hasPropertyEffect(i,L.NOTIFY)}_hasReflectEffect(i){return this._hasPropertyEffect(i,L.REFLECT)}_hasComputedEffect(i){return this._hasPropertyEffect(i,L.COMPUTE)}_setPendingPropertyOrPath(i,o,n,a){if(a||Fe(Array.isArray(i)?i[0]:i)!==i){if(!a){let l=pe(this,i);if(i=Qi(this,i,o),!i||!super._shouldPropertyChange(i,o,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(i,o,n))return $c(this,i,o),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[i])return this._setPendingProperty(i,o,n);this[i]=o}return!1}_setUnmanagedPropertyToNode(i,o,n){(n!==i[o]||typeof n=="object")&&(o==="className"&&(i=Le(i)),i[o]=n)}_setPendingProperty(i,o,n){let a=this.__dataHasPaths&&As(i),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(i,o,l[i])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),i in this.__dataOld||(this.__dataOld[i]=this.__data[i]),a?this.__dataTemp[i]=o:this.__data[i]=o,this.__dataPending[i]=o,(a||this[L.NOTIFY]&&this[L.NOTIFY][i])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[i]=n),!0):!1}_setProperty(i,o){this._setPendingProperty(i,o,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(i){this.__dataPendingClients=this.__dataPendingClients||[],i!==this&&this.__dataPendingClients.push(i)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let i=this.__dataPendingClients;if(i){this.__dataPendingClients=null;for(let o=0;o<i.length;o++){let n=i[o];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(i,o){for(let n in i)(o||!this[L.READ_ONLY]||!this[L.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,i[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(i,o,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;Fc(this,o,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(o,n,a),this._flushClients(),gt(this,this[L.REFLECT],o,n,a),gt(this,this[L.OBSERVE],o,n,a),l&&Mc(this,l,o,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(i,o,n){this[L.PROPAGATE]&&gt(this,this[L.PROPAGATE],i,o,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,i,o,n)}_runEffectsForTemplate(i,o,n,a){const l=(u,h)=>{gt(this,i.propertyEffects,u,n,h,i.nodeList);for(let c=i.firstChild;c;c=c.nextSibling)this._runEffectsForTemplate(c,u,n,h)};i.runEffects?i.runEffects(l,o,a):l(o,a)}linkPaths(i,o){i=_t(i),o=_t(o),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[i]=o}unlinkPaths(i){i=_t(i),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[i]}notifySplices(i,o){let n={path:""},a=pe(this,i,n);Fn(this,a,n.path,o)}get(i,o){return pe(o||this,i)}set(i,o,n){n?Qi(n,i,o):(!this[L.READ_ONLY]||!this[L.READ_ONLY][i])&&this._setPendingPropertyOrPath(i,o,!0)&&this._invalidateProperties()}push(i,...o){let n={path:""},a=pe(this,i,n),l=a.length,u=a.push(...o);return o.length&&pt(this,a,n.path,l,o.length,[]),u}pop(i){let o={path:""},n=pe(this,i,o),a=!!n.length,l=n.pop();return a&&pt(this,n,o.path,n.length,0,[l]),l}splice(i,o,n,...a){let l={path:""},u=pe(this,i,l);o<0?o=u.length-Math.floor(-o):o&&(o=Math.floor(o));let h;return arguments.length===2?h=u.splice(o):h=u.splice(o,n,...a),(a.length||h.length)&&pt(this,u,l.path,o,a.length,h),h}shift(i){let o={path:""},n=pe(this,i,o),a=!!n.length,l=n.shift();return a&&pt(this,n,o.path,0,0,[l]),l}unshift(i,...o){let n={path:""},a=pe(this,i,n),l=a.unshift(...o);return o.length&&pt(this,a,n.path,0,o.length,[]),l}notifyPath(i,o){let n;if(arguments.length==1){let a={path:""};o=pe(this,i,a),n=a.path}else Array.isArray(i)?n=_t(i):n=i;this._setPendingPropertyOrPath(n,o,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(i,o){this._addPropertyEffect(i,L.READ_ONLY),o&&(this["_set"+cd(i)]=function(n){this._setProperty(i,n)})}_createPropertyObserver(i,o,n){let a={property:i,method:o,dynamicFn:!!n};this._addPropertyEffect(i,L.OBSERVE,{fn:ro,info:a,trigger:{name:i}}),n&&this._addPropertyEffect(o,L.OBSERVE,{fn:ro,info:a,trigger:{name:o}})}_createMethodObserver(i,o){let n=qr(i);if(!n)throw new Error("Malformed observer expression '"+i+"'");io(this,n,L.OBSERVE,Ss,null,o)}_createNotifyingProperty(i){this._addPropertyEffect(i,L.NOTIFY,{fn:Rc,info:{eventName:xr(i)+"-changed",property:i}})}_createReflectedProperty(i){let o=this.constructor.attributeNameForProperty(i);o[0]==="-"?console.warn("Property "+i+" cannot be reflected to attribute "+o+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(i,L.REFLECT,{fn:Hc,info:{attrName:o}})}_createComputedProperty(i,o,n){let a=qr(o);if(!a)throw new Error("Malformed computed expression '"+o+"'");const l=io(this,a,L.COMPUTE,Rn,i,n);Gr(this,Mn)[i]=l}_marshalArgs(i,o,n){const a=this.__data,l=[];for(let u=0,h=i.length;u<h;u++){let{name:c,structured:f,wildcard:m,value:g,literal:_}=i[u];if(!_)if(m){const P=ur(c,o),w=lo(a,n,P?o:c);g={path:P?o:c,value:w,base:P?pe(a,c):w}}else g=f?lo(a,n,c):a[c];if(Es&&!this._overrideLegacyUndefined&&g===void 0&&i.length>1)return Nt;l[u]=g}return l}static addPropertyEffect(i,o,n){this.prototype._addPropertyEffect(i,o,n)}static createPropertyObserver(i,o,n){this.prototype._createPropertyObserver(i,o,n)}static createMethodObserver(i,o){this.prototype._createMethodObserver(i,o)}static createNotifyingProperty(i){this.prototype._createNotifyingProperty(i)}static createReadOnlyProperty(i,o){this.prototype._createReadOnlyProperty(i,o)}static createReflectedProperty(i){this.prototype._createReflectedProperty(i)}static createComputedProperty(i,o,n){this.prototype._createComputedProperty(i,o,n)}static bindTemplate(i){return this.prototype._bindTemplate(i)}_bindTemplate(i,o){let n=this.constructor._parseTemplate(i),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(o)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=i._parentTemplateInfo||this.__templateInfo,u=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=u,u?u.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(i,o,n){let a=i.hostProps=i.hostProps||{};a[o]=!0;let l=i.propertyEffects=i.propertyEffects||{};(l[o]=l[o]||[]).push(n)}_stampTemplate(i,o){o=o||this._bindTemplate(i,!0),mt.push(this);let n=super._stampTemplate(i,o);if(mt.pop(),o.nodeList=n.nodeList,!o.wasPreBound){let a=o.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=o,Zc(this,o),this.__dataClientsReady&&(this._runEffectsForTemplate(o,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(i){const o=i.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=o;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),o.nextSibling=o.previousSibling=null;let u=o.childNodes;for(let h=0;h<u.length;h++){let c=u[h];Le(Le(c).parentNode).removeChild(c)}}static _parseTemplateNode(i,o,n){let a=t._parseTemplateNode.call(this,i,o,n);if(i.nodeType===Node.TEXT_NODE){let l=this._parseBindings(i.textContent,o);l&&(i.textContent=ao(l)||" ",Wr(this,o,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(i,o,n,a,l){let u=this._parseBindings(l,o);if(u){let h=a,c="property";kc.test(a)?c="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),c="attribute");let f=ao(u);return f&&c=="attribute"&&(a=="class"&&i.hasAttribute("class")&&(f+=" "+i.getAttribute(a)),i.setAttribute(a,f)),c=="attribute"&&h=="disable-upgrade$"&&i.setAttribute(a,""),i.localName==="input"&&h==="value"&&i.setAttribute(h,""),i.removeAttribute(h),c==="property"&&(a=Tn(a)),Wr(this,o,n,c,a,u,f),!0}else return t._parseTemplateNodeAttribute.call(this,i,o,n,a,l)}static _parseTemplateNestedTemplate(i,o,n){let a=t._parseTemplateNestedTemplate.call(this,i,o,n);const l=i.parentNode,u=n.templateInfo,h=l.localName==="dom-if",c=l.localName==="dom-repeat";Yi&&(h||c)&&(l.removeChild(i),n=n.parentInfo,n.templateInfo=u,n.noted=!0,a=!1);let f=u.hostProps;if(rc&&h)f&&(o.hostProps=Object.assign(o.hostProps||{},f),Yi||(n.parentInfo.noted=!0));else{let m="{";for(let g in f){let _=[{mode:m,source:g,dependencies:[g],hostProp:!0}];Wr(this,o,n,"property","_host_"+g,_)}}return a}static _parseBindings(i,o){let n=[],a=0,l;for(;(l=no.exec(i))!==null;){l.index>a&&n.push({literal:i.slice(a,l.index)});let u=l[1][0],h=!!l[2],c=l[3].trim(),f=!1,m="",g=-1;u=="{"&&(g=c.indexOf("::"))>0&&(m=c.substring(g+2),c=c.substring(0,g),f=!0);let _=qr(c),P=[];if(_){let{args:w,methodName:v}=_;for(let A=0;A<w.length;A++){let B=w[A];B.literal||P.push(B)}let C=o.dynamicFns;(C&&C[v]||_.static)&&(P.push(v),_.dynamicFn=!0)}else P.push(c);n.push({source:c,mode:u,negate:h,customEvent:f,signature:_,dependencies:P,event:m}),a=no.lastIndex}if(a&&a<i.length){let u=i.substring(a);u&&n.push({literal:u})}return n.length?n:null}static _evaluateBinding(i,o,n,a,l,u){let h;return o.signature?h=Ss(i,n,a,l,o.signature):n!=o.source?h=pe(i,o.source):u&&As(n)?h=pe(i,n):h=i.__data[n],o.negate&&(h=!h),h}}return r}),mt=[];/**
696
+ @license
697
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
698
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
699
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
700
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
701
+ Code distributed by Google as part of the polymer project is also
702
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
703
+ *//**
704
+ @license
705
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
706
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
707
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
708
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
709
+ Code distributed by Google as part of the polymer project is also
710
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
711
+ */function fd(e){const t={};for(let r in e){const s=e[r];t[r]=typeof s=="function"?{type:s}:s}return t}const pd=oe(e=>{const t=Nn(e);function r(o){const n=Object.getPrototypeOf(o);return n.prototype instanceof i?n:null}function s(o){if(!o.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",o))){let n=null;if(o.hasOwnProperty(JSCompiler_renameProperty("properties",o))){const a=o.properties;a&&(n=fd(a))}o.__ownProperties=n}return o.__ownProperties}class i extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const n=this._properties;this.__observedAttributes=n?Object.keys(n).map(a=>this.prototype._addPropertyToAttributeMap(a)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const n=r(this);n&&n.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const n=s(this);n&&this.createProperties(n)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const n=r(this);this.__properties=Object.assign({},n&&n._properties,s(this))}return this.__properties}static typeForProperty(n){const a=this._properties[n];return a&&a.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i});/**
712
+ * @fileoverview
713
+ * @suppress {checkPrototypalTypes}
714
+ * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
715
+ * This code may only be used under the BSD style license found at
716
+ * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
717
+ * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
718
+ * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
719
+ * Google as part of the polymer project is also subject to an additional IP
720
+ * rights grant found at http://polymer.github.io/PATENTS.txt
721
+ */const md="3.5.2",uo=window.ShadyCSS&&window.ShadyCSS.cssBuild,_d=oe(e=>{const t=pd(dd(e));function r(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let u=l._properties;for(let h in u){let c=u[h];"value"in c&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[h]=c)}}return l.__propertyDefaults}function s(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function i(l,u,h,c){h.computed&&(h.readOnly=!0),h.computed&&(l._hasReadOnlyEffect(u)?console.warn(`Cannot redefine computed property '${u}'.`):l._createComputedProperty(u,h.computed,c)),h.readOnly&&!l._hasReadOnlyEffect(u)?l._createReadOnlyProperty(u,!h.computed):h.readOnly===!1&&l._hasReadOnlyEffect(u)&&console.warn(`Cannot make readOnly property '${u}' non-readOnly.`),h.reflectToAttribute&&!l._hasReflectEffect(u)?l._createReflectedProperty(u):h.reflectToAttribute===!1&&l._hasReflectEffect(u)&&console.warn(`Cannot make reflected property '${u}' non-reflected.`),h.notify&&!l._hasNotifyEffect(u)?l._createNotifyingProperty(u):h.notify===!1&&l._hasNotifyEffect(u)&&console.warn(`Cannot make notify property '${u}' non-notify.`),h.observer&&l._createPropertyObserver(u,h.observer,c[h.observer]),l._addPropertyToAttributeMap(u)}function o(l,u,h,c){if(!uo){const f=u.content.querySelectorAll("style"),m=An(u),g=hc(h),_=u.content.firstElementChild;for(let w=0;w<g.length;w++){let v=g[w];v.textContent=l._processStyleText(v.textContent,c),u.content.insertBefore(v,_)}let P=0;for(let w=0;w<m.length;w++){let v=m[w],C=f[P];C!==v?(v=v.cloneNode(!0),C.parentNode.insertBefore(v,C)):P++,v.textContent=l._processStyleText(v.textContent,c)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(u,h),sc&&uo&&Zh){const f=u.content.querySelectorAll("style");if(f){let m="";Array.from(f).forEach(g=>{m+=g.textContent,g.parentNode.removeChild(g)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let u=null;if(l&&(!Ps||Xh)&&(u=It.import(l,"template"),Ps&&!u))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return u}class a extends t{static get polymerElementVersion(){return md}static _finalizeClass(){t._finalizeClass.call(this);const u=s(this);u&&this.createObservers(u,this._properties),this._prepareTemplate()}static _prepareTemplate(){let u=this.template;u&&(typeof u=="string"?(console.error("template getter must return HTMLTemplateElement"),u=null):Kh||(u=u.cloneNode(!0))),this.prototype._template=u}static createProperties(u){for(let h in u)i(this.prototype,h,u[h],u)}static createObservers(u,h){const c=this.prototype;for(let f=0;f<u.length;f++)c._createMethodObserver(u[f],h)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let u=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof u=="function"&&(u=u()),this._template=u!==void 0?u:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(u){this._template=u}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const u=this.importMeta;if(u)this._importPath=Ws(u.url);else{const h=It.import(this.is);this._importPath=h&&h.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Jh,this.importPath=this.constructor.importPath;let u=r(this.constructor);if(u)for(let h in u){let c=u[h];if(this._canApplyPropertyDefault(h)){let f=typeof c.value=="function"?c.value.call(this):c.value;this._hasAccessor(h)?this._setPendingProperty(h,f,!0):this[h]=f}}}_canApplyPropertyDefault(u){return!this.hasOwnProperty(u)}static _processStyleText(u,h){return Gs(u,h)}static _finalizeTemplate(u){const h=this.prototype._template;if(h&&!h.__polymerFinalized){h.__polymerFinalized=!0;const c=this.importPath,f=c?wt(c):"";o(this,h,u,f),this.prototype._bindTemplate(h)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(u){const h=Le(this);if(h.attachShadow)return u?(h.shadowRoot||(h.attachShadow({mode:"open",shadyUpgradeFragment:u}),h.shadowRoot.appendChild(u),this.constructor._styleSheet&&(h.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),ec&&window.ShadyDOM&&window.ShadyDOM.flushInitial(h.shadowRoot),h.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(u){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,u)}resolveUrl(u,h){return!h&&this.importPath&&(h=wt(this.importPath)),wt(u,h)}static _parseTemplateContent(u,h,c){return h.dynamicFns=h.dynamicFns||this._properties,t._parseTemplateContent.call(this,u,h,c)}static _addTemplatePropertyEffect(u,h,c){return Qh&&!(h in this._properties)&&!(c.info.part.signature&&c.info.part.signature.static)&&!c.info.part.hostProp&&!u.nestedTemplate&&console.warn(`Property '${h}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,u,h,c)}}return a});/**
722
+ @license
723
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
724
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
725
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
726
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
727
+ Code distributed by Google as part of the polymer project is also
728
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
729
+ */const ho=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e});class zn{constructor(t,r){Un(t,r);const s=r.reduce((i,o,n)=>i+Vn(o)+t[n+1],t[0]);this.value=s.toString()}toString(){return this.value}}function Vn(e){if(e instanceof zn)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}function gd(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof zn)return Vn(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}const Mt=function(t,...r){Un(t,r);const s=document.createElement("template");let i=r.reduce((o,n,a)=>o+gd(n)+t[a+1],t[0]);return ho&&(i=ho.createHTML(i)),s.innerHTML=i,s},Un=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(e.raw)||t.length!==e.length-1)throw new TypeError("Invalid call to the html template tag")};/**
730
+ @license
731
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
732
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
733
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
734
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
735
+ Code distributed by Google as part of the polymer project is also
736
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
737
+ */const Lt=_d(HTMLElement);/**
738
+ * @license
739
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
740
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
741
+ */const Ce=[];function Ts(e,t,r=e.getAttribute("dir")){t?e.setAttribute("dir",t):r!=null&&e.removeAttribute("dir")}function Is(){return document.documentElement.getAttribute("dir")}function bd(){const e=Is();Ce.forEach(t=>{Ts(t,e)})}const vd=new MutationObserver(bd);vd.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Pr=e=>class extends e{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:r=>r||"",toAttribute:r=>r===""?null:r}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),Ts(this,Is(),null))}attributeChangedCallback(r,s,i){if(super.attributeChangedCallback(r,s,i),r!=="dir")return;const o=Is(),n=i===o&&Ce.indexOf(this)===-1,a=!i&&s&&Ce.indexOf(this)===-1;n||a?(this.__subscribe(),Ts(this,o,i)):i!==o&&s===o&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=Ce.includes(this),this.__unsubscribe()}_valueToNodeAttribute(r,s,i){i==="dir"&&s===""&&!r.hasAttribute("dir")||super._valueToNodeAttribute(r,s,i)}_attributeToProperty(r,s,i){r==="dir"&&!s?this.dir="":super._attributeToProperty(r,s,i)}__subscribe(){Ce.includes(this)||Ce.push(this)}__unsubscribe(){Ce.includes(this)&&Ce.splice(Ce.indexOf(this),1)}};/**
742
+ * @license
743
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
744
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
745
+ */class yd extends yr(Pr(Lt)){static get is(){return"vaadin-input-container"}static get template(){return Mt`
746
+ <style>
747
+ :host {
748
+ display: flex;
749
+ align-items: center;
750
+ flex: 0 1 auto;
751
+ border-radius:
752
+ /* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius */
753
+ var(--vaadin-input-field-top-start-radius, var(--__border-radius))
754
+ var(--vaadin-input-field-top-end-radius, var(--__border-radius))
755
+ var(--vaadin-input-field-bottom-end-radius, var(--__border-radius))
756
+ var(--vaadin-input-field-bottom-start-radius, var(--__border-radius));
757
+ --_border-radius: var(--vaadin-input-field-border-radius, 0px);
758
+ --_input-border-width: var(--vaadin-input-field-border-width, 0);
759
+ --_input-border-color: var(--vaadin-input-field-border-color, transparent);
760
+ box-shadow: inset 0 0 0 var(--_input-border-width, 0) var(--_input-border-color);
761
+ }
762
+
763
+ :host([dir='rtl']) {
764
+ border-radius:
765
+ /* Don't use logical props, see https://github.com/vaadin/vaadin-time-picker/issues/145 */
766
+ var(--vaadin-input-field-top-end-radius, var(--_border-radius))
767
+ var(--vaadin-input-field-top-start-radius, var(--_border-radius))
768
+ var(--vaadin-input-field-bottom-start-radius, var(--_border-radius))
769
+ var(--vaadin-input-field-bottom-end-radius, var(--_border-radius));
770
+ }
771
+
772
+ :host([hidden]) {
773
+ display: none !important;
774
+ }
775
+
776
+ /* Reset the native input styles */
777
+ ::slotted(input) {
778
+ -webkit-appearance: none;
779
+ -moz-appearance: none;
780
+ flex: auto;
781
+ white-space: nowrap;
782
+ overflow: hidden;
783
+ width: 100%;
784
+ height: 100%;
785
+ outline: none;
786
+ margin: 0;
787
+ padding: 0;
788
+ border: 0;
789
+ border-radius: 0;
790
+ min-width: 0;
791
+ font: inherit;
792
+ line-height: normal;
793
+ color: inherit;
794
+ background-color: transparent;
795
+ /* Disable default invalid style in Firefox */
796
+ box-shadow: none;
797
+ }
798
+
799
+ ::slotted(*) {
800
+ flex: none;
801
+ }
802
+
803
+ ::slotted(:is(input, textarea))::placeholder {
804
+ /* Use ::slotted(input:placeholder-shown) in themes to style the placeholder. */
805
+ /* because ::slotted(...)::placeholder does not work in Safari. */
806
+ font: inherit;
807
+ color: inherit;
808
+ /* Override default opacity in Firefox */
809
+ opacity: 1;
810
+ }
811
+ </style>
812
+ <slot name="prefix"></slot>
813
+ <slot></slot>
814
+ <slot name="suffix"></slot>
815
+ `}static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",t=>{t.target===this&&t.preventDefault()}),this.addEventListener("click",t=>{t.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(r=>r.focus&&r.focus())})}}ke(yd);/**
816
+ * @license
817
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
818
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
819
+ */let wd=class extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}};ke(wd);const lt=(e,...t)=>{js(`lumo-${e}`,t)};/**
820
+ * @license
821
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
822
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
823
+ */const xd=E`
824
+ :host {
825
+ /* Base (background) */
826
+ --lumo-base-color: #fff;
827
+
828
+ /* Tint */
829
+ --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
830
+ --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
831
+ --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
832
+ --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
833
+ --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
834
+ --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
835
+ --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
836
+ --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
837
+ --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
838
+ --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
839
+ --lumo-tint: #fff;
840
+
841
+ /* Shade */
842
+ --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
843
+ --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
844
+ --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
845
+ --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
846
+ --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
847
+ --lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
848
+ --lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
849
+ --lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
850
+ --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
851
+ --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
852
+ --lumo-shade: hsl(214, 35%, 15%);
853
+
854
+ /* Contrast */
855
+ --lumo-contrast-5pct: var(--lumo-shade-5pct);
856
+ --lumo-contrast-10pct: var(--lumo-shade-10pct);
857
+ --lumo-contrast-20pct: var(--lumo-shade-20pct);
858
+ --lumo-contrast-30pct: var(--lumo-shade-30pct);
859
+ --lumo-contrast-40pct: var(--lumo-shade-40pct);
860
+ --lumo-contrast-50pct: var(--lumo-shade-50pct);
861
+ --lumo-contrast-60pct: var(--lumo-shade-60pct);
862
+ --lumo-contrast-70pct: var(--lumo-shade-70pct);
863
+ --lumo-contrast-80pct: var(--lumo-shade-80pct);
864
+ --lumo-contrast-90pct: var(--lumo-shade-90pct);
865
+ --lumo-contrast: var(--lumo-shade);
866
+
867
+ /* Text */
868
+ --lumo-header-text-color: var(--lumo-contrast);
869
+ --lumo-body-text-color: var(--lumo-contrast-90pct);
870
+ --lumo-secondary-text-color: var(--lumo-contrast-70pct);
871
+ --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
872
+ --lumo-disabled-text-color: var(--lumo-contrast-30pct);
873
+
874
+ /* Primary */
875
+ --lumo-primary-color: hsl(214, 100%, 48%);
876
+ --lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
877
+ --lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
878
+ --lumo-primary-text-color: hsl(214, 100%, 43%);
879
+ --lumo-primary-contrast-color: #fff;
880
+
881
+ /* Error */
882
+ --lumo-error-color: hsl(3, 85%, 48%);
883
+ --lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
884
+ --lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
885
+ --lumo-error-text-color: hsl(3, 89%, 42%);
886
+ --lumo-error-contrast-color: #fff;
887
+
888
+ /* Success */
889
+ --lumo-success-color: hsl(145, 72%, 30%);
890
+ --lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
891
+ --lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
892
+ --lumo-success-text-color: hsl(145, 85%, 25%);
893
+ --lumo-success-contrast-color: #fff;
894
+
895
+ /* Warning */
896
+ --lumo-warning-color: hsl(48, 100%, 50%);
897
+ --lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
898
+ --lumo-warning-text-color: hsl(32, 100%, 30%);
899
+ --lumo-warning-contrast-color: var(--lumo-shade-90pct);
900
+ }
901
+
902
+ /* forced-colors mode adjustments */
903
+ @media (forced-colors: active) {
904
+ html {
905
+ --lumo-disabled-text-color: GrayText;
906
+ }
907
+ }
908
+ `;lt("color-props",xd);const Pd=E`
909
+ [theme~='dark'] {
910
+ /* Base (background) */
911
+ --lumo-base-color: hsl(214, 35%, 21%);
912
+
913
+ /* Tint */
914
+ --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
915
+ --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
916
+ --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
917
+ --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
918
+ --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
919
+ --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
920
+ --lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
921
+ --lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
922
+ --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
923
+ --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
924
+ --lumo-tint: hsl(214, 100%, 98%);
925
+
926
+ /* Shade */
927
+ --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
928
+ --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
929
+ --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
930
+ --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
931
+ --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
932
+ --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
933
+ --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
934
+ --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
935
+ --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
936
+ --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
937
+ --lumo-shade: hsl(214, 33%, 13%);
938
+
939
+ /* Contrast */
940
+ --lumo-contrast-5pct: var(--lumo-tint-5pct);
941
+ --lumo-contrast-10pct: var(--lumo-tint-10pct);
942
+ --lumo-contrast-20pct: var(--lumo-tint-20pct);
943
+ --lumo-contrast-30pct: var(--lumo-tint-30pct);
944
+ --lumo-contrast-40pct: var(--lumo-tint-40pct);
945
+ --lumo-contrast-50pct: var(--lumo-tint-50pct);
946
+ --lumo-contrast-60pct: var(--lumo-tint-60pct);
947
+ --lumo-contrast-70pct: var(--lumo-tint-70pct);
948
+ --lumo-contrast-80pct: var(--lumo-tint-80pct);
949
+ --lumo-contrast-90pct: var(--lumo-tint-90pct);
950
+ --lumo-contrast: var(--lumo-tint);
951
+
952
+ /* Text */
953
+ --lumo-header-text-color: var(--lumo-contrast);
954
+ --lumo-body-text-color: var(--lumo-contrast-90pct);
955
+ --lumo-secondary-text-color: var(--lumo-contrast-70pct);
956
+ --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
957
+ --lumo-disabled-text-color: var(--lumo-contrast-30pct);
958
+
959
+ /* Primary */
960
+ --lumo-primary-color: hsl(214, 90%, 48%);
961
+ --lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
962
+ --lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
963
+ --lumo-primary-text-color: hsl(214, 90%, 77%);
964
+ --lumo-primary-contrast-color: #fff;
965
+
966
+ /* Error */
967
+ --lumo-error-color: hsl(3, 79%, 49%);
968
+ --lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
969
+ --lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
970
+ --lumo-error-text-color: hsl(3, 100%, 80%);
971
+
972
+ /* Success */
973
+ --lumo-success-color: hsl(145, 72%, 30%);
974
+ --lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
975
+ --lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
976
+ --lumo-success-text-color: hsl(145, 85%, 46%);
977
+
978
+ /* Warning */
979
+ --lumo-warning-color: hsl(43, 100%, 48%);
980
+ --lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
981
+ --lumo-warning-text-color: hsl(45, 100%, 60%);
982
+ --lumo-warning-contrast-color: var(--lumo-shade-90pct);
983
+ }
984
+
985
+ html {
986
+ color: var(--lumo-body-text-color);
987
+ background-color: var(--lumo-base-color);
988
+ color-scheme: light;
989
+ }
990
+
991
+ [theme~='dark'] {
992
+ color: var(--lumo-body-text-color);
993
+ background-color: var(--lumo-base-color);
994
+ color-scheme: dark;
995
+ }
996
+
997
+ h1,
998
+ h2,
999
+ h3,
1000
+ h4,
1001
+ h5,
1002
+ h6 {
1003
+ color: var(--lumo-header-text-color);
1004
+ }
1005
+
1006
+ a:where(:any-link) {
1007
+ color: var(--lumo-primary-text-color);
1008
+ }
1009
+
1010
+ a:not(:any-link) {
1011
+ color: var(--lumo-disabled-text-color);
1012
+ }
1013
+
1014
+ blockquote {
1015
+ color: var(--lumo-secondary-text-color);
1016
+ }
1017
+
1018
+ code,
1019
+ pre {
1020
+ background-color: var(--lumo-contrast-10pct);
1021
+ border-radius: var(--lumo-border-radius-m);
1022
+ }
1023
+ `;te("",Pd,{moduleId:"lumo-color"});/**
1024
+ * @license
1025
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1026
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1027
+ */const Ed=E`
1028
+ :host {
1029
+ /* Square */
1030
+ --lumo-space-xs: 0.25rem;
1031
+ --lumo-space-s: 0.5rem;
1032
+ --lumo-space-m: 1rem;
1033
+ --lumo-space-l: 1.5rem;
1034
+ --lumo-space-xl: 2.5rem;
1035
+
1036
+ /* Wide */
1037
+ --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
1038
+ --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
1039
+ --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
1040
+ --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
1041
+ --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
1042
+
1043
+ /* Tall */
1044
+ --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
1045
+ --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
1046
+ --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
1047
+ --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
1048
+ --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
1049
+ }
1050
+ `;lt("spacing-props",Ed);/**
1051
+ * @license
1052
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1053
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1054
+ */const Ad=E`
1055
+ :host {
1056
+ /* Border radius */
1057
+ --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
1058
+ --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
1059
+ --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
1060
+
1061
+ /* Shadow */
1062
+ --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
1063
+ --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
1064
+ --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
1065
+ --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
1066
+ --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
1067
+
1068
+ /* Clickable element cursor */
1069
+ --lumo-clickable-cursor: default;
1070
+ }
1071
+ `;E`
1072
+ html {
1073
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
1074
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
1075
+ --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
1076
+ }
1077
+ `;lt("style-props",Ad);/**
1078
+ * @license
1079
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1080
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1081
+ */class Cd extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}}ke(Cd);const Rt=(e,...t)=>{js(`lumo-${e}`,t)};/**
1082
+ * @license
1083
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1084
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1085
+ */const Sd=E`
1086
+ @font-face {
1087
+ font-family: 'lumo-icons';
1088
+ src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
1089
+ format('woff');
1090
+ font-weight: normal;
1091
+ font-style: normal;
1092
+ }
1093
+
1094
+ html {
1095
+ --lumo-icons-align-center: '\\ea01';
1096
+ --lumo-icons-align-left: '\\ea02';
1097
+ --lumo-icons-align-right: '\\ea03';
1098
+ --lumo-icons-angle-down: '\\ea04';
1099
+ --lumo-icons-angle-left: '\\ea05';
1100
+ --lumo-icons-angle-right: '\\ea06';
1101
+ --lumo-icons-angle-up: '\\ea07';
1102
+ --lumo-icons-arrow-down: '\\ea08';
1103
+ --lumo-icons-arrow-left: '\\ea09';
1104
+ --lumo-icons-arrow-right: '\\ea0a';
1105
+ --lumo-icons-arrow-up: '\\ea0b';
1106
+ --lumo-icons-bar-chart: '\\ea0c';
1107
+ --lumo-icons-bell: '\\ea0d';
1108
+ --lumo-icons-calendar: '\\ea0e';
1109
+ --lumo-icons-checkmark: '\\ea0f';
1110
+ --lumo-icons-chevron-down: '\\ea10';
1111
+ --lumo-icons-chevron-left: '\\ea11';
1112
+ --lumo-icons-chevron-right: '\\ea12';
1113
+ --lumo-icons-chevron-up: '\\ea13';
1114
+ --lumo-icons-clock: '\\ea14';
1115
+ --lumo-icons-cog: '\\ea15';
1116
+ --lumo-icons-cross: '\\ea16';
1117
+ --lumo-icons-download: '\\ea17';
1118
+ --lumo-icons-dropdown: '\\ea18';
1119
+ --lumo-icons-edit: '\\ea19';
1120
+ --lumo-icons-error: '\\ea1a';
1121
+ --lumo-icons-eye: '\\ea1b';
1122
+ --lumo-icons-eye-disabled: '\\ea1c';
1123
+ --lumo-icons-menu: '\\ea1d';
1124
+ --lumo-icons-minus: '\\ea1e';
1125
+ --lumo-icons-ordered-list: '\\ea1f';
1126
+ --lumo-icons-phone: '\\ea20';
1127
+ --lumo-icons-photo: '\\ea21';
1128
+ --lumo-icons-play: '\\ea22';
1129
+ --lumo-icons-plus: '\\ea23';
1130
+ --lumo-icons-redo: '\\ea24';
1131
+ --lumo-icons-reload: '\\ea25';
1132
+ --lumo-icons-search: '\\ea26';
1133
+ --lumo-icons-undo: '\\ea27';
1134
+ --lumo-icons-unordered-list: '\\ea28';
1135
+ --lumo-icons-upload: '\\ea29';
1136
+ --lumo-icons-user: '\\ea2a';
1137
+ }
1138
+ `;Rt("font-icons",Sd);/**
1139
+ * @license
1140
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1141
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1142
+ */const Td=E`
1143
+ :host {
1144
+ --lumo-size-xs: 1.625rem;
1145
+ --lumo-size-s: 1.875rem;
1146
+ --lumo-size-m: 2.25rem;
1147
+ --lumo-size-l: 2.75rem;
1148
+ --lumo-size-xl: 3.5rem;
1149
+
1150
+ /* Icons */
1151
+ --lumo-icon-size-s: 1.25em;
1152
+ --lumo-icon-size-m: 1.5em;
1153
+ --lumo-icon-size-l: 2.25em;
1154
+ /* For backwards compatibility */
1155
+ --lumo-icon-size: var(--lumo-icon-size-m);
1156
+ }
1157
+ `;Rt("sizing-props",Td);/**
1158
+ * @license
1159
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1160
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1161
+ */const Id=E`
1162
+ :host {
1163
+ /* Square */
1164
+ --lumo-space-xs: 0.25rem;
1165
+ --lumo-space-s: 0.5rem;
1166
+ --lumo-space-m: 1rem;
1167
+ --lumo-space-l: 1.5rem;
1168
+ --lumo-space-xl: 2.5rem;
1169
+
1170
+ /* Wide */
1171
+ --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
1172
+ --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
1173
+ --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
1174
+ --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
1175
+ --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
1176
+
1177
+ /* Tall */
1178
+ --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
1179
+ --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
1180
+ --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
1181
+ --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
1182
+ --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
1183
+ }
1184
+ `;Rt("spacing-props",Id);/**
1185
+ * @license
1186
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1187
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1188
+ */const Od=E`
1189
+ :host {
1190
+ /* Border radius */
1191
+ --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
1192
+ --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
1193
+ --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
1194
+
1195
+ /* Shadow */
1196
+ --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
1197
+ --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
1198
+ --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
1199
+ --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
1200
+ --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
1201
+
1202
+ /* Clickable element cursor */
1203
+ --lumo-clickable-cursor: default;
1204
+ }
1205
+ `;E`
1206
+ html {
1207
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
1208
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
1209
+ --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
1210
+ }
1211
+ `;Rt("style-props",Od);/**
1212
+ * @license
1213
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1214
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1215
+ */const Nd=E`
1216
+ :host {
1217
+ /* prettier-ignore */
1218
+ --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
1219
+
1220
+ /* Font sizes */
1221
+ --lumo-font-size-xxs: 0.75rem;
1222
+ --lumo-font-size-xs: 0.8125rem;
1223
+ --lumo-font-size-s: 0.875rem;
1224
+ --lumo-font-size-m: 1rem;
1225
+ --lumo-font-size-l: 1.125rem;
1226
+ --lumo-font-size-xl: 1.375rem;
1227
+ --lumo-font-size-xxl: 1.75rem;
1228
+ --lumo-font-size-xxxl: 2.5rem;
1229
+
1230
+ /* Line heights */
1231
+ --lumo-line-height-xs: 1.25;
1232
+ --lumo-line-height-s: 1.375;
1233
+ --lumo-line-height-m: 1.625;
1234
+ }
1235
+ `,kd=E`
1236
+ body,
1237
+ :host {
1238
+ font-family: var(--lumo-font-family);
1239
+ font-size: var(--lumo-font-size-m);
1240
+ line-height: var(--lumo-line-height-m);
1241
+ -webkit-text-size-adjust: 100%;
1242
+ -webkit-font-smoothing: antialiased;
1243
+ -moz-osx-font-smoothing: grayscale;
1244
+ }
1245
+
1246
+ small,
1247
+ [theme~='font-size-s'] {
1248
+ font-size: var(--lumo-font-size-s);
1249
+ line-height: var(--lumo-line-height-s);
1250
+ }
1251
+
1252
+ [theme~='font-size-xs'] {
1253
+ font-size: var(--lumo-font-size-xs);
1254
+ line-height: var(--lumo-line-height-xs);
1255
+ }
1256
+
1257
+ :where(h1, h2, h3, h4, h5, h6) {
1258
+ font-weight: 600;
1259
+ line-height: var(--lumo-line-height-xs);
1260
+ margin-block: 0;
1261
+ }
1262
+
1263
+ :where(h1) {
1264
+ font-size: var(--lumo-font-size-xxxl);
1265
+ }
1266
+
1267
+ :where(h2) {
1268
+ font-size: var(--lumo-font-size-xxl);
1269
+ }
1270
+
1271
+ :where(h3) {
1272
+ font-size: var(--lumo-font-size-xl);
1273
+ }
1274
+
1275
+ :where(h4) {
1276
+ font-size: var(--lumo-font-size-l);
1277
+ }
1278
+
1279
+ :where(h5) {
1280
+ font-size: var(--lumo-font-size-m);
1281
+ }
1282
+
1283
+ :where(h6) {
1284
+ font-size: var(--lumo-font-size-xs);
1285
+ text-transform: uppercase;
1286
+ letter-spacing: 0.03em;
1287
+ }
1288
+
1289
+ p,
1290
+ blockquote {
1291
+ margin-top: 0.5em;
1292
+ margin-bottom: 0.75em;
1293
+ }
1294
+
1295
+ a {
1296
+ text-decoration: none;
1297
+ }
1298
+
1299
+ a:where(:any-link):hover {
1300
+ text-decoration: underline;
1301
+ }
1302
+
1303
+ hr {
1304
+ display: block;
1305
+ align-self: stretch;
1306
+ height: 1px;
1307
+ border: 0;
1308
+ padding: 0;
1309
+ margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
1310
+ background-color: var(--lumo-contrast-10pct);
1311
+ }
1312
+
1313
+ blockquote {
1314
+ border-left: 2px solid var(--lumo-contrast-30pct);
1315
+ }
1316
+
1317
+ b,
1318
+ strong {
1319
+ font-weight: 600;
1320
+ }
1321
+
1322
+ /* RTL specific styles */
1323
+ blockquote[dir='rtl'] {
1324
+ border-left: none;
1325
+ border-right: 2px solid var(--lumo-contrast-30pct);
1326
+ }
1327
+ `;te("",kd,{moduleId:"lumo-typography"});Rt("typography-props",Nd);const $n=E`
1328
+ :host {
1329
+ display: flex;
1330
+ align-items: center;
1331
+ box-sizing: border-box;
1332
+ font-family: var(--lumo-font-family);
1333
+ font-size: var(--lumo-font-size-m);
1334
+ line-height: var(--lumo-line-height-xs);
1335
+ padding: 0.5em calc(var(--lumo-space-l) + var(--lumo-border-radius-m) / 4) 0.5em
1336
+ var(--_lumo-list-box-item-padding-left, calc(var(--lumo-border-radius-m) / 4));
1337
+ min-height: var(--lumo-size-m);
1338
+ outline: none;
1339
+ border-radius: var(--lumo-border-radius-m);
1340
+ cursor: var(--lumo-clickable-cursor);
1341
+ -webkit-font-smoothing: antialiased;
1342
+ -moz-osx-font-smoothing: grayscale;
1343
+ -webkit-tap-highlight-color: var(--lumo-primary-color-10pct);
1344
+ }
1345
+
1346
+ /* Checkmark */
1347
+ [part='checkmark']::before {
1348
+ display: var(--_lumo-item-selected-icon-display, none);
1349
+ content: var(--lumo-icons-checkmark);
1350
+ font-family: lumo-icons;
1351
+ font-size: var(--lumo-icon-size-m);
1352
+ line-height: 1;
1353
+ font-weight: normal;
1354
+ width: 1em;
1355
+ height: 1em;
1356
+ margin: calc((1 - var(--lumo-line-height-xs)) * var(--lumo-font-size-m) / 2) 0;
1357
+ color: var(--lumo-primary-text-color);
1358
+ flex: none;
1359
+ opacity: 0;
1360
+ transition: transform 0.2s cubic-bezier(0.12, 0.32, 0.54, 2), opacity 0.1s;
1361
+ }
1362
+
1363
+ :host([selected]) [part='checkmark']::before {
1364
+ opacity: 1;
1365
+ }
1366
+
1367
+ :host([active]:not([selected])) [part='checkmark']::before {
1368
+ transform: scale(0.8);
1369
+ opacity: 0;
1370
+ transition-duration: 0s;
1371
+ }
1372
+
1373
+ [part='content'] {
1374
+ flex: auto;
1375
+ }
1376
+
1377
+ /* Disabled */
1378
+ :host([disabled]) {
1379
+ color: var(--lumo-disabled-text-color);
1380
+ cursor: default;
1381
+ pointer-events: none;
1382
+ }
1383
+
1384
+ /* TODO a workaround until we have "focus-follows-mouse". After that, use the hover style for focus-ring as well */
1385
+ @media (any-hover: hover) {
1386
+ :host(:hover:not([disabled])) {
1387
+ background-color: var(--lumo-primary-color-10pct);
1388
+ }
1389
+
1390
+ :host([focus-ring]:not([disabled])) {
1391
+ box-shadow: inset 0 0 0 2px var(--lumo-primary-color-50pct);
1392
+ }
1393
+ }
1394
+
1395
+ /* RTL specific styles */
1396
+ :host([dir='rtl']) {
1397
+ padding-left: calc(var(--lumo-space-l) + var(--lumo-border-radius-m) / 4);
1398
+ padding-right: var(--_lumo-list-box-item-padding-left, calc(var(--lumo-border-radius-m) / 4));
1399
+ }
1400
+
1401
+ /* Slotted icons */
1402
+ :host ::slotted(vaadin-icon) {
1403
+ width: var(--lumo-icon-size-m);
1404
+ height: var(--lumo-icon-size-m);
1405
+ }
1406
+ `;te("vaadin-item",$n,{moduleId:"lumo-item"});const Bd=E`
1407
+ :host {
1408
+ transition: background-color 100ms;
1409
+ overflow: hidden;
1410
+ --_lumo-item-selected-icon-display: block;
1411
+ }
1412
+
1413
+ @media (any-hover: hover) {
1414
+ :host([focused]:not([disabled])) {
1415
+ box-shadow: inset 0 0 0 2px var(--lumo-primary-color-50pct);
1416
+ }
1417
+ }
1418
+ `;te("vaadin-combo-box-item",[$n,Bd],{moduleId:"lumo-combo-box-item"});/**
1419
+ * @license
1420
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1421
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1422
+ */const Md=E`
1423
+ :host {
1424
+ --lumo-size-xs: 1.625rem;
1425
+ --lumo-size-s: 1.875rem;
1426
+ --lumo-size-m: 2.25rem;
1427
+ --lumo-size-l: 2.75rem;
1428
+ --lumo-size-xl: 3.5rem;
1429
+
1430
+ /* Icons */
1431
+ --lumo-icon-size-s: 1.25em;
1432
+ --lumo-icon-size-m: 1.5em;
1433
+ --lumo-icon-size-l: 2.25em;
1434
+ /* For backwards compatibility */
1435
+ --lumo-icon-size: var(--lumo-icon-size-m);
1436
+ }
1437
+ `;lt("sizing-props",Md);/**
1438
+ * @license
1439
+ * Copyright (c) 2022 - 2023 Vaadin Ltd.
1440
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1441
+ */const Ld=E`
1442
+ [part~='loader'] {
1443
+ box-sizing: border-box;
1444
+ width: var(--lumo-icon-size-s);
1445
+ height: var(--lumo-icon-size-s);
1446
+ border: 2px solid transparent;
1447
+ border-color: var(--lumo-primary-color-10pct) var(--lumo-primary-color-10pct) var(--lumo-primary-color)
1448
+ var(--lumo-primary-color);
1449
+ border-radius: calc(0.5 * var(--lumo-icon-size-s));
1450
+ opacity: 0;
1451
+ pointer-events: none;
1452
+ }
1453
+
1454
+ :host(:not([loading])) [part~='loader'] {
1455
+ display: none;
1456
+ }
1457
+
1458
+ :host([loading]) [part~='loader'] {
1459
+ animation: 1s linear infinite lumo-loader-rotate, 0.3s 0.1s lumo-loader-fade-in both;
1460
+ }
1461
+
1462
+ @keyframes lumo-loader-fade-in {
1463
+ 0% {
1464
+ opacity: 0;
1465
+ }
1466
+
1467
+ 100% {
1468
+ opacity: 1;
1469
+ }
1470
+ }
1471
+
1472
+ @keyframes lumo-loader-rotate {
1473
+ 0% {
1474
+ transform: rotate(0deg);
1475
+ }
1476
+
1477
+ 100% {
1478
+ transform: rotate(360deg);
1479
+ }
1480
+ }
1481
+ `;/**
1482
+ * @license
1483
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1484
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1485
+ */const Rd=E`
1486
+ :host {
1487
+ /* prettier-ignore */
1488
+ --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
1489
+
1490
+ /* Font sizes */
1491
+ --lumo-font-size-xxs: 0.75rem;
1492
+ --lumo-font-size-xs: 0.8125rem;
1493
+ --lumo-font-size-s: 0.875rem;
1494
+ --lumo-font-size-m: 1rem;
1495
+ --lumo-font-size-l: 1.125rem;
1496
+ --lumo-font-size-xl: 1.375rem;
1497
+ --lumo-font-size-xxl: 1.75rem;
1498
+ --lumo-font-size-xxxl: 2.5rem;
1499
+
1500
+ /* Line heights */
1501
+ --lumo-line-height-xs: 1.25;
1502
+ --lumo-line-height-s: 1.375;
1503
+ --lumo-line-height-m: 1.625;
1504
+ }
1505
+ `,Dd=E`
1506
+ body,
1507
+ :host {
1508
+ font-family: var(--lumo-font-family);
1509
+ font-size: var(--lumo-font-size-m);
1510
+ line-height: var(--lumo-line-height-m);
1511
+ -webkit-text-size-adjust: 100%;
1512
+ -webkit-font-smoothing: antialiased;
1513
+ -moz-osx-font-smoothing: grayscale;
1514
+ }
1515
+
1516
+ small,
1517
+ [theme~='font-size-s'] {
1518
+ font-size: var(--lumo-font-size-s);
1519
+ line-height: var(--lumo-line-height-s);
1520
+ }
1521
+
1522
+ [theme~='font-size-xs'] {
1523
+ font-size: var(--lumo-font-size-xs);
1524
+ line-height: var(--lumo-line-height-xs);
1525
+ }
1526
+
1527
+ :where(h1, h2, h3, h4, h5, h6) {
1528
+ font-weight: 600;
1529
+ line-height: var(--lumo-line-height-xs);
1530
+ margin-block: 0;
1531
+ }
1532
+
1533
+ :where(h1) {
1534
+ font-size: var(--lumo-font-size-xxxl);
1535
+ }
1536
+
1537
+ :where(h2) {
1538
+ font-size: var(--lumo-font-size-xxl);
1539
+ }
1540
+
1541
+ :where(h3) {
1542
+ font-size: var(--lumo-font-size-xl);
1543
+ }
1544
+
1545
+ :where(h4) {
1546
+ font-size: var(--lumo-font-size-l);
1547
+ }
1548
+
1549
+ :where(h5) {
1550
+ font-size: var(--lumo-font-size-m);
1551
+ }
1552
+
1553
+ :where(h6) {
1554
+ font-size: var(--lumo-font-size-xs);
1555
+ text-transform: uppercase;
1556
+ letter-spacing: 0.03em;
1557
+ }
1558
+
1559
+ p,
1560
+ blockquote {
1561
+ margin-top: 0.5em;
1562
+ margin-bottom: 0.75em;
1563
+ }
1564
+
1565
+ a {
1566
+ text-decoration: none;
1567
+ }
1568
+
1569
+ a:where(:any-link):hover {
1570
+ text-decoration: underline;
1571
+ }
1572
+
1573
+ hr {
1574
+ display: block;
1575
+ align-self: stretch;
1576
+ height: 1px;
1577
+ border: 0;
1578
+ padding: 0;
1579
+ margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
1580
+ background-color: var(--lumo-contrast-10pct);
1581
+ }
1582
+
1583
+ blockquote {
1584
+ border-left: 2px solid var(--lumo-contrast-30pct);
1585
+ }
1586
+
1587
+ b,
1588
+ strong {
1589
+ font-weight: 600;
1590
+ }
1591
+
1592
+ /* RTL specific styles */
1593
+ blockquote[dir='rtl'] {
1594
+ border-left: none;
1595
+ border-right: 2px solid var(--lumo-contrast-30pct);
1596
+ }
1597
+ `;te("",Dd,{moduleId:"lumo-typography"});lt("typography-props",Rd);/**
1598
+ * @license
1599
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1600
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1601
+ */const Zs=E`
1602
+ :host {
1603
+ top: var(--lumo-space-m);
1604
+ right: var(--lumo-space-m);
1605
+ bottom: var(--lumo-space-m);
1606
+ left: var(--lumo-space-m);
1607
+ /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
1608
+ /* stylelint-disable-next-line */
1609
+ outline: 0px solid transparent;
1610
+ }
1611
+
1612
+ [part='overlay'] {
1613
+ background-color: var(--lumo-base-color);
1614
+ background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
1615
+ border-radius: var(--lumo-border-radius-m);
1616
+ box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
1617
+ color: var(--lumo-body-text-color);
1618
+ font-family: var(--lumo-font-family);
1619
+ font-size: var(--lumo-font-size-m);
1620
+ font-weight: 400;
1621
+ line-height: var(--lumo-line-height-m);
1622
+ letter-spacing: 0;
1623
+ text-transform: none;
1624
+ -webkit-text-size-adjust: 100%;
1625
+ -webkit-font-smoothing: antialiased;
1626
+ -moz-osx-font-smoothing: grayscale;
1627
+ }
1628
+
1629
+ [part='content'] {
1630
+ padding: var(--lumo-space-xs);
1631
+ }
1632
+
1633
+ [part='backdrop'] {
1634
+ background-color: var(--lumo-shade-20pct);
1635
+ animation: 0.2s lumo-overlay-backdrop-enter both;
1636
+ will-change: opacity;
1637
+ }
1638
+
1639
+ @keyframes lumo-overlay-backdrop-enter {
1640
+ 0% {
1641
+ opacity: 0;
1642
+ }
1643
+ }
1644
+
1645
+ :host([closing]) [part='backdrop'] {
1646
+ animation: 0.2s lumo-overlay-backdrop-exit both;
1647
+ }
1648
+
1649
+ @keyframes lumo-overlay-backdrop-exit {
1650
+ 100% {
1651
+ opacity: 0;
1652
+ }
1653
+ }
1654
+
1655
+ @keyframes lumo-overlay-dummy-animation {
1656
+ 0% {
1657
+ opacity: 1;
1658
+ }
1659
+
1660
+ 100% {
1661
+ opacity: 1;
1662
+ }
1663
+ }
1664
+ `;te("",Zs,{moduleId:"lumo-overlay"});/**
1665
+ * @license
1666
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1667
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1668
+ */const Js=E`
1669
+ :host([opening]),
1670
+ :host([closing]) {
1671
+ animation: 0.14s lumo-overlay-dummy-animation;
1672
+ }
1673
+
1674
+ [part='overlay'] {
1675
+ will-change: opacity, transform;
1676
+ }
1677
+
1678
+ :host([opening]) [part='overlay'] {
1679
+ animation: 0.1s lumo-menu-overlay-enter ease-out both;
1680
+ }
1681
+
1682
+ @keyframes lumo-menu-overlay-enter {
1683
+ 0% {
1684
+ opacity: 0;
1685
+ transform: translateY(-4px);
1686
+ }
1687
+ }
1688
+
1689
+ :host([closing]) [part='overlay'] {
1690
+ animation: 0.1s lumo-menu-overlay-exit both;
1691
+ }
1692
+
1693
+ @keyframes lumo-menu-overlay-exit {
1694
+ 100% {
1695
+ opacity: 0;
1696
+ }
1697
+ }
1698
+ `;te("",Js,{moduleId:"lumo-menu-overlay-core"});const Hd=E`
1699
+ /* Small viewport (bottom sheet) styles */
1700
+ /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
1701
+ @media (max-width: 420px), (max-height: 420px) {
1702
+ :host {
1703
+ top: 0 !important;
1704
+ right: 0 !important;
1705
+ bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
1706
+ left: 0 !important;
1707
+ align-items: stretch !important;
1708
+ justify-content: flex-end !important;
1709
+ }
1710
+
1711
+ [part='overlay'] {
1712
+ max-height: 50vh;
1713
+ width: 100vw;
1714
+ border-radius: 0;
1715
+ box-shadow: var(--lumo-box-shadow-xl);
1716
+ }
1717
+
1718
+ /* The content part scrolls instead of the overlay part, because of the gradient fade-out */
1719
+ [part='content'] {
1720
+ padding: 30px var(--lumo-space-m);
1721
+ max-height: inherit;
1722
+ box-sizing: border-box;
1723
+ -webkit-overflow-scrolling: touch;
1724
+ overflow: auto;
1725
+ -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
1726
+ mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
1727
+ }
1728
+
1729
+ [part='backdrop'] {
1730
+ display: block;
1731
+ }
1732
+
1733
+ /* Animations */
1734
+
1735
+ :host([opening]) [part='overlay'] {
1736
+ animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
1737
+ }
1738
+
1739
+ :host([closing]),
1740
+ :host([closing]) [part='backdrop'] {
1741
+ animation-delay: 0.14s;
1742
+ }
1743
+
1744
+ :host([closing]) [part='overlay'] {
1745
+ animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
1746
+ }
1747
+ }
1748
+
1749
+ @keyframes lumo-mobile-menu-overlay-enter {
1750
+ 0% {
1751
+ transform: translateY(150%);
1752
+ }
1753
+ }
1754
+
1755
+ @keyframes lumo-mobile-menu-overlay-exit {
1756
+ 100% {
1757
+ transform: translateY(150%);
1758
+ }
1759
+ }
1760
+ `,Fd=[Zs,Js,Hd];te("",Fd,{moduleId:"lumo-menu-overlay"});const zd=E`
1761
+ [part='content'] {
1762
+ padding: 0;
1763
+ }
1764
+
1765
+ /* When items are empty, the spinner needs some room */
1766
+ :host(:not([closing])) [part~='content'] {
1767
+ min-height: calc(2 * var(--lumo-space-s) + var(--lumo-icon-size-s));
1768
+ }
1769
+
1770
+ [part~='overlay'] {
1771
+ position: relative;
1772
+ }
1773
+
1774
+ :host([top-aligned]) [part~='overlay'] {
1775
+ margin-top: var(--lumo-space-xs);
1776
+ }
1777
+
1778
+ :host([bottom-aligned]) [part~='overlay'] {
1779
+ margin-bottom: var(--lumo-space-xs);
1780
+ }
1781
+ `,Vd=E`
1782
+ [part~='loader'] {
1783
+ position: absolute;
1784
+ z-index: 1;
1785
+ left: var(--lumo-space-s);
1786
+ right: var(--lumo-space-s);
1787
+ top: var(--lumo-space-s);
1788
+ margin-left: auto;
1789
+ margin-inline-start: auto;
1790
+ margin-inline-end: 0;
1791
+ }
1792
+
1793
+ :host([dir='rtl']) [part~='loader'] {
1794
+ left: auto;
1795
+ margin-left: 0;
1796
+ margin-right: auto;
1797
+ margin-inline-start: 0;
1798
+ margin-inline-end: auto;
1799
+ }
1800
+ `;te("vaadin-combo-box-overlay",[Zs,Js,zd,Ld,Vd,E`
1801
+ :host {
1802
+ --_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
1803
+ --_vaadin-combo-box-items-container-border-style: solid;
1804
+ }
1805
+ `],{moduleId:"lumo-combo-box-overlay"});/**
1806
+ * @license
1807
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1808
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1809
+ */const Ud=E`
1810
+ @font-face {
1811
+ font-family: 'lumo-icons';
1812
+ src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
1813
+ format('woff');
1814
+ font-weight: normal;
1815
+ font-style: normal;
1816
+ }
1817
+
1818
+ html {
1819
+ --lumo-icons-align-center: '\\ea01';
1820
+ --lumo-icons-align-left: '\\ea02';
1821
+ --lumo-icons-align-right: '\\ea03';
1822
+ --lumo-icons-angle-down: '\\ea04';
1823
+ --lumo-icons-angle-left: '\\ea05';
1824
+ --lumo-icons-angle-right: '\\ea06';
1825
+ --lumo-icons-angle-up: '\\ea07';
1826
+ --lumo-icons-arrow-down: '\\ea08';
1827
+ --lumo-icons-arrow-left: '\\ea09';
1828
+ --lumo-icons-arrow-right: '\\ea0a';
1829
+ --lumo-icons-arrow-up: '\\ea0b';
1830
+ --lumo-icons-bar-chart: '\\ea0c';
1831
+ --lumo-icons-bell: '\\ea0d';
1832
+ --lumo-icons-calendar: '\\ea0e';
1833
+ --lumo-icons-checkmark: '\\ea0f';
1834
+ --lumo-icons-chevron-down: '\\ea10';
1835
+ --lumo-icons-chevron-left: '\\ea11';
1836
+ --lumo-icons-chevron-right: '\\ea12';
1837
+ --lumo-icons-chevron-up: '\\ea13';
1838
+ --lumo-icons-clock: '\\ea14';
1839
+ --lumo-icons-cog: '\\ea15';
1840
+ --lumo-icons-cross: '\\ea16';
1841
+ --lumo-icons-download: '\\ea17';
1842
+ --lumo-icons-dropdown: '\\ea18';
1843
+ --lumo-icons-edit: '\\ea19';
1844
+ --lumo-icons-error: '\\ea1a';
1845
+ --lumo-icons-eye: '\\ea1b';
1846
+ --lumo-icons-eye-disabled: '\\ea1c';
1847
+ --lumo-icons-menu: '\\ea1d';
1848
+ --lumo-icons-minus: '\\ea1e';
1849
+ --lumo-icons-ordered-list: '\\ea1f';
1850
+ --lumo-icons-phone: '\\ea20';
1851
+ --lumo-icons-photo: '\\ea21';
1852
+ --lumo-icons-play: '\\ea22';
1853
+ --lumo-icons-plus: '\\ea23';
1854
+ --lumo-icons-redo: '\\ea24';
1855
+ --lumo-icons-reload: '\\ea25';
1856
+ --lumo-icons-search: '\\ea26';
1857
+ --lumo-icons-undo: '\\ea27';
1858
+ --lumo-icons-unordered-list: '\\ea28';
1859
+ --lumo-icons-upload: '\\ea29';
1860
+ --lumo-icons-user: '\\ea2a';
1861
+ }
1862
+ `;lt("font-icons",Ud);/**
1863
+ * @license
1864
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1865
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1866
+ */const jn=E`
1867
+ [part$='button'] {
1868
+ flex: none;
1869
+ width: 1em;
1870
+ height: 1em;
1871
+ line-height: 1;
1872
+ font-size: var(--lumo-icon-size-m);
1873
+ text-align: center;
1874
+ color: var(--lumo-contrast-60pct);
1875
+ transition: 0.2s color;
1876
+ cursor: var(--lumo-clickable-cursor);
1877
+ }
1878
+
1879
+ [part$='button']:hover {
1880
+ color: var(--lumo-contrast-90pct);
1881
+ }
1882
+
1883
+ :host([disabled]) [part$='button'],
1884
+ :host([readonly]) [part$='button'] {
1885
+ color: var(--lumo-contrast-20pct);
1886
+ cursor: default;
1887
+ }
1888
+
1889
+ [part$='button']::before {
1890
+ font-family: 'lumo-icons';
1891
+ display: block;
1892
+ }
1893
+ `;te("",jn,{moduleId:"lumo-field-button"});/**
1894
+ * @license
1895
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1896
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1897
+ */const $d=E`
1898
+ :host([has-helper]) [part='helper-text']::before {
1899
+ content: '';
1900
+ display: block;
1901
+ height: 0.4em;
1902
+ }
1903
+
1904
+ [part='helper-text'] {
1905
+ display: block;
1906
+ color: var(--lumo-secondary-text-color);
1907
+ font-size: var(--lumo-font-size-xs);
1908
+ line-height: var(--lumo-line-height-xs);
1909
+ margin-left: calc(var(--lumo-border-radius-m) / 4);
1910
+ transition: color 0.2s;
1911
+ }
1912
+
1913
+ :host(:hover:not([readonly])) [part='helper-text'] {
1914
+ color: var(--lumo-body-text-color);
1915
+ }
1916
+
1917
+ :host([disabled]) [part='helper-text'] {
1918
+ color: var(--lumo-disabled-text-color);
1919
+ -webkit-text-fill-color: var(--lumo-disabled-text-color);
1920
+ }
1921
+
1922
+ :host([has-helper][theme~='helper-above-field']) [part='helper-text']::before {
1923
+ display: none;
1924
+ }
1925
+
1926
+ :host([has-helper][theme~='helper-above-field']) [part='helper-text']::after {
1927
+ content: '';
1928
+ display: block;
1929
+ height: 0.4em;
1930
+ }
1931
+
1932
+ :host([has-helper][theme~='helper-above-field']) [part='label'] {
1933
+ order: 0;
1934
+ padding-bottom: 0.4em;
1935
+ }
1936
+
1937
+ :host([has-helper][theme~='helper-above-field']) [part='helper-text'] {
1938
+ order: 1;
1939
+ }
1940
+
1941
+ :host([has-helper][theme~='helper-above-field']) [part='label'] + * {
1942
+ order: 2;
1943
+ }
1944
+
1945
+ :host([has-helper][theme~='helper-above-field']) [part='error-message'] {
1946
+ order: 3;
1947
+ }
1948
+ `;/**
1949
+ * @license
1950
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
1951
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1952
+ */const Gn=E`
1953
+ [part='label'] {
1954
+ align-self: flex-start;
1955
+ color: var(--lumo-secondary-text-color);
1956
+ font-weight: 500;
1957
+ font-size: var(--lumo-font-size-s);
1958
+ margin-left: calc(var(--lumo-border-radius-m) / 4);
1959
+ transition: color 0.2s;
1960
+ line-height: 1;
1961
+ padding-right: 1em;
1962
+ padding-bottom: 0.5em;
1963
+ /* As a workaround for diacritics being cut off, add a top padding and a
1964
+ negative margin to compensate */
1965
+ padding-top: 0.25em;
1966
+ margin-top: -0.25em;
1967
+ overflow: hidden;
1968
+ white-space: nowrap;
1969
+ text-overflow: ellipsis;
1970
+ position: relative;
1971
+ max-width: 100%;
1972
+ box-sizing: border-box;
1973
+ }
1974
+
1975
+ :host([has-label])::before {
1976
+ margin-top: calc(var(--lumo-font-size-s) * 1.5);
1977
+ }
1978
+
1979
+ :host([has-label][theme~='small'])::before {
1980
+ margin-top: calc(var(--lumo-font-size-xs) * 1.5);
1981
+ }
1982
+
1983
+ :host([has-label]) {
1984
+ padding-top: var(--lumo-space-m);
1985
+ }
1986
+
1987
+ :host([has-label]) ::slotted([slot='tooltip']) {
1988
+ --vaadin-tooltip-offset-bottom: calc((var(--lumo-space-m) - var(--lumo-space-xs)) * -1);
1989
+ }
1990
+
1991
+ :host([required]) [part='required-indicator']::after {
1992
+ content: var(--lumo-required-field-indicator, '\\2022');
1993
+ transition: opacity 0.2s;
1994
+ color: var(--lumo-required-field-indicator-color, var(--lumo-primary-text-color));
1995
+ position: absolute;
1996
+ right: 0;
1997
+ width: 1em;
1998
+ text-align: center;
1999
+ }
2000
+
2001
+ :host([invalid]) [part='required-indicator']::after {
2002
+ color: var(--lumo-required-field-indicator-color, var(--lumo-error-text-color));
2003
+ }
2004
+
2005
+ [part='error-message'] {
2006
+ margin-left: calc(var(--lumo-border-radius-m) / 4);
2007
+ font-size: var(--lumo-font-size-xs);
2008
+ line-height: var(--lumo-line-height-xs);
2009
+ color: var(--lumo-error-text-color);
2010
+ will-change: max-height;
2011
+ transition: 0.4s max-height;
2012
+ max-height: 5em;
2013
+ }
2014
+
2015
+ :host([has-error-message]) [part='error-message']::before,
2016
+ :host([has-error-message]) [part='error-message']::after {
2017
+ content: '';
2018
+ display: block;
2019
+ height: 0.4em;
2020
+ }
2021
+
2022
+ :host(:not([invalid])) [part='error-message'] {
2023
+ max-height: 0;
2024
+ overflow: hidden;
2025
+ }
2026
+
2027
+ /* RTL specific styles */
2028
+
2029
+ :host([dir='rtl']) [part='label'] {
2030
+ margin-left: 0;
2031
+ margin-right: calc(var(--lumo-border-radius-m) / 4);
2032
+ }
2033
+
2034
+ :host([dir='rtl']) [part='label'] {
2035
+ padding-left: 1em;
2036
+ padding-right: 0;
2037
+ }
2038
+
2039
+ :host([dir='rtl']) [part='required-indicator']::after {
2040
+ right: auto;
2041
+ left: 0;
2042
+ }
2043
+
2044
+ :host([dir='rtl']) [part='error-message'] {
2045
+ margin-left: 0;
2046
+ margin-right: calc(var(--lumo-border-radius-m) / 4);
2047
+ }
2048
+ `;te("",Gn,{moduleId:"lumo-required-field"});/**
2049
+ * @license
2050
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
2051
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2052
+ */const jd=E`
2053
+ :host {
2054
+ --lumo-text-field-size: var(--lumo-size-m);
2055
+ color: var(--lumo-body-text-color);
2056
+ font-size: var(--lumo-font-size-m);
2057
+ font-family: var(--lumo-font-family);
2058
+ -webkit-font-smoothing: antialiased;
2059
+ -moz-osx-font-smoothing: grayscale;
2060
+ -webkit-tap-highlight-color: transparent;
2061
+ padding: var(--lumo-space-xs) 0;
2062
+ }
2063
+
2064
+ :host::before {
2065
+ height: var(--lumo-text-field-size);
2066
+ box-sizing: border-box;
2067
+ display: inline-flex;
2068
+ align-items: center;
2069
+ }
2070
+
2071
+ :host([focused]:not([readonly])) [part='label'] {
2072
+ color: var(--lumo-primary-text-color);
2073
+ }
2074
+
2075
+ :host([focused]) [part='input-field'] ::slotted(:is(input, textarea)) {
2076
+ -webkit-mask-image: none;
2077
+ mask-image: none;
2078
+ }
2079
+
2080
+ ::slotted(:is(input, textarea):placeholder-shown) {
2081
+ color: var(--lumo-secondary-text-color);
2082
+ }
2083
+
2084
+ /* Hover */
2085
+ :host(:hover:not([readonly]):not([focused])) [part='label'] {
2086
+ color: var(--lumo-body-text-color);
2087
+ }
2088
+
2089
+ :host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
2090
+ opacity: 0.1;
2091
+ }
2092
+
2093
+ /* Touch device adjustment */
2094
+ @media (pointer: coarse) {
2095
+ :host(:hover:not([readonly]):not([focused])) [part='label'] {
2096
+ color: var(--lumo-secondary-text-color);
2097
+ }
2098
+
2099
+ :host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
2100
+ opacity: 0;
2101
+ }
2102
+
2103
+ :host(:active:not([readonly]):not([focused])) [part='input-field']::after {
2104
+ opacity: 0.2;
2105
+ }
2106
+ }
2107
+
2108
+ /* Trigger when not focusing using the keyboard */
2109
+ :host([focused]:not([focus-ring]):not([readonly])) [part='input-field']::after {
2110
+ transform: scaleX(0);
2111
+ transition-duration: 0.15s, 1s;
2112
+ }
2113
+
2114
+ /* Focus-ring */
2115
+ :host([focus-ring]) [part='input-field'] {
2116
+ box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
2117
+ }
2118
+
2119
+ /* Read-only and disabled */
2120
+ :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {
2121
+ opacity: 0;
2122
+ }
2123
+
2124
+ /* Read-only style */
2125
+ :host([readonly]) {
2126
+ --vaadin-input-field-border-color: transparent;
2127
+ }
2128
+
2129
+ /* Disabled style */
2130
+ :host([disabled]) {
2131
+ pointer-events: none;
2132
+ --vaadin-input-field-border-color: var(--lumo-contrast-20pct);
2133
+ }
2134
+
2135
+ :host([disabled]) [part='label'],
2136
+ :host([disabled]) [part='input-field'] ::slotted(*) {
2137
+ color: var(--lumo-disabled-text-color);
2138
+ -webkit-text-fill-color: var(--lumo-disabled-text-color);
2139
+ }
2140
+
2141
+ /* Invalid style */
2142
+ :host([invalid]) {
2143
+ --vaadin-input-field-border-color: var(--lumo-error-color);
2144
+ }
2145
+
2146
+ :host([invalid][focus-ring]) [part='input-field'] {
2147
+ box-shadow: 0 0 0 2px var(--lumo-error-color-50pct);
2148
+ }
2149
+
2150
+ :host([input-prevented]) [part='input-field'] {
2151
+ animation: shake 0.15s infinite;
2152
+ }
2153
+
2154
+ @keyframes shake {
2155
+ 25% {
2156
+ transform: translateX(4px);
2157
+ }
2158
+ 75% {
2159
+ transform: translateX(-4px);
2160
+ }
2161
+ }
2162
+
2163
+ /* Small theme */
2164
+ :host([theme~='small']) {
2165
+ font-size: var(--lumo-font-size-s);
2166
+ --lumo-text-field-size: var(--lumo-size-s);
2167
+ }
2168
+
2169
+ :host([theme~='small']) [part='label'] {
2170
+ font-size: var(--lumo-font-size-xs);
2171
+ }
2172
+
2173
+ :host([theme~='small']) [part='error-message'] {
2174
+ font-size: var(--lumo-font-size-xxs);
2175
+ }
2176
+
2177
+ /* Slotted content */
2178
+ [part='input-field'] ::slotted(:not(vaadin-icon):not(input):not(textarea)) {
2179
+ color: var(--lumo-secondary-text-color);
2180
+ font-weight: 400;
2181
+ }
2182
+
2183
+ [part='clear-button']::before {
2184
+ content: var(--lumo-icons-cross);
2185
+ }
2186
+ `,Wn=[Gn,jn,$d,jd];te("",Wn,{moduleId:"lumo-input-field-shared-styles"});const Gd=E`
2187
+ :host {
2188
+ outline: none;
2189
+ }
2190
+
2191
+ [part='toggle-button']::before {
2192
+ content: var(--lumo-icons-dropdown);
2193
+ }
2194
+ `;te("vaadin-combo-box",[Wn,Gd],{moduleId:"lumo-combo-box"});/**
2195
+ * @license
2196
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2197
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2198
+ */const Wd=e=>class extends e{static get properties(){return{index:{type:Number},item:{type:Object},label:{type:String},selected:{type:Boolean,value:!1,reflectToAttribute:!0},focused:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Function}}}static get observers(){return["__rendererOrItemChanged(renderer, index, item.*, selected, focused)","__updateLabel(label, renderer)"]}static get observedAttributes(){return[...super.observedAttributes,"hidden"]}attributeChangedCallback(r,s,i){r==="hidden"&&i!==null?this.index=void 0:super.attributeChangedCallback(r,s,i)}connectedCallback(){super.connectedCallback(),this._owner=this.parentNode.owner;const r=this._owner.getAttribute("dir");r&&this.setAttribute("dir",r)}requestContentUpdate(){if(!this.renderer)return;const r={index:this.index,item:this.item,focused:this.focused,selected:this.selected};this.renderer(this,this._owner,r)}__rendererOrItemChanged(r,s,i){i===void 0||s===void 0||(this._oldRenderer!==r&&(this.innerHTML="",delete this._$litPart$),r&&(this._oldRenderer=r,this.requestContentUpdate()))}__updateLabel(r,s){s||(this.textContent=r)}};/**
2199
+ * @license
2200
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2201
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2202
+ */class qd extends Wd(yr(Pr(Lt))){static get template(){return Mt`
2203
+ <style>
2204
+ :host {
2205
+ display: block;
2206
+ }
2207
+
2208
+ :host([hidden]) {
2209
+ display: none;
2210
+ }
2211
+ </style>
2212
+ <span part="checkmark" aria-hidden="true"></span>
2213
+ <div part="content">
2214
+ <slot></slot>
2215
+ </div>
2216
+ `}static get is(){return"vaadin-combo-box-item"}}ke(qd);/**
2217
+ @license
2218
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2219
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
2220
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2221
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2222
+ Code distributed by Google as part of the polymer project is also
2223
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2224
+ */let Os=!1,Yd=[],qn=[];function Zd(){Os=!0,requestAnimationFrame(function(){Os=!1,Jd(Yd),setTimeout(function(){Xd(qn)})})}function Jd(e){for(;e.length;)Yn(e.shift())}function Xd(e){for(let t=0,r=e.length;t<r;t++)Yn(e.shift())}function Yn(e){const t=e[0],r=e[1],s=e[2];try{r.apply(t,s)}catch(i){setTimeout(()=>{throw i})}}function Kd(e,t,r){Os||Zd(),qn.push([e,t,r])}/**
2225
+ * @license
2226
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2227
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2228
+ */const Er=e=>e.test(navigator.userAgent),Ns=e=>e.test(navigator.platform),Qd=e=>e.test(navigator.vendor);Er(/Android/u);Er(/Chrome/u)&&Qd(/Google Inc/u);Er(/Firefox/u);const ef=Ns(/^iPad/u)||Ns(/^Mac/u)&&navigator.maxTouchPoints>1,tf=Ns(/^iPhone/u),rf=tf||ef,sf=Er(/^((?!chrome|android).)*safari/iu),ks=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}})();/**
2229
+ * @license
2230
+ * Copyright (c) 2017 Anton Korzunov
2231
+ * SPDX-License-Identifier: MIT
2232
+ */let $e=new WeakMap,qt=new WeakMap,Yt={},Yr=0;const co=e=>e&&e.nodeType===Node.ELEMENT_NODE,Zr=(...e)=>{console.error(`Error: ${e.join(" ")}. Skip setting aria-hidden.`)},of=(e,t)=>co(e)?t.map(r=>{if(!co(r))return Zr(r,"is not a valid element"),null;let s=r;for(;s&&s!==e;){if(e.contains(s))return r;s=s.getRootNode().host}return Zr(r,"is not contained inside",e),null}).filter(r=>!!r):(Zr(e,"is not a valid element"),[]),nf=(e,t,r,s)=>{const i=of(t,Array.isArray(e)?e:[e]);Yt[r]||(Yt[r]=new WeakMap);const o=Yt[r],n=[],a=new Set,l=new Set(i),u=c=>{if(!c||a.has(c))return;a.add(c);const f=c.assignedSlot;f&&u(f),u(c.parentNode||c.host)};i.forEach(u);const h=c=>{if(!c||l.has(c))return;const f=c.shadowRoot;(f?[...c.children,...f.children]:[...c.children]).forEach(g=>{if(!["template","script","style"].includes(g.localName))if(a.has(g))h(g);else{const _=g.getAttribute(s),P=_!==null&&_!=="false",w=($e.get(g)||0)+1,v=(o.get(g)||0)+1;$e.set(g,w),o.set(g,v),n.push(g),w===1&&P&&qt.set(g,!0),v===1&&g.setAttribute(r,"true"),P||g.setAttribute(s,"true")}})};return h(t),a.clear(),Yr+=1,()=>{n.forEach(c=>{const f=$e.get(c)-1,m=o.get(c)-1;$e.set(c,f),o.set(c,m),f||(qt.has(c)?qt.delete(c):c.removeAttribute(s)),m||c.removeAttribute(r)}),Yr-=1,Yr||($e=new WeakMap,$e=new WeakMap,qt=new WeakMap,Yt={})}},af=(e,t=document.body,r="data-aria-hidden")=>{const s=Array.from(Array.isArray(e)?e:[e]);return t&&s.push(...Array.from(t.querySelectorAll("[aria-live]"))),nf(s,t,r,"aria-hidden")};/**
2233
+ * @license
2234
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2235
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2236
+ */class lf{constructor(t,r){this.host=t,this.callback=typeof r=="function"?r:()=>t}showModal(){const t=this.callback();this.__showOthers=af(t)}close(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null)}}/**
2237
+ * @license
2238
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2239
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2240
+ */let Xs=!1;window.addEventListener("keydown",()=>{Xs=!0},{capture:!0});window.addEventListener("mousedown",()=>{Xs=!1},{capture:!0});function Bs(){let e=document.activeElement||document.body;for(;e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function uf(){return Xs}function hf(e){const t=e.style;if(t.visibility==="hidden"||t.display==="none")return!0;const r=window.getComputedStyle(e);return r.visibility==="hidden"||r.display==="none"}function cf(e,t){const r=Math.max(e.tabIndex,0),s=Math.max(t.tabIndex,0);return r===0||s===0?s>r:r>s}function df(e,t){const r=[];for(;e.length>0&&t.length>0;)cf(e[0],t[0])?r.push(t.shift()):r.push(e.shift());return r.concat(e,t)}function Ms(e){const t=e.length;if(t<2)return e;const r=Math.ceil(t/2),s=Ms(e.slice(0,r)),i=Ms(e.slice(r));return df(s,i)}function ff(e){return e.matches('[tabindex="-1"]')?!1:e.matches("input, select, textarea, button, object")?e.matches(":not([disabled])"):e.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function Zn(e){return e.getRootNode().activeElement===e}function pf(e){if(!ff(e))return-1;const t=e.getAttribute("tabindex")||0;return Number(t)}function Jn(e,t){if(e.nodeType!==Node.ELEMENT_NODE||hf(e))return!1;const r=e,s=pf(r);let i=s>0;s>=0&&t.push(r);let o=[];return r.localName==="slot"?o=r.assignedNodes({flatten:!0}):o=(r.shadowRoot||r).children,[...o].forEach(n=>{i=Jn(n,t)||i}),i}function mf(e){const t=[];return Jn(e,t)?Ms(t):t}/**
2241
+ * @license
2242
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2243
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2244
+ */class _f{saveFocus(t){this.focusNode=t||Bs()}restoreFocus(){const t=this.focusNode;t&&(Bs()===document.body?setTimeout(()=>t.focus()):t.focus(),this.focusNode=null)}}/**
2245
+ * @license
2246
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2247
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2248
+ */const Jr=[];class gf{constructor(t){this.host=t,this.__trapNode=null,this.__onKeyDown=this.__onKeyDown.bind(this)}get __focusableElements(){return mf(this.__trapNode)}get __focusedElementIndex(){const t=this.__focusableElements;return t.indexOf(t.filter(Zn).pop())}hostConnected(){document.addEventListener("keydown",this.__onKeyDown)}hostDisconnected(){document.removeEventListener("keydown",this.__onKeyDown)}trapFocus(t){if(this.__trapNode=t,this.__focusableElements.length===0)throw this.__trapNode=null,new Error("The trap node should have at least one focusable descendant or be focusable itself.");Jr.push(this),this.__focusedElementIndex===-1&&this.__focusableElements[0].focus()}releaseFocus(){this.__trapNode=null,Jr.pop()}__onKeyDown(t){if(this.__trapNode&&this===Array.from(Jr).pop()&&t.key==="Tab"){t.preventDefault();const r=t.shiftKey;this.__focusNextElement(r)}}__focusNextElement(t=!1){const r=this.__focusableElements,s=t?-1:1,i=this.__focusedElementIndex,o=(r.length+i+s)%r.length,n=r[o];n.focus(),n.localName==="input"&&n.select()}}/**
2249
+ * @license
2250
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2251
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2252
+ */const Ar=oe(e=>typeof e.prototype.addController=="function"?e:class extends e{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(r=>{r.hostConnected&&r.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(r=>{r.hostDisconnected&&r.hostDisconnected()})}addController(r){this.__controllers.add(r),this.$!==void 0&&this.isConnected&&r.hostConnected&&r.hostConnected()}removeController(r){this.__controllers.delete(r)}});/**
2253
+ * @license
2254
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
2255
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2256
+ */const bf=e=>class extends Ar(e){static get properties(){return{focusTrap:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!1},restoreFocusNode:{type:HTMLElement}}}constructor(){super(),this.__ariaModalController=new lf(this),this.__focusTrapController=new gf(this),this.__focusRestorationController=new _f}ready(){super.ready(),this.addController(this.__ariaModalController),this.addController(this.__focusTrapController),this.addController(this.__focusRestorationController)}_resetFocus(){this.focusTrap&&(this.__ariaModalController.close(),this.__focusTrapController.releaseFocus()),this.restoreFocusOnClose&&this._shouldRestoreFocus()&&this.__focusRestorationController.restoreFocus()}_saveFocus(){this.restoreFocusOnClose&&this.__focusRestorationController.saveFocus(this.restoreFocusNode)}_trapFocus(){this.focusTrap&&(this.__ariaModalController.showModal(),this.__focusTrapController.trapFocus(this.$.overlay))}_shouldRestoreFocus(){const r=Bs();return r===document.body||this._deepContains(r)}_deepContains(r){if(this.contains(r))return!0;let s=r;const i=r.ownerDocument;for(;s&&s!==i&&s!==this;)s=s.parentNode||s.host;return s===this}};/**
2257
+ * @license
2258
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
2259
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2260
+ */const tr=()=>Array.from(document.body.children).filter(e=>e instanceof HTMLElement&&e._hasOverlayStackMixin&&!e.hasAttribute("closing")).sort((e,t)=>e.__zIndex-t.__zIndex||0),vf=e=>e===tr().pop(),yf=e=>class extends e{constructor(){super(),this._hasOverlayStackMixin=!0}get _last(){return vf(this)}bringToFront(){let r="";const s=tr().filter(i=>i!==this).pop();s&&(r=s.__zIndex+1),this.style.zIndex=r,this.__zIndex=r||parseFloat(getComputedStyle(this).zIndex)}_enterModalState(){document.body.style.pointerEvents!=="none"&&(this._previousDocumentPointerEvents=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),tr().forEach(r=>{r!==this&&(r.$.overlay.style.pointerEvents="none")})}_exitModalState(){this._previousDocumentPointerEvents!==void 0&&(document.body.style.pointerEvents=this._previousDocumentPointerEvents,delete this._previousDocumentPointerEvents);const r=tr();let s;for(;(s=r.pop())&&!(s!==this&&(s.$.overlay.style.removeProperty("pointer-events"),!s.modeless)););}};/**
2261
+ * @license
2262
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
2263
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2264
+ */const wf=e=>class extends bf(yf(e)){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0},owner:{type:Object},model:{type:Object},renderer:{type:Object},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged"},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged"},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),rf&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",()=>{}),this.$.backdrop.addEventListener("click",()=>{}),this.addEventListener("mouseup",()=>{document.activeElement===document.body&&this.$.overlay.getAttribute("tabindex")==="0"&&this.$.overlay.focus()})}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(r){const s=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:r}});this.dispatchEvent(s),s.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const r=window.innerHeight,i=window.innerWidth>r,o=document.documentElement.clientHeight;i&&o>r?this.style.setProperty("--vaadin-overlay-viewport-bottom",`${o-r}px`):this.style.setProperty("--vaadin-overlay-viewport-bottom","0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(r,s,i,o){const n=this._oldOwner!==s||this._oldModel!==i;this._oldModel=i,this._oldOwner=s;const a=this._oldRenderer!==r;this._oldRenderer=r;const l=this._oldOpened!==o;this._oldOpened=o,a&&(this.innerHTML="",delete this._$litPart$),o&&r&&(a||l||n)&&this.requestContentUpdate()}_modelessChanged(r){r?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(r,s){r?(this._saveFocus(),this._animatedOpening(),Kd(this,()=>{this._trapFocus();const i=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(i)}),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):s&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(r){r&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const r=getComputedStyle(this),s=r.getPropertyValue("animation-name");return!(r.getPropertyValue("display")==="none")&&s&&s!=="none"}_enqueueAnimation(r,s){const i=`__${r}Handler`,o=n=>{n&&n.target!==this||(s(),this.removeEventListener("animationend",o),delete this[i])};this[i]=o,this.addEventListener("animationend",o)}_flushAnimation(r){const s=`__${r}Handler`;typeof this[s]=="function"&&this[s]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",()=>{this._finishOpening()}):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",()=>{this._finishClosing()}):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(r){this._mouseDownInside=r.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(r){this._mouseUpInside=r.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(r){return this._last}_outsideClickListener(r){if(r.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside){this._mouseDownInside=!1,this._mouseUpInside=!1;return}if(!this._shouldCloseOnOutsideClick(r))return;const s=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:r}});this.dispatchEvent(s),this.opened&&!s.defaultPrevented&&this.close(r)}_keydownListener(r){if(this._last&&!(this.modeless&&!r.composedPath().includes(this.$.overlay))&&r.key==="Escape"){const s=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:r}});this.dispatchEvent(s),this.opened&&!s.defaultPrevented&&this.close(r)}}};/**
2265
+ * @license
2266
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
2267
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2268
+ */const xf=E`
2269
+ :host {
2270
+ z-index: 200;
2271
+ position: fixed;
2272
+
2273
+ /* Despite of what the names say, <vaadin-overlay> is just a container
2274
+ for position/sizing/alignment. The actual overlay is the overlay part. */
2275
+
2276
+ /* Default position constraints: the entire viewport. Note: themes can
2277
+ override this to introduce gaps between the overlay and the viewport. */
2278
+ inset: 0;
2279
+ bottom: var(--vaadin-overlay-viewport-bottom);
2280
+
2281
+ /* Use flexbox alignment for the overlay part. */
2282
+ display: flex;
2283
+ flex-direction: column; /* makes dropdowns sizing easier */
2284
+ /* Align to center by default. */
2285
+ align-items: center;
2286
+ justify-content: center;
2287
+
2288
+ /* Allow centering when max-width/max-height applies. */
2289
+ margin: auto;
2290
+
2291
+ /* The host is not clickable, only the overlay part is. */
2292
+ pointer-events: none;
2293
+
2294
+ /* Remove tap highlight on touch devices. */
2295
+ -webkit-tap-highlight-color: transparent;
2296
+
2297
+ /* CSS API for host */
2298
+ --vaadin-overlay-viewport-bottom: 0;
2299
+ }
2300
+
2301
+ :host([hidden]),
2302
+ :host(:not([opened]):not([closing])) {
2303
+ display: none !important;
2304
+ }
2305
+
2306
+ [part='overlay'] {
2307
+ -webkit-overflow-scrolling: touch;
2308
+ overflow: auto;
2309
+ pointer-events: auto;
2310
+
2311
+ /* Prevent overflowing the host */
2312
+ max-width: 100%;
2313
+ box-sizing: border-box;
2314
+
2315
+ -webkit-tap-highlight-color: initial; /* reenable tap highlight inside */
2316
+ }
2317
+
2318
+ [part='backdrop'] {
2319
+ z-index: -1;
2320
+ content: '';
2321
+ background: rgba(0, 0, 0, 0.5);
2322
+ position: fixed;
2323
+ inset: 0;
2324
+ pointer-events: auto;
2325
+ }
2326
+ `;/**
2327
+ * @license
2328
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2329
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2330
+ */function Pf(e){const t=[];for(;e;){if(e.nodeType===Node.DOCUMENT_NODE){t.push(e);break}if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(e),e=e.host;continue}if(e.assignedSlot){e=e.assignedSlot;continue}e=e.parentNode}return t}function Ks(e){return e?new Set(e.split(" ")):new Set}function Cr(e){return e?[...e].join(" "):""}function Xn(e,t,r){const s=Ks(e.getAttribute(t));s.add(r),e.setAttribute(t,Cr(s))}function Ef(e,t,r){const s=Ks(e.getAttribute(t));if(s.delete(r),s.size===0){e.removeAttribute(t);return}e.setAttribute(t,Cr(s))}function Af(e){return e.nodeType===Node.TEXT_NODE&&e.textContent.trim()===""}/**
2331
+ * @license
2332
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
2333
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2334
+ */const Xr={start:"top",end:"bottom"},Kr={start:"left",end:"right"},fo=new ResizeObserver(e=>{setTimeout(()=>{e.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),Cf=e=>class extends e{static get properties(){return{positionTarget:{type:Object,value:null},horizontalAlign:{type:String,value:"start"},verticalAlign:{type:String,value:"top"},noHorizontalOverlap:{type:Boolean,value:!1},noVerticalOverlap:{type:Boolean,value:!1},requiredVerticalSpace:{type:Number,value:0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.addEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes=Pf(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(r=>{r.addEventListener("scroll",this.__onScroll,!0)})}__removeUpdatePositionEventListeners(){window.removeEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(r=>{r.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null)}__overlayOpenedChanged(r,s){if(this.__removeUpdatePositionEventListeners(),s&&(s.__overlay=null,fo.unobserve(s),r&&(this.__addUpdatePositionEventListeners(),s.__overlay=this,fo.observe(s))),r){const i=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(o=>{this.__margins[o]=parseInt(i[o],10)})),this.setAttribute("dir",i.direction),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(r){this.contains(r.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened)return;const r=this.positionTarget.getBoundingClientRect(),s=this.__shouldAlignStartVertically(r);this.style.justifyContent=s?"flex-start":"flex-end";const i=this.__isRTL,o=this.__shouldAlignStartHorizontally(r,i),n=!i&&o||i&&!o;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(r,a,this.noVerticalOverlap,Xr,this,s),u=this.__calculatePositionInOneDimension(r,a,this.noHorizontalOverlap,Kr,this,o);Object.assign(this.style,l,u),this.toggleAttribute("bottom-aligned",!s),this.toggleAttribute("top-aligned",s),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(r,s){const i=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const o=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!s&&this.horizontalAlign==="start"||s&&this.horizontalAlign==="end";return this.__shouldAlignStart(r,i,o,this.__margins,n,this.noHorizontalOverlap,Kr)}__shouldAlignStartVertically(r){const s=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const i=Math.min(window.innerHeight,document.documentElement.clientHeight),o=this.verticalAlign==="top";return this.__shouldAlignStart(r,s,i,this.__margins,o,this.noVerticalOverlap,Xr)}__shouldAlignStart(r,s,i,o,n,a,l){const u=i-r[a?l.end:l.start]-o[l.end],h=r[a?l.start:l.end]-o[l.start],c=n?u:h,m=c>(n?h:u)||c>s;return n===m}__adjustBottomProperty(r,s,i){let o;if(r===s.end){if(s.end===Xr.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(i>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;o=i-a}this.__oldViewportHeight=n}if(s.end===Kr.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(i>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;o=i-a}this.__oldViewportWidth=n}}return o}__calculatePositionInOneDimension(r,s,i,o,n,a){const l=a?o.start:o.end,u=a?o.end:o.start,h=parseFloat(n.style[l]||getComputedStyle(n)[l]),c=this.__adjustBottomProperty(l,o,h),f=s[a?o.start:o.end]-r[i===a?o.end:o.start],m=c?`${c}px`:`${h+f*(a?-1:1)}px`;return{[l]:m,[u]:""}}};/**
2335
+ * @license
2336
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2337
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2338
+ */const Sf=e=>class extends Cf(e){static get observers(){return["_setOverlayWidth(positionTarget, opened)"]}constructor(){super(),this.requiredVerticalSpace=200}connectedCallback(){super.connectedCallback();const r=this._comboBox,s=r&&r.getAttribute("dir");s&&this.setAttribute("dir",s)}_shouldCloseOnOutsideClick(r){const s=r.composedPath();return!s.includes(this.positionTarget)&&!s.includes(this)}_setOverlayWidth(r,s){if(r&&s){const i=this.localName;this.style.setProperty(`--_${i}-default-width`,`${r.clientWidth}px`);const o=getComputedStyle(this._comboBox).getPropertyValue(`--${i}-width`);o===""?this.style.removeProperty(`--${i}-width`):this.style.setProperty(`--${i}-width`,o),this._updatePosition()}}};/**
2339
+ * @license
2340
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2341
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2342
+ */const Tf=E`
2343
+ #overlay {
2344
+ width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
2345
+ }
2346
+
2347
+ [part='content'] {
2348
+ display: flex;
2349
+ flex-direction: column;
2350
+ height: 100%;
2351
+ }
2352
+ `;te("vaadin-combo-box-overlay",[xf,Tf],{moduleId:"vaadin-combo-box-overlay-styles"});class If extends Sf(wf(Pr(yr(Lt)))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return Mt`
2353
+ <div id="backdrop" part="backdrop" hidden></div>
2354
+ <div part="overlay" id="overlay">
2355
+ <div part="loader"></div>
2356
+ <div part="content" id="content"><slot></slot></div>
2357
+ </div>
2358
+ `}}ke(If);/**
2359
+ * @license
2360
+ * Copyright (c) 2023 Vaadin Ltd.
2361
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2362
+ */function dr(e,t){return e.split(".").reduce((r,s)=>r?r[s]:void 0,t)}/**
2363
+ * @license
2364
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2365
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2366
+ */let Of=0;function Kn(){return Of++}/**
2367
+ * @license
2368
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2369
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
2370
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2371
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2372
+ * Code distributed by Google as part of the polymer project is also
2373
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2374
+ */let po=0,Qn=0;const Je=[];let Ls=!1;function Nf(){Ls=!1;const e=Je.length;for(let t=0;t<e;t++){const r=Je[t];if(r)try{r()}catch(s){setTimeout(()=>{throw s})}}Je.splice(0,e),Qn+=e}const rr={after(e){return{run(t){return window.setTimeout(t,e)},cancel(t){window.clearTimeout(t)}}},run(e,t){return window.setTimeout(e,t)},cancel(e){window.clearTimeout(e)}},fr={run(e){return window.requestAnimationFrame(e)},cancel(e){window.cancelAnimationFrame(e)}},ea={run(e){return window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16)},cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},mo={run(e){Ls||(Ls=!0,queueMicrotask(()=>Nf())),Je.push(e);const t=po;return po+=1,t},cancel(e){const t=e-Qn;if(t>=0){if(!Je[t])throw new Error(`invalid async handle: ${e}`);Je[t]=null}}};/**
2375
+ @license
2376
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2377
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
2378
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2379
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2380
+ Code distributed by Google as part of the polymer project is also
2381
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2382
+ */const kt=new Set;class Ee{static debounce(t,r,s){return t instanceof Ee?t._cancelAsync():t=new Ee,t.setConfig(r,s),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,r){this._asyncModule=t,this._callback=r,this._timer=this._asyncModule.run(()=>{this._timer=null,kt.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),kt.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}}function ta(e){kt.add(e)}function kf(){const e=!!kt.size;return kt.forEach(t=>{try{t.flush()}catch(r){setTimeout(()=>{throw r})}}),e}const bt=()=>{let e;do e=kf();while(e)};/**
2383
+ * @license
2384
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
2385
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
2386
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2387
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2388
+ * Code distributed by Google as part of the polymer project is also
2389
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2390
+ */const _o=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),Bf=_o&&_o[1]>=8,go=3,Mf={_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_templateCost:0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return this._physicalSize-this._viewportHeight},get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){const e=this._virtualCount;return Math.max(0,e-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(e){e=this._clamp(e,0,this._maxVirtualStart),this._virtualStartVal=e},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(e){e%=this._physicalCount,e<0&&(e=this._physicalCount+e),this._physicalStartVal=e},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(e){this._physicalCountVal=e},get _optPhysicalSize(){return this._viewportHeight===0?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return!!(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let e=this._firstVisibleIndexVal;if(e==null){let t=this._physicalTop+this._scrollOffset;e=this._iterateItems((r,s)=>{if(t+=this._getPhysicalSizeIncrement(r),t>this._scrollPosition)return s})||0,this._firstVisibleIndexVal=e}return e},get lastVisibleIndex(){let e=this._lastVisibleIndexVal;if(e==null){let t=this._physicalTop+this._scrollOffset;this._iterateItems((r,s)=>{t<this._scrollBottom&&(e=s),t+=this._getPhysicalSizeIncrement(r)}),this._lastVisibleIndexVal=e}return e},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const e=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let t=e-this._scrollPosition;const r=t>=0;if(this._scrollPosition=e,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(t)>this._physicalSize&&this._physicalSize>0){t-=this._scrollOffset;const s=Math.round(t/this._physicalAverage);this._virtualStart+=s,this._physicalStart+=s,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const s=this._getReusables(r);r?(this._physicalTop=s.physicalTop,this._virtualStart+=s.indexes.length,this._physicalStart+=s.indexes.length):(this._virtualStart-=s.indexes.length,this._physicalStart-=s.indexes.length),this._update(s.indexes,r?null:s.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),mo)}},_getReusables(e){let t,r,s;const i=[],o=this._hiddenContentSize*this._ratio,n=this._virtualStart,a=this._virtualEnd,l=this._physicalCount;let u=this._physicalTop+this._scrollOffset;const h=this._physicalBottom+this._scrollOffset,c=this._scrollPosition,f=this._scrollBottom;for(e?(t=this._physicalStart,r=c-u):(t=this._physicalEnd,r=h-f);s=this._getPhysicalSizeIncrement(t),r-=s,!(i.length>=l||r<=o);)if(e){if(a+i.length+1>=this._virtualCount||u+s>=c-this._scrollOffset)break;i.push(t),u+=s,t=(t+1)%l}else{if(n-i.length<=0||u+this._physicalSize-s<=f)break;i.push(t),u-=s,t=t===0?l-1:t-1}return{indexes:i,physicalTop:u-this._scrollOffset}},_update(e,t){if(!(e&&e.length===0||this._physicalCount===0)){if(this._assignModels(e),this._updateMetrics(e),t)for(;t.length;){const r=t.pop();this._physicalTop-=this._getPhysicalSizeIncrement(r)}this._positionItems(),this._updateScrollerSize()}},_isClientFull(){return this._scrollBottom!==0&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},_increasePoolIfNeeded(e){const r=this._clamp(this._physicalCount+e,go,this._virtualCount-this._virtualStart)-this._physicalCount;let s=Math.round(this._physicalCount*.5);if(!(r<0)){if(r>0){const i=window.performance.now();[].push.apply(this._physicalItems,this._createPool(r));for(let o=0;o<r;o++)this._physicalSizes.push(0);this._physicalCount+=r,this._physicalStart>this._physicalEnd&&this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=r),this._update(),this._templateCost=(window.performance.now()-i)/r,s=Math.round(this._physicalCount*.5)}this._virtualEnd>=this._virtualCount-1||s===0||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,s)),ea):this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,s),mo))}},_render(){if(!(!this.isAttached||!this._isVisible))if(this._physicalCount!==0){const e=this._getReusables(!0);this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length,this._update(e.indexes),this._update(),this._increasePoolIfNeeded(0)}else this._virtualCount>0&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(go))},_itemsChanged(e){e.path==="items"&&(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?this.items.length:0,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._physicalItems||(this._physicalItems=[]),this._physicalSizes||(this._physicalSizes=[]),this._physicalStart=0,this._scrollTop>this._scrollOffset&&this._resetScrollPosition(0),this._debounce("_render",this._render,fr))},_iterateItems(e,t){let r,s,i,o;if(arguments.length===2&&t){for(o=0;o<t.length;o++)if(r=t[o],s=this._computeVidx(r),(i=e.call(this,r,s))!=null)return i}else{for(r=this._physicalStart,s=this._virtualStart;r<this._physicalCount;r++,s++)if((i=e.call(this,r,s))!=null)return i;for(r=0;r<this._physicalStart;r++,s++)if((i=e.call(this,r,s))!=null)return i}},_computeVidx(e){return e>=this._physicalStart?this._virtualStart+(e-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+e},_positionItems(){this._adjustScrollPosition();let e=this._physicalTop;this._iterateItems(t=>{this.translate3d(0,`${e}px`,0,this._physicalItems[t]),e+=this._physicalSizes[t]})},_getPhysicalSizeIncrement(e){return this._physicalSizes[e]},_adjustScrollPosition(){const e=this._virtualStart===0?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(e!==0){this._physicalTop-=e;const t=this._scrollPosition;!Bf&&t>0&&this._resetScrollPosition(t-e)}},_resetScrollPosition(e){this.scrollTarget&&e>=0&&(this._scrollTop=e,this._scrollPosition=this._scrollTop)},_updateScrollerSize(e){const t=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;this._estScrollHeight=t,(e||this._scrollHeight===0||this._scrollPosition>=t-this._physicalSize||Math.abs(t-this._scrollHeight)>=this._viewportHeight)&&(this.$.items.style.height=`${t}px`,this._scrollHeight=t)},scrollToIndex(e){if(typeof e!="number"||e<0||e>this.items.length-1||(bt(),this._physicalCount===0))return;e=this._clamp(e,0,this._virtualCount-1),(!this._isIndexRendered(e)||e>=this._maxVirtualStart)&&(this._virtualStart=e-1),this._assignModels(),this._updateMetrics(),this._physicalTop=this._virtualStart*this._physicalAverage;let t=this._physicalStart,r=this._virtualStart,s=0;const i=this._hiddenContentSize;for(;r<e&&s<=i;)s+=this._getPhysicalSizeIncrement(t),t=(t+1)%this._physicalCount,r+=1;this._updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._physicalTop+this._scrollOffset+s),this._increasePoolIfNeeded(0),this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null},_resetAverage(){this._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler(){this._debounce("_render",()=>{this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._isVisible?(this.updateViewportBoundaries(),this.toggleScrollListener(!0),this._resetAverage(),this._render()):this.toggleScrollListener(!1)},fr)},_isIndexRendered(e){return e>=this._virtualStart&&e<=this._virtualEnd},_getPhysicalIndex(e){return(this._physicalStart+(e-this._virtualStart))%this._physicalCount},_clamp(e,t,r){return Math.min(r,Math.max(t,e))},_debounce(e,t,r){this._debouncers||(this._debouncers={}),this._debouncers[e]=Ee.debounce(this._debouncers[e],r,t.bind(this)),ta(this._debouncers[e])}};/**
2391
+ * @license
2392
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2393
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2394
+ */const Lf=1e5,Qr=1e3;class ra{constructor({createElements:t,updateElement:r,scrollTarget:s,scrollContainer:i,elementsContainer:o,reorderElements:n}){this.isAttached=!0,this._vidxOffset=0,this.createElements=t,this.updateElement=r,this.scrollTarget=s,this.scrollContainer=i,this.elementsContainer=o||i,this.reorderElements=n,this._maxPages=1.3,this.__placeholderHeight=200,this.__elementHeightQueue=Array(10),this.timeouts={SCROLL_REORDER:500,IGNORE_WHEEL:500,FIX_INVALID_ITEM_POSITIONING:100},this.__resizeObserver=new ResizeObserver(()=>this._resizeHandler()),getComputedStyle(this.scrollTarget).overflow==="visible"&&(this.scrollTarget.style.overflow="auto"),getComputedStyle(this.scrollContainer).position==="static"&&(this.scrollContainer.style.position="relative"),this.__resizeObserver.observe(this.scrollTarget),this.scrollTarget.addEventListener("scroll",()=>this._scrollHandler()),this._scrollLineHeight=this._getScrollLineHeight(),this.scrollTarget.addEventListener("wheel",a=>this.__onWheel(a)),this.reorderElements&&(this.scrollTarget.addEventListener("mousedown",()=>{this.__mouseDown=!0}),this.scrollTarget.addEventListener("mouseup",()=>{this.__mouseDown=!1,this.__pendingReorder&&this.__reorderElements()}))}get scrollOffset(){return 0}get adjustedFirstVisibleIndex(){return this.firstVisibleIndex+this._vidxOffset}get adjustedLastVisibleIndex(){return this.lastVisibleIndex+this._vidxOffset}scrollToIndex(t){if(typeof t!="number"||isNaN(t)||this.size===0||!this.scrollTarget.offsetHeight)return;t=this._clamp(t,0,this.size-1);const r=this.__getVisibleElements().length;let s=Math.floor(t/this.size*this._virtualCount);this._virtualCount-s<r?(s=this._virtualCount-(this.size-t),this._vidxOffset=this.size-this._virtualCount):s<r?t<Qr?(s=t,this._vidxOffset=0):(s=Qr,this._vidxOffset=t-s):this._vidxOffset=t-s,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(s),this.adjustedFirstVisibleIndex!==t&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(t)||0),this._scrollHandler()}flush(){this.scrollTarget.offsetHeight!==0&&(this._resizeHandler(),bt(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush())}update(t=0,r=this.size-1){const s=[];this.__getVisibleElements().forEach(i=>{i.__virtualIndex>=t&&i.__virtualIndex<=r&&(this.__updateElement(i,i.__virtualIndex,!0),s.push(i))}),this.__afterElementsUpdated(s)}_updateMetrics(t){bt();let r=0,s=0;const i=this._physicalAverageCount,o=this._physicalAverage;this._iterateItems((n,a)=>{s+=this._physicalSizes[n],this._physicalSizes[n]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[n])),r+=this._physicalSizes[n],this._physicalAverageCount+=this._physicalSizes[n]?1:0},t),this._physicalSize=this._physicalSize+r-s,this._physicalAverageCount!==i&&(this._physicalAverage=Math.round((o*i+r)/this._physicalAverageCount))}__getBorderBoxHeight(t){const r=getComputedStyle(t),s=parseFloat(r.height)||0;if(r.boxSizing==="border-box")return s;const i=parseFloat(r.paddingBottom)||0,o=parseFloat(r.paddingTop)||0,n=parseFloat(r.borderBottomWidth)||0,a=parseFloat(r.borderTopWidth)||0;return s+i+o+n+a}__updateElement(t,r,s){t.style.paddingTop&&(t.style.paddingTop=""),!this.__preventElementUpdates&&(t.__lastUpdatedIndex!==r||s)&&(this.updateElement(t,r),t.__lastUpdatedIndex=r)}__afterElementsUpdated(t){t.forEach(r=>{const s=r.offsetHeight;if(s===0)r.style.paddingTop=`${this.__placeholderHeight}px`,this.__placeholderClearDebouncer=Ee.debounce(this.__placeholderClearDebouncer,fr,()=>this._resizeHandler());else{this.__elementHeightQueue.push(s),this.__elementHeightQueue.shift();const i=this.__elementHeightQueue.filter(o=>o!==void 0);this.__placeholderHeight=Math.round(i.reduce((o,n)=>o+n,0)/i.length)}})}__getIndexScrollOffset(t){const r=this.__getVisibleElements().find(s=>s.__virtualIndex===t);return r?this.scrollTarget.getBoundingClientRect().top-r.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(t){t!==this.size&&(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__size=t,this._physicalItems?(this._updateScrollerSize(),this._virtualCount=this.items.length,this._render()):(this._itemsChanged({path:"items"}),this.__preventElementUpdates=!0,bt(),this.__preventElementUpdates=!1),this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame(()=>this._resizeHandler()),this._resizeHandler(),bt())}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(t){this.scrollTarget.scrollTop=t}get items(){return{length:Math.min(this.size,Lf)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const t=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(t["padding-top"],10),this._isRTL=t.direction==="rtl",this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(t){const r=this.createElements(t),s=document.createDocumentFragment();return r.forEach(i=>{i.style.position="absolute",s.appendChild(i),this.__resizeObserver.observe(i)}),this.elementsContainer.appendChild(s),r}_assignModels(t){const r=[];this._iterateItems((s,i)=>{const o=this._physicalItems[s];o.hidden=i>=this.size,o.hidden?delete o.__lastUpdatedIndex:(o.__virtualIndex=i+(this._vidxOffset||0),this.__updateElement(o,o.__virtualIndex),r.push(o))},t),this.__afterElementsUpdated(r)}_isClientFull(){return setTimeout(()=>{this.__clientFull=!0}),this.__clientFull||super._isClientFull()}translate3d(t,r,s,i){i.style.transform=`translateY(${r})`}toggleScrollListener(){}_scrollHandler(){if(this.scrollTarget.offsetHeight===0)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const t=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),this._physicalCount!==0){const r=t>=0,s=this._getReusables(!r);s.indexes.length&&(this._physicalTop=s.physicalTop,r?(this._virtualStart-=s.indexes.length,this._physicalStart-=s.indexes.length):(this._virtualStart+=s.indexes.length,this._physicalStart+=s.indexes.length),this._resizeHandler())}t&&(this.__fixInvalidItemPositioningDebouncer=Ee.debounce(this.__fixInvalidItemPositioningDebouncer,rr.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),()=>this.__fixInvalidItemPositioning())),this.reorderElements&&(this.__scrollReorderDebouncer=Ee.debounce(this.__scrollReorderDebouncer,rr.after(this.timeouts.SCROLL_REORDER),()=>this.__reorderElements())),this.__previousScrollTop=this._scrollTop,this._scrollTop===0&&this.firstVisibleIndex!==0&&Math.abs(t)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const t=this._physicalTop>this._scrollTop,r=this._physicalBottom<this._scrollBottom,s=this.adjustedFirstVisibleIndex===0,i=this.adjustedLastVisibleIndex===this.size-1;if(t&&!s||r&&!i){const o=r,n=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(o?-1:1),this._scrollHandler(),this._ratio=n}}__onWheel(t){if(t.ctrlKey||this._hasScrolledAncestor(t.target,t.deltaX,t.deltaY))return;let r=t.deltaY;if(t.deltaMode===WheelEvent.DOM_DELTA_LINE?r*=this._scrollLineHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(r*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame){this._deltaYAcc+=r,t.preventDefault();return}r+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=Ee.debounce(this.__debouncerWheelAnimationFrame,fr,()=>{this._wheelAnimationFrame=!1});const s=Math.abs(t.deltaX)+Math.abs(r);this._canScroll(this.scrollTarget,t.deltaX,r)?(t.preventDefault(),this.scrollTarget.scrollTop+=r,this.scrollTarget.scrollLeft+=t.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=Ee.debounce(this._debouncerIgnoreNewWheel,rr.after(this.timeouts.IGNORE_WHEEL),()=>{this._ignoreNewWheel=!1})):this._hasResidualMomentum&&s<=this._previousMomentum||this._ignoreNewWheel?t.preventDefault():s>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=s}_hasScrolledAncestor(t,r,s){if(t===this.scrollTarget||t===this.scrollTarget.getRootNode().host)return!1;if(this._canScroll(t,r,s)&&["auto","scroll"].indexOf(getComputedStyle(t).overflow)!==-1)return!0;if(t!==this&&t.parentElement)return this._hasScrolledAncestor(t.parentElement,r,s)}_canScroll(t,r,s){return s>0&&t.scrollTop<t.scrollHeight-t.offsetHeight||s<0&&t.scrollTop>0||r>0&&t.scrollLeft<t.scrollWidth-t.offsetWidth||r<0&&t.scrollLeft>0}_increasePoolIfNeeded(t){if(this._physicalCount>2&&t){const s=Math.ceil(this._optPhysicalSize/this._physicalAverage)-this._physicalCount;super._increasePoolIfNeeded(Math.max(t,Math.min(100,s)))}else super._increasePoolIfNeeded(t)}_getScrollLineHeight(){const t=document.createElement("div");t.style.fontSize="initial",t.style.display="none",document.body.appendChild(t);const r=window.getComputedStyle(t).fontSize;return document.body.removeChild(t),r?window.parseInt(r):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter(t=>!t.hidden)}__reorderElements(){if(this.__mouseDown){this.__pendingReorder=!0;return}this.__pendingReorder=!1;const t=this._virtualStart+(this._vidxOffset||0),r=this.__getVisibleElements(),i=r.find(a=>a.contains(this.elementsContainer.getRootNode().activeElement)||a.contains(this.scrollTarget.getRootNode().activeElement))||r[0];if(!i)return;const o=i.__virtualIndex-t,n=r.indexOf(i)-o;if(n>0)for(let a=0;a<n;a++)this.elementsContainer.appendChild(r[a]);else if(n<0)for(let a=r.length+n;a<r.length;a++)this.elementsContainer.insertBefore(r[a],r[0]);if(sf){const{transform:a}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout(()=>{this.scrollTarget.style.transform=a})}}_adjustVirtualIndexOffset(t){if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(t)>1e4){const r=this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.offsetHeight),s=r*this.size;this._vidxOffset=Math.round(s-r*this._virtualCount)}else{const r=this._vidxOffset,s=Qr,i=100;this._scrollTop===0?(this._vidxOffset=0,r!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<s&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,i),super.scrollToIndex(this.firstVisibleIndex+(r-this._vidxOffset)));const o=this.size-this._virtualCount;this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=o,r!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-s&&this._vidxOffset<o&&(this._vidxOffset+=Math.min(o-this._vidxOffset,i),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-r)))}}}Object.setPrototypeOf(ra.prototype,Mf);class Rf{constructor(t){this.__adapter=new ra(t)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(t){this.__adapter.size=t}scrollToIndex(t){this.__adapter.scrollToIndex(t)}update(t=0,r=this.size-1){this.__adapter.update(t,r)}flush(){this.__adapter.flush()}}/**
2395
+ * @license
2396
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2397
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2398
+ */const it=class{toString(){return""}};/**
2399
+ * @license
2400
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2401
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2402
+ */const Df=e=>class extends e{static get properties(){return{items:{type:Array,observer:"__itemsChanged"},focusedIndex:{type:Number,observer:"__focusedIndexChanged"},loading:{type:Boolean,observer:"__loadingChanged"},opened:{type:Boolean,observer:"__openedChanged"},selectedItem:{type:Object,observer:"__selectedItemChanged"},itemIdPath:{type:String},owner:{type:Object},getItemLabel:{type:Object},renderer:{type:Object,observer:"__rendererChanged"},theme:{type:String}}}constructor(){super(),this.__boundOnItemClick=this.__onItemClick.bind(this)}get _viewportTotalPaddingBottom(){if(this._cachedViewportTotalPaddingBottom===void 0){const r=window.getComputedStyle(this.$.selector);this._cachedViewportTotalPaddingBottom=[r.paddingBottom,r.borderBottomWidth].map(s=>parseInt(s,10)).reduce((s,i)=>s+i)}return this._cachedViewportTotalPaddingBottom}ready(){super.ready(),this.setAttribute("role","listbox"),this.id=`${this.localName}-${Kn()}`,this.__hostTagName=this.constructor.is.replace("-scroller",""),this.addEventListener("click",r=>r.stopPropagation()),this.__patchWheelOverScrolling(),this.__virtualizer=new Rf({createElements:this.__createElements.bind(this),updateElement:this._updateElement.bind(this),elementsContainer:this,scrollTarget:this,scrollContainer:this.$.selector})}requestContentUpdate(){this.__virtualizer&&this.__virtualizer.update()}scrollIntoView(r){if(!(this.opened&&r>=0))return;const s=this._visibleItemsCount();let i=r;r>this.__virtualizer.lastVisibleIndex-1?(this.__virtualizer.scrollToIndex(r),i=r-s+1):r>this.__virtualizer.firstVisibleIndex&&(i=this.__virtualizer.firstVisibleIndex),this.__virtualizer.scrollToIndex(Math.max(0,i));const o=[...this.children].find(u=>!u.hidden&&u.index===this.__virtualizer.lastVisibleIndex);if(!o||r!==o.index)return;const n=o.getBoundingClientRect(),a=this.getBoundingClientRect(),l=n.bottom-a.bottom+this._viewportTotalPaddingBottom;l>0&&(this.scrollTop+=l)}_isItemSelected(r,s,i){return r instanceof it?!1:i&&r!==void 0&&s!==void 0?dr(i,r)===dr(i,s):r===s}__itemsChanged(r){this.__virtualizer&&r&&(this.__virtualizer.size=r.length,this.__virtualizer.flush(),this.requestContentUpdate())}__loadingChanged(){this.requestContentUpdate()}__openedChanged(r){r&&this.requestContentUpdate()}__selectedItemChanged(){this.requestContentUpdate()}__focusedIndexChanged(r,s){r!==s&&this.requestContentUpdate(),r>=0&&!this.loading&&this.scrollIntoView(r)}__rendererChanged(r,s){(r||s)&&this.requestContentUpdate()}__createElements(r){return[...Array(r)].map(()=>{const s=document.createElement(`${this.__hostTagName}-item`);return s.addEventListener("click",this.__boundOnItemClick),s.tabIndex="-1",s.style.width="100%",s})}_updateElement(r,s){const i=this.items[s],o=this.focusedIndex,n=this._isItemSelected(i,this.selectedItem,this.itemIdPath);r.setProperties({item:i,index:s,label:this.getItemLabel(i),selected:n,renderer:this.renderer,focused:!this.loading&&o===s}),r.id=`${this.__hostTagName}-item-${s}`,r.setAttribute("role",s!==void 0?"option":!1),r.setAttribute("aria-selected",n.toString()),r.setAttribute("aria-posinset",s+1),r.setAttribute("aria-setsize",this.items.length),this.theme?r.setAttribute("theme",this.theme):r.removeAttribute("theme"),i instanceof it&&this.__requestItemByIndex(s)}__onItemClick(r){this.dispatchEvent(new CustomEvent("selection-changed",{detail:{item:r.currentTarget.item}}))}__patchWheelOverScrolling(){this.$.selector.addEventListener("wheel",r=>{const s=this.scrollTop===0,i=this.scrollHeight-this.scrollTop-this.clientHeight<=1;(s&&r.deltaY<0||i&&r.deltaY>0)&&r.preventDefault()})}__requestItemByIndex(r){requestAnimationFrame(()=>{this.dispatchEvent(new CustomEvent("index-requested",{detail:{index:r,currentScrollerPos:this._oldScrollerPosition}}))})}_visibleItemsCount(){return this.__virtualizer.scrollToIndex(this.__virtualizer.firstVisibleIndex),this.__virtualizer.size>0?this.__virtualizer.lastVisibleIndex-this.__virtualizer.firstVisibleIndex+1:0}};/**
2403
+ * @license
2404
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
2405
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2406
+ */class Hf extends Df(Lt){static get is(){return"vaadin-combo-box-scroller"}static get template(){return Mt`
2407
+ <style>
2408
+ :host {
2409
+ display: block;
2410
+ min-height: 1px;
2411
+ overflow: auto;
2412
+
2413
+ /* Fixes item background from getting on top of scrollbars on Safari */
2414
+ transform: translate3d(0, 0, 0);
2415
+
2416
+ /* Enable momentum scrolling on iOS */
2417
+ -webkit-overflow-scrolling: touch;
2418
+
2419
+ /* Fixes scrollbar disappearing when 'Show scroll bars: Always' enabled in Safari */
2420
+ box-shadow: 0 0 0 white;
2421
+ }
2422
+
2423
+ #selector {
2424
+ border-width: var(--_vaadin-combo-box-items-container-border-width);
2425
+ border-style: var(--_vaadin-combo-box-items-container-border-style);
2426
+ border-color: var(--_vaadin-combo-box-items-container-border-color, transparent);
2427
+ position: relative;
2428
+ }
2429
+ </style>
2430
+ <div id="selector">
2431
+ <slot></slot>
2432
+ </div>
2433
+ `}}ke(Hf);const Ff=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,sr=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function zf(){function e(){return!0}return sa(e)}function Vf(){try{return Uf()?!0:$f()?sr?!jf():!zf():!1}catch(e){return!1}}function Uf(){return localStorage.getItem("vaadin.developmentmode.force")}function $f(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function jf(){return!!(sr&&Object.keys(sr).map(t=>sr[t]).filter(t=>t.productionMode).length>0)}function sa(e,t){if(typeof e!="function")return;const r=Ff.exec(e.toString());if(r)try{e=new Function(r[1])}catch(s){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",s)}return e(t)}window.Vaadin=window.Vaadin||{};const bo=function(e,t){if(window.Vaadin.developmentMode)return sa(e,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=Vf());function Gf(){/*! vaadin-dev-mode:start
2434
+ (function () {
2435
+ 'use strict';
2436
+
2437
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
2438
+ return typeof obj;
2439
+ } : function (obj) {
2440
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2441
+ };
2442
+
2443
+ var classCallCheck = function (instance, Constructor) {
2444
+ if (!(instance instanceof Constructor)) {
2445
+ throw new TypeError("Cannot call a class as a function");
2446
+ }
2447
+ };
2448
+
2449
+ var createClass = function () {
2450
+ function defineProperties(target, props) {
2451
+ for (var i = 0; i < props.length; i++) {
2452
+ var descriptor = props[i];
2453
+ descriptor.enumerable = descriptor.enumerable || false;
2454
+ descriptor.configurable = true;
2455
+ if ("value" in descriptor) descriptor.writable = true;
2456
+ Object.defineProperty(target, descriptor.key, descriptor);
2457
+ }
2458
+ }
2459
+
2460
+ return function (Constructor, protoProps, staticProps) {
2461
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
2462
+ if (staticProps) defineProperties(Constructor, staticProps);
2463
+ return Constructor;
2464
+ };
2465
+ }();
2466
+
2467
+ var getPolymerVersion = function getPolymerVersion() {
2468
+ return window.Polymer && window.Polymer.version;
2469
+ };
2470
+
2471
+ var StatisticsGatherer = function () {
2472
+ function StatisticsGatherer(logger) {
2473
+ classCallCheck(this, StatisticsGatherer);
2474
+
2475
+ this.now = new Date().getTime();
2476
+ this.logger = logger;
2477
+ }
2478
+
2479
+ createClass(StatisticsGatherer, [{
2480
+ key: 'frameworkVersionDetectors',
2481
+ value: function frameworkVersionDetectors() {
2482
+ return {
2483
+ 'Flow': function Flow() {
2484
+ if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {
2485
+ var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {
2486
+ return window.Vaadin.Flow.clients[key];
2487
+ }).filter(function (client) {
2488
+ return client.getVersionInfo;
2489
+ }).map(function (client) {
2490
+ return client.getVersionInfo().flow;
2491
+ });
2492
+ if (flowVersions.length > 0) {
2493
+ return flowVersions[0];
2494
+ }
2495
+ }
2496
+ },
2497
+ 'Vaadin Framework': function VaadinFramework() {
2498
+ if (window.vaadin && window.vaadin.clients) {
2499
+ var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {
2500
+ return client.getVersionInfo;
2501
+ }).map(function (client) {
2502
+ return client.getVersionInfo().vaadinVersion;
2503
+ });
2504
+ if (frameworkVersions.length > 0) {
2505
+ return frameworkVersions[0];
2506
+ }
2507
+ }
2508
+ },
2509
+ 'AngularJs': function AngularJs() {
2510
+ if (window.angular && window.angular.version && window.angular.version) {
2511
+ return window.angular.version.full;
2512
+ }
2513
+ },
2514
+ 'Angular': function Angular() {
2515
+ if (window.ng) {
2516
+ var tags = document.querySelectorAll("[ng-version]");
2517
+ if (tags.length > 0) {
2518
+ return tags[0].getAttribute("ng-version");
2519
+ }
2520
+ return "Unknown";
2521
+ }
2522
+ },
2523
+ 'Backbone.js': function BackboneJs() {
2524
+ if (window.Backbone) {
2525
+ return window.Backbone.VERSION;
2526
+ }
2527
+ },
2528
+ 'React': function React() {
2529
+ var reactSelector = '[data-reactroot], [data-reactid]';
2530
+ if (!!document.querySelector(reactSelector)) {
2531
+ // React does not publish the version by default
2532
+ return "unknown";
2533
+ }
2534
+ },
2535
+ 'Ember': function Ember() {
2536
+ if (window.Em && window.Em.VERSION) {
2537
+ return window.Em.VERSION;
2538
+ } else if (window.Ember && window.Ember.VERSION) {
2539
+ return window.Ember.VERSION;
2540
+ }
2541
+ },
2542
+ 'jQuery': function (_jQuery) {
2543
+ function jQuery() {
2544
+ return _jQuery.apply(this, arguments);
2545
+ }
2546
+
2547
+ jQuery.toString = function () {
2548
+ return _jQuery.toString();
2549
+ };
2550
+
2551
+ return jQuery;
2552
+ }(function () {
2553
+ if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {
2554
+ return jQuery.prototype.jquery;
2555
+ }
2556
+ }),
2557
+ 'Polymer': function Polymer() {
2558
+ var version = getPolymerVersion();
2559
+ if (version) {
2560
+ return version;
2561
+ }
2562
+ },
2563
+ 'LitElement': function LitElement() {
2564
+ var version = window.litElementVersions && window.litElementVersions[0];
2565
+ if (version) {
2566
+ return version;
2567
+ }
2568
+ },
2569
+ 'LitHtml': function LitHtml() {
2570
+ var version = window.litHtmlVersions && window.litHtmlVersions[0];
2571
+ if (version) {
2572
+ return version;
2573
+ }
2574
+ },
2575
+ 'Vue.js': function VueJs() {
2576
+ if (window.Vue) {
2577
+ return window.Vue.version;
2578
+ }
2579
+ }
2580
+ };
2581
+ }
2582
+ }, {
2583
+ key: 'getUsedVaadinElements',
2584
+ value: function getUsedVaadinElements(elements) {
2585
+ var version = getPolymerVersion();
2586
+ var elementClasses = void 0;
2587
+ // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.
2588
+ // Check all locations calling the method getEntries() in
2589
+ // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106
2590
+ // Currently it is only used by BootstrapHandler.
2591
+ if (version && version.indexOf('2') === 0) {
2592
+ // Polymer 2: components classes are stored in window.Vaadin
2593
+ elementClasses = Object.keys(window.Vaadin).map(function (c) {
2594
+ return window.Vaadin[c];
2595
+ }).filter(function (c) {
2596
+ return c.is;
2597
+ });
2598
+ } else {
2599
+ // Polymer 3: components classes are stored in window.Vaadin.registrations
2600
+ elementClasses = window.Vaadin.registrations || [];
2601
+ }
2602
+ elementClasses.forEach(function (klass) {
2603
+ var version = klass.version ? klass.version : "0.0.0";
2604
+ elements[klass.is] = { version: version };
2605
+ });
2606
+ }
2607
+ }, {
2608
+ key: 'getUsedVaadinThemes',
2609
+ value: function getUsedVaadinThemes(themes) {
2610
+ ['Lumo', 'Material'].forEach(function (themeName) {
2611
+ var theme;
2612
+ var version = getPolymerVersion();
2613
+ if (version && version.indexOf('2') === 0) {
2614
+ // Polymer 2: themes are stored in window.Vaadin
2615
+ theme = window.Vaadin[themeName];
2616
+ } else {
2617
+ // Polymer 3: themes are stored in custom element registry
2618
+ theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');
2619
+ }
2620
+ if (theme && theme.version) {
2621
+ themes[themeName] = { version: theme.version };
2622
+ }
2623
+ });
2624
+ }
2625
+ }, {
2626
+ key: 'getFrameworks',
2627
+ value: function getFrameworks(frameworks) {
2628
+ var detectors = this.frameworkVersionDetectors();
2629
+ Object.keys(detectors).forEach(function (framework) {
2630
+ var detector = detectors[framework];
2631
+ try {
2632
+ var version = detector();
2633
+ if (version) {
2634
+ frameworks[framework] = { version: version };
2635
+ }
2636
+ } catch (e) {}
2637
+ });
2638
+ }
2639
+ }, {
2640
+ key: 'gather',
2641
+ value: function gather(storage) {
2642
+ var storedStats = storage.read();
2643
+ var gatheredStats = {};
2644
+ var types = ["elements", "frameworks", "themes"];
2645
+
2646
+ types.forEach(function (type) {
2647
+ gatheredStats[type] = {};
2648
+ if (!storedStats[type]) {
2649
+ storedStats[type] = {};
2650
+ }
2651
+ });
2652
+
2653
+ var previousStats = JSON.stringify(storedStats);
2654
+
2655
+ this.getUsedVaadinElements(gatheredStats.elements);
2656
+ this.getFrameworks(gatheredStats.frameworks);
2657
+ this.getUsedVaadinThemes(gatheredStats.themes);
2658
+
2659
+ var now = this.now;
2660
+ types.forEach(function (type) {
2661
+ var keys = Object.keys(gatheredStats[type]);
2662
+ keys.forEach(function (key) {
2663
+ if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {
2664
+ storedStats[type][key] = { firstUsed: now };
2665
+ }
2666
+ // Discards any previously logged version number
2667
+ storedStats[type][key].version = gatheredStats[type][key].version;
2668
+ storedStats[type][key].lastUsed = now;
2669
+ });
2670
+ });
2671
+
2672
+ var newStats = JSON.stringify(storedStats);
2673
+ storage.write(newStats);
2674
+ if (newStats != previousStats && Object.keys(storedStats).length > 0) {
2675
+ this.logger.debug("New stats: " + newStats);
2676
+ }
2677
+ }
2678
+ }]);
2679
+ return StatisticsGatherer;
2680
+ }();
2681
+
2682
+ var StatisticsStorage = function () {
2683
+ function StatisticsStorage(key) {
2684
+ classCallCheck(this, StatisticsStorage);
2685
+
2686
+ this.key = key;
2687
+ }
2688
+
2689
+ createClass(StatisticsStorage, [{
2690
+ key: 'read',
2691
+ value: function read() {
2692
+ var localStorageStatsString = localStorage.getItem(this.key);
2693
+ try {
2694
+ return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');
2695
+ } catch (e) {
2696
+ return {};
2697
+ }
2698
+ }
2699
+ }, {
2700
+ key: 'write',
2701
+ value: function write(data) {
2702
+ localStorage.setItem(this.key, data);
2703
+ }
2704
+ }, {
2705
+ key: 'clear',
2706
+ value: function clear() {
2707
+ localStorage.removeItem(this.key);
2708
+ }
2709
+ }, {
2710
+ key: 'isEmpty',
2711
+ value: function isEmpty() {
2712
+ var storedStats = this.read();
2713
+ var empty = true;
2714
+ Object.keys(storedStats).forEach(function (key) {
2715
+ if (Object.keys(storedStats[key]).length > 0) {
2716
+ empty = false;
2717
+ }
2718
+ });
2719
+
2720
+ return empty;
2721
+ }
2722
+ }]);
2723
+ return StatisticsStorage;
2724
+ }();
2725
+
2726
+ var StatisticsSender = function () {
2727
+ function StatisticsSender(url, logger) {
2728
+ classCallCheck(this, StatisticsSender);
2729
+
2730
+ this.url = url;
2731
+ this.logger = logger;
2732
+ }
2733
+
2734
+ createClass(StatisticsSender, [{
2735
+ key: 'send',
2736
+ value: function send(data, errorHandler) {
2737
+ var logger = this.logger;
2738
+
2739
+ if (navigator.onLine === false) {
2740
+ logger.debug("Offline, can't send");
2741
+ errorHandler();
2742
+ return;
2743
+ }
2744
+ logger.debug("Sending data to " + this.url);
2745
+
2746
+ var req = new XMLHttpRequest();
2747
+ req.withCredentials = true;
2748
+ req.addEventListener("load", function () {
2749
+ // Stats sent, nothing more to do
2750
+ logger.debug("Response: " + req.responseText);
2751
+ });
2752
+ req.addEventListener("error", function () {
2753
+ logger.debug("Send failed");
2754
+ errorHandler();
2755
+ });
2756
+ req.addEventListener("abort", function () {
2757
+ logger.debug("Send aborted");
2758
+ errorHandler();
2759
+ });
2760
+ req.open("POST", this.url);
2761
+ req.setRequestHeader("Content-Type", "application/json");
2762
+ req.send(data);
2763
+ }
2764
+ }]);
2765
+ return StatisticsSender;
2766
+ }();
2767
+
2768
+ var StatisticsLogger = function () {
2769
+ function StatisticsLogger(id) {
2770
+ classCallCheck(this, StatisticsLogger);
2771
+
2772
+ this.id = id;
2773
+ }
2774
+
2775
+ createClass(StatisticsLogger, [{
2776
+ key: '_isDebug',
2777
+ value: function _isDebug() {
2778
+ return localStorage.getItem("vaadin." + this.id + ".debug");
2779
+ }
2780
+ }, {
2781
+ key: 'debug',
2782
+ value: function debug(msg) {
2783
+ if (this._isDebug()) {
2784
+ console.info(this.id + ": " + msg);
2785
+ }
2786
+ }
2787
+ }]);
2788
+ return StatisticsLogger;
2789
+ }();
2790
+
2791
+ var UsageStatistics = function () {
2792
+ function UsageStatistics() {
2793
+ classCallCheck(this, UsageStatistics);
2794
+
2795
+ this.now = new Date();
2796
+ this.timeNow = this.now.getTime();
2797
+ this.gatherDelay = 10; // Delay between loading this file and gathering stats
2798
+ this.initialDelay = 24 * 60 * 60;
2799
+
2800
+ this.logger = new StatisticsLogger("statistics");
2801
+ this.storage = new StatisticsStorage("vaadin.statistics.basket");
2802
+ this.gatherer = new StatisticsGatherer(this.logger);
2803
+ this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger);
2804
+ }
2805
+
2806
+ createClass(UsageStatistics, [{
2807
+ key: 'maybeGatherAndSend',
2808
+ value: function maybeGatherAndSend() {
2809
+ var _this = this;
2810
+
2811
+ if (localStorage.getItem(UsageStatistics.optOutKey)) {
2812
+ return;
2813
+ }
2814
+ this.gatherer.gather(this.storage);
2815
+ setTimeout(function () {
2816
+ _this.maybeSend();
2817
+ }, this.gatherDelay * 1000);
2818
+ }
2819
+ }, {
2820
+ key: 'lottery',
2821
+ value: function lottery() {
2822
+ return true;
2823
+ }
2824
+ }, {
2825
+ key: 'currentMonth',
2826
+ value: function currentMonth() {
2827
+ return this.now.getYear() * 12 + this.now.getMonth();
2828
+ }
2829
+ }, {
2830
+ key: 'maybeSend',
2831
+ value: function maybeSend() {
2832
+ var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));
2833
+ var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));
2834
+
2835
+ if (!firstUse) {
2836
+ // Use a grace period to avoid interfering with tests, incognito mode etc
2837
+ firstUse = this.timeNow;
2838
+ localStorage.setItem(UsageStatistics.firstUseKey, firstUse);
2839
+ }
2840
+
2841
+ if (this.timeNow < firstUse + this.initialDelay * 1000) {
2842
+ this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed");
2843
+ return;
2844
+ }
2845
+ if (this.currentMonth() <= monthProcessed) {
2846
+ this.logger.debug("This month has already been processed");
2847
+ return;
2848
+ }
2849
+ localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());
2850
+ // Use random sampling
2851
+ if (this.lottery()) {
2852
+ this.logger.debug("Congratulations, we have a winner!");
2853
+ } else {
2854
+ this.logger.debug("Sorry, no stats from you this time");
2855
+ return;
2856
+ }
2857
+
2858
+ this.send();
2859
+ }
2860
+ }, {
2861
+ key: 'send',
2862
+ value: function send() {
2863
+ // Ensure we have the latest data
2864
+ this.gatherer.gather(this.storage);
2865
+
2866
+ // Read, send and clean up
2867
+ var data = this.storage.read();
2868
+ data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));
2869
+ data["usageStatisticsVersion"] = UsageStatistics.version;
2870
+ var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n';
2871
+ var self = this;
2872
+ this.sender.send(info + JSON.stringify(data), function () {
2873
+ // Revert the 'month processed' flag
2874
+ localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);
2875
+ });
2876
+ }
2877
+ }], [{
2878
+ key: 'version',
2879
+ get: function get$1() {
2880
+ return '2.1.2';
2881
+ }
2882
+ }, {
2883
+ key: 'firstUseKey',
2884
+ get: function get$1() {
2885
+ return 'vaadin.statistics.firstuse';
2886
+ }
2887
+ }, {
2888
+ key: 'monthProcessedKey',
2889
+ get: function get$1() {
2890
+ return 'vaadin.statistics.monthProcessed';
2891
+ }
2892
+ }, {
2893
+ key: 'optOutKey',
2894
+ get: function get$1() {
2895
+ return 'vaadin.statistics.optout';
2896
+ }
2897
+ }]);
2898
+ return UsageStatistics;
2899
+ }();
2900
+
2901
+ try {
2902
+ window.Vaadin = window.Vaadin || {};
2903
+ window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();
2904
+ window.Vaadin.usageStatsChecker.maybeGatherAndSend();
2905
+ } catch (e) {
2906
+ // Intentionally ignored as this is not a problem in the app being developed
2907
+ }
2908
+
2909
+ }());
2910
+
2911
+ vaadin-dev-mode:end **/}const Wf=function(){if(typeof bo=="function")return bo(Gf)};/**
2912
+ * @license
2913
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2914
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2915
+ */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Wf()};let es;const vo=new Set,qf=e=>class extends Pr(e){static get version(){return"24.2.9"}static finalize(){super.finalize();const{is:r}=this;r&&!vo.has(r)&&(window.Vaadin.registrations.push(this),vo.add(r),window.Vaadin.developmentModeCallback&&(es=Ee.debounce(es,ea,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),ta(es)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
2916
+ * @license
2917
+ * Copyright (c) 2023 Vaadin Ltd.
2918
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2919
+ */class Yf{constructor(t,r){this.slot=t,this.callback=r,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask(()=>{this.flush()}))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let r=[];const s=[],i=[];t.length&&(r=t.filter(o=>!this._storedNodes.includes(o))),this._storedNodes.length&&this._storedNodes.forEach((o,n)=>{const a=t.indexOf(o);a===-1?s.push(o):a!==n&&i.push(o)}),(r.length||s.length||i.length)&&this.callback({addedNodes:r,movedNodes:i,removedNodes:s}),this._storedNodes=t}}/**
2920
+ * @license
2921
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2922
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2923
+ */class Qs extends EventTarget{static generateId(t,r){return`${r||"default"}-${t.localName}-${Kn()}`}constructor(t,r,s,i={}){super();const{initializer:o,multiple:n,observe:a,useUniqueId:l}=i;this.host=t,this.slotName=r,this.tagName=s,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=o,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,r))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const r=this.attachDefaultNode();r&&(this.nodes=[r],this.initNode(r))}else this.nodes=t,t.forEach(r=>{this.initAddedNode(r)})}attachDefaultNode(){const{host:t,slotName:r,tagName:s}=this;let i=this.defaultNode;return!i&&s&&(i=document.createElement(s),i instanceof Element&&(r!==""&&i.setAttribute("slot",r),this.node=i,this.defaultNode=i)),i&&t.appendChild(i),i}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(r=>r.nodeType===Node.ELEMENT_NODE&&r.slot===t||r.nodeType===Node.TEXT_NODE&&r.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:r}=this;r&&r(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,r=t===""?"slot:not([name])":`slot[name=${t}]`,s=this.host.shadowRoot.querySelector(r);this.__slotObserver=new Yf(s,({addedNodes:i,removedNodes:o})=>{const n=this.multiple?this.nodes:[this.node],a=i.filter(l=>!Af(l)&&!n.includes(l));o.length&&(this.nodes=n.filter(l=>!o.includes(l)),o.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
2924
+ * @license
2925
+ * Copyright (c) 2022 - 2023 Vaadin Ltd.
2926
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2927
+ */class Zf extends Qs{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,this.ariaTarget!==void 0&&(t.ariaTarget=this.ariaTarget),this.context!==void 0&&(t.context=this.context),this.manual!==void 0&&(t.manual=this.manual),this.opened!==void 0&&(t.opened=this.opened),this.position!==void 0&&(t._position=this.position),this.shouldShow!==void 0&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const r=this.node;r&&(r.ariaTarget=t)}setContext(t){this.context=t;const r=this.node;r&&(r.context=t)}setManual(t){this.manual=t;const r=this.node;r&&(r.manual=t)}setOpened(t){this.opened=t;const r=this.node;r&&(r.opened=t)}setPosition(t){this.position=t;const r=this.node;r&&(r._position=t)}setShouldShow(t){this.shouldShow=t;const r=this.node;r&&(r.shouldShow=t)}setTarget(t){this.target=t;const r=this.node;r&&(r.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
2928
+ * @license
2929
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2930
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2931
+ */const ia=oe(e=>class extends e{get _keyboardActive(){return uf()}ready(){this.addEventListener("focusin",r=>{this._shouldSetFocus(r)&&this._setFocused(!0)}),this.addEventListener("focusout",r=>{this._shouldRemoveFocus(r)&&this._setFocused(!1)}),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(r){this.toggleAttribute("focused",r),this.toggleAttribute("focus-ring",r&&this._keyboardActive)}_shouldSetFocus(r){return!0}_shouldRemoveFocus(r){return!0}});/**
2932
+ * @license
2933
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2934
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2935
+ */const oa=oe(e=>class extends e{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(r){this._setAriaDisabled(r)}_setAriaDisabled(r){r?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
2936
+ * @license
2937
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2938
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2939
+ */const Jf=e=>class extends oa(e){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(r,s){super._disabledChanged(r,s),r?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):s&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(r){this.disabled&&r!==-1&&(this._lastTabIndex=r,this.tabindex=-1)}};/**
2940
+ * @license
2941
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2942
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2943
+ */const Xf=oe(e=>class extends ia(Jf(e)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(r,s){r?(r.disabled=this.disabled,this._addFocusListeners(r),this.__forwardTabIndex(this.tabindex)):s&&this._removeFocusListeners(s)}_addFocusListeners(r){r.addEventListener("blur",this._boundOnBlur),r.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(r){r.removeEventListener("blur",this._boundOnBlur),r.removeEventListener("focus",this._boundOnFocus)}_onFocus(r){r.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(r){r.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(r){return r.target===this.focusElement}_shouldRemoveFocus(r){return r.target===this.focusElement}_disabledChanged(r,s){super._disabledChanged(r,s),this.focusElement&&(this.focusElement.disabled=r),r&&this.blur()}_tabindexChanged(r){this.__forwardTabIndex(r)}__forwardTabIndex(r){r!==void 0&&this.focusElement&&(this.focusElement.tabIndex=r,r!==-1&&(this.tabindex=void 0)),this.disabled&&r&&(r!==-1&&(this._lastTabIndex=r),this.tabindex=void 0)}});/**
2944
+ * @license
2945
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2946
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2947
+ */const ei=oe(e=>class extends e{ready(){super.ready(),this.addEventListener("keydown",r=>{this._onKeyDown(r)}),this.addEventListener("keyup",r=>{this._onKeyUp(r)})}_onKeyDown(r){switch(r.key){case"Enter":this._onEnter(r);break;case"Escape":this._onEscape(r);break}}_onKeyUp(r){}_onEnter(r){}_onEscape(r){}});/**
2948
+ * @license
2949
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2950
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2951
+ */const ts=new WeakMap;function Kf(e){return ts.has(e)||ts.set(e,new Set),ts.get(e)}function Qf(e,t){const r=document.createElement("style");r.textContent=e,t===document?document.head.appendChild(r):t.insertBefore(r,t.firstChild)}const ep=oe(e=>class extends e{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const r=this.getRootNode(),s=Kf(r);this.slotStyles.forEach(i=>{s.has(i)||(Qf(i,r),s.add(i))})}});/**
2952
+ * @license
2953
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2954
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2955
+ */const ti=oe(e=>class extends e{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0,sync:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}get _hasValue(){return this.value!=null&&this.value!==""}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(r){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=r)}clear(){this._hasInputValue=!1,this.value="",this._inputElementValue=""}_addInputListeners(r){r.addEventListener("input",this._boundOnInput),r.addEventListener("change",this._boundOnChange)}_removeInputListeners(r){r.removeEventListener("input",this._boundOnInput),r.removeEventListener("change",this._boundOnChange)}_forwardInputValue(r){this.inputElement&&(this._inputElementValue=r!=null?r:"")}_inputElementChanged(r,s){r?this._addInputListeners(r):s&&this._removeInputListeners(s)}_hasInputValueChanged(r,s){(r||s)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(r){this._setHasInputValue(r),this._onInput(r)}_onInput(r){const s=r.composedPath()[0];this.__userInput=r.isTrusted,this.value=s.value,this.__userInput=!1}_onChange(r){}_toggleHasValue(r){this.toggleAttribute("has-value",r)}_valueChanged(r,s){this._toggleHasValue(this._hasValue),!(r===""&&s===void 0)&&(this.__userInput||this._forwardInputValue(r))}_setHasInputValue(r){const s=r.composedPath()[0];this._hasInputValue=s.value.length>0}});/**
2956
+ * @license
2957
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2958
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2959
+ */const tp=e=>class extends ti(ei(e)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",r=>this._onClearButtonMouseDown(r)),this.clearElement.addEventListener("click",r=>this._onClearButtonClick(r)))}_onClearButtonClick(r){r.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(r){r.preventDefault(),ks||this.inputElement.focus()}_onEscape(r){super._onEscape(r),this.clearButtonVisible&&this.value&&(r.stopPropagation(),this._onClearAction())}_onClearAction(){this.clear(),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
2960
+ * @license
2961
+ * Copyright (c) 2023 Vaadin Ltd.
2962
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2963
+ */const rs=new Map;function ri(e){return rs.has(e)||rs.set(e,new WeakMap),rs.get(e)}function na(e,t){e&&e.removeAttribute(t)}function aa(e,t){if(!e||!t)return;const r=ri(t);if(r.has(e))return;const s=Ks(e.getAttribute(t));r.set(e,new Set(s))}function rp(e,t){if(!e||!t)return;const r=ri(t),s=r.get(e);!s||s.size===0?e.removeAttribute(t):Xn(e,t,Cr(s)),r.delete(e)}function ss(e,t,r={newId:null,oldId:null,fromUser:!1}){if(!e||!t)return;const{newId:s,oldId:i,fromUser:o}=r,n=ri(t),a=n.get(e);if(!o&&a){i&&a.delete(i),s&&a.add(s);return}o&&(a?s||n.delete(e):aa(e,t),na(e,t)),Ef(e,t,i);const l=s||Cr(a);l&&Xn(e,t,l)}function sp(e,t){aa(e,t),na(e,t)}/**
2964
+ * @license
2965
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2966
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2967
+ */class ip{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,r=!1){const s=r?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,s,r),r?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(sp(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(rp(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,r,s){ss(this.__target,"aria-labelledby",{newId:t,oldId:r,fromUser:s})}__setErrorIdToAriaAttribute(t,r){ss(this.__target,"aria-describedby",{newId:t,oldId:r,fromUser:!1})}__setHelperIdToAriaAttribute(t,r){ss(this.__target,"aria-describedby",{newId:t,oldId:r,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
2968
+ * @license
2969
+ * Copyright (c) 2022 - 2023 Vaadin Ltd.
2970
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2971
+ */class si extends Qs{constructor(t,r,s,i={}){super(t,r,s,zt(Ft({},i),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const r=this.getSlotChild();r&&r!==this.defaultNode?this.__notifyChange(r):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(r=>{r.forEach(s=>{const i=s.target,o=i===this.node;s.type==="attributes"?o&&this.__updateNodeId(i):(o||i.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const r=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||r)&&!t.id&&(t.id=this.defaultId)}}/**
2972
+ * @license
2973
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2974
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2975
+ */class op extends si{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:r,invalid:s}=this,i=!!(s&&r&&r.trim()!=="");t&&(t.textContent=i?r:"",t.hidden=!i,i?t.setAttribute("role","alert"):t.removeAttribute("role")),super.updateDefaultNode(t)}}/**
2976
+ * @license
2977
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2978
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2979
+ */class np extends si{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const r=this.attachDefaultNode();this.observeNode(r)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
2980
+ * @license
2981
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2982
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2983
+ */class ap extends si{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const r=this.attachDefaultNode();this.observeNode(r)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
2984
+ * @license
2985
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2986
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2987
+ */const lp=oe(e=>class extends Ar(e){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new ap(this),this._labelController.addEventListener("slot-content-changed",r=>{this.toggleAttribute("has-label",r.detail.hasContent)})}get _labelId(){const r=this._labelNode;return r&&r.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(r){this._labelController.setLabel(r)}});/**
2988
+ * @license
2989
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2990
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2991
+ */const ii=oe(e=>class extends e{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const r=this.checkValidity();return this._setInvalid(!r),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:r}})),r}checkValidity(){return!this.required||!!this.value}_setInvalid(r){this._shouldSetInvalid(r)&&(this.invalid=r)}_shouldSetInvalid(r){return!0}});/**
2992
+ * @license
2993
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2994
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2995
+ */const up=e=>class extends ii(lp(Ar(e))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new ip(this),this._helperController=new np(this),this._errorController=new op(this),this._errorController.addEventListener("slot-content-changed",r=>{this.toggleAttribute("has-error-message",r.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",r=>{const{hasContent:s,node:i}=r.detail;this.__labelChanged(s,i)}),this._helperController.addEventListener("slot-content-changed",r=>{const{hasContent:s,node:i}=r.detail;this.toggleAttribute("has-helper",s),this.__helperChanged(s,i)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(r,s){r?this._fieldAriaController.setHelperId(s.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(r){this._fieldAriaController.setAriaLabel(r)}_accessibleNameRefChanged(r){this._fieldAriaController.setLabelId(r,!0)}__labelChanged(r,s){r?this._fieldAriaController.setLabelId(s.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(r){this._errorController.setErrorMessage(r)}_helperTextChanged(r){this._helperController.setHelperText(r)}_ariaTargetChanged(r){r&&this._fieldAriaController.setTarget(r)}_requiredChanged(r){this._fieldAriaController.setRequired(r)}_invalidChanged(r){this._errorController.setInvalid(r),setTimeout(()=>{if(r){const s=this._errorNode;this._fieldAriaController.setErrorId(s&&s.id)}else this._fieldAriaController.setErrorId(null)})}};/**
2996
+ * @license
2997
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
2998
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2999
+ */const hp=oe(e=>class extends e{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(r){r&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(r=>{this._delegateAttribute(r,this[r])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(r=>{this._delegateProperty(r,this[r])})}_delegateAttrsChanged(...r){this.constructor.delegateAttrs.forEach((s,i)=>{this._delegateAttribute(s,r[i])})}_delegatePropsChanged(...r){this.constructor.delegateProps.forEach((s,i)=>{this._delegateProperty(s,r[i])})}_delegateAttribute(r,s){this.stateTarget&&(r==="invalid"&&this._delegateAttribute("aria-invalid",s?"true":!1),typeof s=="boolean"?this.stateTarget.toggleAttribute(r,s):s?this.stateTarget.setAttribute(r,s):this.stateTarget.removeAttribute(r))}_delegateProperty(r,s){this.stateTarget&&(this.stateTarget[r]=s)}});/**
3000
+ * @license
3001
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3002
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3003
+ */const la=oe(e=>class extends hp(ii(ti(e))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(r=>this[r]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(r){return r.some(s=>this.__isValidConstraint(s))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(r,...s){if(!r)return;const i=this._hasValidConstraints(s),o=this.__previousHasConstraints&&!i;(this._hasValue||this.invalid)&&i?this.validate():o&&this._setInvalid(!1),this.__previousHasConstraints=i}_onChange(r){r.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:r},bubbles:r.bubbles,cancelable:r.cancelable}))}__isValidConstraint(r){return!!r||r===0}});/**
3004
+ * @license
3005
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3006
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3007
+ */const cp=e=>class extends ep(Xf(la(up(tp(ei(e)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
3008
+ :is(input[slot='input'], textarea[slot='textarea'])::placeholder {
3009
+ font: inherit;
3010
+ color: inherit;
3011
+ }
3012
+ `]}_onFocus(r){super._onFocus(r),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(r){r.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:r},bubbles:r.bubbles,cancelable:r.cancelable}))}_addInputListeners(r){super._addInputListeners(r),r.addEventListener("paste",this._boundOnPaste),r.addEventListener("drop",this._boundOnDrop),r.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(r){super._removeInputListeners(r),r.removeEventListener("paste",this._boundOnPaste),r.removeEventListener("drop",this._boundOnDrop),r.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(r){super._onKeyDown(r),this.allowedCharPattern&&!this.__shouldAcceptKey(r)&&(r.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=Ee.debounce(this._preventInputDebouncer,rr.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(r){return r.metaKey||r.ctrlKey||!r.key||r.key.length!==1||this.__allowedCharRegExp.test(r.key)}_onPaste(r){if(this.allowedCharPattern){const s=r.clipboardData.getData("text");this.__allowedTextRegExp.test(s)||(r.preventDefault(),this._markInputPrevented())}}_onDrop(r){if(this.allowedCharPattern){const s=r.dataTransfer.getData("text");this.__allowedTextRegExp.test(s)||(r.preventDefault(),this._markInputPrevented())}}_onBeforeInput(r){this.allowedCharPattern&&r.data&&!this.__allowedTextRegExp.test(r.data)&&(r.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(r){if(r)try{this.__allowedCharRegExp=new RegExp(`^${r}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${r}*$`,"u")}catch(s){console.error(s)}}};/**
3013
+ * @license
3014
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3015
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3016
+ */class dp extends Qs{constructor(t,r){super(t,"input","input",{initializer:(s,i)=>{i.value&&(s.value=i.value),i.type&&s.setAttribute("type",i.type),s.id=this.defaultId,typeof r=="function"&&r(s)},useUniqueId:!0})}}/**
3017
+ * @license
3018
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3019
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3020
+ */class fp{constructor(t,r){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),r.addEventListener("slot-content-changed",s=>{this.__initLabel(s.detail.node)}),this.__initLabel(r.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=r=>{r.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}/**
3021
+ * @license
3022
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3023
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3024
+ */const pp=e=>class extends la(e){static get properties(){return{pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"pattern"]}static get constraints(){return[...super.constraints,"pattern"]}};/**
3025
+ * @license
3026
+ * Copyright (c) 2021 - 2023 Vaadin Ltd..
3027
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3028
+ */const mp=E`
3029
+ [part='clear-button'] {
3030
+ display: none;
3031
+ cursor: default;
3032
+ }
3033
+
3034
+ [part='clear-button']::before {
3035
+ content: '\\2715';
3036
+ }
3037
+
3038
+ :host([clear-button-visible][has-value]:not([disabled]):not([readonly])) [part='clear-button'] {
3039
+ display: block;
3040
+ }
3041
+ `;/**
3042
+ * @license
3043
+ * Copyright (c) 2021 - 2023 Vaadin Ltd..
3044
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3045
+ */const _p=E`
3046
+ :host {
3047
+ display: inline-flex;
3048
+ outline: none;
3049
+ }
3050
+
3051
+ :host::before {
3052
+ content: '\\2003';
3053
+ width: 0;
3054
+ display: inline-block;
3055
+ /* Size and position this element on the same vertical position as the input-field element
3056
+ to make vertical align for the host element work as expected */
3057
+ }
3058
+
3059
+ :host([hidden]) {
3060
+ display: none !important;
3061
+ }
3062
+
3063
+ :host(:not([has-label])) [part='label'] {
3064
+ display: none;
3065
+ }
3066
+
3067
+ @media (forced-colors: active) {
3068
+ :host(:not([readonly])) [part='input-field'] {
3069
+ outline: 1px solid;
3070
+ outline-offset: -1px;
3071
+ }
3072
+ :host([focused]) [part='input-field'] {
3073
+ outline-width: 2px;
3074
+ }
3075
+ :host([disabled]) [part='input-field'] {
3076
+ outline-color: GrayText;
3077
+ }
3078
+ }
3079
+ `;/**
3080
+ * @license
3081
+ * Copyright (c) 2021 - 2023 Vaadin Ltd..
3082
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3083
+ */const gp=E`
3084
+ [class$='container'] {
3085
+ display: flex;
3086
+ flex-direction: column;
3087
+ min-width: 100%;
3088
+ max-width: 100%;
3089
+ width: var(--vaadin-field-default-width, 12em);
3090
+ }
3091
+ `;/**
3092
+ * @license
3093
+ * Copyright (c) 2021 - 2023 Vaadin Ltd..
3094
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3095
+ */const bp=[_p,gp,mp];/**
3096
+ * @license
3097
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
3098
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3099
+ */const vp=e=>class extends e{static get properties(){return{pageSize:{type:Number,value:50,observer:"_pageSizeChanged"},size:{type:Number,observer:"_sizeChanged"},dataProvider:{type:Object,observer:"_dataProviderChanged"},_pendingRequests:{value:()=>({})},__placeHolder:{value:new it},__previousDataProviderFilter:{type:String}}}static get observers(){return["_dataProviderFilterChanged(filter)","_warnDataProviderValue(dataProvider, value)","_ensureFirstPage(opened)"]}ready(){super.ready(),this._scroller.addEventListener("index-requested",r=>{const s=r.detail.index,i=r.detail.currentScrollerPos,o=Math.floor(this.pageSize*1.5);if(!this._shouldSkipIndex(s,o,i)&&s!==void 0){const n=this._getPageForIndex(s);this._shouldLoadPage(n)&&this._loadPage(n)}})}_dataProviderFilterChanged(r){if(this.__previousDataProviderFilter===void 0&&r===""){this.__previousDataProviderFilter=r;return}this.__previousDataProviderFilter!==r&&(this.__previousDataProviderFilter=r,this._pendingRequests={},this.loading=this._shouldFetchData(),this.size=void 0,this.clearCache())}_shouldFetchData(){return this.dataProvider?this.opened||this.filter&&this.filter.length:!1}_ensureFirstPage(r){r&&this._shouldLoadPage(0)&&this._loadPage(0)}_shouldSkipIndex(r,s,i){return i!==0&&r>=i-s&&r<=i+s}_shouldLoadPage(r){if(!this.filteredItems||this._forceNextRequest)return this._forceNextRequest=!1,!0;const s=this.filteredItems[r*this.pageSize];return s!==void 0?s instanceof it:this.size===void 0}_loadPage(r){if(this._pendingRequests[r]||!this.dataProvider)return;const s={page:r,pageSize:this.pageSize,filter:this.filter},i=(o,n)=>{if(this._pendingRequests[r]!==i)return;const a=this.filteredItems?[...this.filteredItems]:[];a.splice(s.page*s.pageSize,o.length,...o),this.filteredItems=a,!this.opened&&!this._isInputFocused()&&this._commitValue(),n!==void 0&&(this.size=n),delete this._pendingRequests[r],Object.keys(this._pendingRequests).length===0&&(this.loading=!1)};this._pendingRequests[r]=i,this.loading=!0,this.dataProvider(s,i)}_getPageForIndex(r){return Math.floor(r/this.pageSize)}clearCache(){if(!this.dataProvider)return;this._pendingRequests={};const r=[];for(let s=0;s<(this.size||0);s++)r.push(this.__placeHolder);this.filteredItems=r,this._shouldFetchData()?(this._forceNextRequest=!1,this._loadPage(0)):this._forceNextRequest=!0}_sizeChanged(r=0){const s=(this.filteredItems||[]).slice(0,r);for(let i=0;i<r;i++)s[i]=s[i]!==void 0?s[i]:this.__placeHolder;this.filteredItems=s,this._flushPendingRequests(r)}_pageSizeChanged(r,s){if(Math.floor(r)!==r||r<1)throw this.pageSize=s,new Error("`pageSize` value must be an integer > 0");this.clearCache()}_dataProviderChanged(r,s){this._ensureItemsOrDataProvider(()=>{this.dataProvider=s}),this.clearCache()}_ensureItemsOrDataProvider(r){if(this.items!==void 0&&this.dataProvider!==void 0)throw r(),new Error("Using `items` and `dataProvider` together is not supported");this.dataProvider&&!this.filteredItems&&(this.filteredItems=[])}_warnDataProviderValue(r,s){if(r&&s!==""&&(this.selectedItem===void 0||this.selectedItem===null)){const i=this.__getItemIndexByValue(this.filteredItems,s);(i<0||!this._getItemLabel(this.filteredItems[i]))&&console.warn("Warning: unable to determine the label for the provided `value`. Nothing to display in the text field. This usually happens when setting an initial `value` before any items are returned from the `dataProvider` callback. Consider setting `selectedItem` instead of `value`")}}_flushPendingRequests(r){if(this._pendingRequests){const s=Math.ceil(r/this.pageSize);Object.entries(this._pendingRequests).forEach(([i,o])=>{parseInt(i)>=s&&o([],r)})}}};/**
3100
+ * @license
3101
+ * Copyright (c) 2023 Vaadin Ltd.
3102
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3103
+ */const yp=e=>class extends e{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(r,s){if(!s||r===void 0)return;const{classList:i}=s;if(this.__initialClasses||(this.__initialClasses=new Set(i)),Array.isArray(this.__previousClasses)){const n=this.__previousClasses.filter(a=>!this.__initialClasses.has(a));n.length>0&&i.remove(...n)}const o=typeof r=="string"?r.split(" "):[];o.length>0&&i.add(...o),this.__previousClasses=o}};/**
3104
+ * @license
3105
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3106
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3107
+ */function wp(e){if(window.Vaadin&&window.Vaadin.templateRendererCallback){window.Vaadin.templateRendererCallback(e);return}e.querySelector("template")&&console.warn(`WARNING: <template> inside <${e.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`)}/**
3108
+ * @license
3109
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
3110
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3111
+ */class xp{constructor(t){this.host=t,t.addEventListener("opened-changed",()=>{t.opened||this.__setVirtualKeyboardEnabled(!1)}),t.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),t.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(t){this.host.inputElement&&(this.host.inputElement.inputMode=t?"":"none")}}/**
3112
+ * @license
3113
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
3114
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3115
+ */function yo(e){return e!=null}function wo(e,t){return e.findIndex(r=>r instanceof it?!1:t(r))}const Pp=e=>class extends yp(Ar(ii(ia(ei(ti(oa(e))))))){static get properties(){return{opened:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0,observer:"_openedChanged"},autoOpenDisabled:{type:Boolean},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:Function,items:{type:Array,observer:"_itemsChanged"},allowCustomValue:{type:Boolean,value:!1},filteredItems:{type:Array,observer:"_filteredItemsChanged"},_lastCommittedValue:String,loading:{type:Boolean,value:!1,reflectToAttribute:!0},_focusedIndex:{type:Number,observer:"_focusedIndexChanged",value:-1},filter:{type:String,value:"",notify:!0},selectedItem:{type:Object,notify:!0},itemLabelPath:{type:String,value:"label",observer:"_itemLabelPathChanged"},itemValuePath:{type:String,value:"value"},itemIdPath:String,_toggleElement:{type:Object,observer:"_toggleElementChanged"},_dropdownItems:{type:Array},_closeOnBlurIsPrevented:Boolean,_scroller:Object,_overlayOpened:{type:Boolean,observer:"_overlayOpenedChanged"}}}static get observers(){return["_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)","_openedOrItemsChanged(opened, _dropdownItems, loading)","_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, theme)"]}constructor(){super(),this._boundOverlaySelectedItemChanged=this._overlaySelectedItemChanged.bind(this),this._boundOnClearButtonMouseDown=this.__onClearButtonMouseDown.bind(this),this._boundOnClick=this._onClick.bind(this),this._boundOnOverlayTouchAction=this._onOverlayTouchAction.bind(this),this._boundOnTouchend=this._onTouchend.bind(this)}get _tagNamePrefix(){return"vaadin-combo-box"}get _nativeInput(){return this.inputElement}_inputElementChanged(r){super._inputElementChanged(r);const s=this._nativeInput;s&&(s.autocomplete="off",s.autocapitalize="off",s.setAttribute("role","combobox"),s.setAttribute("aria-autocomplete","list"),s.setAttribute("aria-expanded",!!this.opened),s.setAttribute("spellcheck","false"),s.setAttribute("autocorrect","off"),this._revertInputValueToValue(),this.clearElement&&this.clearElement.addEventListener("mousedown",this._boundOnClearButtonMouseDown))}ready(){super.ready(),this._initOverlay(),this._initScroller(),this._lastCommittedValue=this.value,this.addEventListener("click",this._boundOnClick),this.addEventListener("touchend",this._boundOnTouchend);const r=()=>{requestAnimationFrame(()=>{this._overlayElement.bringToFront()})};this.addEventListener("mousedown",r),this.addEventListener("touchstart",r),wp(this),this.addController(new xp(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){this._scroller&&(this._scroller.requestContentUpdate(),this._getItemElements().forEach(r=>{r.requestContentUpdate()}))}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(r,s,i){super._propertiesChanged(r,s,i),s.filter!==void 0&&this._filterChanged(s.filter)}_initOverlay(){const r=this.$.overlay;r._comboBox=this,r.addEventListener("touchend",this._boundOnOverlayTouchAction),r.addEventListener("touchmove",this._boundOnOverlayTouchAction),r.addEventListener("mousedown",s=>s.preventDefault()),r.addEventListener("opened-changed",s=>{this._overlayOpened=s.detail.value}),this._overlayElement=r}_initScroller(r){const s=`${this._tagNamePrefix}-scroller`,i=this._overlayElement;i.renderer=n=>{n.firstChild||n.appendChild(document.createElement(s))},i.requestContentUpdate();const o=i.querySelector(s);o.owner=r||this,o.getItemLabel=this._getItemLabel.bind(this),o.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged),this._scroller=o}_updateScroller(r,s,i,o,n,a,l,u,h){r&&(i&&(r.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),r.setProperties({items:i?s:[],opened:i,loading:o,selectedItem:n,itemIdPath:a,focusedIndex:l,renderer:u,theme:h}))}_openedOrItemsChanged(r,s,i){this._overlayOpened=!!(r&&(i||s&&s.length))}_overlayOpenedChanged(r,s){r?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):s&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(r,s){s!==void 0&&this._updateActiveDescendant(r)}_isInputFocused(){return this.inputElement&&Zn(this.inputElement)}_updateActiveDescendant(r){const s=this._nativeInput;if(!s)return;const i=this._getItemElements().find(o=>o.index===r);i?s.setAttribute("aria-activedescendant",i.id):s.removeAttribute("aria-activedescendant")}_openedChanged(r,s){if(s===void 0)return;r?(this._openedWithFocusRing=this.hasAttribute("focus-ring"),!this._isInputFocused()&&!ks&&this.inputElement&&this.inputElement.focus(),this._overlayElement.restoreFocusOnClose=!0):(this._onClosed(),this._openedWithFocusRing&&this._isInputFocused()&&this.setAttribute("focus-ring",""));const i=this._nativeInput;i&&(i.setAttribute("aria-expanded",!!r),r?i.setAttribute("aria-controls",this._scroller.id):i.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(r){return r.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(r){r.preventDefault(),this.inputElement.focus()}_onClearButtonClick(r){r.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(r){r.preventDefault(),this.opened?this.close():this.open()}_onHostClick(r){this.autoOpenDisabled||(r.preventDefault(),this.open())}_onClick(r){this._isClearButton(r)?this._onClearButtonClick(r):r.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(r):this._onHostClick(r)}_onKeyDown(r){super._onKeyDown(r),r.key==="Tab"?this._overlayElement.restoreFocusOnClose=!1:r.key==="ArrowDown"?(this._onArrowDown(),r.preventDefault()):r.key==="ArrowUp"&&(this._onArrowUp(),r.preventDefault())}_getItemLabel(r){let s=r&&this.itemLabelPath?dr(this.itemLabelPath,r):void 0;return s==null&&(s=r?r.toString():""),s}_getItemValue(r){let s=r&&this.itemValuePath?dr(this.itemValuePath,r):void 0;return s===void 0&&(s=r?r.toString():""),s}_onArrowDown(){if(this.opened){const r=this._dropdownItems;r&&(this._focusedIndex=Math.min(r.length-1,this._focusedIndex+1),this._prefillFocusedItemLabel())}else this.open()}_onArrowUp(){if(this.opened){if(this._focusedIndex>-1)this._focusedIndex=Math.max(0,this._focusedIndex-1);else{const r=this._dropdownItems;r&&(this._focusedIndex=r.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){if(this._focusedIndex>-1){const r=this._dropdownItems[this._focusedIndex];this._inputElementValue=this._getItemLabel(r),this._markAllSelectionRange()}}_setSelectionRange(r,s){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(r,s)}_markAllSelectionRange(){this._inputElementValue!==void 0&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(this._inputElementValue!==void 0){const r=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(r,r)}}_closeOrCommit(){!this.opened&&!this.loading?this._commitValue():this.close()}_onEnter(r){const s=this._focusedIndex<0&&this._inputElementValue!==""&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;if(!this.allowCustomValue&&s){r.preventDefault(),r.stopPropagation();return}this.opened&&(r.preventDefault(),r.stopPropagation()),this._closeOrCommit()}_onEscape(r){this.autoOpenDisabled?this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0?(r.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.clearButtonVisible&&!this.opened&&this.value&&(r.stopPropagation(),this._onClearAction()):this.opened?(r.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&this.value&&(r.stopPropagation(),this._onClearAction())}_toggleElementChanged(r){r&&(r.addEventListener("mousedown",s=>s.preventDefault()),r.addEventListener("click",()=>{ks&&!this._isInputFocused()&&document.activeElement.blur()}))}_onClearAction(){this.selectedItem=null,this.allowCustomValue&&(this.value=""),this._detectAndDispatchChange()}cancel(){this._revertInputValueToValue(),this._lastCommittedValue=this.value,this._closeOrCommit()}_onOpened(){this._lastCommittedValue=this.value}_onClosed(){(!this.loading||this.allowCustomValue)&&this._commitValue()}_commitValue(){if(this._focusedIndex>-1){const r=this._dropdownItems[this._focusedIndex];this.selectedItem!==r&&(this.selectedItem=r),this._inputElementValue=this._getItemLabel(this.selectedItem),this._focusedIndex=-1}else if(this._inputElementValue===""||this._inputElementValue===void 0)this.selectedItem=null,this.allowCustomValue&&(this.value="");else{const r=[this.selectedItem,...this._dropdownItems||[]],s=r[this.__getItemIndexByLabel(r,this._inputElementValue)];if(this.allowCustomValue&&!s){const i=this._inputElementValue;this._lastCustomValue=i;const o=new CustomEvent("custom-value-set",{detail:i,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(o),o.defaultPrevented||(this.value=i)}else!this.allowCustomValue&&!this.opened&&s?this.value=this._getItemValue(s):this._inputElementValue=this.selectedItem?this._getItemLabel(this.selectedItem):this.value||""}this._detectAndDispatchChange(),this._clearSelectionRange(),this.filter=""}_onInput(r){const s=this._inputElementValue,i={};this.filter===s?this._filterChanged(this.filter):i.filter=s,!this.opened&&!this._isClearButton(r)&&!this.autoOpenDisabled&&(i.opened=!0),this.setProperties(i)}_onChange(r){r.stopPropagation()}_itemLabelPathChanged(r){typeof r!="string"&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(r){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,r):this._filteredItemsChanged(this.filteredItems)}_revertInputValue(){this.filter!==""?this._inputElementValue=this.filter:this._revertInputValueToValue(),this._clearSelectionRange()}_revertInputValueToValue(){this.allowCustomValue&&!this.selectedItem?this._inputElementValue=this.value:this._inputElementValue=this._getItemLabel(this.selectedItem)}_selectedItemChanged(r){if(r==null)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const s=this._getItemValue(r);if(this.value!==s&&(this.value=s,this.value!==s))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(r)}}_valueChanged(r,s){r===""&&s===void 0||(yo(r)?(this._getItemValue(this.selectedItem)!==r&&this._selectItemForValue(r),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=r),this._toggleHasValue(this._hasValue)):this.selectedItem=null,this.filter="",this._lastCommittedValue=void 0)}_detectAndDispatchChange(){document.hasFocus()&&this.validate(),this.value!==this._lastCommittedValue&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this._lastCommittedValue=this.value)}_itemsChanged(r,s){this._ensureItemsOrDataProvider(()=>{this.items=s}),r?this.filteredItems=r.slice(0):s&&(this.filteredItems=null)}_filteredItemsChanged(r,s){this._setDropdownItems(r);const i=s?s[this._focusedIndex]:null,o=this.__getItemIndexByValue(r,this.value);(this.selectedItem===null||this.selectedItem===void 0)&&o>=0&&(this.selectedItem=r[o]);const n=this.__getItemIndexByValue(r,this._getItemValue(i));n>-1?this._focusedIndex=n:this._focusedIndex=this.__getItemIndexByLabel(this.filteredItems,this.filter)}_filterItems(r,s){return r&&r.filter(o=>(s=s?s.toString().toLowerCase():"",this._getItemLabel(o).toString().toLowerCase().indexOf(s)>-1))}_selectItemForValue(r){const s=this.__getItemIndexByValue(this.filteredItems,r),i=this.selectedItem;s>=0?this.selectedItem=this.filteredItems[s]:this.dataProvider&&this.selectedItem===void 0?this.selectedItem=void 0:this.selectedItem=null,this.selectedItem===null&&i===null&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(r){this._dropdownItems=r}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(r){this._scroller&&this._scroller.scrollIntoView(r)}__getItemIndexByValue(r,s){return!r||!yo(s)?-1:wo(r,i=>this._getItemValue(i)===s)}__getItemIndexByLabel(r,s){return!r||!s?-1:wo(r,i=>this._getItemLabel(i).toString().toLowerCase()===s.toString().toLowerCase())}_overlaySelectedItemChanged(r){r.stopPropagation(),!(r.detail.item instanceof it)&&this.opened&&(this._focusedIndex=this.filteredItems.indexOf(r.detail.item),this.close())}_setFocused(r){if(super._setFocused(r),!r&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue){delete this._lastCustomValue;return}this._closeOrCommit()}}_shouldRemoveFocus(r){return r.relatedTarget&&r.relatedTarget.localName===`${this._tagNamePrefix}-item`?!1:r.relatedTarget===this._overlayElement?(r.composedPath()[0].focus(),!1):!0}_onTouchend(r){!this.clearElement||r.composedPath()[0]!==this.clearElement||(r.preventDefault(),this._onClearAction())}};/**
3116
+ * @license
3117
+ * Copyright (c) 2015 - 2023 Vaadin Ltd.
3118
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3119
+ */te("vaadin-combo-box",bp,{moduleId:"vaadin-combo-box-styles"});class Ep extends vp(Pp(pp(cp(yr(qf(Lt)))))){static get is(){return"vaadin-combo-box"}static get template(){return Mt`
3120
+ <style>
3121
+ :host([opened]) {
3122
+ pointer-events: auto;
3123
+ }
3124
+ </style>
3125
+
3126
+ <div class="vaadin-combo-box-container">
3127
+ <div part="label">
3128
+ <slot name="label"></slot>
3129
+ <span part="required-indicator" aria-hidden="true" on-click="focus"></span>
3130
+ </div>
3131
+
3132
+ <vaadin-input-container
3133
+ part="input-field"
3134
+ readonly="[[readonly]]"
3135
+ disabled="[[disabled]]"
3136
+ invalid="[[invalid]]"
3137
+ theme$="[[_theme]]"
3138
+ >
3139
+ <slot name="prefix" slot="prefix"></slot>
3140
+ <slot name="input"></slot>
3141
+ <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
3142
+ <div id="toggleButton" part="toggle-button" slot="suffix" aria-hidden="true"></div>
3143
+ </vaadin-input-container>
3144
+
3145
+ <div part="helper-text">
3146
+ <slot name="helper"></slot>
3147
+ </div>
3148
+
3149
+ <div part="error-message">
3150
+ <slot name="error-message"></slot>
3151
+ </div>
3152
+ </div>
3153
+
3154
+ <vaadin-combo-box-overlay
3155
+ id="overlay"
3156
+ opened="[[_overlayOpened]]"
3157
+ loading$="[[loading]]"
3158
+ theme$="[[_theme]]"
3159
+ position-target="[[_positionTarget]]"
3160
+ no-vertical-overlap
3161
+ restore-focus-node="[[inputElement]]"
3162
+ ></vaadin-combo-box-overlay>
3163
+
3164
+ <slot name="tooltip"></slot>
3165
+ `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new dp(this,t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t})),this.addController(new fp(this.inputElement,this._labelController)),this._tooltipController=new Zf(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(t=>!t.opened),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(t){t.stopPropagation(),super._onClearButtonClick(t)}_onHostClick(t){const r=t.composedPath();(r.includes(this._labelNode)||r.includes(this._positionTarget))&&super._onHostClick(t)}}ke(Ep);const{document:xo}=qa;function Ap(e){Ya(e,"svelte-8ll60n",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input,select{font-family:inherit}.GeneralPlayerForgotPasswordForm{height:auto}.GeneralPlayerForgotPasswordForm .ModalLoaderWrapper{display:flex;height:100%;align-items:center}.GeneralPlayerForgotPasswordForm .ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.GeneralPlayerForgotPasswordForm .ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}.backButtonForgotPassword{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:24px;line-height:24px;border-radius:var(--emw--border-radius-medium, 15px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-weight:var(--emw--font-weight-light, 300);padding-top:14px}.FormRequired{color:var(--emw--color-error, #ed0909)}.ForgotPasswordError{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail .dobFormatError,.NewPassword .dobFormatError,.ConfirmPassword .dobFormatError{padding:20px;width:100%;text-align:center;color:var(--emw--color-error, #ed0909)}.ResetPasswordByEmail .DobContainer,.NewPassword .DobContainer,.ConfirmPassword .DobContainer{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.ResetPasswordByEmail .DobContainer .datePickerBox,.NewPassword .DobContainer .datePickerBox,.ConfirmPassword .DobContainer .datePickerBox{width:100%;padding:10px}.ResetPasswordByEmail .DobContainer .datePickerBox input,.NewPassword .DobContainer .datePickerBox input,.ConfirmPassword .DobContainer .datePickerBox input{border:0px;background:transparent}.ResetPasswordByEmail .DobContainer.Mobile,.NewPassword .DobContainer.Mobile,.ConfirmPassword .DobContainer.Mobile{flex-direction:column}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.ResetPasswordByEmail input:focus,.NewPassword input:focus,.ConfirmPassword input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.ResetPasswordByEmail.InvalidField input,.NewPassword.InvalidField input,.ConfirmPassword.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.resetPasswordButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.resetPasswordButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.ResetPasswordByEmail .InvalidInput{bottom:-3px}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emw--color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function Po(e,t,r){const s=e.slice();return s[89]=t[r],s}function Eo(e){let t,r;return{c(){t=x("script"),ci(t.src,r="//www.google.com/recaptcha/api.js?render="+e[0])||d(t,"src",r),t.async=!0,t.defer=!0},m(s,i){D(s,t,i)},p(s,i){i[0]&1&&!ci(t.src,r="//www.google.com/recaptcha/api.js?render="+s[0])&&d(t,"src",r)},d(s){s&&k(t)}}}function Cp(e){let t,r;function s(n,a){if(n[5])return Np;if(n[7])return Op;if(n[9])return Ip;if(n[10])return Tp}let i=s(e),o=i&&i(e);return{c(){t=x("div"),o&&o.c(),d(t,"class",r="FormContainer "+(e[11]?"FormMobileContainer":""))},m(n,a){D(n,t,a),o&&o.m(t,null)},p(n,a){i===(i=s(n))&&o?o.p(n,a):(o&&o.d(1),o=i&&i(n),o&&(o.c(),o.m(t,null))),a[0]&2048&&r!==(r="FormContainer "+(n[11]?"FormMobileContainer":""))&&d(t,"class",r)},d(n){n&&k(t),o&&o.d()}}}function Sp(e){let t;return{c(){t=x("div"),t.innerHTML='<div class="ModalLoader"></div>',d(t,"class","ModalLoaderWrapper")},m(r,s){D(r,t,s)},p:xe,d(r){r&&k(t)}}}function Tp(e){let t,r,s,i,o,n,a,l,u,h,c,f,m,g,_,P=e[30]("forgotChangePasswordTitle")+"",w,v,C,A=e[30]("forgotChangePasswordDescription")+"",B,H,F,me=e[30]("forgotChangePasswordLogin")+"",W,de,X;return{c(){t=x("div"),r=x("div"),s=x("div"),i=y("svg"),o=y("defs"),n=y("style"),a=N(".a{fill:var(--emw--color-valid, var(--emw--color-valid, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emw--color-valid, var(--emw--color-green, #48952a));stroke-width:2px;}.c{stroke:none;}"),l=y("g"),u=y("g"),h=y("path"),c=y("g"),f=y("circle"),m=y("circle"),g=V(),_=x("h4"),w=N(P),v=V(),C=x("p"),B=N(A),H=V(),F=x("button"),W=N(me),d(h,"class","a"),d(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),d(h,"transform","translate(264.272 482.563)"),d(u,"transform","translate(-7360.574 8503.438)"),d(f,"class","c"),d(f,"cx","30"),d(f,"cy","30"),d(f,"r","30"),d(m,"class","d"),d(m,"cx","30"),d(m,"cy","30"),d(m,"r","29"),d(c,"class","b"),d(c,"transform","translate(-7106 8970)"),d(l,"transform","translate(7106 -8970)"),d(i,"xmlns","http://www.w3.org/2000/svg"),d(i,"width","60"),d(i,"height","60"),d(i,"viewBox","0 0 60 60"),d(s,"class","NewPasswordSuccess"),d(s,"part","NewPasswordSuccess"),d(F,"class","resetPasswordButton"),d(F,"part","resetPasswordButton"),d(r,"class","FormContent"),d(r,"part","FormContent"),d(t,"class","FormForgotPassword"),d(t,"part","FormForgotPassword")},m(ne,re){D(ne,t,re),p(t,r),p(r,s),p(s,i),p(i,o),p(o,n),p(n,a),p(i,l),p(l,u),p(u,h),p(l,c),p(c,f),p(c,m),p(s,g),p(s,_),p(_,w),p(s,v),p(s,C),p(C,B),p(r,H),p(r,F),p(F,W),de||(X=ie(F,"click",e[67]),de=!0)},p(ne,re){re[0]&1073741824&&P!==(P=ne[30]("forgotChangePasswordTitle")+"")&&J(w,P),re[0]&1073741824&&A!==(A=ne[30]("forgotChangePasswordDescription")+"")&&J(B,A),re[0]&1073741824&&me!==(me=ne[30]("forgotChangePasswordLogin")+"")&&J(W,me)},d(ne){ne&&k(t),de=!1,X()}}}function Ip(e){let t,r,s,i,o,n,a,l,u,h=e[30]("forgotNewPasswordPassword")+"",c,f,m,g,_,P,w,v,C,A,B,H=e[30]("forgotNewPasswordConfirmPassword")+"",F,me,W,de,X,ne,re,Pe,Ae,q,ue=e[30]("forgotNewPasswordButton")+"",_e,fe,ye,ge,S=e[26]&&Ao(e);function U(be,M){return be[20]?Bp:kp}let G=U(e),ae=G(e),Y=e[16]&&Co(e);function he(be,M){return be[21]?Dp:Rp}let T=he(e),z=T(e),Z=e[17]&&So(e),se=e[24]&&To(e);return{c(){t=x("div"),r=x("div"),s=x("h4"),i=N(e[25]),o=V(),S&&S.c(),n=V(),a=x("form"),l=x("div"),u=x("label"),c=N(h),f=N(":"),m=x("span"),m.textContent="*",g=V(),_=x("input"),w=V(),ae.c(),v=V(),Y&&Y.c(),C=V(),A=x("div"),B=x("label"),F=N(H),me=N(":"),W=x("span"),W.textContent="*",de=V(),X=x("input"),ne=V(),z.c(),re=V(),Z&&Z.c(),Pe=V(),se&&se.c(),Ae=V(),q=x("button"),_e=N(ue),d(s,"class","FormHeaderTitle"),d(s,"part","FormHeaderTitle"),d(r,"class","FormHeader"),d(r,"part","FormHeader"),d(m,"class","FormRequired"),d(m,"part","FormRequired"),d(u,"for","NewPassword"),d(_,"type","password"),d(_,"id","new-password"),d(_,"autocomplete",P=e[2]?"new-password":"off"),d(l,"class","NewPassword"),d(l,"part","NewPassword"),d(W,"class","FormRequired"),d(W,"part","FormRequired"),d(B,"for","RetypePassword"),d(X,"type","password"),d(X,"id","RetypePassword"),d(A,"class","ConfirmPassword"),d(A,"part","ConfirmPassword"),d(q,"class","resetPasswordButton"),d(q,"part","resetPasswordButton"),q.disabled=fe=!e[15],d(a,"class","FormContent"),d(a,"part","FormContent"),d(t,"class","FormForgotPassword test"),d(t,"part","FormForgotPassword test")},m(be,M){D(be,t,M),p(t,r),p(r,s),p(s,i),p(r,o),S&&S.m(r,null),p(t,n),p(t,a),p(a,l),p(l,u),p(u,c),p(u,f),p(u,m),p(l,g),p(l,_),We(_,e[22]),e[59](_),p(l,w),ae.m(l,null),p(l,v),Y&&Y.m(l,null),p(a,C),p(a,A),p(A,B),p(B,F),p(B,me),p(B,W),p(A,de),p(A,X),We(X,e[23]),e[63](X),p(A,ne),z.m(A,null),p(A,re),Z&&Z.m(A,null),p(a,Pe),se&&se.m(a,null),p(a,Ae),p(a,q),p(q,_e),ye||(ge=[ie(_,"input",e[58]),ie(_,"keyup",function(){xt(e[40](e[16],e[22],e[18]))&&e[40](e[16],e[22],e[18]).apply(this,arguments)}),ie(X,"input",e[62]),ie(X,"keyup",function(){xt(e[40](e[17],e[23],e[19]))&&e[40](e[17],e[23],e[19]).apply(this,arguments)}),ie(q,"click",e[66])],ye=!0)},p(be,M){e=be,M[0]&33554432&&J(i,e[25]),e[26]?S?S.p(e,M):(S=Ao(e),S.c(),S.m(r,null)):S&&(S.d(1),S=null),M[0]&1073741824&&h!==(h=e[30]("forgotNewPasswordPassword")+"")&&J(c,h),M[0]&4&&P!==(P=e[2]?"new-password":"off")&&d(_,"autocomplete",P),M[0]&4194304&&_.value!==e[22]&&We(_,e[22]),G===(G=U(e))&&ae?ae.p(e,M):(ae.d(1),ae=G(e),ae&&(ae.c(),ae.m(l,v))),e[16]?Y?Y.p(e,M):(Y=Co(e),Y.c(),Y.m(l,null)):Y&&(Y.d(1),Y=null),M[0]&1073741824&&H!==(H=e[30]("forgotNewPasswordConfirmPassword")+"")&&J(F,H),M[0]&8388608&&X.value!==e[23]&&We(X,e[23]),T===(T=he(e))&&z?z.p(e,M):(z.d(1),z=T(e),z&&(z.c(),z.m(A,re))),e[17]?Z?Z.p(e,M):(Z=So(e),Z.c(),Z.m(A,null)):Z&&(Z.d(1),Z=null),e[24]?se?se.p(e,M):(se=To(e),se.c(),se.m(a,Ae)):se&&(se.d(1),se=null),M[0]&1073741824&&ue!==(ue=e[30]("forgotNewPasswordButton")+"")&&J(_e,ue),M[0]&32768&&fe!==(fe=!e[15])&&(q.disabled=fe)},d(be){be&&k(t),S&&S.d(),e[59](null),ae.d(),Y&&Y.d(),e[63](null),z.d(),Z&&Z.d(),se&&se.d(),ye=!1,De(ge)}}}function Op(e){let t,r,s,i,o,n,a,l,u,h,c,f,m,g,_,P=e[30]("forgotPasswordSuccess")+"",w,v,C,A=e[30]("forgotPasswordSuccessDescription")+"",B;return{c(){t=x("div"),r=x("div"),s=x("div"),i=y("svg"),o=y("defs"),n=y("style"),a=N(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),l=y("g"),u=y("g"),h=y("path"),c=y("g"),f=y("circle"),m=y("circle"),g=V(),_=x("h4"),w=N(P),v=V(),C=x("p"),B=N(A),d(h,"class","a"),d(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),d(h,"transform","translate(264.272 482.563)"),d(u,"transform","translate(-7360.574 8503.438)"),d(f,"class","c"),d(f,"cx","30"),d(f,"cy","30"),d(f,"r","30"),d(m,"class","d"),d(m,"cx","30"),d(m,"cy","30"),d(m,"r","29"),d(c,"class","b"),d(c,"transform","translate(-7106 8970)"),d(l,"transform","translate(7106 -8970)"),d(i,"xmlns","http://www.w3.org/2000/svg"),d(i,"width","60"),d(i,"height","60"),d(i,"viewBox","0 0 60 60"),d(s,"class","NewPasswordSuccess"),d(s,"part","NewPasswordSuccess"),d(r,"class","FormContent"),d(r,"part","FormContent"),d(t,"class","FormForgotPassword"),d(t,"part","FormForgotPassword")},m(H,F){D(H,t,F),p(t,r),p(r,s),p(s,i),p(i,o),p(o,n),p(n,a),p(i,l),p(l,u),p(u,h),p(l,c),p(c,f),p(c,m),p(s,g),p(s,_),p(_,w),p(s,v),p(s,C),p(C,B)},p(H,F){F[0]&1073741824&&P!==(P=H[30]("forgotPasswordSuccess")+"")&&J(w,P),F[0]&1073741824&&A!==(A=H[30]("forgotPasswordSuccessDescription")+"")&&J(B,A)},d(H){H&&k(t)}}}function Np(e){let t,r,s,i,o,n,a,l,u,h=e[30]("goToLogin")+"",c,f,m,g,_,P,w,v,C,A=e[30]("forgotPasswordEmail")+"",B,H,F,me,W,de,X,ne,re,Pe,Ae,q,ue=e[30]("forgotPasswordReset")+"",_e,fe,ye,ge,S=e[26]&&Io(e),U=e[12]&&Oo(e),G=e[6]&&No(e);function ae(T,z){return T[28]?Hp:Fp}let Y=ae(e),he=Y(e);return{c(){t=x("div"),r=x("div"),s=x("button"),i=y("svg"),o=y("defs"),n=y("style"),a=N(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"),l=y("path"),u=V(),c=N(h),f=V(),m=x("h4"),g=N(e[25]),_=V(),S&&S.c(),P=V(),w=x("form"),v=x("div"),C=x("label"),B=N(A),H=N(":"),F=x("span"),F.textContent="*",me=V(),W=x("input"),de=V(),U&&U.c(),X=V(),G&&G.c(),ne=V(),he.c(),Ae=V(),q=x("button"),_e=N(ue),d(l,"class","a"),d(l,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),d(l,"transform","translate(24 24) rotate(180)"),d(i,"xmlns","http://www.w3.org/2000/svg"),d(i,"viewBox","0 0 24 24"),d(s,"class","backButtonForgotPassword"),d(m,"class","FormHeaderTitle"),d(m,"part","FormHeaderTitle"),d(r,"class","FormHeader"),d(F,"class","FormRequired"),d(F,"part","FormRequired"),d(C,"for","ResetPasswordByEmail"),d(W,"type","text"),d(W,"id","ResetPasswordByEmail"),d(v,"class",re="ResetPasswordByEmail "+(e[12]?"InvalidField":"")),d(v,"part",Pe="ResetPasswordByEmail "+(e[12]?"InvalidField":"")),d(q,"class","resetPasswordButton"),d(q,"part","resetPasswordButton"),q.disabled=fe=!e[13],d(w,"class","FormContent"),d(w,"part","FormContent"),d(t,"class","FormForgotPassword")},m(T,z){D(T,t,z),p(t,r),p(r,s),p(s,i),p(i,o),p(o,n),p(n,a),p(i,l),p(s,u),p(s,c),p(r,f),p(r,m),p(m,g),p(r,_),S&&S.m(r,null),p(t,P),p(t,w),p(w,v),p(v,C),p(C,B),p(C,H),p(C,F),p(v,me),p(v,W),We(W,e[8]),p(v,de),U&&U.m(v,null),p(v,X),G&&G.m(v,null),p(v,ne),he.m(v,null),p(w,Ae),p(w,q),p(q,_e),ye||(ge=[ie(s,"click",e[52]),ie(W,"input",e[53]),ie(W,"keyup",e[34]),ie(q,"click",e[57])],ye=!0)},p(T,z){z[0]&1073741824&&h!==(h=T[30]("goToLogin")+"")&&J(c,h),z[0]&33554432&&J(g,T[25]),T[26]?S?S.p(T,z):(S=Io(T),S.c(),S.m(r,null)):S&&(S.d(1),S=null),z[0]&1073741824&&A!==(A=T[30]("forgotPasswordEmail")+"")&&J(B,A),z[0]&256&&W.value!==T[8]&&We(W,T[8]),T[12]?U?U.p(T,z):(U=Oo(T),U.c(),U.m(v,X)):U&&(U.d(1),U=null),T[6]?G?G.p(T,z):(G=No(T),G.c(),G.m(v,ne)):G&&(G.d(1),G=null),Y===(Y=ae(T))&&he?he.p(T,z):(he.d(1),he=Y(T),he&&(he.c(),he.m(v,null))),z[0]&4096&&re!==(re="ResetPasswordByEmail "+(T[12]?"InvalidField":""))&&d(v,"class",re),z[0]&4096&&Pe!==(Pe="ResetPasswordByEmail "+(T[12]?"InvalidField":""))&&d(v,"part",Pe),z[0]&1073741824&&ue!==(ue=T[30]("forgotPasswordReset")+"")&&J(_e,ue),z[0]&8192&&fe!==(fe=!T[13])&&(q.disabled=fe)},d(T){T&&k(t),S&&S.d(),U&&U.d(),G&&G.d(),he.d(),ye=!1,De(ge)}}}function Ao(e){let t,r;return{c(){t=x("p"),r=N(e[26]),d(t,"class","FormHeaderSubtitle"),d(t,"part","FormHeaderSubtitle")},m(s,i){D(s,t,i),p(t,r)},p(s,i){i[0]&67108864&&J(r,s[26])},d(s){s&&k(t)}}}function kp(e){let t,r,s,i,o,n,a,l,u,h;return{c(){t=y("svg"),r=y("defs"),s=y("style"),i=N(".a{fill:var(--emw--color-white, #FFFFFF);}"),o=y("g"),n=y("path"),a=y("circle"),d(n,"class","a"),d(n,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),d(n,"transform","translate(0)"),d(a,"class","a"),d(a,"cx","2.779"),d(a,"cy","2.779"),d(a,"r","2.779"),d(a,"transform","translate(20.827 30.303)"),d(o,"transform","translate(-14.185 -27.832)"),d(t,"class",l="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")),d(t,"xmlns","http://www.w3.org/2000/svg"),d(t,"width","18.843"),d(t,"height","10.5"),d(t,"viewBox","0 0 18.843 10.5")},m(c,f){D(c,t,f),p(t,r),p(r,s),p(s,i),p(t,o),p(o,n),p(o,a),u||(h=ie(t,"click",e[61]),u=!0)},p(c,f){f[0]&65536&&l!==(l="TogglePasswordVisibility "+(c[16]?"InvalidToggle":""))&&d(t,"class",l)},d(c){c&&k(t),u=!1,h()}}}function Bp(e){let t,r,s,i,o,n,a,l,u,h,c,f,m,g,_,P;return{c(){t=y("svg"),r=y("defs"),s=y("style"),i=N(".a{fill:var(--emw--color-white, #FFFFFF);}"),o=y("g"),n=y("circle"),a=y("g"),l=y("path"),u=y("path"),h=y("g"),c=y("path"),f=y("path"),m=y("rect"),d(n,"class","a"),d(n,"cx","0.05"),d(n,"cy","0.05"),d(n,"r","0.05"),d(n,"transform","translate(121.017 31.148)"),d(l,"class","a"),d(l,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),d(l,"transform","translate(-142.164 -39.123)"),d(u,"class","a"),d(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),d(u,"transform","translate(-136.413 -42.068)"),d(a,"transform","translate(117.499 27.37)"),d(c,"class","a"),d(c,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),d(c,"transform","translate(-110.856 -33.157)"),d(f,"class","a"),d(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),d(f,"transform","translate(-130.743 -29.617)"),d(h,"transform","translate(110.856 24.899)"),d(m,"class","a"),d(m,"width","0.972"),d(m,"height","15.861"),d(m,"rx","0.486"),d(m,"transform","translate(114.827 23.858) rotate(-39.315)"),d(o,"transform","translate(-110.856 -23.242)"),d(t,"class",g="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")),d(t,"xmlns","http://www.w3.org/2000/svg"),d(t,"width","18.844"),d(t,"height","12.887"),d(t,"viewBox","0 0 18.844 12.887")},m(w,v){D(w,t,v),p(t,r),p(r,s),p(s,i),p(t,o),p(o,n),p(o,a),p(a,l),p(a,u),p(o,h),p(h,c),p(h,f),p(o,m),_||(P=ie(t,"click",e[60]),_=!0)},p(w,v){v[0]&65536&&g!==(g="TogglePasswordVisibility "+(w[16]?"InvalidToggle":""))&&d(t,"class",g)},d(w){w&&k(t),_=!1,P()}}}function Co(e){let t;function r(o,n){return o[1]=="true"?Lp:Mp}let s=r(e),i=s(e);return{c(){i.c(),t=Rs()},m(o,n){i.m(o,n),D(o,t,n)},p(o,n){s===(s=r(o))&&i?i.p(o,n):(i.d(1),i=s(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&k(t),i.d(o)}}}function Mp(e){let t,r=e[30]("forgotNewPasswordPasswordError")+"",s;return{c(){t=x("p"),s=N(r),d(t,"class","InvalidInput"),d(t,"part","InvalidInput")},m(i,o){D(i,t,o),p(t,s)},p(i,o){o[0]&1073741824&&r!==(r=i[30]("forgotNewPasswordPasswordError")+"")&&J(s,r)},d(i){i&&k(t)}}}function Lp(e){let t,r=e[30]("simplePasswordError")+"",s;return{c(){t=x("p"),s=N(r),d(t,"class","InvalidInput"),d(t,"part","InvalidInput")},m(i,o){D(i,t,o),p(t,s)},p(i,o){o[0]&1073741824&&r!==(r=i[30]("simplePasswordError")+"")&&J(s,r)},d(i){i&&k(t)}}}function Rp(e){let t,r,s,i,o,n,a,l,u,h;return{c(){t=y("svg"),r=y("defs"),s=y("style"),i=N(".a{fill:var(--emw--color-white, #FFFFFF);}"),o=y("g"),n=y("path"),a=y("circle"),d(n,"class","a"),d(n,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),d(n,"transform","translate(0)"),d(a,"class","a"),d(a,"cx","2.779"),d(a,"cy","2.779"),d(a,"r","2.779"),d(a,"transform","translate(20.827 30.303)"),d(o,"transform","translate(-14.185 -27.832)"),d(t,"class",l="TogglePasswordVisibility "+(e[17]?"InvalidToggle":"")),d(t,"xmlns","http://www.w3.org/2000/svg"),d(t,"width","18.843"),d(t,"height","10.5"),d(t,"viewBox","0 0 18.843 10.5")},m(c,f){D(c,t,f),p(t,r),p(r,s),p(s,i),p(t,o),p(o,n),p(o,a),u||(h=ie(t,"click",e[65]),u=!0)},p(c,f){f[0]&131072&&l!==(l="TogglePasswordVisibility "+(c[17]?"InvalidToggle":""))&&d(t,"class",l)},d(c){c&&k(t),u=!1,h()}}}function Dp(e){let t,r,s,i,o,n,a,l,u,h,c,f,m,g,_,P;return{c(){t=y("svg"),r=y("defs"),s=y("style"),i=N(".a{fill:var(--emw--color-white, #FFFFFF);}"),o=y("g"),n=y("circle"),a=y("g"),l=y("path"),u=y("path"),h=y("g"),c=y("path"),f=y("path"),m=y("rect"),d(n,"class","a"),d(n,"cx","0.05"),d(n,"cy","0.05"),d(n,"r","0.05"),d(n,"transform","translate(121.017 31.148)"),d(l,"class","a"),d(l,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),d(l,"transform","translate(-142.164 -39.123)"),d(u,"class","a"),d(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),d(u,"transform","translate(-136.413 -42.068)"),d(a,"transform","translate(117.499 27.37)"),d(c,"class","a"),d(c,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),d(c,"transform","translate(-110.856 -33.157)"),d(f,"class","a"),d(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),d(f,"transform","translate(-130.743 -29.617)"),d(h,"transform","translate(110.856 24.899)"),d(m,"class","a"),d(m,"width","0.972"),d(m,"height","15.861"),d(m,"rx","0.486"),d(m,"transform","translate(114.827 23.858) rotate(-39.315)"),d(o,"transform","translate(-110.856 -23.242)"),d(t,"class",g="TogglePasswordVisibility "+(e[17]?"InvalidToggle":"")),d(t,"xmlns","http://www.w3.org/2000/svg"),d(t,"width","18.844"),d(t,"height","12.887"),d(t,"viewBox","0 0 18.844 12.887")},m(w,v){D(w,t,v),p(t,r),p(r,s),p(s,i),p(t,o),p(o,n),p(o,a),p(a,l),p(a,u),p(o,h),p(h,c),p(h,f),p(o,m),_||(P=ie(t,"click",e[64]),_=!0)},p(w,v){v[0]&131072&&g!==(g="TogglePasswordVisibility "+(w[17]?"InvalidToggle":""))&&d(t,"class",g)},d(w){w&&k(t),_=!1,P()}}}function So(e){let t,r=e[30]("forgotNewPasswordConfirmPasswordError")+"",s;return{c(){t=x("p"),s=N(r),d(t,"class","InvalidInput"),d(t,"part","InvalidInput")},m(i,o){D(i,t,o),p(t,s)},p(i,o){o[0]&1073741824&&r!==(r=i[30]("forgotNewPasswordConfirmPasswordError")+"")&&J(s,r)},d(i){i&&k(t)}}}function To(e){let t,r;return{c(){t=x("p"),r=N(e[14]),d(t,"class","ErrorMessage"),d(t,"part","ErrorMessage")},m(s,i){D(s,t,i),p(t,r)},p(s,i){i[0]&16384&&J(r,s[14])},d(s){s&&k(t)}}}function Io(e){let t,r;return{c(){t=x("p"),r=N(e[26]),d(t,"class","FormHeaderSubtitle"),d(t,"part","FormHeaderSubtitle")},m(s,i){D(s,t,i),p(t,r)},p(s,i){i[0]&67108864&&J(r,s[26])},d(s){s&&k(t)}}}function Oo(e){let t,r=e[30]("forgotPasswordEmailInputError")+"",s;return{c(){t=x("p"),s=N(r),d(t,"class","ForgotPasswordError"),d(t,"part","ForgotPasswordError")},m(i,o){D(i,t,o),p(t,s)},p(i,o){o[0]&1073741824&&r!==(r=i[30]("forgotPasswordEmailInputError")+"")&&J(s,r)},d(i){i&&k(t)}}}function No(e){let t,r=e[30]("forgotPasswordEmailError")+"",s;return{c(){t=x("p"),s=N(r),d(t,"class","ForgotPasswordError"),d(t,"part","ForgotPasswordError")},m(i,o){D(i,t,o),p(t,s)},p(i,o){o[0]&1073741824&&r!==(r=i[30]("forgotPasswordEmailError")+"")&&J(s,r)},d(i){i&&k(t)}}}function Hp(e){let t,r,s=e[30](e[28])+"",i;return{c(){t=x("div"),r=x("span"),i=N(s),d(t,"class","dobFormatError")},m(o,n){D(o,t,n),p(t,r),p(r,i)},p(o,n){n[0]&1342177280&&s!==(s=o[30](o[28])+"")&&J(i,s)},d(o){o&&k(t)}}}function Fp(e){let t,r,s=fi(e[27]),i=[];for(let o=0;o<s.length;o+=1)i[o]=ko(Po(e,s,o));return{c(){t=x("div");for(let o=0;o<i.length;o+=1)i[o].c();d(t,"class",r="DobContainer "+(e[11]?"Mobile":""))},m(o,n){D(o,t,n);for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(t,null)},p(o,n){if(n[0]&1744830464|n[1]&135){s=fi(o[27]);let a;for(a=0;a<s.length;a+=1){const l=Po(o,s,a);i[a]?i[a].p(l,n):(i[a]=ko(l),i[a].c(),i[a].m(t,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=s.length}n[0]&2048&&r!==(r="DobContainer "+(o[11]?"Mobile":""))&&d(t,"class",r)},d(o){o&&k(t),Xa(i,o)}}}function zp(e){let t,r,s,i,o;return{c(){t=x("vaadin-combo-box"),Q(t,"class","datePickerBox"),Q(t,"label",r=e[30]("year")),Q(t,"items",e[31]),Q(t,"disabled",s=e[29].isYearDisabled)},m(n,a){D(n,t,a),i||(o=ie(t,"change",e[56]),i=!0)},p(n,a){a[0]&1073741824&&r!==(r=n[30]("year"))&&Q(t,"label",r),a[0]&536870912&&s!==(s=n[29].isYearDisabled)&&Q(t,"disabled",s)},d(n){n&&k(t),i=!1,o()}}}function Vp(e){let t,r,s,i,o;return{c(){t=x("vaadin-combo-box"),Q(t,"class","datePickerBox"),Q(t,"label",r=e[30]("month")),Q(t,"items",Object.keys(e[32])),Q(t,"disabled",s=e[29].isMonthDisabled)},m(n,a){D(n,t,a),i||(o=ie(t,"change",e[55]),i=!0)},p(n,a){a[0]&1073741824&&r!==(r=n[30]("month"))&&Q(t,"label",r),a[0]&536870912&&s!==(s=n[29].isMonthDisabled)&&Q(t,"disabled",s)},d(n){n&&k(t),i=!1,o()}}}function Up(e){let t,r,s,i,o;return{c(){t=x("vaadin-combo-box"),Q(t,"class","datePickerBox"),Q(t,"label",r=e[30]("day")),Q(t,"items",e[33]),Q(t,"disabled",s=e[29].isDayDisabled)},m(n,a){D(n,t,a),i||(o=ie(t,"change",e[54]),i=!0)},p(n,a){a[0]&1073741824&&r!==(r=n[30]("day"))&&Q(t,"label",r),a[0]&536870912&&s!==(s=n[29].isDayDisabled)&&Q(t,"disabled",s)},d(n){n&&k(t),i=!1,o()}}}function ko(e){let t;function r(o,n){if(o[89]==="dd")return Up;if(o[89]==="mm")return Vp;if(o[89]==="yyyy")return zp}let s=r(e),i=s&&s(e);return{c(){i&&i.c(),t=Rs()},m(o,n){i&&i.m(o,n),D(o,t,n)},p(o,n){s===(s=r(o))&&i?i.p(o,n):(i&&i.d(1),i=s&&s(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&k(t),i&&i.d(o)}}}function $p(e){let t,r,s,i,o,n=e[0]&&Eo(e);function a(h,c){return h[4]?Sp:Cp}let l=a(e),u=l(e);return{c(){n&&n.c(),t=Rs(),r=V(),s=x("div"),i=V(),o=x("div"),u.c(),d(s,"class","g-recaptcha"),d(s,"data-sitekey",e[0]),d(o,"class","GeneralPlayerForgotPasswordForm")},m(h,c){n&&n.m(xo.head,null),p(xo.head,t),D(h,r,c),D(h,s,c),D(h,i,c),D(h,o,c),u.m(o,null),e[68](o)},p(h,c){h[0]?n?n.p(h,c):(n=Eo(h),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),c[0]&1&&d(s,"data-sitekey",h[0]),l===(l=a(h))&&u?u.p(h,c):(u.d(1),u=l(h),u&&(u.c(),u.m(o,null)))},i:xe,o:xe,d(h){h&&(k(r),k(s),k(i),k(o)),n&&n.d(h),k(t),u.d(),e[68](null)}}}function jp(e,t,r){let s;Wa(e,mh,b=>r(30,s=b));let{endpoint:i=""}=t,{forgotpasswordkey:o=""}=t,{captchakey:n=""}=t,{lang:a="en"}=t,{simplepasswordvalidation:l="false"}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{translationurl:c=""}=t,{savecredentials:f=""}=t,{hastosetpass:m="false"}=t,{passwordregex:g=""}=t,{dobformat:_=""}=t,{mindobyears:P=18}=t,{maxdobyears:w=100}=t,v=!1,C=!0,A=!1,B=!1,H="",F=!1,me=!1,W=!1,de=!1,X=!1,ne=window.navigator.userAgent,re="",Pe=!1,Ae=!1,q=!1,ue,_e,fe=!1,ye=!1,ge="",S="",U,G=!1,ae,Y,he=Array.from({length:w-P+1},(b,$)=>new Date().getFullYear()-P-$),T={January:"01",February:"02",March:"03",April:"04",May:"05",June:"06",July:"07",August:"08",September:"09",October:"10",November:"11",December:"12"},z=Array.from({length:31},(b,$)=>$+1),Z=[],se="",be=!0,M={isDayDisabled:!1,isMonthDisabled:!1,isYearDisabled:!1},ha=["mm/dd/yyyy","dd/mm/yyyy","yyyy/mm/dd"],ut={dd:null,mm:null,yyyy:null},oi="";gh({withLocale:"en",translations:{}});const ca=()=>{fetch(c).then($=>$.json()).then($=>{Object.keys($).forEach(K=>{Mi(K,$[K])})}).catch($=>{console.log($)})};Object.keys(Li).forEach(b=>{Mi(b,Li[b])});const Dt={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},da=()=>{r(13,X=_?!de&&!be:!de)},fa=b=>!!(Dt.email.test(b)&&b.length<=100),ni=()=>{r(12,de=!fa(H)),da()},ht=b=>{switch(b){case"userNewPassword":r(20,fe=!fe),r(18,ue.type=fe?"text":"password",ue);break;case"userConfirmPassword":r(21,ye=!ye),r(19,_e.type=ye?"text":"password",_e);break}},Sr=b=>{switch(b){case"ToEmailSuccess":r(6,A=!1),r(5,C=!1),r(7,B=!0);break;case"ToReset":r(5,C=!1),r(9,F=!0);break;case"ToSuccess":r(9,F=!1),r(10,me=!0);break}},Tr=()=>{window.postMessage({type:"ToLogin"},window.location.href)},pa=()=>new Promise((b,$)=>{grecaptcha.ready(()=>{grecaptcha.execute(n,{action:"submit"}).then(K=>{b(K)})})}),ai=b=>{b.preventDefault(),r(4,v=!0),pa().then($=>{let K=new URL(`${i}/v1/player/resetpassword`),ct={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":$}};K.searchParams.append("email",H),_&&K.searchParams.append("birthDate",oi),fetch(K,ct).then(ze=>{ze.status==200?Sr("ToEmailSuccess"):r(6,A=!0)}).finally(()=>{r(4,v=!1)})})},ma=()=>{if(r(41,_=_.toLowerCase()),!ha.includes(_))return r(28,se="dobFormatError");r(27,Z=_.split("/")),r(29,M.isDayDisabled=Z[0]!=="dd",M),r(29,M.isMonthDisabled=Z[0]!=="mm",M),r(29,M.isYearDisabled=Z[0]!=="yyyy",M)},Ht=(b,$)=>{ut[$]=b.target.value,be=Object.values(ut).some(K=>!K),Z.forEach((K,ct)=>{if($===K)switch(Z[ct+1]){case"dd":r(29,M.isDayDisabled=!1,M);case"mm":r(29,M.isMonthDisabled=!1,M);break;case"yyyy":r(29,M.isYearDisabled=!1,M);break}}),be||(oi=`${ut.yyyy}-${T[ut.mm]}-${ut.dd}`),ni()},li=b=>{b.preventDefault();let $=new URL(`${i}/v1/player/ResetPasswordByHashKey`),ct={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({hashKey:o,plainTextPassword:ge})};fetch($,ct).then(ze=>(ze.status==200?(r(24,G=!1),Sr("ToSuccess")):r(24,G=!0),ze.json())).then(ze=>{r(14,re=ze.error)})},_a=()=>{o&&o.length>0&&Sr("ToReset")},ga=()=>{!Ae&&!q&&ge&&S?r(15,Pe=!0):r(15,Pe=!1)},Ir=b=>(l=="true"&&(Dt.password=/^(?!.* ).{8,20}$/),!!Dt.password.test(b)),ba=(b,$,K)=>{K.id==="new-password"?(r(16,Ae=!Ir($)),S&&r(17,q=ge===S?!Ir($):!0)):r(17,q=ge===S?!Ir($):!0),ga()},va=()=>{bh(a)},ya=()=>{r(25,ae=s(m==="true"?"hasToSetPassTitle":"forgotPasswordTitle")),r(26,Y=m==="true"?s("resetPasswordSubtitle"):"")},wa=()=>{let b=document.createElement("style");b.innerHTML=u,U.appendChild(b)},xa=()=>{let b=new URL(h),$=document.createElement("style");fetch(b.href).then(K=>K.text()).then(K=>{$.innerHTML=K,setTimeout(()=>{U.appendChild($)},1),setTimeout(()=>{},500)})};tl(()=>Vt(this,null,function*(){_h(ne)&&r(11,W=!0)}));const Pa=()=>Tr();function Ea(){H=this.value,r(8,H)}const Aa=b=>Ht(b,"dd"),Ca=b=>Ht(b,"mm"),Sa=b=>Ht(b,"yyyy"),Ta=b=>ai(b);function Ia(){ge=this.value,r(22,ge)}function Oa(b){yt[b?"unshift":"push"](()=>{ue=b,r(18,ue)})}const Na=()=>ht("userNewPassword"),ka=()=>ht("userNewPassword");function Ba(){S=this.value,r(23,S)}function Ma(b){yt[b?"unshift":"push"](()=>{_e=b,r(19,_e)})}const La=()=>ht("userConfirmPassword"),Ra=()=>ht("userConfirmPassword"),Da=b=>li(b),Ha=()=>Tr();function Fa(b){yt[b?"unshift":"push"](()=>{U=b,r(3,U)})}return e.$$set=b=>{"endpoint"in b&&r(42,i=b.endpoint),"forgotpasswordkey"in b&&r(43,o=b.forgotpasswordkey),"captchakey"in b&&r(0,n=b.captchakey),"lang"in b&&r(44,a=b.lang),"simplepasswordvalidation"in b&&r(1,l=b.simplepasswordvalidation),"clientstyling"in b&&r(45,u=b.clientstyling),"clientstylingurl"in b&&r(46,h=b.clientstylingurl),"translationurl"in b&&r(47,c=b.translationurl),"savecredentials"in b&&r(2,f=b.savecredentials),"hastosetpass"in b&&r(48,m=b.hastosetpass),"passwordregex"in b&&r(49,g=b.passwordregex),"dobformat"in b&&r(41,_=b.dobformat),"mindobyears"in b&&r(50,P=b.mindobyears),"maxdobyears"in b&&r(51,w=b.maxdobyears)},e.$$.update=()=>{e.$$.dirty[1]&4096&&o&&_a(),e.$$.dirty[1]&8192&&a&&va(),e.$$.dirty[0]&8|e.$$.dirty[1]&16384&&u&&U&&wa(),e.$$.dirty[0]&8|e.$$.dirty[1]&32768&&h&&U&&xa(),e.$$.dirty[1]&65536&&c&&ca(),e.$$.dirty[1]&139264&&m&&a&&ya(),e.$$.dirty[1]&262144&&g&&(Dt.password=new RegExp(g)),e.$$.dirty[1]&1024&&_&&ma()},[n,l,f,U,v,C,A,B,H,F,me,W,de,X,re,Pe,Ae,q,ue,_e,fe,ye,ge,S,G,ae,Y,Z,se,M,s,he,T,z,ni,ht,Tr,ai,Ht,li,ba,_,i,o,a,u,h,c,m,g,P,w,Pa,Ea,Aa,Ca,Sa,Ta,Ia,Oa,Na,ka,Ba,Ma,La,Ra,Da,Ha,Fa]}class ua extends fl{constructor(t){super(),cl(this,t,jp,$p,Mo,{endpoint:42,forgotpasswordkey:43,captchakey:0,lang:44,simplepasswordvalidation:1,clientstyling:45,clientstylingurl:46,translationurl:47,savecredentials:2,hastosetpass:48,passwordregex:49,dobformat:41,mindobyears:50,maxdobyears:51},Ap,[-1,-1,-1])}get endpoint(){return this.$$.ctx[42]}set endpoint(t){this.$$set({endpoint:t}),le()}get forgotpasswordkey(){return this.$$.ctx[43]}set forgotpasswordkey(t){this.$$set({forgotpasswordkey:t}),le()}get captchakey(){return this.$$.ctx[0]}set captchakey(t){this.$$set({captchakey:t}),le()}get lang(){return this.$$.ctx[44]}set lang(t){this.$$set({lang:t}),le()}get simplepasswordvalidation(){return this.$$.ctx[1]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),le()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(t){this.$$set({clientstyling:t}),le()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),le()}get translationurl(){return this.$$.ctx[47]}set translationurl(t){this.$$set({translationurl:t}),le()}get savecredentials(){return this.$$.ctx[2]}set savecredentials(t){this.$$set({savecredentials:t}),le()}get hastosetpass(){return this.$$.ctx[48]}set hastosetpass(t){this.$$set({hastosetpass:t}),le()}get passwordregex(){return this.$$.ctx[49]}set passwordregex(t){this.$$set({passwordregex:t}),le()}get dobformat(){return this.$$.ctx[41]}set dobformat(t){this.$$set({dobformat:t}),le()}get mindobyears(){return this.$$.ctx[50]}set mindobyears(t){this.$$set({mindobyears:t}),le()}get maxdobyears(){return this.$$.ctx[51]}set maxdobyears(t){this.$$set({maxdobyears:t}),le()}}dl(ua,{endpoint:{},forgotpasswordkey:{},captchakey:{},lang:{},simplepasswordvalidation:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},hastosetpass:{},passwordregex:{},dobformat:{},mindobyears:{},maxdobyears:{}},[],[],!0);exports.default=ua;