cas-ds-web-components 1.2.53 → 1.2.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cas-ds-web-components.js +249 -249
- package/build/cas-header.js +173 -173
- package/build/cas-new-footer.js +36 -28
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
(function(k,
|
|
1
|
+
(function(k,Y3){typeof exports=="object"&&typeof module<"u"?Y3(exports):typeof define=="function"&&define.amd?define(["exports"],Y3):(k=typeof globalThis<"u"?globalThis:k||self,Y3(k["all-components"]={}))})(this,function(k){"use strict";(()=>{const i=document.createElement("link");i.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap"),i.setAttribute("rel","stylesheet"),document.head.appendChild(i)})();var oe={name:"@eloisa-ds/all-components",version:"1.0.59",main:"./all-components.umd.js",module:"./all-components.es.js",exports:{".":{import:"./all-components.es.js",require:"./all-components.umd.js"}}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/const
|
|
5
|
+
*/const G3=window,e6=G3.ShadowRoot&&(G3.ShadyCSS===void 0||G3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V4=Symbol(),Z4=new WeakMap;class se{constructor(C,t,e){if(this._$cssResult$=!0,e!==V4)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=C,this.t=t}get styleSheet(){let C=this.o;const t=this.t;if(e6&&C===void 0){const e=t!==void 0&&t.length===1;e&&(C=Z4.get(t)),C===void 0&&((this.o=C=new CSSStyleSheet).replaceSync(this.cssText),e&&Z4.set(t,C))}return C}toString(){return this.cssText}}const ae=i=>new se(typeof i=="string"?i:i+"",void 0,V4),ne=(i,C)=>{e6?i.adoptedStyleSheets=C.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):C.forEach(t=>{const e=document.createElement("style"),o=G3.litNonce;o!==void 0&&e.setAttribute("nonce",o),e.textContent=t.cssText,i.appendChild(e)})},_4=e6?i=>i:i=>i instanceof CSSStyleSheet?(C=>{let t="";for(const e of C.cssRules)t+=e.cssText;return ae(t)})(i):i;/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/var
|
|
9
|
+
*/var i6;const K3=window,x4=K3.trustedTypes,le=x4?x4.emptyScript:"",b4=K3.reactiveElementPolyfillSupport,o6={toAttribute(i,C){switch(C){case Boolean:i=i?le:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,C){let t=i;switch(C){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},y4=(i,C)=>C!==i&&(C==C||i==i),s6={attribute:!0,type:String,converter:o6,reflect:!1,hasChanged:y4},a6="finalized";class P2 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(C){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(C)}static get observedAttributes(){this.finalize();const C=[];return this.elementProperties.forEach((t,e)=>{const o=this._$Ep(e,t);o!==void 0&&(this._$Ev.set(o,e),C.push(o))}),C}static createProperty(C,t=s6){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(C,t),!t.noAccessor&&!this.prototype.hasOwnProperty(C)){const e=typeof C=="symbol"?Symbol():"__"+C,o=this.getPropertyDescriptor(C,e,t);o!==void 0&&Object.defineProperty(this.prototype,C,o)}}static getPropertyDescriptor(C,t,e){return{get(){return this[t]},set(o){const a=this[C];this[t]=o,this.requestUpdate(C,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(C){return this.elementProperties.get(C)||s6}static finalize(){if(this.hasOwnProperty(a6))return!1;this[a6]=!0;const C=Object.getPrototypeOf(this);if(C.finalize(),C.h!==void 0&&(this.h=[...C.h]),this.elementProperties=new Map(C.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(C){const t=[];if(Array.isArray(C)){const e=new Set(C.flat(1/0).reverse());for(const o of e)t.unshift(_4(o))}else C!==void 0&&t.push(_4(C));return t}static _$Ep(C,t){const e=t.attribute;return e===!1?void 0:typeof e=="string"?e:typeof C=="string"?C.toLowerCase():void 0}_$Eu(){var C;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(C=this.constructor.h)===null||C===void 0||C.forEach(t=>t(this))}addController(C){var t,e;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(C),this.renderRoot!==void 0&&this.isConnected&&((e=C.hostConnected)===null||e===void 0||e.call(C))}removeController(C){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(C)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((C,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var C;const t=(C=this.shadowRoot)!==null&&C!==void 0?C:this.attachShadow(this.constructor.shadowRootOptions);return ne(t,this.constructor.elementStyles),t}connectedCallback(){var C;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(C=this._$ES)===null||C===void 0||C.forEach(t=>{var e;return(e=t.hostConnected)===null||e===void 0?void 0:e.call(t)})}enableUpdating(C){}disconnectedCallback(){var C;(C=this._$ES)===null||C===void 0||C.forEach(t=>{var e;return(e=t.hostDisconnected)===null||e===void 0?void 0:e.call(t)})}attributeChangedCallback(C,t,e){this._$AK(C,e)}_$EO(C,t,e=s6){var o;const a=this.constructor._$Ep(C,e);if(a!==void 0&&e.reflect===!0){const n=(((o=e.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?e.converter:o6).toAttribute(t,e.type);this._$El=C,n==null?this.removeAttribute(a):this.setAttribute(a,n),this._$El=null}}_$AK(C,t){var e;const o=this.constructor,a=o._$Ev.get(C);if(a!==void 0&&this._$El!==a){const n=o.getPropertyOptions(a),r=typeof n.converter=="function"?{fromAttribute:n.converter}:((e=n.converter)===null||e===void 0?void 0:e.fromAttribute)!==void 0?n.converter:o6;this._$El=a,this[a]=r.fromAttribute(t,n.type),this._$El=null}}requestUpdate(C,t,e){let o=!0;C!==void 0&&(((e=e||this.constructor.getPropertyOptions(C)).hasChanged||y4)(this[C],t)?(this._$AL.has(C)||this._$AL.set(C,t),e.reflect===!0&&this._$El!==C&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(C,e))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const C=this.scheduleUpdate();return C!=null&&await C,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var C;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((o,a)=>this[a]=o),this._$Ei=void 0);let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(C=this._$ES)===null||C===void 0||C.forEach(o=>{var a;return(a=o.hostUpdate)===null||a===void 0?void 0:a.call(o)}),this.update(e)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(e)}willUpdate(C){}_$AE(C){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var o;return(o=e.hostUpdated)===null||o===void 0?void 0:o.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(C)),this.updated(C)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(C){return!0}update(C){this._$EC!==void 0&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(C){}firstUpdated(C){}}P2[a6]=!0,P2.elementProperties=new Map,P2.elementStyles=[],P2.shadowRootOptions={mode:"open"},b4?.({ReactiveElement:P2}),((i6=K3.reactiveElementVersions)!==null&&i6!==void 0?i6:K3.reactiveElementVersions=[]).push("1.6.3");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/var
|
|
14
|
-
\f\r]`,
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
13
|
+
*/var n6;const J3=window,n2=J3.trustedTypes,z4=n2?n2.createPolicy("lit-html",{createHTML:i=>i}):void 0,l6="$lit$",h1=`lit$${(Math.random()+"").slice(9)}$`,k4="?"+h1,re=`<${k4}>`,b1=document,I2=()=>b1.createComment(""),O2=i=>i===null||typeof i!="object"&&typeof i!="function",$4=Array.isArray,he=i=>$4(i)||typeof i?.[Symbol.iterator]=="function",r6=`[
|
|
14
|
+
\f\r]`,N2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A4=/-->/g,E4=/>/g,y1=RegExp(`>|${r6}(?:([^\\s"'>=/]+)(${r6}*=${r6}*(?:[^
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),S4=/'/g,B4=/"/g,T4=/^(?:script|style|textarea|title)$/i,de=i=>(C,...t)=>({_$litType$:i,strings:C,values:t}),s=de(1),d1=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),P4=new WeakMap,z1=b1.createTreeWalker(b1,129,null,!1);function I4(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return z4!==void 0?z4.createHTML(C):C}const ce=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=N2;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===N2?c[1]==="!--"?n=A4:c[1]!==void 0?n=E4:c[2]!==void 0?(T4.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=y1):c[3]!==void 0&&(n=y1):n===y1?c[0]===">"?(n=o??N2,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?y1:c[3]==='"'?B4:S4):n===B4||n===S4?n=y1:n===A4||n===E4?n=N2:(n=y1,o=void 0);const v=n===y1&&i[r+1].startsWith("/>")?" ":"";a+=n===N2?l+re:d>=0?(e.push(h),l.slice(0,d)+l6+l.slice(d)+h1+v):l+h1+(d===-2?(e.push(void 0),r):v)}return[I4(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class D2{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=ce(C,t);if(this.el=D2.createElement(h,e),z1.currentNode=this.el.content,t===2){const d=this.el.content,p=d.firstChild;p.remove(),d.append(...p.childNodes)}for(;(o=z1.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes()){const d=[];for(const p of o.getAttributeNames())if(p.endsWith(l6)||p.startsWith(h1)){const v=c[n++];if(d.push(p),v!==void 0){const L=o.getAttribute(v.toLowerCase()+l6).split(h1),_=/([.?@])?(.*)/.exec(v);l.push({type:1,index:a,name:_[2],strings:L,ctor:_[1]==="."?ve:_[1]==="?"?ge:_[1]==="@"?ue:X3})}else l.push({type:6,index:a})}for(const p of d)o.removeAttribute(p)}if(T4.test(o.tagName)){const d=o.textContent.split(h1),p=d.length-1;if(p>0){o.textContent=n2?n2.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],I2()),z1.nextNode(),l.push({type:2,index:++a});o.append(d[p],I2())}}}else if(o.nodeType===8)if(o.data===k4)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(h1,d+1))!==-1;)l.push({type:7,index:a}),d+=h1.length-1}a++}}static createElement(C,t){const e=b1.createElement("template");return e.innerHTML=C,e}}function l2(i,C,t=i,e){var o,a,n,r;if(C===d1)return C;let l=e!==void 0?(o=t._$Co)===null||o===void 0?void 0:o[e]:t._$Cl;const h=O2(C)?void 0:C._$litDirective$;return l?.constructor!==h&&((a=l?._$AO)===null||a===void 0||a.call(l,!1),h===void 0?l=void 0:(l=new h(i),l._$AT(i,t,e)),e!==void 0?((n=(r=t)._$Co)!==null&&n!==void 0?n:r._$Co=[])[e]=l:t._$Cl=l),l!==void 0&&(C=l2(i,l._$AS(i,C.values),l,e)),C}class pe{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){var t;const{el:{content:e},parts:o}=this._$AD,a=((t=C?.creationScope)!==null&&t!==void 0?t:b1).importNode(e,!0);z1.currentNode=a;let n=z1.nextNode(),r=0,l=0,h=o[0];for(;h!==void 0;){if(r===h.index){let c;h.type===2?c=new F2(n,n.nextSibling,this,C):h.type===1?c=new h.ctor(n,h.name,h.strings,this,C):h.type===6&&(c=new Me(n,this,C)),this._$AV.push(c),h=o[++l]}r!==h?.index&&(n=z1.nextNode(),r++)}return z1.currentNode=b1,a}v(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class F2{constructor(C,t,e,o){var a;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cp=(a=o?.isConnected)===null||a===void 0||a}get _$AU(){var C,t;return(t=(C=this._$AM)===null||C===void 0?void 0:C._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=l2(this,C,t),O2(C)?C===T||C==null||C===""?(this._$AH!==T&&this._$AR(),this._$AH=T):C!==this._$AH&&C!==d1&&this._(C):C._$litType$!==void 0?this.g(C):C.nodeType!==void 0?this.$(C):he(C)?this.T(C):this._(C)}k(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}$(C){this._$AH!==C&&(this._$AR(),this._$AH=this.k(C))}_(C){this._$AH!==T&&O2(this._$AH)?this._$AA.nextSibling.data=C:this.$(b1.createTextNode(C)),this._$AH=C}g(C){var t;const{values:e,_$litType$:o}=C,a=typeof o=="number"?this._$AC(C):(o.el===void 0&&(o.el=D2.createElement(I4(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===a)this._$AH.v(e);else{const n=new pe(a,this),r=n.u(this.options);n.v(e),this.$(r),this._$AH=n}}_$AC(C){let t=P4.get(C.strings);return t===void 0&&P4.set(C.strings,t=new D2(C)),t}T(C){$4(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new F2(this.k(I2()),this.k(I2()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){var e;for((e=this._$AP)===null||e===void 0||e.call(this,!1,!0,t);C&&C!==this._$AB;){const o=C.nextSibling;C.remove(),C=o}}setConnected(C){var t;this._$AM===void 0&&(this._$Cp=C,(t=this._$AP)===null||t===void 0||t.call(this,C))}}class X3{constructor(C,t,e,o,a){this.type=1,this._$AH=T,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=l2(this,C,t,0),n=!O2(C)||C!==this._$AH&&C!==d1,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=l2(this,r[e+l],t,l),h===d1&&(h=this._$AH[l]),n||(n=!O2(h)||h!==this._$AH[l]),h===T?C=T:C!==T&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class ve extends X3{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===T?void 0:C}}const Le=n2?n2.emptyScript:"";class ge extends X3{constructor(){super(...arguments),this.type=4}j(C){C&&C!==T?this.element.setAttribute(this.name,Le):this.element.removeAttribute(this.name)}}class ue extends X3{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){var e;if((C=(e=l2(this,C,t,0))!==null&&e!==void 0?e:T)===d1)return;const o=this._$AH,a=C===T&&o!==T||C.capture!==o.capture||C.once!==o.once||C.passive!==o.passive,n=C!==T&&(o===T||a);a&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){var t,e;typeof this._$AH=="function"?this._$AH.call((e=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&e!==void 0?e:this.element,C):this._$AH.handleEvent(C)}}class Me{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){l2(this,C)}}const O4=J3.litHtmlPolyfillSupport;O4?.(D2,F2),((n6=J3.litHtmlVersions)!==null&&n6!==void 0?n6:J3.litHtmlVersions=[]).push("2.8.0");const fe=(i,C,t)=>{var e,o;const a=(e=t?.renderBefore)!==null&&e!==void 0?e:C;let n=a._$litPart$;if(n===void 0){const r=(o=t?.renderBefore)!==null&&o!==void 0?o:null;a._$litPart$=n=new F2(C.insertBefore(I2(),r),r,void 0,t??{})}return n._$AI(i),n};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2019 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/const
|
|
19
|
+
*/const Q3=window,h6=Q3.ShadowRoot&&(Q3.ShadyCSS===void 0||Q3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d6=Symbol(),N4=new WeakMap;class c6{constructor(C,t,e){if(this._$cssResult$=!0,e!==d6)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=C,this.t=t}get styleSheet(){let C=this.o;const t=this.t;if(h6&&C===void 0){const e=t!==void 0&&t.length===1;e&&(C=N4.get(t)),C===void 0&&((this.o=C=new CSSStyleSheet).replaceSync(this.cssText),e&&N4.set(t,C))}return C}toString(){return this.cssText}}const g=i=>new c6(typeof i=="string"?i:i+"",void 0,d6),V=(i,...C)=>{const t=i.length===1?i[0]:C.reduce((e,o,a)=>e+(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.")})(o)+i[a+1],i[0]);return new c6(t,i,d6)},we=(i,C)=>{h6?i.adoptedStyleSheets=C.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):C.forEach(t=>{const e=document.createElement("style"),o=Q3.litNonce;o!==void 0&&e.setAttribute("nonce",o),e.textContent=t.cssText,i.appendChild(e)})},D4=h6?i=>i:i=>i instanceof CSSStyleSheet?(C=>{let t="";for(const e of C.cssRules)t+=e.cssText;return g(t)})(i):i;/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/var
|
|
23
|
+
*/var p6;const C5=window,F4=C5.trustedTypes,me=F4?F4.emptyScript:"",R4=C5.reactiveElementPolyfillSupport,v6={toAttribute(i,C){switch(C){case Boolean:i=i?me:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,C){let t=i;switch(C){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},j4=(i,C)=>C!==i&&(C==C||i==i),L6={attribute:!0,type:String,converter:v6,reflect:!1,hasChanged:j4},g6="finalized";class r2 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(C){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(C)}static get observedAttributes(){this.finalize();const C=[];return this.elementProperties.forEach((t,e)=>{const o=this._$Ep(e,t);o!==void 0&&(this._$Ev.set(o,e),C.push(o))}),C}static createProperty(C,t=L6){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(C,t),!t.noAccessor&&!this.prototype.hasOwnProperty(C)){const e=typeof C=="symbol"?Symbol():"__"+C,o=this.getPropertyDescriptor(C,e,t);o!==void 0&&Object.defineProperty(this.prototype,C,o)}}static getPropertyDescriptor(C,t,e){return{get(){return this[t]},set(o){const a=this[C];this[t]=o,this.requestUpdate(C,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(C){return this.elementProperties.get(C)||L6}static finalize(){if(this.hasOwnProperty(g6))return!1;this[g6]=!0;const C=Object.getPrototypeOf(this);if(C.finalize(),C.h!==void 0&&(this.h=[...C.h]),this.elementProperties=new Map(C.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(C){const t=[];if(Array.isArray(C)){const e=new Set(C.flat(1/0).reverse());for(const o of e)t.unshift(D4(o))}else C!==void 0&&t.push(D4(C));return t}static _$Ep(C,t){const e=t.attribute;return e===!1?void 0:typeof e=="string"?e:typeof C=="string"?C.toLowerCase():void 0}_$Eu(){var C;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(C=this.constructor.h)===null||C===void 0||C.forEach(t=>t(this))}addController(C){var t,e;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(C),this.renderRoot!==void 0&&this.isConnected&&((e=C.hostConnected)===null||e===void 0||e.call(C))}removeController(C){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(C)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((C,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var C;const t=(C=this.shadowRoot)!==null&&C!==void 0?C:this.attachShadow(this.constructor.shadowRootOptions);return we(t,this.constructor.elementStyles),t}connectedCallback(){var C;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(C=this._$ES)===null||C===void 0||C.forEach(t=>{var e;return(e=t.hostConnected)===null||e===void 0?void 0:e.call(t)})}enableUpdating(C){}disconnectedCallback(){var C;(C=this._$ES)===null||C===void 0||C.forEach(t=>{var e;return(e=t.hostDisconnected)===null||e===void 0?void 0:e.call(t)})}attributeChangedCallback(C,t,e){this._$AK(C,e)}_$EO(C,t,e=L6){var o;const a=this.constructor._$Ep(C,e);if(a!==void 0&&e.reflect===!0){const n=(((o=e.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?e.converter:v6).toAttribute(t,e.type);this._$El=C,n==null?this.removeAttribute(a):this.setAttribute(a,n),this._$El=null}}_$AK(C,t){var e;const o=this.constructor,a=o._$Ev.get(C);if(a!==void 0&&this._$El!==a){const n=o.getPropertyOptions(a),r=typeof n.converter=="function"?{fromAttribute:n.converter}:((e=n.converter)===null||e===void 0?void 0:e.fromAttribute)!==void 0?n.converter:v6;this._$El=a,this[a]=r.fromAttribute(t,n.type),this._$El=null}}requestUpdate(C,t,e){let o=!0;C!==void 0&&(((e=e||this.constructor.getPropertyOptions(C)).hasChanged||j4)(this[C],t)?(this._$AL.has(C)||this._$AL.set(C,t),e.reflect===!0&&this._$El!==C&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(C,e))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const C=this.scheduleUpdate();return C!=null&&await C,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var C;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((o,a)=>this[a]=o),this._$Ei=void 0);let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(C=this._$ES)===null||C===void 0||C.forEach(o=>{var a;return(a=o.hostUpdate)===null||a===void 0?void 0:a.call(o)}),this.update(e)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(e)}willUpdate(C){}_$AE(C){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var o;return(o=e.hostUpdated)===null||o===void 0?void 0:o.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(C)),this.updated(C)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(C){return!0}update(C){this._$EC!==void 0&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(C){}firstUpdated(C){}}r2[g6]=!0,r2.elementProperties=new Map,r2.elementStyles=[],r2.shadowRootOptions={mode:"open"},R4?.({ReactiveElement:r2}),((p6=C5.reactiveElementVersions)!==null&&p6!==void 0?p6:C5.reactiveElementVersions=[]).push("1.6.3");/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/var
|
|
27
|
+
*/var u6,M6;class M extends r2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var C,t;const e=super.createRenderRoot();return(C=(t=this.renderOptions).renderBefore)!==null&&C!==void 0||(t.renderBefore=e.firstChild),e}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=fe(t,this.renderRoot,this.renderOptions)}connectedCallback(){var C;super.connectedCallback(),(C=this._$Do)===null||C===void 0||C.setConnected(!0)}disconnectedCallback(){var C;super.disconnectedCallback(),(C=this._$Do)===null||C===void 0||C.setConnected(!1)}render(){return d1}}M.finalized=!0,M._$litElement$=!0,(u6=globalThis.litElementHydrateSupport)===null||u6===void 0||u6.call(globalThis,{LitElement:M});const U4=globalThis.litElementPolyfillSupport;U4?.({LitElement:M}),((M6=globalThis.litElementVersions)!==null&&M6!==void 0?M6:globalThis.litElementVersions=[]).push("3.3.3");/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2020 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
opacity: 1;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
`;const c1="#01A49A",W="#01736C",Y4="#E6F6F5",G4="#4DBFB8",xe="#CCEDEB",U="#5143D5",K4="#392F95",p1="#EEECFB",
|
|
74
|
+
`;const c1="#01A49A",W="#01736C",Y4="#E6F6F5",G4="#4DBFB8",xe="#CCEDEB",U="#5143D5",K4="#392F95",p1="#EEECFB",t5="#857BE2",J4="#CBC7F2",be="#DCD9F7",X4="#203442",e1="#364855",f6="#4D5D68",w6="#79858E",Q4="#909AA1",ye="#BCC2C6",ze="#D2D6D9",R2="#E9EBEC",m="#FFFFFF",C7="#F2F5F9",i1="#E53935",t7="#FFEBEE",e5="#B71C1C",m6="#FFCDD2",e7="#FFB300",i7="#FFF8E1",ke="#FF8F00",$e="#FFECB3",o7="#7CB342",s7="#F1F8E9",Ae="#33691E",Ee="#DCEDC8",Se="0 2px 2px rgba(1, 164, 154, 0.25)",Be="0 4px 10px rgba(1, 115, 108, 0.35)",Te="0 1px 2px rgba(1, 115, 108, 0.5)",Pe="0 2px 2px rgba(121, 133, 142, 0.25)",Ie="0 2px 2px rgba(229, 57, 53, 0.25)",Oe="0 4px 10px rgba(183, 28, 28, 0.35)",Ne="0 1px 2px rgba(183, 28, 28, 0.5)",De="0 2px 2px rgba(121, 133, 142, 0.25)",Fe="Rubik",h2="#FFFFFF",Re="#E9EBEC",H6="#79858E",a7="#364855",v1=i=>{const C={primary1:{color:m,colorHover:m,colorActive:m},primary2:{color:m,colorHover:e5,colorActive:m},outline1:{color:W,colorHover:W,colorActive:m},outline2:{color:i1,colorHover:i1,colorActive:m},text1:{color:W,colorHover:W,colorActive:W},text2:{color:e1,colorHover:a7,colorActive:e1},text3:{color:U,colorHover:U,colorActive:h2},icon1:{color:U,colorHover:U,colorActive:h2}};return g(`
|
|
75
75
|
.${i} svg > * {
|
|
76
76
|
fill: ${g(C[i].color)};
|
|
77
77
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.${i}:disabled svg > * {
|
|
88
|
-
fill: ${g(
|
|
88
|
+
fill: ${g(H6)};
|
|
89
89
|
}
|
|
90
90
|
`)};var je=V`
|
|
91
91
|
.icon-wrapper {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
${v1("text3")}
|
|
122
122
|
${v1("icon1")}
|
|
123
123
|
|
|
124
|
-
`,Ue=Object.prototype;function n7(i){var C=i&&i.constructor,t=typeof C=="function"&&C.prototype||Ue;return i===t}function qe(i,C){return function(t){return i(C(t))}}var We=qe(Object.keys,Object),Ye=We,Ge=Object.prototype,Ke=Ge.hasOwnProperty;function Je(i){if(!n7(i))return Ye(i);var C=[];for(var t in Object(i))Ke.call(i,t)&&t!="constructor"&&C.push(t);return C}var Xe=typeof global=="object"&&global&&global.Object===Object&&global,l7=Xe,Qe=typeof self=="object"&&self&&self.Object===Object&&self,Ci=l7||Qe||Function("return this")(),L1=Ci,ti=L1.Symbol,
|
|
124
|
+
`,Ue=Object.prototype;function n7(i){var C=i&&i.constructor,t=typeof C=="function"&&C.prototype||Ue;return i===t}function qe(i,C){return function(t){return i(C(t))}}var We=qe(Object.keys,Object),Ye=We,Ge=Object.prototype,Ke=Ge.hasOwnProperty;function Je(i){if(!n7(i))return Ye(i);var C=[];for(var t in Object(i))Ke.call(i,t)&&t!="constructor"&&C.push(t);return C}var Xe=typeof global=="object"&&global&&global.Object===Object&&global,l7=Xe,Qe=typeof self=="object"&&self&&self.Object===Object&&self,Ci=l7||Qe||Function("return this")(),L1=Ci,ti=L1.Symbol,i5=ti,r7=Object.prototype,ei=r7.hasOwnProperty,ii=r7.toString,j2=i5?i5.toStringTag:void 0;function oi(i){var C=ei.call(i,j2),t=i[j2];try{i[j2]=void 0;var e=!0}catch{}var o=ii.call(i);return e&&(C?i[j2]=t:delete i[j2]),o}var si=Object.prototype,ai=si.toString;function ni(i){return ai.call(i)}var li="[object Null]",ri="[object Undefined]",h7=i5?i5.toStringTag:void 0;function U2(i){return i==null?i===void 0?ri:li:h7&&h7 in Object(i)?oi(i):ni(i)}function d7(i){var C=typeof i;return i!=null&&(C=="object"||C=="function")}var hi="[object AsyncFunction]",di="[object Function]",ci="[object GeneratorFunction]",pi="[object Proxy]";function c7(i){if(!d7(i))return!1;var C=U2(i);return C==di||C==ci||C==hi||C==pi}var vi=L1["__core-js_shared__"],V6=vi,p7=function(){var i=/[^.]+$/.exec(V6&&V6.keys&&V6.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function Li(i){return!!p7&&p7 in i}var gi=Function.prototype,ui=gi.toString;function k1(i){if(i!=null){try{return ui.call(i)}catch{}try{return i+""}catch{}}return""}var Mi=/[\\^$.*+?()[\]{}|]/g,fi=/^\[object .+?Constructor\]$/,wi=Function.prototype,mi=Object.prototype,Hi=wi.toString,Vi=mi.hasOwnProperty,Zi=RegExp("^"+Hi.call(Vi).replace(Mi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _i(i){if(!d7(i)||Li(i))return!1;var C=c7(i)?Zi:fi;return C.test(k1(i))}function xi(i,C){return i?.[C]}function q2(i,C){var t=xi(i,C);return _i(t)?t:void 0}var bi=q2(L1,"DataView"),Z6=bi,yi=q2(L1,"Map"),_6=yi,zi=q2(L1,"Promise"),x6=zi,ki=q2(L1,"Set"),b6=ki,$i=q2(L1,"WeakMap"),y6=$i,v7="[object Map]",Ai="[object Object]",L7="[object Promise]",g7="[object Set]",u7="[object WeakMap]",M7="[object DataView]",Ei=k1(Z6),Si=k1(_6),Bi=k1(x6),Ti=k1(b6),Pi=k1(y6),$1=U2;(Z6&&$1(new Z6(new ArrayBuffer(1)))!=M7||_6&&$1(new _6)!=v7||x6&&$1(x6.resolve())!=L7||b6&&$1(new b6)!=g7||y6&&$1(new y6)!=u7)&&($1=function(i){var C=U2(i),t=C==Ai?i.constructor:void 0,e=t?k1(t):"";if(e)switch(e){case Ei:return M7;case Si:return v7;case Bi:return L7;case Ti:return g7;case Pi:return u7}return C});var Ii=$1;function z6(i){return i!=null&&typeof i=="object"}var Oi="[object Arguments]";function f7(i){return z6(i)&&U2(i)==Oi}var w7=Object.prototype,Ni=w7.hasOwnProperty,Di=w7.propertyIsEnumerable,Fi=f7(function(){return arguments}())?f7:function(i){return z6(i)&&Ni.call(i,"callee")&&!Di.call(i,"callee")},Ri=Fi,ji=Array.isArray,Ui=ji,qi=9007199254740991;function m7(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=qi}function Wi(i){return i!=null&&m7(i.length)&&!c7(i)}function Yi(){return!1}var H7=typeof k=="object"&&k&&!k.nodeType&&k,V7=H7&&typeof module=="object"&&module&&!module.nodeType&&module,Gi=V7&&V7.exports===H7,Z7=Gi?L1.Buffer:void 0,Ki=Z7?Z7.isBuffer:void 0,Ji=Ki||Yi,Xi=Ji,Qi="[object Arguments]",Co="[object Array]",to="[object Boolean]",eo="[object Date]",io="[object Error]",oo="[object Function]",so="[object Map]",ao="[object Number]",no="[object Object]",lo="[object RegExp]",ro="[object Set]",ho="[object String]",co="[object WeakMap]",po="[object ArrayBuffer]",vo="[object DataView]",Lo="[object Float32Array]",go="[object Float64Array]",uo="[object Int8Array]",Mo="[object Int16Array]",fo="[object Int32Array]",wo="[object Uint8Array]",mo="[object Uint8ClampedArray]",Ho="[object Uint16Array]",Vo="[object Uint32Array]",E={};E[Lo]=E[go]=E[uo]=E[Mo]=E[fo]=E[wo]=E[mo]=E[Ho]=E[Vo]=!0,E[Qi]=E[Co]=E[po]=E[to]=E[vo]=E[eo]=E[io]=E[oo]=E[so]=E[ao]=E[no]=E[lo]=E[ro]=E[ho]=E[co]=!1;function Zo(i){return z6(i)&&m7(i.length)&&!!E[U2(i)]}function _o(i){return function(C){return i(C)}}var _7=typeof k=="object"&&k&&!k.nodeType&&k,W2=_7&&typeof module=="object"&&module&&!module.nodeType&&module,xo=W2&&W2.exports===_7,k6=xo&&l7.process,bo=function(){try{var i=W2&&W2.require&&W2.require("util").types;return i||k6&&k6.binding&&k6.binding("util")}catch{}}(),x7=bo,b7=x7&&x7.isTypedArray,yo=b7?_o(b7):Zo,zo=yo,ko="[object Map]",$o="[object Set]",Ao=Object.prototype,Eo=Ao.hasOwnProperty;function Y2(i){if(i==null)return!0;if(Wi(i)&&(Ui(i)||typeof i=="string"||typeof i.splice=="function"||Xi(i)||zo(i)||Ri(i)))return!i.length;var C=Ii(i);if(C==ko||C==$o)return!i.size;if(n7(i))return!Je(i).length;for(var t in i)if(Eo.call(i,t))return!1;return!0}var So={12:s`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
125
125
|
<path
|
|
126
126
|
d="M10.0625 3.25H6.3125L5.0625 2H1.9375C1.68886 2 1.4504 2.09877 1.27459 2.27459C1.09877 2.4504 1 2.68886 1 2.9375L1 8.5625C1 8.81114 1.09877 9.0496 1.27459 9.22541C1.4504 9.40123 1.68886 9.5 1.9375 9.5H10.0625C10.3111 9.5 10.5496 9.40123 10.7254 9.22541C10.9012 9.0496 11 8.81114 11 8.5625V4.1875C11 3.93886 10.9012 3.7004 10.7254 3.52459C10.5496 3.34877 10.3111 3.25 10.0625 3.25ZM8.02148 6.53125C8.02148 6.61413 7.98856 6.69362 7.92996 6.75222C7.87135 6.81083 7.79186 6.84375 7.70898 6.84375H6.45898V8.09375C6.45898 8.17663 6.42606 8.25612 6.36746 8.31472C6.30885 8.37333 6.22936 8.40625 6.14648 8.40625H5.83398C5.7511 8.40625 5.67162 8.37333 5.61301 8.31472C5.55441 8.25612 5.52148 8.17663 5.52148 8.09375V6.84375H4.27148C4.1886 6.84375 4.10912 6.81083 4.05051 6.75222C3.99191 6.69362 3.95898 6.61413 3.95898 6.53125V6.21875C3.95898 6.13587 3.99191 6.05638 4.05051 5.99778C4.10912 5.93917 4.1886 5.90625 4.27148 5.90625H5.52148V4.65625C5.52148 4.57337 5.55441 4.49388 5.61301 4.43528C5.67162 4.37667 5.7511 4.34375 5.83398 4.34375H6.14648C6.22936 4.34375 6.30885 4.37667 6.36746 4.43528C6.42606 4.49388 6.45898 4.57337 6.45898 4.65625V5.90625H7.70898C7.79186 5.90625 7.87135 5.93917 7.92996 5.99778C7.98856 6.05638 8.02148 6.13587 8.02148 6.21875V6.53125Z"
|
|
127
127
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
@@ -1455,7 +1455,7 @@
|
|
|
1455
1455
|
<path
|
|
1456
1456
|
d="M20.251 19.1056C20.6397 19.4889 21.1854 19.6808 21.888 19.6808C22.3544 19.6808 22.7595 19.5912 23.1029 19.4113C23.4463 19.2314 23.7087 18.9782 23.8913 18.6513C24.0734 18.3243 24.1647 17.9405 24.1647 17.5009V16.7288C24.1647 16.6698 24.1472 16.6228 24.1122 16.5883C24.0773 16.5533 24.033 16.5358 23.9794 16.5358H22.1614C22.1078 16.5358 22.0635 16.555 22.0285 16.5922C21.9935 16.6299 21.976 16.6753 21.976 16.7288V16.9864C21.976 17.0454 21.9935 17.0924 22.0285 17.1269C22.0635 17.1619 22.1078 17.1794 22.1614 17.1794H23.3681V17.5173C23.3681 18.011 23.2341 18.3806 22.9657 18.6272C22.6972 18.8738 22.338 18.9974 21.8874 18.9974C21.4424 18.9974 21.0935 18.8755 20.8415 18.6316C20.5894 18.3877 20.4527 18.0083 20.4314 17.4932C20.4259 17.3325 20.4232 17.0935 20.4232 16.777C20.4232 16.4549 20.4259 16.2165 20.4314 16.0612C20.4527 15.5517 20.5894 15.1766 20.8415 14.9349C21.0935 14.6938 21.4418 14.5729 21.8874 14.5729C22.2735 14.5729 22.5807 14.6588 22.8087 14.8305C23.0368 15.0021 23.1909 15.2088 23.2713 15.45C23.2926 15.509 23.3156 15.5478 23.3397 15.5664C23.3637 15.585 23.4025 15.5948 23.4561 15.5948H23.9307C23.9788 15.5948 24.0193 15.5817 24.0516 15.5544C24.0838 15.5276 24.0997 15.4926 24.0997 15.45V15.4341C24.0887 15.2247 24.0002 14.9994 23.8339 14.7583C23.6677 14.5172 23.4195 14.3116 23.0898 14.1426C22.7601 13.9737 22.3588 13.8895 21.8869 13.8895C21.1898 13.8895 20.6452 14.0798 20.2537 14.4608C19.8622 14.8419 19.6528 15.3619 19.626 16.0213C19.6205 16.1772 19.6178 16.4292 19.6178 16.7775C19.6178 17.1209 19.6205 17.3729 19.626 17.5337C19.6539 18.198 19.8617 18.7224 20.251 19.1056Z"
|
|
1457
1457
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
1458
|
-
</svg>`},
|
|
1458
|
+
</svg>`},Es={12:s`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1459
1459
|
<path
|
|
1460
1460
|
d="M10.6875 8.875H4.125V8.5625C4.125 8.39062 3.98438 8.25 3.8125 8.25H3.1875C3.01562 8.25 2.875 8.39062 2.875 8.5625V8.875H1.3125C1.14062 8.875 1 9.01562 1 9.1875V9.8125C1 9.98438 1.14062 10.125 1.3125 10.125H2.875V10.4375C2.875 10.6094 3.01562 10.75 3.1875 10.75H3.8125C3.98438 10.75 4.125 10.6094 4.125 10.4375V10.125H10.6875C10.8594 10.125 11 9.98438 11 9.8125V9.1875C11 9.01562 10.8594 8.875 10.6875 8.875ZM10.6875 5.75H9.125V5.4375C9.125 5.26562 8.98438 5.125 8.8125 5.125H8.1875C8.01562 5.125 7.875 5.26562 7.875 5.4375V5.75H1.3125C1.14062 5.75 1 5.89062 1 6.0625V6.6875C1 6.85938 1.14062 7 1.3125 7H7.875V7.3125C7.875 7.48438 8.01562 7.625 8.1875 7.625H8.8125C8.98438 7.625 9.125 7.48438 9.125 7.3125V7H10.6875C10.8594 7 11 6.85938 11 6.6875V6.0625C11 5.89062 10.8594 5.75 10.6875 5.75ZM10.6875 2.625H6.625V2.3125C6.625 2.14062 6.48438 2 6.3125 2H5.6875C5.51562 2 5.375 2.14062 5.375 2.3125V2.625H1.3125C1.14062 2.625 1 2.76562 1 2.9375V3.5625C1 3.73438 1.14062 3.875 1.3125 3.875H5.375V4.1875C5.375 4.35938 5.51562 4.5 5.6875 4.5H6.3125C6.48438 4.5 6.625 4.35938 6.625 4.1875V3.875H10.6875C10.8594 3.875 11 3.73438 11 3.5625V2.9375C11 2.76562 10.8594 2.625 10.6875 2.625Z"
|
|
1461
1461
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
@@ -1475,7 +1475,7 @@
|
|
|
1475
1475
|
<path
|
|
1476
1476
|
d="M29.5625 23.2499H12.5V21.0624C12.5 20.3351 11.9148 19.7499 11.1875 19.7499H8.5625C7.83516 19.7499 7.25 20.3351 7.25 21.0624V23.2499H2.4375C2.19687 23.2499 2 23.4468 2 23.6874V24.5624C2 24.803 2.19687 24.9999 2.4375 24.9999H7.25V27.1874C7.25 27.9148 7.83516 28.4999 8.5625 28.4999H11.1875C11.9148 28.4999 12.5 27.9148 12.5 27.1874V24.9999H29.5625C29.8031 24.9999 30 24.803 30 24.5624V23.6874C30 23.4468 29.8031 23.2499 29.5625 23.2499ZM10.75 26.7499H9V21.4999H10.75V26.7499ZM29.5625 7.49991H16V5.31241C16 4.58506 15.4148 3.99991 14.6875 3.99991H12.0625C11.3352 3.99991 10.75 4.58506 10.75 5.31241V7.49991H2.4375C2.19687 7.49991 2 7.69678 2 7.93741V8.81241C2 9.05303 2.19687 9.24991 2.4375 9.24991H10.75V11.4374C10.75 12.1648 11.3352 12.7499 12.0625 12.7499H14.6875C15.4148 12.7499 16 12.1648 16 11.4374V9.24991H29.5625C29.8031 9.24991 30 9.05303 30 8.81241V7.93741C30 7.69678 29.8031 7.49991 29.5625 7.49991ZM14.25 10.9999H12.5V5.74991H14.25V10.9999ZM29.5625 15.3749H24.75V13.1874C24.75 12.4601 24.1648 11.8749 23.4375 11.8749H20.8125C20.0852 11.8749 19.5 12.4601 19.5 13.1874V15.3749H2.4375C2.19687 15.3749 2 15.5718 2 15.8124V16.6874C2 16.928 2.19687 17.1249 2.4375 17.1249H19.5V19.3124C19.5 20.0398 20.0852 20.6249 20.8125 20.6249H23.4375C24.1648 20.6249 24.75 20.0398 24.75 19.3124V17.1249H29.5625C29.8031 17.1249 30 16.928 30 16.6874V15.8124C30 15.5718 29.8031 15.3749 29.5625 15.3749ZM23 18.8749H21.25V13.6249H23V18.8749Z"
|
|
1477
1477
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
1478
|
-
</svg>`},
|
|
1478
|
+
</svg>`},Ss={16:s`<svg
|
|
1479
1479
|
xmlns="http://www.w3.org/2000/svg"
|
|
1480
1480
|
width="16"
|
|
1481
1481
|
height="11.5"
|
|
@@ -2822,7 +2822,7 @@
|
|
|
2822
2822
|
<path
|
|
2823
2823
|
d="M23.25 19.5C21.6859 19.5 20.2859 20.1836 19.3234 21.2664L14.1008 18.0016C14.6258 16.7219 14.6312 15.2781 14.1008 13.9984L19.3234 10.7336C20.2859 11.8164 21.6859 12.5 23.25 12.5C26.1484 12.5 28.5 10.1484 28.5 7.25C28.5 4.35156 26.1484 2 23.25 2C20.3516 2 18 4.35156 18 7.25C18 7.96094 18.1422 8.63359 18.3938 9.25156L13.1711 12.5164C12.2141 11.4336 10.8141 10.75 9.25 10.75C6.35156 10.75 4 13.1016 4 16C4 18.8984 6.35156 21.25 9.25 21.25C10.8141 21.25 12.2141 20.5664 13.1766 19.4836L18.3992 22.7484C18.1422 23.3664 18.0055 24.0391 18.0055 24.75C18.0055 27.6484 20.357 30 23.2555 30C26.1539 30 28.5055 27.6484 28.5055 24.75C28.5 21.8516 26.1484 19.5 23.25 19.5ZM23.25 3.75C25.1805 3.75 26.75 5.31953 26.75 7.25C26.75 9.18047 25.1805 10.75 23.25 10.75C21.3195 10.75 19.75 9.18047 19.75 7.25C19.75 5.31953 21.3195 3.75 23.25 3.75ZM9.25 19.5C7.31953 19.5 5.75 17.9305 5.75 16C5.75 14.0695 7.31953 12.5 9.25 12.5C11.1805 12.5 12.75 14.0695 12.75 16C12.75 17.9305 11.1805 19.5 9.25 19.5ZM23.25 28.25C21.3195 28.25 19.75 26.6805 19.75 24.75C19.75 22.8195 21.3195 21.25 23.25 21.25C25.1805 21.25 26.75 22.8195 26.75 24.75C26.75 26.6805 25.1805 28.25 23.25 28.25Z"
|
|
2824
2824
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
2825
|
-
</svg>`},
|
|
2825
|
+
</svg>`},Ea={12:s`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2826
2826
|
<path
|
|
2827
2827
|
d="M4.51545 9.49963H2.87491C1.8398 9.49963 1 8.65983 1 7.62473V3.87491C1 2.8398 1.8398 2 2.87491 2H4.51545C4.64435 2 4.74982 2.10546 4.74982 2.23436V3.01558C4.74982 3.14448 4.64435 3.24994 4.51545 3.24994H2.87491C2.52922 3.24994 2.24994 3.52922 2.24994 3.87491V7.62473C2.24994 7.97041 2.52922 8.24969 2.87491 8.24969H4.51545C4.64435 8.24969 4.74982 8.35516 4.74982 8.48406V9.26527C4.74982 9.39417 4.64435 9.49963 4.51545 9.49963ZM6.81808 3.58L8.33363 4.96861H4.59357C4.33382 4.96861 4.12485 5.17758 4.12485 5.43733V6.0623C4.12485 6.32205 4.33382 6.53103 4.59357 6.53103H8.33363L6.81808 7.91963C6.62082 8.09931 6.61496 8.40789 6.80245 8.59733L7.23016 9.02505C7.4118 9.20668 7.70866 9.20863 7.89224 9.027L10.8608 6.08183C11.0464 5.89825 11.0464 5.59943 10.8608 5.41585L7.89419 2.47459C7.71061 2.29295 7.4157 2.29295 7.23212 2.47654L6.8044 2.90425C6.61496 3.09174 6.62277 3.40032 6.81808 3.58Z"
|
|
2828
2828
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
@@ -2842,7 +2842,7 @@
|
|
|
2842
2842
|
<path
|
|
2843
2843
|
d="M4.62436 6H11.8413C12.2022 6 12.4974 6.29524 12.4974 6.65609V7.09348C12.4974 7.45433 12.2022 7.74957 11.8413 7.74957H4.62436C4.14323 7.74957 3.74957 8.14323 3.74957 8.62436V24.3705C3.74957 24.8516 4.14323 25.2453 4.62436 25.2453H11.8413C12.2022 25.2453 12.4974 25.5405 12.4974 25.9014V26.3388C12.4974 26.6996 12.2022 26.9949 11.8413 26.9949H4.62436C3.17549 26.9949 2 25.8194 2 24.3705V8.62436C2 7.17549 3.17549 6 4.62436 6ZM19.8784 7.06615L19.4903 7.45433C19.2333 7.7113 19.2333 8.12682 19.4903 8.38379L26.7072 15.568H11.404C11.0431 15.568 10.7479 15.8632 10.7479 16.2241V16.7708C10.7479 17.1317 11.0431 17.4269 11.404 17.4269H26.7072L19.4957 24.6111C19.2388 24.868 19.2388 25.2836 19.4957 25.5405L19.8839 25.9287C20.1409 26.1857 20.5564 26.1857 20.8134 25.9287L29.8073 16.9622C30.0642 16.7052 30.0642 16.2897 29.8073 16.0327L20.8079 7.06615C20.5509 6.80918 20.1354 6.80918 19.8784 7.06615Z"
|
|
2844
2844
|
fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
2845
|
-
</svg>`},
|
|
2845
|
+
</svg>`},Sa={12:s`<svg
|
|
2846
2846
|
width="12"
|
|
2847
2847
|
height="12"
|
|
2848
2848
|
viewBox="0 0 12 12"
|
|
@@ -3780,7 +3780,7 @@
|
|
|
3780
3780
|
<path d="M31.861 61.6152C31.3997 61.4556 31.1502 60.9499 31.3198 60.4887C31.4795 60.0274 31.9851 59.779 32.4464 59.9387V59.9476C32.9077 60.1083 33.1572 60.6129 32.9875 61.0741C32.8644 61.4378 32.5185 61.6685 32.1537 61.6685C32.0561 61.6685 31.9574 61.6507 31.861 61.6152ZM29.182 60.3201C28.7729 60.054 28.6586 59.504 28.9237 59.0871C29.1909 58.6791 29.7398 58.5637 30.1489 58.8299C30.5559 59.096 30.6811 59.646 30.405 60.054C30.2365 60.3201 29.9527 60.4621 29.6599 60.4621C29.5003 60.4621 29.3328 60.4088 29.182 60.3201ZM26.9023 58.3863C26.5752 58.0226 26.6007 57.4638 26.9644 57.1267C27.3192 56.7985 27.8858 56.8251 28.2151 57.1888C28.5422 57.5436 28.5167 58.1113 28.153 58.4384C27.9845 58.5992 27.7716 58.6702 27.5587 58.6702C27.3192 58.6702 27.0786 58.5726 26.9023 58.3863ZM25.1736 55.9735C24.933 55.5477 25.0838 55.0066 25.5096 54.7671C25.9354 54.5276 26.4765 54.6784 26.726 55.1042C26.9655 55.53 26.8058 56.0711 26.38 56.3106C26.2469 56.3904 26.0962 56.4259 25.9454 56.4259C25.6349 56.4259 25.3333 56.2662 25.1747 55.9735H25.1736ZM23.9838 53.2946C23.8242 52.8333 24.0736 52.3277 24.5349 52.168C24.9962 52.0072 25.5018 52.2567 25.6615 52.718C25.8212 53.1793 25.5728 53.6849 25.1126 53.8446C25.0239 53.88 24.9253 53.8978 24.8288 53.8978C24.4562 53.8978 24.1102 53.666 23.9849 53.2935L23.9838 53.2946ZM23.2387 50.5092C23.15 50.0213 23.4605 49.5601 23.9406 49.4625C24.4185 49.3649 24.8897 49.6743 24.9873 50.1633C25.076 50.6412 24.7655 51.1113 24.2876 51.2011C24.2255 51.21 24.1712 51.2189 24.1091 51.2189C23.6933 51.2189 23.3296 50.9261 23.2398 50.5092H23.2387Z" fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
3781
3781
|
<path d="M45.8114 49.1408C45.5785 49.1408 45.3501 49.0466 45.1849 48.8814C45.0197 48.7161 44.9243 48.4877 44.9243 48.2538C44.9243 48.0198 45.0197 47.7914 45.1849 47.6273C45.3501 47.4621 45.5785 47.3667 45.8114 47.3667C46.0442 47.3667 46.2738 47.4621 46.439 47.6273C46.6042 47.7925 46.6984 48.0209 46.6984 48.2538C46.6984 48.4866 46.6042 48.7161 46.439 48.8814C46.2738 49.0466 46.0453 49.1408 45.8114 49.1408Z" fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
3782
3782
|
</svg>
|
|
3783
|
-
`},
|
|
3783
|
+
`},En={12:s``,16:s``,20:s``,24:s``,32:s``,70:s`<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3784
3784
|
<path d="M35.4968 43.4858C32.4751 43.4858 31.4349 42.7584 30.4292 42.0542C30.2207 41.909 30.0234 41.7703 29.806 41.6373C28.2325 41.0984 25.2629 38.7553 24.2439 33.3761C22.9642 32.9481 21.3042 31.5797 21.3042 28.405C21.3042 25.9577 22.4453 25.1016 22.5761 25.0129L23.5808 26.4755C23.5808 26.4755 23.5941 26.4678 23.6151 26.45C23.6096 26.4545 23.0773 26.9269 23.0773 28.4061C23.0773 29.7778 23.4399 30.7603 24.154 31.3269C24.622 31.6984 25.0877 31.7594 25.0922 31.7605C25.4991 31.796 25.8284 32.1042 25.8917 32.5079C26.7111 37.7651 29.4445 39.6812 30.4281 39.9762C30.4969 39.9961 30.5622 40.025 30.6232 40.0616C30.9337 40.2445 31.1943 40.4264 31.4449 40.6027C32.332 41.2237 33.0329 41.7138 35.4957 41.7138C37.9585 41.7138 38.6593 41.2237 39.5464 40.6027C39.7981 40.4264 40.0587 40.2445 40.3681 40.0616C40.4291 40.025 40.4945 39.9973 40.5633 39.9762C41.5468 39.6812 44.2791 37.7651 45.0997 32.5079C45.164 32.0965 45.4789 31.7871 45.8936 31.7616C46.1331 31.7316 47.914 31.4034 47.914 28.4072C47.914 26.928 47.3818 26.4556 47.3762 26.4512C47.3973 26.47 47.4106 26.4767 47.4106 26.4767L48.4152 25.014C48.545 25.1039 49.6872 25.9588 49.6872 28.4061C49.6872 31.5808 48.0271 32.9492 46.7475 33.3772C45.7284 38.7564 42.7577 41.0995 41.1853 41.6384C40.968 41.7704 40.7695 41.909 40.5622 42.0553C39.5564 42.7595 38.5163 43.4869 35.4946 43.4869L35.4968 43.4858Z" fill="#203442"/>
|
|
3785
3785
|
<path d="M47.9213 26.6295C47.7616 26.6295 47.5997 26.5863 47.4544 26.4953C44.6478 24.7522 44.5824 22.2649 44.5259 20.0716C44.4771 18.1876 44.4305 16.4078 42.8592 14.8366C41.8546 13.8319 39.3796 13.3218 35.5029 13.3218C31.6263 13.3218 29.1513 13.8308 28.1466 14.8366C26.5753 16.4078 26.5298 18.1876 26.4799 20.0716C26.4234 22.2649 26.358 24.7522 23.5514 26.4953C23.1356 26.7537 22.5878 26.6262 22.3294 26.2092C22.0711 25.7934 22.1985 25.2456 22.6155 24.9872C24.6092 23.7486 24.6525 22.1053 24.7069 20.025C24.7601 17.9758 24.8211 15.6527 26.8925 13.5813C28.2797 12.1941 31.0163 11.5476 35.504 11.5476C39.9916 11.5476 42.7273 12.1941 44.1156 13.5813C46.187 15.6527 46.2479 17.9758 46.3012 20.025C46.3555 22.1053 46.3977 23.7486 48.3926 24.9872C48.8084 25.2456 48.937 25.7923 48.6786 26.2092C48.5112 26.4798 48.2207 26.6284 47.9246 26.6284L47.9213 26.6295Z" fill="#203442"/>
|
|
3786
3786
|
<path d="M42.6979 44.8262C42.2954 44.8262 41.9306 44.55 41.8353 44.1409C41.7532 43.7927 41.7144 43.46 41.7144 43.1218V39.7064C41.7144 39.2163 42.1113 38.8193 42.6015 38.8193C43.0916 38.8193 43.4886 39.2163 43.4886 39.7064V43.1218C43.4886 43.3236 43.5119 43.5188 43.5629 43.735C43.6749 44.2118 43.3788 44.6898 42.902 44.8018C42.8344 44.8173 42.7656 44.8251 42.6991 44.8251L42.6979 44.8262Z" fill="#203442"/>
|
|
@@ -3793,7 +3793,7 @@
|
|
|
3793
3793
|
<path d="M25.7763 54.131C25.539 54.131 25.3094 54.0357 25.142 53.8638C25.1087 53.8294 24.3148 53.0155 23.5086 52.0441C21.9218 50.1335 21.7178 49.3329 21.7178 48.8494C21.7178 48.6332 21.7965 48.4247 21.9395 48.2628C22.0837 48.0987 25.5057 44.2409 27.9352 43.1343C28.381 42.9313 28.9077 43.1287 29.1107 43.5745C29.3136 44.0203 29.1162 44.5459 28.6705 44.7499C27.1036 45.464 24.704 47.8703 23.5818 49.0912C23.8546 49.6578 24.6907 50.7545 25.6865 51.8534C26.7953 50.424 28.3056 49.0157 30.0178 48.8794C30.7607 48.8206 31.8674 48.9891 32.9363 50.1324C33.2712 50.4906 33.2524 51.0517 32.8942 51.3865C32.536 51.7214 31.9749 51.7026 31.64 51.3444C31.1632 50.8343 30.6787 50.6059 30.1586 50.648C29.1218 50.7312 27.759 51.8867 26.5115 53.7396C26.3629 53.9614 26.1222 54.1033 25.8561 54.1277C25.8295 54.1299 25.8018 54.131 25.7752 54.131H25.7763Z" fill="#203442"/>
|
|
3794
3794
|
<path d="M35.5002 63.0006C35.2995 63.0006 35.0977 62.933 34.9336 62.7966C31.343 59.8181 28.4034 56.2254 26.1956 52.117C25.9638 51.6856 26.1257 51.1478 26.5571 50.916C26.9885 50.6843 27.5263 50.8462 27.758 51.2775C29.7396 54.9646 32.341 58.2158 35.4991 60.9503C38.6572 58.2158 41.2586 54.9646 43.2402 51.2775C43.4719 50.8462 44.0098 50.6843 44.4411 50.916C44.8725 51.1478 45.0344 51.6856 44.8026 52.117C42.5949 56.2254 39.6552 59.8181 36.0646 62.7966C35.9005 62.933 35.6998 63.0006 35.498 63.0006H35.5002Z" fill="#203442"/>
|
|
3795
3795
|
</svg>
|
|
3796
|
-
`},
|
|
3796
|
+
`},Sn={12:s``,16:s``,20:s``,24:s``,32:s``,70:s`<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3797
3797
|
<path d="M35.4996 42.4848C32.499 42.4848 31.4611 41.7629 30.4576 41.0644C30.2181 40.898 29.9908 40.7395 29.7335 40.592C27.0334 39.034 25.1528 36.2031 24.2712 32.3841C22.9882 31.9661 21.3061 30.6011 21.3061 27.4042C21.3061 24.9569 22.4471 24.1009 22.578 24.0121L23.5826 25.4736C23.5826 25.4736 23.5959 25.4659 23.617 25.4481C23.6114 25.4526 23.0792 25.9249 23.0792 27.4042C23.0792 28.7759 23.4418 29.7583 24.1559 30.3249C24.6238 30.6964 25.0895 30.7574 25.094 30.7585C25.4865 30.7929 25.8092 31.0823 25.8868 31.4682C26.3881 33.9731 27.6156 37.3219 30.6184 39.0551C30.94 39.2414 31.2094 39.4277 31.4689 39.6084C32.3549 40.2238 33.0535 40.7106 35.4974 40.7106C37.9414 40.7106 38.6411 40.2238 39.5259 39.6084C39.7854 39.4277 40.0538 39.2414 40.3764 39.0551C43.3793 37.3219 44.6068 33.972 45.108 31.4682C45.1867 31.0745 45.495 30.784 45.8953 30.7585C46.1348 30.7286 47.9156 30.4003 47.9156 27.4042C47.9156 25.9249 47.3834 25.4526 47.3779 25.4481C47.3989 25.467 47.4122 25.4736 47.4122 25.4736L48.4169 24.0121C48.5466 24.102 49.6887 24.9569 49.6887 27.4042C49.6887 30.6011 48.0066 31.9661 46.7236 32.3841C45.8421 36.2031 43.9614 39.0329 41.2613 40.592C41.0041 40.7406 40.7767 40.898 40.5372 41.0655C39.5337 41.7641 38.4958 42.4859 35.4952 42.4859L35.4996 42.4848Z" fill="#203442"/>
|
|
3798
3798
|
<path d="M47.9204 25.6302C45.258 25.6302 44.5373 23.2306 43.9584 21.3023C43.2776 19.0357 42.762 17.6463 40.8237 17.6463C39.4609 17.6463 38.5981 17.8936 37.7643 18.132C37.0446 18.3383 36.3649 18.5334 35.5011 18.5334C34.6373 18.5334 33.9575 18.3383 33.2379 18.132C32.404 17.8925 31.5413 17.6463 30.1785 17.6463C28.2413 17.6463 27.7257 19.0357 27.0437 21.3023C26.4649 23.2306 25.7441 25.6302 23.0817 25.6302C22.5916 25.6302 22.1946 25.2332 22.1946 24.7431C22.1946 24.253 22.5916 23.856 23.0817 23.856C24.2971 23.856 24.7051 22.9223 25.3449 20.7922C25.9681 18.7164 26.8231 15.8721 30.1785 15.8721C31.7908 15.8721 32.8642 16.1793 33.7269 16.4266C34.3745 16.6117 34.8868 16.7592 35.5011 16.7592C36.1154 16.7592 36.6277 16.6129 37.2753 16.4266C38.138 16.1793 39.2114 15.8721 40.8237 15.8721C44.1791 15.8721 45.0329 18.7153 45.6572 20.7922C46.2971 22.9223 46.7051 23.856 47.9204 23.856C48.4106 23.856 48.8075 24.253 48.8075 24.7431C48.8075 25.2332 48.4106 25.6302 47.9204 25.6302Z" fill="#203442"/>
|
|
3799
3799
|
<path d="M62.1118 62.0011C61.6217 62.0011 61.2247 61.6041 61.2247 61.114V61.0652C61.2247 56.1917 61.2247 52.3417 54.2831 50.6662C48.5458 49.2768 41.7086 46.6665 41.7086 42.1213V38.4753C41.7086 37.9852 42.1055 37.5882 42.5957 37.5882C43.0858 37.5882 43.4827 37.9852 43.4827 38.4753V42.1213C43.4827 44.7282 47.5711 47.2143 54.7012 48.9419C58.4026 49.8346 60.7767 51.4646 61.9598 53.9241C63 56.0864 63 58.6179 63 61.0663V61.1151C63 61.6052 62.603 62.0022 62.1129 62.0022L62.1118 62.0011Z" fill="#203442"/>
|
|
@@ -4539,7 +4539,7 @@
|
|
|
4539
4539
|
`,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4540
4540
|
<path d="M18.1408 14.0092L27.6118 3H25.3675L17.1438 12.5592L10.5756 3H3L12.9324 17.4551L3 29H5.24444L13.9288 18.9052L20.8653 29H28.4409L18.1403 14.0092H18.1408ZM15.0667 17.5825L14.0604 16.1431L6.05315 4.68958H9.50048L15.9624 13.9329L16.9688 15.3723L25.3685 27.3873H21.9212L15.0667 17.583V17.5825Z" fill="var(--eloisa-ds-icon-color, #203442)"/>
|
|
4541
4541
|
</svg>
|
|
4542
|
-
`},z7={"flat-addDiagnosis":
|
|
4542
|
+
`},z7={"flat-addDiagnosis":So,"flat-addToContent":Bo,"flat-addUser":To,"flat-alert":Po,"flat-ambulance":Io,"flat-appleAlt":Oo,"flat-arrowDown":No,"flat-arrowLeft":Do,"flat-arrowRight":Fo,"flat-arrowUp":Ro,"flat-arrowUpRight":Uo,"flat-arrowLLeft":jo,"flat-attached":qo,"flat-baby":Wo,"flat-bellOff":Yo,"flat-bellOn":Go,"flat-birth":Ko,"flat-bold":Jo,"flat-calendarOff":Xo,"flat-calendarOn":Qo,"flat-CalendarOOff":Cs,"flat-call":y7,"flat-cam":ts,"flat-camera":es,"flat-chartOff":is,"flat-chartOn":os,"flat-check":ss,"flat-chevronDown":as,"flat-chevronLeft":ns,"flat-chevronRight":ls,"flat-chevronUp":rs,"flat-clock":hs,"flat-close":ds,"flat-cloudUpload":cs,"flat-copy":ps,"flat-creditCard":vs,"flat-deleteUser":Ls,"flat-doctor":gs,"flat-doubleArrowDown":us,"flat-doubleArrowUp":Ms,"flat-download":fs,"flat-empty":ws,"flat-envelope":ms,"flat-error":Hs,"flat-externalLink":Vs,"flat-eye":Zs,"flat-eyeSlash":_s,"flat-eyeSSlash":xs,"flat-facebook":bs,"flat-family":ys,"flat-fileGif":zs,"flat-fileJpg":ks,"flat-filePdf":$s,"flat-filePng":As,"flat-filterHorizontal":Es,"flat-flagChile":Ss,"flat-folder":Bs,"flat-format":Ts,"flat-fullScreen":Ps,"flat-gear":Is,"flat-gears":Os,"flat-gland":Ns,"flat-globeText":Ds,"flat-goBack":Fs,"flat-heart":Rs,"flat-heartBeat":js,"flat-help":Us,"flat-helpCenter":y7,"flat-hormones":qs,"flat-hospital":Ws,"flat-identification":Ys,"flat-info":Gs,"flat-laptop":Ks,"flat-lightbulb":Js,"flat-linkedin":Xs,"flat-listOff":Qs,"flat-listOn":Ca,"flat-loading":ta,"flat-lock":ea,"flat-mail":ia,"flat-medicTool":oa,"flat-menu":sa,"flat-microphone":aa,"flat-minus":na,"flat-money":la,"flat-more":ra,"flat-noCam":da,"flat-noMicrophone":ca,"flat-noUser":pa,"flat-notification":va,"flat-paper":La,"flat-pen":ga,"flat-phone":ua,"flat-plus":Ma,"flat-pregnant":fa,"flat-profileOff":wa,"flat-profileOn":ma,"flat-question":Ha,"flat-radiography":Va,"flat-receipt":Za,"flat-recipe":_a,"flat-retry":xa,"flat-rut":ba,"flat-safety":ya,"flat-schedule":za,"flat-search":ka,"flat-sex":$a,"flat-share":Aa,"flat-signOut":Ea,"flat-signOOut":Sa,"flat-sms":Ba,"flat-sortDown":Ta,"flat-sortLeft":Pa,"flat-sortRight":Ia,"flat-sortUp":Oa,"flat-star":Na,"flat-success":Da,"flat-syringe":Fa,"flat-table":Ra,"flat-telegram":ja,"flat-textColor":Ua,"flat-ticket":qa,"flat-trash":Wa,"flat-tube":Ya,"flat-twitter":Ga,"flat-union":Ka,"flat-upload":Ja,"flat-uploadTo":Xa,"flat-urgency":Qa,"flat-user":Cn,"flat-userLock":tn,"flat-warning":en,"flat-whatsapp":on,"flat-wifi":sn,"flat-instagram":an,"flat-youtube":nn,"flat-spotify":ln,"flat-mobile":rn,"flat-moon":ha,"flat-keynote":hn,"flat-invoiceDollar":dn,"flat-xRay":cn,"flat-noteMedical":pn,"flat-userCircle":vn,"flat-filesMedical":Ln,"flat-vials":gn,"flat-laptopMedical":un,"flat-locationDot":Mn,"flat-ballotCheck":fn,"flat-clipboardListCheck":wn,"flat-languages":mn,"flat-code":Hn,"flat-noSmoking":Vn,"flat-heartbeat2":Zn,"flat-cycling":_n,"flat-trophy":xn,"flat-lungsExam":bn,"flat-lungs2":yn,"flat-womanLonghair":zn,"flat-womanShorthair":kn,"flat-womanCurlyhair":$n,"flat-womanOld":An,"flat-manShorthair":En,"flat-manMediumhair":Sn,"flat-manBeard":Bn,"flat-manOld":Tn,"flat-curveDown":Pn,"flat-curveUp":In,"flat-pediatrics":On,"flat-adolescence":Nn,"flat-geriatrics":Dn,"flat-teleUrgency":Fn,"flat-interPatient":Rn,"flat-branchOffices":jn,"flat-regionalPatient":Un,"flat-companyHealth":qn,"flat-newspaper2":Wn,"flat-environmental":Yn,"flat-fileInvoiceDollar":Gn,"flat-spotifySolid":Kn,"flat-youtubeSolid":Jn,"flat-homeApp":Xn,"flat-accessibilityLight":Qn,"flat-accessibilityStrong":Cl,"flat-arrowsRotate":tl,"flat-carVolt":el,"flat-dumpster":il,"flat-faucetDrip":ol,"flat-fireFlame":sl,"flat-hose":al,"flat-moneyCheckDollar":nl,"flat-paintRoller":ll,"flat-seedlingLight":rl,"flat-smartphone":hl,"flat-solarPanel":dl,"flat-trashUndo":cl,"flat-windTurbine":pl,"flat-instagramSolid":vl,"flat-usdCircle":Ll,"flat-calendarCheck":gl,"flat-x":ul},Ml={20:s`<svg
|
|
4543
4543
|
width="20"
|
|
4544
4544
|
height="20"
|
|
4545
4545
|
viewBox="0 0 20 20"
|
|
@@ -4929,7 +4929,7 @@
|
|
|
4929
4929
|
stroke="#203442" stroke-width="0.896041" stroke-linecap="round" stroke-linejoin="round" />
|
|
4930
4930
|
<path d="M14.1978 12.0877C15.8805 11.4206 16.8634 11.4206 18.5468 12.0877" stroke="#203442"
|
|
4931
4931
|
stroke-width="0.896041" stroke-linecap="round" stroke-linejoin="round" />
|
|
4932
|
-
</svg>`},
|
|
4932
|
+
</svg>`},El={12:s``,16:s``,20:s``,24:s``,32:s`
|
|
4933
4933
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4934
4934
|
<path d="M28.0709 20.0247L27.1887 20.956L27.8605 21.6652L28.7426 20.7339L28.0709 20.0247Z" fill="#203442" />
|
|
4935
4935
|
<path d="M26.2806 21.9143L25.3984 22.8456L26.0702 23.5548L26.9524 22.6235L26.2806 21.9143Z" fill="#203442" />
|
|
@@ -4961,7 +4961,7 @@
|
|
|
4961
4961
|
d="M14.9017 14.9255C10.5456 14.9255 7.56921 13.7519 7.28035 11.9008C7.1622 11.1442 7.43322 9.97529 9.39787 8.70249C9.59704 8.57317 9.85696 8.63936 9.97849 8.84912C10.1005 9.05887 10.0383 9.3338 9.8396 9.4621C8.6369 10.2416 8.00805 11.0775 8.11415 11.7552C8.29788 12.9323 10.7973 14.089 15.2315 14.0309H15.2373C15.4678 14.0309 15.6564 14.2264 15.6593 14.4708C15.6622 14.7172 15.4755 14.9194 15.2426 14.9224C15.1283 14.9239 15.0145 14.9249 14.9022 14.9249L14.9017 14.9255Z"
|
|
4962
4962
|
fill="#203442" />
|
|
4963
4963
|
</svg>
|
|
4964
|
-
`},
|
|
4964
|
+
`},Sl={12:s``,16:s``,20:s``,24:s``,32:s`
|
|
4965
4965
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4966
4966
|
<path
|
|
4967
4967
|
d="M24.7003 27.5616C24.471 27.5616 24.2852 27.3655 24.2852 27.1234V24.139C24.2852 23.6251 24.2037 23.1514 24.0431 22.7316C23.9303 22.4374 23.7961 22.1978 23.6445 22.0196C22.9109 21.1566 20.4025 20.3106 19.4979 20.0574C19.4851 20.0539 19.4723 20.0494 19.4595 20.0444C18.5501 19.6872 17.9259 18.9182 17.8316 18.0371C17.8307 18.0281 17.8302 18.0186 17.8293 18.0091L17.7918 17.2011L13.9452 16.9314L13.9054 18.0046C13.9054 18.0156 13.9039 18.0266 13.903 18.0376C13.8068 18.9192 13.1746 19.6882 12.2529 20.0444C12.2405 20.0494 12.2277 20.0534 12.215 20.0569C11.2965 20.3101 8.74837 21.1571 8.00293 22.0211C7.85033 22.1983 7.71527 22.4349 7.60153 22.7251C7.43614 23.1468 7.35274 23.6266 7.35274 24.15V27.1229C7.35274 27.365 7.16697 27.5611 6.9376 27.5611C6.70823 27.5611 6.52246 27.365 6.52246 27.1229V24.15C6.52246 23.5111 6.62766 22.9192 6.83428 22.3909C6.98498 22.0066 7.17171 21.6839 7.38923 21.4318C8.41759 20.24 11.5378 19.34 11.9851 19.2154C12.595 18.9732 13.0111 18.4924 13.0765 17.9531L13.1324 16.4476C13.1367 16.3296 13.186 16.218 13.2694 16.1389C13.3528 16.0594 13.4594 16.0164 13.5746 16.0274L18.2155 16.3526C18.4254 16.3671 18.5922 16.5462 18.6027 16.7683L18.6576 17.9511C18.7211 18.4914 19.1306 18.9737 19.7306 19.2154C20.1737 19.3405 23.2478 20.241 24.2615 21.4338C24.4776 21.6879 24.6629 22.0141 24.8117 22.4029C25.0127 22.9277 25.1145 23.5116 25.1145 24.139V27.1234C25.1145 27.3655 24.9288 27.5616 24.6994 27.5616H24.7003Z"
|
|
@@ -5879,7 +5879,7 @@
|
|
|
5879
5879
|
<path d="M21.8705 12.129C21.6896 12.129 21.5279 12.0018 21.4912 11.8179C21.4491 11.6084 21.585 11.4042 21.795 11.3626L23.7305 10.9755C23.94 10.9334 24.1442 11.0694 24.1858 11.2794C24.2279 11.4889 24.092 11.6931 23.882 11.7347L21.9465 12.1218C21.9208 12.1271 21.8957 12.129 21.8705 12.129Z" fill="#203442"/>
|
|
5880
5880
|
<path d="M8.71025 11.7419C8.68509 11.7419 8.65944 11.7395 8.6338 11.7342L6.69832 11.3471C6.4888 11.305 6.35283 11.1013 6.39444 10.8918C6.43654 10.6822 6.64026 10.5463 6.84977 10.5879L8.78526 10.975C8.99477 11.0171 9.13074 11.2208 9.08913 11.4303C9.05236 11.6142 8.89122 11.7419 8.71025 11.7419Z" fill="#203442"/>
|
|
5881
5881
|
</svg>
|
|
5882
|
-
`},$7={"symptom-nasalCongestion":Al,"symptom-lostOfControl":
|
|
5882
|
+
`},$7={"symptom-nasalCongestion":Al,"symptom-lostOfControl":El,"symptom-dizziness":Sl,"symptom-medicine":Bl,"symptom-nausea":Tl,"symptom-diarrhea":Pl,"symptom-vomits":Il,"symptom-allergy":Ol,"symptom-cough":Nl,"symptom-injury":Dl,"symptom-ankleInjury":Fl,"symptom-palpitations":Rl,"symptom-suffocation":jl,"symptom-unreality":Ul,"symptom-tearEye":ql,"symptom-sensation":Wl,"symptom-sweating":Yl,"symptom-professional":Gl,"symptom-badThoughts":Kl,"symptom-headache":Jl,"symptom-vomit":Xl,"symptom-tremors":Ql,"symptom-thermometer":Cr,"symptom-numbness":tr,"symptom-shakingChills":er,"symptom-pain":ir,"symptom-painfulUrination":or,"symptom-cryingBaby":sr,"symptom-anxietyCrisis":ar,"symptom-boneScan":nr,"symptom-mucus":lr},rr={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5883
5883
|
<path d="M16 19.6886V5M18.1594 21.2931C20.7912 20.056 22.5382 16.7044 22.6132 14.0426M13.8331 21.2931L14.9803 20.1459C15.5426 19.5836 16.4574 19.5836 17.0197 20.1459L18.1669 21.2931M20.2289 19.7261C20.7537 20.3034 21.436 20.7533 22.6132 20.7308M23.4905 17.4842C22.9956 17.2592 22.5457 16.9218 22.1484 16.4569M13.7731 21.2931C11.1413 20.056 9.39428 16.7044 9.3193 14.0426M11.7037 19.7261C11.1788 20.3034 10.4965 20.7533 9.3193 20.7308M8.44953 17.4842C8.9444 17.2592 9.39426 16.9218 9.79165 16.4569M5.87022 26.2418C4.4681 23.9549 3.79327 21.2781 4.0557 18.6089C4.46059 14.425 5.87023 10.8859 8.23959 7.9842C9.43177 6.52959 11.5687 6.28965 13.0158 7.48183C13.9006 8.20914 14.3655 9.34133 14.2155 10.481C13.8481 13.3228 13.7731 16.247 13.968 19.2612C14.1705 22.4178 12.4535 25.3945 9.6567 26.8716L9.14684 27.1416C7.98465 27.7564 6.54503 27.3665 5.85521 26.2418H5.87022ZM26.1298 26.2418C27.5319 23.9549 28.2067 21.2781 27.9443 18.6089C27.5394 14.425 26.1298 10.8859 23.7604 7.9842C22.5682 6.52959 20.4313 6.28965 18.9842 7.48183C18.0994 8.20914 17.6345 9.34133 17.7845 10.481C18.1519 13.3228 18.2269 16.247 18.032 19.2612C17.8295 22.4178 19.5465 25.3945 22.3433 26.8716L22.8532 27.1416C24.0153 27.7564 25.455 27.3665 26.1448 26.2418H26.1298ZM20.2064 13.8851C20.2064 13.9301 20.1689 13.9601 20.1314 13.9601C20.0939 13.9601 20.0564 13.9226 20.0564 13.8851C20.0564 13.8476 20.0939 13.8101 20.1314 13.8101C20.1689 13.8101 20.2064 13.8476 20.2064 13.8851ZM20.5438 10.0836C20.5438 10.1286 20.5063 10.1586 20.4688 10.1586C20.4313 10.1586 20.3938 10.1211 20.3938 10.0836C20.3938 10.0461 20.4313 10.0087 20.4688 10.0087C20.5063 10.0087 20.5438 10.0461 20.5438 10.0836ZM24.8851 19.6886C24.8851 19.7336 24.8476 19.7635 24.8102 19.7635C24.7727 19.7635 24.7352 19.7261 24.7352 19.6886C24.7352 19.6511 24.7727 19.6136 24.8102 19.6136C24.8476 19.6136 24.8851 19.6511 24.8851 19.6886ZM25.23 22.5378C25.23 22.5828 25.1925 22.6128 25.1551 22.6128C25.1176 22.6128 25.0801 22.5753 25.0801 22.5378C25.0801 22.5003 25.1176 22.4628 25.1551 22.4628C25.1925 22.4628 25.23 22.5003 25.23 22.5378ZM22.0059 23.775C22.0059 23.82 21.9684 23.8499 21.9309 23.8499C21.8934 23.8499 21.8559 23.8125 21.8559 23.775C21.8559 23.7375 21.8934 23.7 21.9309 23.7C21.9684 23.7 22.0059 23.7375 22.0059 23.775ZM22.8906 11.6732C22.8906 11.7182 22.8532 11.7482 22.8157 11.7482C22.7782 11.7482 22.7407 11.7107 22.7407 11.6732C22.7407 11.6357 22.7782 11.5982 22.8157 11.5982C22.8532 11.5982 22.8906 11.6357 22.8906 11.6732ZM11.5612 13.8851C11.5612 13.9301 11.5987 13.9601 11.6362 13.9601C11.6737 13.9601 11.7112 13.9226 11.7112 13.8851C11.7112 13.8476 11.6737 13.8101 11.6362 13.8101C11.5987 13.8101 11.5612 13.8476 11.5612 13.8851ZM11.2238 10.0836C11.2238 10.1286 11.2613 10.1586 11.2988 10.1586C11.3362 10.1586 11.3737 10.1211 11.3737 10.0836C11.3737 10.0461 11.3362 10.0087 11.2988 10.0087C11.2613 10.0087 11.2238 10.0461 11.2238 10.0836ZM6.88245 19.6886C6.88245 19.7336 6.91992 19.7635 6.95741 19.7635C6.9949 19.7635 7.0324 19.7261 7.0324 19.6886C7.0324 19.6511 6.9949 19.6136 6.95741 19.6136C6.91992 19.6136 6.88245 19.6511 6.88245 19.6886ZM6.53005 22.5378C6.53005 22.5828 6.56752 22.6128 6.60501 22.6128C6.6425 22.6128 6.67999 22.5753 6.67999 22.5378C6.67999 22.5003 6.6425 22.4628 6.60501 22.4628C6.56752 22.4628 6.53005 22.5003 6.53005 22.5378ZM9.76168 23.775C9.76168 23.82 9.79917 23.8499 9.83666 23.8499C9.87415 23.8499 9.91162 23.8125 9.91162 23.775C9.91162 23.7375 9.87415 23.7 9.83666 23.7C9.79917 23.7 9.76168 23.7375 9.76168 23.775ZM8.86942 11.6732C8.86942 11.7182 8.90691 11.7482 8.9444 11.7482C8.98189 11.7482 9.01936 11.7107 9.01936 11.6732C9.01936 11.6357 8.98189 11.5982 8.9444 11.5982C8.90691 11.5982 8.86942 11.6357 8.86942 11.6732Z" stroke="#203442" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5884
5884
|
</svg>
|
|
5885
5885
|
`},hr={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -5995,7 +5995,7 @@
|
|
|
5995
5995
|
`},Ar={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5996
5996
|
<path d="M10.805 20.05C10.385 20.1775 9.99499 20.335 9.61249 20.515C6.70249 21.8275 5 24.6175 5 27.55C5 27.7 5 27.85 5.015 28H19.0175M20.21 20.335C19.9475 20.2225 19.67 20.125 19.385 20.035M14.015 15.1975C14.66 15.5275 15.44 15.5275 16.0925 15.1975M16.7675 11.5825H17.3825M12.7175 11.5825H13.3325M12.7775 17.5075L9.61249 17.455C8.78749 16.33 8.30749 14.95 8.30749 13.45V10.795C8.30749 7.03749 11.3525 4 15.1025 4C16.9775 4 18.68 4.75749 19.91 5.98749C21.14 7.21749 21.905 8.91999 21.905 10.795V13.45C21.905 14.95 21.4175 16.33 20.5925 17.455H17.4875M11.0375 9.39248L10.4825 9.20498M23.2025 21.82V21.8275C22.685 21.505 22.0925 21.3625 21.485 21.475C19.9925 21.745 19.025 23.4175 19.3175 25.21C19.58 26.8375 20.8025 28 22.1375 28C22.2725 28 22.415 27.985 22.55 27.9625C22.985 27.88 23.42 27.88 23.8475 27.9625C25.34 28.2325 26.7875 27.0025 27.08 25.21C27.3725 23.4175 26.3975 21.7525 24.9125 21.475M22.955 21.6699L22.0775 20.0724M18.2075 8.28249C19.07 9.10749 19.6025 10.2775 19.6025 11.56V13.5175C19.6025 16.03 17.5625 18.07 15.05 18.07C12.5375 18.07 10.4975 16.03 10.4975 13.5175V11.56C10.4975 10.7725 10.7 10.0375 11.045 9.38499C14.09 9.94749 16.7225 9.93249 18.215 8.27499L18.2075 8.28249ZM17.2475 17.59V18.2425C17.2475 19.3375 15.11 20.98 15.11 20.98C15.11 20.98 12.9725 19.3375 12.9725 18.2425V17.5975L10.7975 20.05L12.95 23.4025L15.11 21.2275L17.2325 23.4025L19.385 20.0425L17.2475 17.59ZM25.07 21.3475C24.41 21.9925 23.21 21.8275 23.21 21.8275C23.21 21.8275 23.0675 20.62 23.7275 19.975C24.3875 19.33 25.5875 19.495 25.5875 19.495C25.5875 19.495 25.73 20.7025 25.07 21.3475Z" stroke="#203442" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5997
5997
|
</svg>
|
|
5998
|
-
`},
|
|
5998
|
+
`},Er={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5999
5999
|
<mask id="path-1-outside-1_3674_4195" maskUnits="userSpaceOnUse" x="3" y="4" width="26" height="24" fill="black">
|
|
6000
6000
|
<rect fill="white" x="3" y="4" width="26" height="24"/>
|
|
6001
6001
|
<path d="M18.5512 20.0198C18.3702 20.0198 18.1912 19.9948 18.0212 19.9443C17.5282 19.7993 17.2062 19.5468 17.0647 19.1933C16.8102 18.5564 17.2352 17.8164 17.5767 17.2219C17.9877 16.5114 18.8882 15.7759 19.6867 15.7759C19.8917 15.7759 20.0776 15.8234 20.2401 15.9179C21.1161 16.4224 20.9506 18.0069 20.4511 18.8754C20.0456 19.5813 19.3177 20.0198 18.5512 20.0198ZM19.6867 16.5034C19.2307 16.5034 18.5392 17.0094 18.2072 17.5854C17.9577 18.0189 17.6152 18.6134 17.7402 18.9234C17.7947 19.0589 17.9587 19.1673 18.2272 19.2473C18.7912 19.4123 19.4832 19.1019 19.8217 18.5134C20.2161 17.8269 20.2471 16.7609 19.8772 16.5484C19.8262 16.5184 19.7627 16.5034 19.6867 16.5034Z"/>
|
|
@@ -6030,7 +6030,7 @@
|
|
|
6030
6030
|
<path d="M13.3843 22.3967H8.91741C6.60745 22.3967 4.72649 20.5162 4.72649 18.2067V9.91841C4.72649 7.60795 6.60745 5.72749 8.91741 5.72749H18.1412C20.4512 5.72749 22.3321 7.60795 22.3321 9.91841V11.9674C22.6106 12.2949 22.8511 12.6419 23.0586 13.0038V9.91841C23.0586 7.20696 20.8527 5 18.1412 5H8.91741C6.20646 5 4 7.20696 4 9.91841V18.2067C4 20.9182 6.20596 23.1237 8.91741 23.1237H14.9743C14.4143 22.9527 13.8828 22.7047 13.3843 22.3967Z" stroke="#203442" stroke-width="0.4" mask="url(#path-1-outside-1_3674_4195)"/>
|
|
6031
6031
|
<path d="M16.8203 11.3421C17.0948 11.7831 17.6598 12.5381 18.2907 12.4731C18.3932 12.4606 18.4797 12.5361 18.4897 12.6356C18.4987 12.7341 18.4267 12.8231 18.3262 12.8345C17.3998 12.9195 16.6658 11.8151 16.4113 11.3731C16.1568 11.4031 15.9073 11.4521 15.6633 11.5196C15.7738 11.7436 16.7188 13.5665 18.2252 13.566C18.2867 13.566 18.3492 13.5635 18.4117 13.557C18.9022 13.501 19.2612 13.0545 19.2132 12.564C19.1632 12.0661 18.7232 11.7056 18.2177 11.7496C18.1372 11.7566 17.9507 11.6131 17.7513 11.3876C17.5143 11.3546 17.2743 11.3321 17.0308 11.3321C16.9603 11.3321 16.8908 11.3396 16.8203 11.3421Z" stroke="#203442" stroke-width="0.4" mask="url(#path-1-outside-1_3674_4195)"/>
|
|
6032
6032
|
</svg>
|
|
6033
|
-
w`},
|
|
6033
|
+
w`},Sr={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6034
6034
|
<path d="M16.2828 13.1657C15.1268 12.3964 14.7644 9.84281 14.0168 7.20723C12.4294 1.60967 8.25385 4.06983 10.2769 9.00023C11.6731 12.4022 13.9262 13.4446 14.8708 15.1082M14.8708 15.1082C17.0377 12.6682 17.8041 9.84281 18.5504 7.20723C20.1363 1.60967 24.3133 4.06983 22.2902 9.00023L22.2888 9.00166C20.8941 12.4036 17.5899 14.9242 16.2829 16.848C14.8537 18.5073 14.1362 21.9812 14.1362 23.3471C14.1362 25.6132 13.3626 28 11.305 28C7.91171 28 9.08069 24.2645 9.74641 22.2342C10.8996 18.7187 14.1304 15.9422 14.8708 15.1082ZM16.283 16.8465C17.7122 18.5058 18.4297 21.9796 18.4297 23.3456C18.4297 25.6116 19.2033 27.9985 21.2608 27.9985C24.6542 27.9985 23.4852 24.2629 22.8195 22.2327C21.6663 18.7171 18.3981 15.9737 17.695 15.1067M12.1664 20.3477C11.0923 22.2198 10.4453 24.3521 10.7976 25.4607M11.0391 5.91468C10.8306 8.01826 12.0255 10.1161 12.9012 10.8839" stroke="#203442" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6035
6035
|
</svg>
|
|
6036
6036
|
`},Br={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -6110,15 +6110,15 @@
|
|
|
6110
6110
|
`},Ir={12:s``,16:s``,20:s``,24:s``,32:s`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6111
6111
|
<path d="M17.98 27.719L19.6612 26.0378M17.0883 25.0662L18.7663 23.3883M8.6121 13.2341L6.93411 14.9121M5.96244 12.3422L4.28445 14.0202M27.9934 4.8152L27.9455 5.20513C27.7505 6.78722 26.9547 8.35654 25.7242 9.58706L14.5057 20.8056C13.7737 21.5375 12.9555 22.1767 12.083 22.7009C11.7889 22.8799 11.4885 23.0429 11.1817 23.1931L9.1489 24.1871L8.25717 24.625C7.61474 24.9382 7.065 24.3885 7.37822 23.746L7.75217 22.979L8.81011 20.8215C8.92197 20.5914 9.04342 20.3645 9.17127 20.1408C9.71781 19.1851 10.4018 18.2934 11.1976 17.4975L22.4161 6.27584C23.6467 5.04532 25.216 4.24948 26.7981 4.05451L27.1848 4.00657C27.6866 3.94584 28.0542 4.3134 27.9902 4.812L27.9934 4.8152ZM7.75229 22.9756L4 21.0835L4.40591 19.6836L9.17138 20.1375C9.04353 20.3612 8.92208 20.5881 8.81022 20.8182L7.75229 22.9756ZM12.0862 22.6976L12.3227 27.5973L10.9196 28L9.15214 24.1838L11.1849 23.1898C11.4917 23.0396 11.7922 22.8734 12.0862 22.6976ZM17.1395 18.1688L21.5182 13.79L25.5582 26.7952C24.8678 27.0796 24.072 26.8048 23.698 26.156L23.5446 25.8875C21.8666 22.963 19.7028 20.3549 17.1395 18.1656V18.1688ZM5.84108 8.30546C5.19226 7.93151 4.91739 7.13886 5.20185 6.4453L18.207 10.4852L13.8315 14.8608C11.6453 12.3007 9.03404 10.1337 6.10955 8.46207L5.83788 8.30866L5.84108 8.30546Z" stroke="#203442" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6112
6112
|
</svg>
|
|
6113
|
-
`},
|
|
6113
|
+
`},E7={"program-adolescentCenter":zr,"program-childCenter2":kr,"program-childhoodBronchialAsthma":$r,"program-childhoodObesity":Ar,"program-detectionArterial":Er,"program-downSyndrome":Sr,"program-neurodevelopment":Br,"program-sleepCenter":Tr,"program-supervisionHealth":Pr,"program-travelMedicine":Ir};const Or=({variant:i,name:C,size:t})=>{try{switch(i){case"shadow":return Y2(k7[C][t])?null:k7[C][t];case"symptom":return Y2($7[C][t])?null:$7[C][t];case"program":return Y2(E7[C][t])?null:E7[C][t];case"specialty":return Y2(A7[C][t])?null:A7[C][t];default:return Y2(z7[C][t])?null:z7[C][t]}}catch{return null}};/**
|
|
6114
6114
|
* @license
|
|
6115
6115
|
* Copyright 2017 Google LLC
|
|
6116
6116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6117
|
-
*/const
|
|
6117
|
+
*/const S7={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},B7=i=>(...C)=>({_$litDirective$:i,values:C});class T7{constructor(C){}get _$AU(){return this._$AM._$AU}_$AT(C,t,e){this._$Ct=C,this._$AM=t,this._$Ci=e}_$AS(C,t){return this.update(C,t)}update(C,t){return this.render(...t)}}/**
|
|
6118
6118
|
* @license
|
|
6119
6119
|
* Copyright 2018 Google LLC
|
|
6120
6120
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6121
|
-
*/const A1=B7(class extends T7{constructor(i){var C;if(super(i),i.type!==
|
|
6121
|
+
*/const A1=B7(class extends T7{constructor(i){var C;if(super(i),i.type!==S7.ATTRIBUTE||i.name!=="class"||((C=i.strings)===null||C===void 0?void 0:C.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(C=>i[C]).join(" ")+" "}update(i,[C]){var t,e;if(this.it===void 0){this.it=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(a=>a!=="")));for(const a in C)C[a]&&!(!((t=this.nt)===null||t===void 0)&&t.has(a))&&this.it.add(a);return this.render(C)}const o=i.element.classList;this.it.forEach(a=>{a in C||(o.remove(a),this.it.delete(a))});for(const a in C){const n=!!C[a];n===this.it.has(a)||((e=this.nt)===null||e===void 0?void 0:e.has(a))||(n?(o.add(a),this.it.add(a)):(o.remove(a),this.it.delete(a)))}return d1}});function Nr({name:i,size:C,variant:t,parentVariant:e}){const o=Or({variant:t,name:i,size:C}),a=A1({"icon-wrapper":!0,[e]:!0,shadow:t==="shadow"});return{icon:o,iconStyles:a}}class Dr extends M{static styles=je;constructor(){super(),this.variant="flat",this.name="",this.size=12,this.isTouchableIcon=!1}static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={variant:{type:String},name:{type:String},size:{type:Number},isTouchableIcon:{type:Boolean},className:{type:String},parentVariant:{type:String}};render(){const{name:C,size:t,variant:e,isTouchableIcon:o,parentVariant:a}=this,{icon:n,iconStyles:r}=Nr({name:C,size:t,variant:e,parentVariant:a});return o?u`
|
|
6122
6122
|
<button class=${r}>
|
|
6123
6123
|
${n}
|
|
6124
6124
|
</button>
|
|
@@ -6126,7 +6126,7 @@
|
|
|
6126
6126
|
* @license
|
|
6127
6127
|
* Copyright 2017 Google LLC
|
|
6128
6128
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6129
|
-
*/class
|
|
6129
|
+
*/class $6 extends T7{constructor(C){if(super(C),this.et=T,C.type!==S7.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(C){if(C===T||C==null)return this.ft=void 0,this.et=C;if(C===d1)return C;if(typeof C!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(C===this.et)return this.ft;this.et=C;const t=[C];return t.raw=t,this.ft={_$litType$:this.constructor.resultType,strings:t,values:[]}}}$6.directiveName="unsafeHTML",$6.resultType=1;const d2=B7($6),Fr={h1:"h1",display1:"h1",h2:"h2",display2:"h2",h3:"h3",display3:"h3",h4:"h4",headline1:"h4",h5:"h5",headline2:"h5",h6:"h6",headline3:"h6",headline4:"h6",headline5:"h6",p:"p",body1:"p",body2:"p",footnote1:"p",footnote2:"p",caption1:"p",caption2:"p",button:"span",link:"span",span:"span"};var P7={exports:{}};/*!
|
|
6130
6130
|
Copyright (c) 2018 Jed Watson.
|
|
6131
6131
|
Licensed under the MIT License (MIT), see
|
|
6132
6132
|
http://jedwatson.github.io/classnames
|
|
@@ -6580,7 +6580,7 @@
|
|
|
6580
6580
|
`:e=`<${C} class="${t}">
|
|
6581
6581
|
<slot></slot>
|
|
6582
6582
|
</${C}>
|
|
6583
|
-
`,s`${
|
|
6583
|
+
`,s`${d2(e)}`}}customElements.get("cas-text")||customElements.define("cas-text",Ur);const J=({variant:i="primary1",color:C,colorHover:t,colorActive:e,bgColor:o,bgColorHover:a,bgColorActive:n,bgColorDisabled:r,boxShadow:l="none",boxShadowHover:h="none",boxShadowPressed:c="none",boxShadowDisabled:d="none"})=>g(`
|
|
6584
6584
|
.${i} {
|
|
6585
6585
|
background-color: ${g(o)};
|
|
6586
6586
|
box-sizing: border-box;
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
|
|
6598
6598
|
.${i}:disabled {
|
|
6599
6599
|
background-color: ${g(r)};
|
|
6600
|
-
color: ${g(
|
|
6600
|
+
color: ${g(H6)};
|
|
6601
6601
|
}
|
|
6602
6602
|
|
|
6603
6603
|
.${i}:active, .${i}.loading, {
|
|
@@ -6608,7 +6608,7 @@
|
|
|
6608
6608
|
|
|
6609
6609
|
.${i}:disabled:not(.loading) {
|
|
6610
6610
|
background-color: ${g(r)};
|
|
6611
|
-
color: ${g(
|
|
6611
|
+
color: ${g(H6)};
|
|
6612
6612
|
box-shadow: ${g(d)};
|
|
6613
6613
|
cursor: default;
|
|
6614
6614
|
}
|
|
@@ -6692,8 +6692,8 @@
|
|
|
6692
6692
|
margin-left: 8px;
|
|
6693
6693
|
}
|
|
6694
6694
|
|
|
6695
|
-
${J({variant:"primary1",color:m,colorHover:m,colorActive:m,bgColor:c1,bgColorHover:G4,bgColorActive:W,bgColorDisabled:
|
|
6696
|
-
${J({variant:"primary2",color:m,colorHover:
|
|
6695
|
+
${J({variant:"primary1",color:m,colorHover:m,colorActive:m,bgColor:c1,bgColorHover:G4,bgColorActive:W,bgColorDisabled:R2,boxShadow:Se,boxShadowHover:Be,boxShadowPressed:Te,boxShadowDisabled:Pe})}
|
|
6696
|
+
${J({variant:"primary2",color:m,colorHover:e5,colorActive:m,bgColor:i1,bgColorHover:m6,bgColorActive:e5,bgColorDisabled:R2,boxShadow:Ie,boxShadowHover:Oe,boxShadowPressed:Ne,boxShadowDisabled:De})}
|
|
6697
6697
|
${J({variant:"outline1",color:W,colorHover:W,colorActive:m,bgColor:"transparent",bgColorHover:Y4,bgColorActive:c1,bgColorDisabled:"transparent"})}
|
|
6698
6698
|
.outline1 {
|
|
6699
6699
|
border: 1px solid ${g(c1)};
|
|
@@ -6712,7 +6712,7 @@
|
|
|
6712
6712
|
border: none;
|
|
6713
6713
|
}
|
|
6714
6714
|
|
|
6715
|
-
${J({variant:"outline2",color:i1,colorHover:i1,colorActive:m,bgColor:"transparent",bgColorHover:
|
|
6715
|
+
${J({variant:"outline2",color:i1,colorHover:i1,colorActive:m,bgColor:"transparent",bgColorHover:m6,bgColorActive:i1,bgColorDisabled:"transparent"})}
|
|
6716
6716
|
.outline2 {
|
|
6717
6717
|
border: 1px solid ${g(i1)};
|
|
6718
6718
|
}
|
|
@@ -6769,25 +6769,25 @@
|
|
|
6769
6769
|
|
|
6770
6770
|
${J({variant:"text2",color:e1,colorHover:a7,colorActive:e1,bgColor:m,bgColorHover:Re,bgColorActive:ze,bgColorDisabled:m})}
|
|
6771
6771
|
.text2.loading {
|
|
6772
|
-
background-color: ${g(
|
|
6772
|
+
background-color: ${g(w6)};
|
|
6773
6773
|
}
|
|
6774
6774
|
|
|
6775
6775
|
.text2.loading > div {
|
|
6776
|
-
border-color: ${g(
|
|
6776
|
+
border-color: ${g(w6)};
|
|
6777
6777
|
border-top-color: ${g(m)};
|
|
6778
6778
|
border-bottom-color: ${g(m)};
|
|
6779
6779
|
border-right-color: ${g(m)};
|
|
6780
6780
|
}
|
|
6781
6781
|
|
|
6782
6782
|
.text2:disabled.loading > div {
|
|
6783
|
-
border-color: ${g(
|
|
6783
|
+
border-color: ${g(w6)};
|
|
6784
6784
|
border-top-color: ${g(m)};
|
|
6785
6785
|
border-bottom-color: ${g(m)};
|
|
6786
6786
|
border-right-color: ${g(m)};
|
|
6787
6787
|
}
|
|
6788
6788
|
|
|
6789
|
-
${J({variant:"text3",color:U,colorHover:U,colorActive:h2,bgColor:m,bgColorHover:p1,bgColorActive:
|
|
6790
|
-
${J({variant:"icon1",color:U,colorHover:U,colorActive:h2,bgColor:p1,bgColorHover:J4,bgColorActive:
|
|
6789
|
+
${J({variant:"text3",color:U,colorHover:U,colorActive:h2,bgColor:m,bgColorHover:p1,bgColorActive:t5,bgColorDisabled:m})}
|
|
6790
|
+
${J({variant:"icon1",color:U,colorHover:U,colorActive:h2,bgColor:p1,bgColorHover:J4,bgColorActive:t5,bgColorDisabled:R2})}
|
|
6791
6791
|
.icon1 {
|
|
6792
6792
|
height: 32px;
|
|
6793
6793
|
min-width: 32px;
|
|
@@ -6802,7 +6802,7 @@
|
|
|
6802
6802
|
.icon1.icon svg {
|
|
6803
6803
|
margin-right: 0;
|
|
6804
6804
|
}
|
|
6805
|
-
${J({variant:"pill",color:U,colorHover:U,colorActive:h2,bgColor:m,bgColorHover:p1,bgColorActive:
|
|
6805
|
+
${J({variant:"pill",color:U,colorHover:U,colorActive:h2,bgColor:m,bgColorHover:p1,bgColorActive:t5,bgColorDisabled:m})}
|
|
6806
6806
|
.pill {
|
|
6807
6807
|
border-radius: 50px;
|
|
6808
6808
|
border: 1px solid ${g(be)};
|
|
@@ -6811,7 +6811,7 @@
|
|
|
6811
6811
|
:host([active='true']) .pill {
|
|
6812
6812
|
background: red;
|
|
6813
6813
|
}
|
|
6814
|
-
${J({variant:"tab1",color:U,colorHover:U,colorActive:h2,bgColor:m,bgColorHover:p1,bgColorActive:
|
|
6814
|
+
${J({variant:"tab1",color:U,colorHover:U,colorActive:h2,bgColor:m,bgColorHover:p1,bgColorActive:t5,bgColorDisabled:m})}
|
|
6815
6815
|
|
|
6816
6816
|
.rounded {
|
|
6817
6817
|
border-radius: 50px;
|
|
@@ -7285,25 +7285,25 @@
|
|
|
7285
7285
|
* @license
|
|
7286
7286
|
* Copyright 2019 Google LLC
|
|
7287
7287
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7288
|
-
*/const
|
|
7288
|
+
*/const o5=globalThis,E6=o5.ShadowRoot&&(o5.ShadyCSS===void 0||o5.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,S6=Symbol(),N7=new WeakMap;class E1{constructor(C,t,e){if(this._$cssResult$=!0,e!==S6)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=C,this.t=t}get styleSheet(){let C=this.o;const t=this.t;if(E6&&C===void 0){const e=t!==void 0&&t.length===1;e&&(C=N7.get(t)),C===void 0&&((this.o=C=new CSSStyleSheet).replaceSync(this.cssText),e&&N7.set(t,C))}return C}toString(){return this.cssText}}const Xr=i=>new E1(typeof i=="string"?i:i+"",void 0,S6),x=(i,...C)=>{const t=i.length===1?i[0]:C.reduce((e,o,a)=>e+(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.")})(o)+i[a+1],i[0]);return new E1(t,i,S6)},Qr=(i,C)=>{if(E6)i.adoptedStyleSheets=C.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of C){const e=document.createElement("style"),o=o5.litNonce;o!==void 0&&e.setAttribute("nonce",o),e.textContent=t.cssText,i.appendChild(e)}},D7=E6?i=>i:i=>i instanceof CSSStyleSheet?(C=>{let t="";for(const e of C.cssRules)t+=e.cssText;return Xr(t)})(i):i;/**
|
|
7289
7289
|
* @license
|
|
7290
7290
|
* Copyright 2017 Google LLC
|
|
7291
7291
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7292
|
-
*/const{is:Ch,defineProperty:th,getOwnPropertyDescriptor:eh,getOwnPropertyNames:ih,getOwnPropertySymbols:oh,getPrototypeOf:sh}=Object,
|
|
7292
|
+
*/const{is:Ch,defineProperty:th,getOwnPropertyDescriptor:eh,getOwnPropertyNames:ih,getOwnPropertySymbols:oh,getPrototypeOf:sh}=Object,s5=globalThis,F7=s5.trustedTypes,ah=F7?F7.emptyScript:"",nh=s5.reactiveElementPolyfillSupport,G2=(i,C)=>i,B6={toAttribute(i,C){switch(C){case Boolean:i=i?ah:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,C){let t=i;switch(C){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},R7=(i,C)=>!Ch(i,C),j7={attribute:!0,type:String,converter:B6,reflect:!1,hasChanged:R7};Symbol.metadata??=Symbol("metadata"),s5.litPropertyMetadata??=new WeakMap;class K extends HTMLElement{static addInitializer(C){this._$Ei(),(this.l??=[]).push(C)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(C,t=j7){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(C,t),!t.noAccessor){const e=Symbol(),o=this.getPropertyDescriptor(C,e,t);o!==void 0&&th(this.prototype,C,o)}}static getPropertyDescriptor(C,t,e){const{get:o,set:a}=eh(this.prototype,C)??{get(){return this[t]},set(n){this[t]=n}};return{get(){return o?.call(this)},set(n){const r=o?.call(this);a.call(this,n),this.requestUpdate(C,r,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(C){return this.elementProperties.get(C)??j7}static _$Ei(){if(this.hasOwnProperty(G2("elementProperties")))return;const C=sh(this);C.finalize(),C.l!==void 0&&(this.l=[...C.l]),this.elementProperties=new Map(C.elementProperties)}static finalize(){if(this.hasOwnProperty(G2("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(G2("properties"))){const t=this.properties,e=[...ih(t),...oh(t)];for(const o of e)this.createProperty(o,t[o])}const C=this[Symbol.metadata];if(C!==null){const t=litPropertyMetadata.get(C);if(t!==void 0)for(const[e,o]of t)this.elementProperties.set(e,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);o!==void 0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(C){const t=[];if(Array.isArray(C)){const e=new Set(C.flat(1/0).reverse());for(const o of e)t.unshift(D7(o))}else C!==void 0&&t.push(D7(C));return t}static _$Eu(C,t){const e=t.attribute;return e===!1?void 0:typeof e=="string"?e:typeof C=="string"?C.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(C=>this.enableUpdating=C),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(C=>C(this))}addController(C){(this._$EO??=new Set).add(C),this.renderRoot!==void 0&&this.isConnected&&C.hostConnected?.()}removeController(C){this._$EO?.delete(C)}_$E_(){const C=new Map,t=this.constructor.elementProperties;for(const e of t.keys())this.hasOwnProperty(e)&&(C.set(e,this[e]),delete this[e]);C.size>0&&(this._$Ep=C)}createRenderRoot(){const C=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Qr(C,this.constructor.elementStyles),C}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(C=>C.hostConnected?.())}enableUpdating(C){}disconnectedCallback(){this._$EO?.forEach(C=>C.hostDisconnected?.())}attributeChangedCallback(C,t,e){this._$AK(C,e)}_$EC(C,t){const e=this.constructor.elementProperties.get(C),o=this.constructor._$Eu(C,e);if(o!==void 0&&e.reflect===!0){const a=(e.converter?.toAttribute!==void 0?e.converter:B6).toAttribute(t,e.type);this._$Em=C,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$Em=null}}_$AK(C,t){const e=this.constructor,o=e._$Eh.get(C);if(o!==void 0&&this._$Em!==o){const a=e.getPropertyOptions(o),n=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:B6;this._$Em=o,this[o]=n.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(C,t,e){if(C!==void 0){if(e??=this.constructor.getPropertyOptions(C),!(e.hasChanged??R7)(this[C],t))return;this.P(C,t,e)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(C,t,e){this._$AL.has(C)||this._$AL.set(C,t),e.reflect===!0&&this._$Em!==C&&(this._$Ej??=new Set).add(C)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const C=this.scheduleUpdate();return C!=null&&await C,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[o,a]of this._$Ep)this[o]=a;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[o,a]of e)a.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],a)}let C=!1;const t=this._$AL;try{C=this.shouldUpdate(t),C?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EU()}catch(e){throw C=!1,this._$EU(),e}C&&this._$AE(t)}willUpdate(C){}_$AE(C){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(C)),this.updated(C)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(C){return!0}update(C){this._$Ej&&=this._$Ej.forEach(t=>this._$EC(t,this[t])),this._$EU()}updated(C){}firstUpdated(C){}}K.elementStyles=[],K.shadowRootOptions={mode:"open"},K[G2("elementProperties")]=new Map,K[G2("finalized")]=new Map,nh?.({ReactiveElement:K}),(s5.reactiveElementVersions??=[]).push("2.0.4");/**
|
|
7293
7293
|
* @license
|
|
7294
7294
|
* Copyright 2017 Google LLC
|
|
7295
7295
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7296
|
-
*/const T6=globalThis,
|
|
7297
|
-
\f\r]`,
|
|
7298
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),J7=/'/g,X7=/"/g,Q7=/^(?:script|style|textarea|title)$/i,
|
|
7296
|
+
*/const T6=globalThis,a5=T6.trustedTypes,U7=a5?a5.createPolicy("lit-html",{createHTML:i=>i}):void 0,q7="$lit$",g1=`lit$${(Math.random()+"").slice(9)}$`,W7="?"+g1,lh=`<${W7}>`,S1=document,K2=()=>S1.createComment(""),J2=i=>i===null||typeof i!="object"&&typeof i!="function",Y7=Array.isArray,rh=i=>Y7(i)||typeof i?.[Symbol.iterator]=="function",P6=`[
|
|
7297
|
+
\f\r]`,X2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G7=/-->/g,K7=/>/g,B1=RegExp(`>|${P6}(?:([^\\s"'>=/]+)(${P6}*=${P6}*(?:[^
|
|
7298
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),J7=/'/g,X7=/"/g,Q7=/^(?:script|style|textarea|title)$/i,c2=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),C9=new WeakMap,T1=S1.createTreeWalker(S1,129);function t9(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return U7!==void 0?U7.createHTML(C):C}const hh=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=X2;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===X2?c[1]==="!--"?n=G7:c[1]!==void 0?n=K7:c[2]!==void 0?(Q7.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=B1):c[3]!==void 0&&(n=B1):n===B1?c[0]===">"?(n=o??X2,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?B1:c[3]==='"'?X7:J7):n===X7||n===J7?n=B1:n===G7||n===K7?n=X2:(n=B1,o=void 0);const v=n===B1&&i[r+1].startsWith("/>")?" ":"";a+=n===X2?l+lh:d>=0?(e.push(h),l.slice(0,d)+q7+l.slice(d)+g1+v):l+g1+(d===-2?r:v)}return[t9(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class Q2{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=hh(C,t);if(this.el=Q2.createElement(h,e),T1.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=T1.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(q7)){const p=c[n++],v=o.getAttribute(d).split(g1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?ch:L[1]==="?"?ph:L[1]==="@"?vh:n5}),o.removeAttribute(d)}else d.startsWith(g1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(Q7.test(o.tagName)){const d=o.textContent.split(g1),p=d.length-1;if(p>0){o.textContent=a5?a5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],K2()),T1.nextNode(),l.push({type:2,index:++a});o.append(d[p],K2())}}}else if(o.nodeType===8)if(o.data===W7)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(g1,d+1))!==-1;)l.push({type:7,index:a}),d+=g1.length-1}a++}}static createElement(C,t){const e=S1.createElement("template");return e.innerHTML=C,e}}function p2(i,C,t=i,e){if(C===c2)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=J2(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=p2(i,o._$AS(i,C.values),o,e)),C}class dh{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??S1).importNode(t,!0);T1.currentNode=o;let a=T1.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new C3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new Lh(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=T1.nextNode(),n++)}return T1.currentNode=S1,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class C3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=p2(this,C,t),J2(C)?C===P||C==null||C===""?(this._$AH!==P&&this._$AR(),this._$AH=P):C!==this._$AH&&C!==c2&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):rh(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==P&&J2(this._$AH)?this._$AA.nextSibling.data=C:this.T(S1.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=Q2.createElement(t9(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new dh(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=C9.get(C.strings);return t===void 0&&C9.set(C.strings,t=new Q2(C)),t}k(C){Y7(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new C3(this.S(K2()),this.S(K2()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class n5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=P,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=P}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=p2(this,C,t,0),n=!J2(C)||C!==this._$AH&&C!==c2,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=p2(this,r[e+l],t,l),h===c2&&(h=this._$AH[l]),n||=!J2(h)||h!==this._$AH[l],h===P?C=P:C!==P&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class ch extends n5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===P?void 0:C}}class ph extends n5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==P)}}class vh extends n5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=p2(this,C,t,0)??P)===c2)return;const e=this._$AH,o=C===P&&e!==P||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==P&&(e===P||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class Lh{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){p2(this,C)}}const gh=T6.litHtmlPolyfillSupport;gh?.(Q2,C3),(T6.litHtmlVersions??=[]).push("3.1.2");const uh=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new C3(C.insertBefore(K2(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
7299
7299
|
* @license
|
|
7300
7300
|
* Copyright 2017 Google LLC
|
|
7301
7301
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7302
|
-
*/class
|
|
7302
|
+
*/class l5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=uh(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return c2}}l5._$litElement$=!0,l5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:l5});const Mh=globalThis.litElementPolyfillSupport;Mh?.({LitElement:l5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
7303
7303
|
* @license
|
|
7304
7304
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
7305
7305
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7306
|
-
*/const fh=[];function wh(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function mh(i){return wh(customElements.get(i))}function Hh(i=[]){return[i].flat(1/0).filter(C=>C instanceof
|
|
7306
|
+
*/const fh=[];function wh(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function mh(i){return wh(customElements.get(i))}function Hh(i=[]){return[i].flat(1/0).filter(C=>C instanceof E1?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function u1(i,C,t={}){i&&mh(i)&&console.warn(`The custom element definition for "${i}"
|
|
7307
7307
|
was finalized before a style module was registered.
|
|
7308
7308
|
Make sure to add component specific style modules before
|
|
7309
7309
|
importing the corresponding custom element.`),C=Hh(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):fh.push({themeFor:i,styles:C,include:t.include,moduleId:t.moduleId})}/**
|
|
@@ -7311,7 +7311,7 @@
|
|
|
7311
7311
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
7312
7312
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7313
7313
|
*/const Vh=(i,...C)=>{const t=document.createElement("style");t.id=i,t.textContent=C.map(e=>e.toString()).join(`
|
|
7314
|
-
`).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",t)},
|
|
7314
|
+
`).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",t)},v2=(i,...C)=>{Vh(`lumo-${i}`,C)};/**
|
|
7315
7315
|
* @license
|
|
7316
7316
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
7317
7317
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -7330,17 +7330,17 @@
|
|
|
7330
7330
|
/* For backwards compatibility */
|
|
7331
7331
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
7332
7332
|
}
|
|
7333
|
-
`;
|
|
7333
|
+
`;v2("sizing-props",Zh);/**
|
|
7334
7334
|
* @license
|
|
7335
7335
|
* Copyright 2017 Google LLC
|
|
7336
7336
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7337
|
-
*/const I6=globalThis,
|
|
7338
|
-
\f\r]`,
|
|
7339
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),l9=/'/g,r9=/"/g,h9=/^(?:script|style|textarea|title)$/i,bh=i=>(C,...t)=>({_$litType$:i,strings:C,values:t}),d9=bh(2),O1=Symbol.for("lit-noChange"),
|
|
7337
|
+
*/const I6=globalThis,r5=I6.trustedTypes,e9=r5?r5.createPolicy("lit-html",{createHTML:i=>i}):void 0,i9="$lit$",M1=`lit$${(Math.random()+"").slice(9)}$`,o9="?"+M1,_h=`<${o9}>`,P1=document,t3=()=>P1.createComment(""),e3=i=>i===null||typeof i!="object"&&typeof i!="function",s9=Array.isArray,xh=i=>s9(i)||typeof i?.[Symbol.iterator]=="function",O6=`[
|
|
7338
|
+
\f\r]`,i3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a9=/-->/g,n9=/>/g,I1=RegExp(`>|${O6}(?:([^\\s"'>=/]+)(${O6}*=${O6}*(?:[^
|
|
7339
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),l9=/'/g,r9=/"/g,h9=/^(?:script|style|textarea|title)$/i,bh=i=>(C,...t)=>({_$litType$:i,strings:C,values:t}),d9=bh(2),O1=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),c9=new WeakMap,N1=P1.createTreeWalker(P1,129);function p9(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return e9!==void 0?e9.createHTML(C):C}const yh=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=i3;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===i3?c[1]==="!--"?n=a9:c[1]!==void 0?n=n9:c[2]!==void 0?(h9.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=I1):c[3]!==void 0&&(n=I1):n===I1?c[0]===">"?(n=o??i3,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?I1:c[3]==='"'?r9:l9):n===r9||n===l9?n=I1:n===a9||n===n9?n=i3:(n=I1,o=void 0);const v=n===I1&&i[r+1].startsWith("/>")?" ":"";a+=n===i3?l+_h:d>=0?(e.push(h),l.slice(0,d)+i9+l.slice(d)+M1+v):l+M1+(d===-2?r:v)}return[p9(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class o3{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=yh(C,t);if(this.el=o3.createElement(h,e),N1.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=N1.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(i9)){const p=c[n++],v=o.getAttribute(d).split(M1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?kh:L[1]==="?"?$h:L[1]==="@"?Ah:h5}),o.removeAttribute(d)}else d.startsWith(M1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(h9.test(o.tagName)){const d=o.textContent.split(M1),p=d.length-1;if(p>0){o.textContent=r5?r5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],t3()),N1.nextNode(),l.push({type:2,index:++a});o.append(d[p],t3())}}}else if(o.nodeType===8)if(o.data===o9)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(M1,d+1))!==-1;)l.push({type:7,index:a}),d+=M1.length-1}a++}}static createElement(C,t){const e=P1.createElement("template");return e.innerHTML=C,e}}function L2(i,C,t=i,e){if(C===O1)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=e3(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=L2(i,o._$AS(i,C.values),o,e)),C}class zh{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??P1).importNode(t,!0);N1.currentNode=o;let a=N1.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new s3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new Eh(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=N1.nextNode(),n++)}return N1.currentNode=P1,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class s3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=L2(this,C,t),e3(C)?C===S||C==null||C===""?(this._$AH!==S&&this._$AR(),this._$AH=S):C!==this._$AH&&C!==O1&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):xh(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==S&&e3(this._$AH)?this._$AA.nextSibling.data=C:this.T(P1.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=o3.createElement(p9(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new zh(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=c9.get(C.strings);return t===void 0&&c9.set(C.strings,t=new o3(C)),t}k(C){s9(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new s3(this.S(t3()),this.S(t3()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class h5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=S,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=S}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=L2(this,C,t,0),n=!e3(C)||C!==this._$AH&&C!==O1,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=L2(this,r[e+l],t,l),h===O1&&(h=this._$AH[l]),n||=!e3(h)||h!==this._$AH[l],h===S?C=S:C!==S&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class kh extends h5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===S?void 0:C}}class $h extends h5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==S)}}class Ah extends h5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=L2(this,C,t,0)??S)===O1)return;const e=this._$AH,o=C===S&&e!==S||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==S&&(e===S||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class Eh{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){L2(this,C)}}const Sh=I6.litHtmlPolyfillSupport;Sh?.(o3,s3),(I6.litHtmlVersions??=[]).push("3.1.2");const v9=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new s3(C.insertBefore(t3(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
7340
7340
|
* @license
|
|
7341
7341
|
* Copyright 2017 Google LLC
|
|
7342
7342
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7343
|
-
*/class
|
|
7343
|
+
*/class d5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=v9(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return O1}}d5._$litElement$=!0,d5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:d5});const Bh=globalThis.litElementPolyfillSupport;Bh?.({LitElement:d5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
7344
7344
|
* @license
|
|
7345
7345
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
7346
7346
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -7348,7 +7348,7 @@
|
|
|
7348
7348
|
* @license
|
|
7349
7349
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
7350
7350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7351
|
-
*/const L9=[];function g9(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function Ph(i){return g9(customElements.get(i))}function Ih(i=[]){return[i].flat(1/0).filter(C=>C instanceof
|
|
7351
|
+
*/const L9=[];function g9(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function Ph(i){return g9(customElements.get(i))}function Ih(i=[]){return[i].flat(1/0).filter(C=>C instanceof E1?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function u9(i,C,t={}){i&&Ph(i)&&console.warn(`The custom element definition for "${i}"
|
|
7352
7352
|
was finalized before a style module was registered.
|
|
7353
7353
|
Make sure to add component specific style modules before
|
|
7354
7354
|
importing the corresponding custom element.`),C=Ih(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):L9.push({themeFor:i,styles:C,include:t.include,moduleId:t.moduleId})}function N6(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():L9}function Oh(i,C){return(i||"").split(" ").some(t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(C))}function Nh(i=""){let C=0;return i.startsWith("lumo-")||i.startsWith("material-")?C=1:i.startsWith("vaadin-")&&(C=2),C}function M9(i){const C=[];return i.include&&[].concat(i.include).forEach(t=>{const e=N6().find(o=>o.moduleId===t);e?C.push(...M9(e),...e.styles):console.warn(`Included moduleId ${t} not found in style registry`)},i.styles),C}function Dh(i,C){const t=document.createElement("style");t.innerHTML=i.map(e=>e.cssText).join(`
|
|
@@ -7373,7 +7373,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7373
7373
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7374
7374
|
Code distributed by Google as part of the polymer project is also
|
|
7375
7375
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7376
|
-
*/let jh=/(url\()([^)]*)(\))/g,Uh=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
7376
|
+
*/let jh=/(url\()([^)]*)(\))/g,Uh=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,c5,Y;function a3(i,C){if(i&&Uh.test(i)||i==="//")return i;if(c5===void 0){c5=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",c5=t.href==="http://a/c%20d"}catch{}}if(C||(C=document.baseURI||window.location.href),c5)try{return new URL(i,C).href}catch{return i}return Y||(Y=document.implementation.createHTMLDocument("temp"),Y.base=Y.createElement("base"),Y.head.appendChild(Y.base),Y.anchor=Y.createElement("a"),Y.body.appendChild(Y.anchor)),Y.base.href=C,Y.anchor.href=i,Y.anchor.href||i}function D6(i,C){return i.replace(jh,function(t,e,o,a){return e+"'"+a3(o.replace(/["']/g,""),C)+"'"+a})}function F6(i){return i.substring(0,i.lastIndexOf("/")+1)}/**
|
|
7377
7377
|
@license
|
|
7378
7378
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7379
7379
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7381,7 +7381,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7381
7381
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7382
7382
|
Code distributed by Google as part of the polymer project is also
|
|
7383
7383
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7384
|
-
*/const qh=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const Wh=qh&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const i=new CSSStyleSheet;i.replaceSync("");const C=document.createElement("div");return C.attachShadow({mode:"open"}),C.shadowRoot.adoptedStyleSheets=[i],C.shadowRoot.adoptedStyleSheets[0]===i}catch{return!1}})();let Yh=window.Polymer&&window.Polymer.rootPath||F6(document.baseURI||window.location.href),
|
|
7384
|
+
*/const qh=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const Wh=qh&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const i=new CSSStyleSheet;i.replaceSync("");const C=document.createElement("div");return C.attachShadow({mode:"open"}),C.shadowRoot.adoptedStyleSheets=[i],C.shadowRoot.adoptedStyleSheets[0]===i}catch{return!1}})();let Yh=window.Polymer&&window.Polymer.rootPath||F6(document.baseURI||window.location.href),p5=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let R6=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Gh=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Kh=window.Polymer&&window.Polymer.legacyOptimizations||!1,Jh=window.Polymer&&window.Polymer.legacyWarnings||!1,Xh=window.Polymer&&window.Polymer.syncInitialRender||!1,j6=window.Polymer&&window.Polymer.legacyUndefined||!1,Qh=window.Polymer&&window.Polymer.orderedComputed||!1,f9=window.Polymer&&window.Polymer.removeNestedTemplates||!1,Cd=window.Polymer&&window.Polymer.fastDomIf||!1;window.Polymer&&window.Polymer.suppressTemplateNotifications,window.Polymer&&window.Polymer.legacyNoObservedAttributes;let td=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
|
|
7385
7385
|
@license
|
|
7386
7386
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7387
7387
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7397,7 +7397,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7397
7397
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7398
7398
|
Code distributed by Google as part of the polymer project is also
|
|
7399
7399
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7400
|
-
*/let U6={},w9={};function m9(i,C){U6[i]=w9[i.toLowerCase()]=C}function H9(i){return U6[i]||w9[i.toLowerCase()]}function id(i){i.querySelector("style")&&console.warn("dom-module %s has style outside template",i.id)}class
|
|
7400
|
+
*/let U6={},w9={};function m9(i,C){U6[i]=w9[i.toLowerCase()]=C}function H9(i){return U6[i]||w9[i.toLowerCase()]}function id(i){i.querySelector("style")&&console.warn("dom-module %s has style outside template",i.id)}class n3 extends HTMLElement{static get observedAttributes(){return["id"]}static import(C,t){if(C){let e=H9(C);return e&&t?e.querySelector(t):e}return null}attributeChangedCallback(C,t,e,o){t!==e&&this.register()}get assetpath(){if(!this.__assetpath){const C=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=a3(this.getAttribute("assetpath")||"",C.baseURI);this.__assetpath=F6(t)}return this.__assetpath}register(C){if(C=C||this.id,C){if(R6&&H9(C)!==void 0)throw m9(C,null),new Error(`strictTemplatePolicy: dom-module ${C} re-registered`);this.id=C,m9(C,this),id(this)}}}n3.prototype.modules=U6,customElements.define("dom-module",n3);/**
|
|
7401
7401
|
@license
|
|
7402
7402
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7403
7403
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7405,7 +7405,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7405
7405
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7406
7406
|
Code distributed by Google as part of the polymer project is also
|
|
7407
7407
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7408
|
-
*/const od="link[rel=import][type~=css]",sd="include",V9="shady-unscoped";function Z9(i){return
|
|
7408
|
+
*/const od="link[rel=import][type~=css]",sd="include",V9="shady-unscoped";function Z9(i){return n3.import(i)}function _9(i){let C=i.body?i.body:i;const t=D6(C.textContent,i.baseURI),e=document.createElement("style");return e.textContent=t,e}function ad(i){const C=i.trim().split(/\s+/),t=[];for(let e=0;e<C.length;e++)t.push(...nd(C[e]));return t}function nd(i){const C=Z9(i);if(!C)return console.warn("Could not find style data in module named",i),[];if(C._styles===void 0){const t=[];t.push(...b9(C));const e=C.querySelector("template");e&&t.push(...x9(e,C.assetpath)),C._styles=t}return C._styles}function x9(i,C){if(!i._styles){const t=[],e=i.content.querySelectorAll("style");for(let o=0;o<e.length;o++){let a=e[o],n=a.getAttribute(sd);n&&t.push(...ad(n).filter(function(r,l,h){return h.indexOf(r)===l})),C&&(a.textContent=D6(a.textContent,C)),t.push(a)}i._styles=t}return i._styles}function ld(i){let C=Z9(i);return C?b9(C):[]}function b9(i){const C=[],t=i.querySelectorAll(od);for(let e=0;e<t.length;e++){let o=t[e];if(o.import){const a=o.import,n=o.hasAttribute(V9);if(n&&!a._unscopedStyle){const r=_9(a);r.setAttribute(V9,""),a._unscopedStyle=r}else a._style||(a._style=_9(a));C.push(n?a._unscopedStyle:a._style)}}return C}/**
|
|
7409
7409
|
@license
|
|
7410
7410
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7411
7411
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7421,7 +7421,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7421
7421
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7422
7422
|
Code distributed by Google as part of the polymer project is also
|
|
7423
7423
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7424
|
-
*/function q6(i){return i.indexOf(".")>=0}function D1(i){let C=i.indexOf(".");return C===-1?i:i.slice(0,C)}function rd(i,C){return i.indexOf(C+".")===0}function
|
|
7424
|
+
*/function q6(i){return i.indexOf(".")>=0}function D1(i){let C=i.indexOf(".");return C===-1?i:i.slice(0,C)}function rd(i,C){return i.indexOf(C+".")===0}function v5(i,C){return C.indexOf(i+".")===0}function L5(i,C,t){return C+t.slice(i.length)}function l3(i){if(Array.isArray(i)){let C=[];for(let t=0;t<i.length;t++){let e=i[t].toString().split(".");for(let o=0;o<e.length;o++)C.push(e[o])}return C.join(".")}else return i}function y9(i){return Array.isArray(i)?l3(i).split("."):i.toString().split(".")}function q(i,C,t){let e=i,o=y9(C);for(let a=0;a<o.length;a++){if(!e)return;let n=o[a];e=e[n]}return t&&(t.path=o.join(".")),e}function z9(i,C,t){let e=i,o=y9(C),a=o[o.length-1];if(o.length>1){for(let n=0;n<o.length-1;n++){let r=o[n];if(e=e[r],!e)return}e[a]=t}else e[C]=t;return o.join(".")}/**
|
|
7425
7425
|
@license
|
|
7426
7426
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7427
7427
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7429,7 +7429,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7429
7429
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7430
7430
|
Code distributed by Google as part of the polymer project is also
|
|
7431
7431
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7432
|
-
*/const
|
|
7432
|
+
*/const g5={},hd=/-[a-z]/g,dd=/([A-Z])/g;function k9(i){return g5[i]||(g5[i]=i.indexOf("-")<0?i:i.replace(hd,C=>C[1].toUpperCase()))}function u5(i){return g5[i]||(g5[i]=i.replace(dd,"-$1").toLowerCase())}/**
|
|
7433
7433
|
@license
|
|
7434
7434
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7435
7435
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7437,7 +7437,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7437
7437
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7438
7438
|
Code distributed by Google as part of the polymer project is also
|
|
7439
7439
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7440
|
-
*/let cd=0,$9=0,
|
|
7440
|
+
*/let cd=0,$9=0,g2=[],pd=0,W6=!1,A9=document.createTextNode("");new window.MutationObserver(vd).observe(A9,{characterData:!0});function vd(){W6=!1;const i=g2.length;for(let C=0;C<i;C++){let t=g2[C];if(t)try{t()}catch(e){setTimeout(()=>{throw e})}}g2.splice(0,i),$9+=i}const E9={run(i){return W6||(W6=!0,A9.textContent=pd++),g2.push(i),cd++},cancel(i){const C=i-$9;if(C>=0){if(!g2[C])throw new Error("invalid async handle: "+i);g2[C]=null}}};/**
|
|
7441
7441
|
@license
|
|
7442
7442
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7443
7443
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7445,7 +7445,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7445
7445
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7446
7446
|
Code distributed by Google as part of the polymer project is also
|
|
7447
7447
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7448
|
-
*/const Ld=S9
|
|
7448
|
+
*/const Ld=E9,S9=y(i=>{class C extends i{static createProperties(e){const o=this.prototype;for(let a in e)a in o||o._createPropertyAccessor(a)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,o){this._addPropertyToAttributeMap(e),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,o))}_addPropertyToAttributeMap(e){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let o=this.__dataAttributes[e];return o||(o=this.constructor.attributeNameForProperty(e),this.__dataAttributes[o]=e),o}_definePropertyAccessor(e,o){Object.defineProperty(this,e,{get(){return this.__data[e]},set:o?function(){}:function(a){this._setPendingProperty(e,a,!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 e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,o){this._setPendingProperty(e,o)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,o,a){let n=this.__data[e],r=this._shouldPropertyChange(e,o,n);return r&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=n),this.__data[e]=o,this.__dataPending[e]=o),r}_isPropertyPending(e){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(e))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Ld.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 e=this.__data,o=this.__dataPending,a=this.__dataOld;this._shouldPropertiesChange(e,o,a)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,o,a)),this.__dataCounter--}_shouldPropertiesChange(e,o,a){return Boolean(o)}_propertiesChanged(e,o,a){}_shouldPropertyChange(e,o,a){return a!==o&&(a===a||o===o)}attributeChangedCallback(e,o,a,n){o!==a&&this._attributeToProperty(e,a),super.attributeChangedCallback&&super.attributeChangedCallback(e,o,a,n)}_attributeToProperty(e,o,a){if(!this.__serializing){const n=this.__dataAttributes,r=n&&n[e]||e;this[r]=this._deserializeValue(o,a||this.constructor.typeForProperty(r))}}_propertyToAttribute(e,o,a){this.__serializing=!0,a=arguments.length<3?this[e]:a,this._valueToNodeAttribute(this,a,o||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,o,a){const n=this._serializeValue(o);(a==="class"||a==="name"||a==="slot")&&(e=G(e)),n===void 0?e.removeAttribute(a):e.setAttribute(a,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return e?.toString()}}_deserializeValue(e,o){switch(o){case Boolean:return e!==null;case Number:return Number(e);default:return e}}}return C});/**
|
|
7449
7449
|
@license
|
|
7450
7450
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7451
7451
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7453,7 +7453,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7453
7453
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7454
7454
|
Code distributed by Google as part of the polymer project is also
|
|
7455
7455
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7456
|
-
*/const B9={};let
|
|
7456
|
+
*/const B9={};let M5=HTMLElement.prototype;for(;M5;){let i=Object.getOwnPropertyNames(M5);for(let C=0;C<i.length;C++)B9[i[C]]=!0;M5=Object.getPrototypeOf(M5)}const gd=(()=>window.trustedTypes?i=>trustedTypes.isHTML(i)||trustedTypes.isScript(i)||trustedTypes.isScriptURL(i):()=>!1)();function ud(i,C){if(!B9[C]){let t=i[C];t!==void 0&&(i.__data?i._setPendingProperty(C,t):(i.__dataProto?i.hasOwnProperty(JSCompiler_renameProperty("__dataProto",i))||(i.__dataProto=Object.create(i.__dataProto)):i.__dataProto={},i.__dataProto[C]=t))}}const Md=y(i=>{const C=S9(i);class t extends C{static createPropertiesForAttributes(){let o=this.observedAttributes;for(let a=0;a<o.length;a++)this.prototype._createPropertyAccessor(k9(o[a]))}static attributeNameForProperty(o){return u5(o)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(o){for(let a in o)this._setProperty(a,o[a])}_ensureAttribute(o,a){const n=this;n.hasAttribute(o)||this._valueToNodeAttribute(n,a,o)}_serializeValue(o){switch(typeof o){case"object":if(o instanceof Date)return o.toString();if(o){if(gd(o))return o;try{return JSON.stringify(o)}catch{return""}}default:return super._serializeValue(o)}}_deserializeValue(o,a){let n;switch(a){case Object:try{n=JSON.parse(o)}catch{n=o}break;case Array:try{n=JSON.parse(o)}catch{n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${o}`)}break;case Date:n=isNaN(o)?String(o):Number(o),n=new Date(n);break;default:n=super._deserializeValue(o,a);break}return n}_definePropertyAccessor(o,a){ud(this,o),super._definePropertyAccessor(o,a)}_hasAccessor(o){return this.__dataHasAccessor&&this.__dataHasAccessor[o]}_isPropertyPending(o){return Boolean(this.__dataPending&&o in this.__dataPending)}}return t});/**
|
|
7457
7457
|
@license
|
|
7458
7458
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7459
7459
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7471,7 +7471,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7471
7471
|
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
7472
7472
|
* Google as part of the polymer project is also subject to an additional IP
|
|
7473
7473
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7474
|
-
*/let l3=0;const r3=[],b={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O9="__computeInfo",zd=/[A-Z]/;function Y6(i,C,t){let e=i[C];if(!e)e=i[C]={};else if(!i.hasOwnProperty(C)&&(e=i[C]=Object.create(i[C]),t))for(let o in e){let a=e[o],n=e[o]=Array(a.length);for(let r=0;r<a.length;r++)n[r]=a[r]}return e}function h3(i,C,t,e,o,a){if(C){let n=!1;const r=l3++;for(let l in t){let h=o?D1(l):l,c=C[h];if(c)for(let d=0,p=c.length,v;d<p&&(v=c[d]);d++)(!v.info||v.info.lastRun!==r)&&(!o||G6(l,v.trigger))&&(v.info&&(v.info.lastRun=r),v.fn(i,l,t,e,v.info,o,a),n=!0)}return n}return!1}function kd(i,C,t,e,o,a,n,r){let l=!1,h=n?D1(e):e,c=C[h];if(c)for(let d=0,p=c.length,v;d<p&&(v=c[d]);d++)(!v.info||v.info.lastRun!==t)&&(!n||G6(e,v.trigger))&&(v.info&&(v.info.lastRun=t),v.fn(i,e,o,a,v.info,n,r),l=!0);return l}function G6(i,C){if(C){let t=C.name;return t==i||!!(C.structured&&rd(t,i))||!!(C.wildcard&&p5(t,i))}else return!0}function N9(i,C,t,e,o){let a=typeof o.method=="string"?i[o.method]:o.method,n=o.property;a?a.call(i,i.__data[n],e[n]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function $d(i,C,t,e,o){let a=i[b.NOTIFY],n,r=l3++;for(let h in C)C[h]&&(a&&kd(i,a,r,h,t,e,o)||o&&Ad(i,h,t))&&(n=!0);let l;n&&(l=i.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Ad(i,C,t){let e=D1(C);if(e!==C){let o=g5(e)+"-changed";return D9(i,o,t[C],C),!0}return!1}function D9(i,C,t,e){let o={value:t,queueProperty:!0};e&&(o.path=e),G(i).dispatchEvent(new CustomEvent(C,{detail:o}))}function Sd(i,C,t,e,o,a){let r=(a?D1(C):C)!=C?C:null,l=r?q(i,r):i.__data[C];r&&l===void 0&&(l=t[C]),D9(i,o.eventName,l,r)}function Ed(i,C,t,e,o){let a,n=i.detail,r=n&&n.path;r?(e=v5(t,e,r),a=n&&n.value):a=i.currentTarget[t],a=o?!a:a,(!C[b.READ_ONLY]||!C[b.READ_ONLY][e])&&C._setPendingPropertyOrPath(e,a,!0,Boolean(r))&&(!n||!n.queueProperty)&&C._invalidateProperties()}function Bd(i,C,t,e,o){let a=i.__data[C];c5&&(a=c5(a,o.attrName,"attribute",i)),i._propertyToAttribute(C,o.attrName,a)}function Td(i,C,t,e){let o=i[b.COMPUTE];if(o)if(Qh){l3++;const a=Id(i),n=[];for(let l in C)F9(l,o,n,a,e);let r;for(;r=n.shift();)R9(i,"",C,t,r)&&F9(r.methodInfo,o,n,a,e);Object.assign(t,i.__dataOld),Object.assign(C,i.__dataPending),i.__dataPending=null}else{let a=C;for(;h3(i,o,a,t,e);)Object.assign(t,i.__dataOld),Object.assign(C,i.__dataPending),a=i.__dataPending,i.__dataPending=null}}const Pd=(i,C,t)=>{let e=0,o=C.length-1,a=-1;for(;e<=o;){const n=e+o>>1,r=t.get(C[n].methodInfo)-t.get(i.methodInfo);if(r<0)e=n+1;else if(r>0)o=n-1;else{a=n;break}}a<0&&(a=o+1),C.splice(a,0,i)},F9=(i,C,t,e,o)=>{const a=o?D1(i):i,n=C[a];if(n)for(let r=0;r<n.length;r++){const l=n[r];l.info.lastRun!==l3&&(!o||G6(i,l.trigger))&&(l.info.lastRun=l3,Pd(l.info,t,e))}};function Id(i){let C=i.constructor.__orderedComputedDeps;if(!C){C=new Map;const t=i[b.COMPUTE];let{counts:e,ready:o,total:a}=Od(i),n;for(;n=o.shift();){C.set(n,C.size);const r=t[n];r&&r.forEach(l=>{const h=l.info.methodInfo;--a,--e[h]===0&&o.push(h)})}a!==0&&console.warn(`Computed graph for ${i.localName} incomplete; circular?`),i.constructor.__orderedComputedDeps=C}return C}function Od(i){const C=i[O9],t={},e=i[b.COMPUTE],o=[];let a=0;for(let n in C){const r=C[n];a+=t[n]=r.args.filter(l=>!l.literal).length+(r.dynamicFn?1:0)}for(let n in e)C[n]||o.push(n);return{counts:t,ready:o,total:a}}function R9(i,C,t,e,o){let a=J6(i,C,t,e,o);if(a===r3)return!1;let n=o.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[n]?i._setPendingProperty(n,a,!0):(i[n]=a,!1)}function Nd(i,C,t){let e=i.__dataLinkedPaths;if(e){let o;for(let a in e){let n=e[a];p5(a,C)?(o=v5(a,n,C),i._setPendingPropertyOrPath(o,t,!0,!0)):p5(n,C)&&(o=v5(n,a,C),i._setPendingPropertyOrPath(o,t,!0,!0))}}}function K6(i,C,t,e,o,a,n){t.bindings=t.bindings||[];let r={kind:e,target:o,parts:a,literal:n,isCompound:a.length!==1};if(t.bindings.push(r),Ud(r)){let{event:h,negate:c}=r.parts[0];r.listenerEvent=h||g5(o)+"-changed",r.listenerNegate=c}let l=C.nodeInfoList.length;for(let h=0;h<r.parts.length;h++){let c=r.parts[h];c.compoundIndex=h,Dd(i,C,r,c,l)}}function Dd(i,C,t,e,o){if(!e.literal)if(t.kind==="attribute"&&t.target[0]==="-")console.warn("Cannot set attribute "+t.target+' because "-" is not a valid attribute starting character');else{let a=e.dependencies,n={index:o,binding:t,part:e,evaluator:i};for(let r=0;r<a.length;r++){let l=a[r];typeof l=="string"&&(l=G9(l),l.wildcard=!0),i._addTemplatePropertyEffect(C,l.rootProperty,{fn:Fd,info:n,trigger:l})}}}function Fd(i,C,t,e,o,a,n){let r=n[o.index],l=o.binding,h=o.part;if(a&&h.source&&C.length>h.source.length&&l.kind=="property"&&!l.isCompound&&r.__isPropertyEffectsClient&&r.__dataHasAccessor&&r.__dataHasAccessor[l.target]){let c=t[C];C=v5(h.source,l.target,C),r._setPendingPropertyOrPath(C,c,!1,!0)&&i._enqueueClient(r)}else{let c=o.evaluator._evaluateBinding(i,h,C,t,e,a);c!==r3&&Rd(i,r,l,h,c)}}function Rd(i,C,t,e,o){if(o=jd(C,o,t,e),c5&&(o=c5(o,t.target,t.kind,C)),t.kind=="attribute")i._valueToNodeAttribute(C,o,t.target);else{let a=t.target;C.__isPropertyEffectsClient&&C.__dataHasAccessor&&C.__dataHasAccessor[a]?(!C[b.READ_ONLY]||!C[b.READ_ONLY][a])&&C._setPendingProperty(a,o)&&i._enqueueClient(C):i._setUnmanagedPropertyToNode(C,a,o)}}function jd(i,C,t,e){if(t.isCompound){let o=i.__dataCompoundStorage[t.target];o[e.compoundIndex]=C,C=o.join("")}return t.kind!=="attribute"&&(t.target==="textContent"||t.target==="value"&&(i.localName==="input"||i.localName==="textarea"))&&(C=C??""),C}function Ud(i){return Boolean(i.target)&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function qd(i,C){let{nodeList:t,nodeInfoList:e}=C;if(e.length)for(let o=0;o<e.length;o++){let a=e[o],n=t[o],r=a.bindings;if(r)for(let l=0;l<r.length;l++){let h=r[l];Wd(n,h),Yd(n,i,h)}n.__dataHost=i}}function Wd(i,C){if(C.isCompound){let t=i.__dataCompoundStorage||(i.__dataCompoundStorage={}),e=C.parts,o=new Array(e.length);for(let n=0;n<e.length;n++)o[n]=e[n].literal;let a=C.target;t[a]=o,C.literal&&C.kind=="property"&&(a==="className"&&(i=G(i)),i[a]=C.literal)}}function Yd(i,C,t){if(t.listenerEvent){let e=t.parts[0];i.addEventListener(t.listenerEvent,function(o){Ed(o,C,t.target,e.source,e.negate)})}}function j9(i,C,t,e,o,a){a=C.static||a&&(typeof a!="object"||a[C.methodName]);let n={methodName:C.methodName,args:C.args,methodInfo:o,dynamicFn:a};for(let r=0,l;r<C.args.length&&(l=C.args[r]);r++)l.literal||i._addPropertyEffect(l.rootProperty,t,{fn:e,info:n,trigger:l});return a&&i._addPropertyEffect(C.methodName,t,{fn:e,info:n}),n}function J6(i,C,t,e,o){let a=i._methodHost||i,n=a[o.methodName];if(n){let r=i._marshalArgs(o.args,C,t);return r===r3?r3:n.apply(a,r)}else o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const Gd=[],U9="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Kd="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Jd="(?:'(?:[^'\\\\]|\\\\.)*')",Xd='(?:"(?:[^"\\\\]|\\\\.)*")',Qd="(?:"+Jd+"|"+Xd+")",q9="(?:("+U9+"|"+Kd+"|"+Qd+")\\s*)",Cc="(?:"+q9+"(?:,\\s*"+q9+")*)",tc="(?:\\(\\s*(?:"+Cc+"?)\\)\\s*)",ec="("+U9+"\\s*"+tc+"?)",ic="(\\[\\[|{{)\\s*",oc="(?:]]|}})",sc=ic+"(?:(!)\\s*)?"+ec+oc,W9=new RegExp(sc,"g");function Y9(i){let C="";for(let t=0;t<i.length;t++)C+=i[t].literal||"";return C}function X6(i){let C=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(C){let e={methodName:C[1],static:!0,args:Gd};if(C[2].trim()){let o=C[2].replace(/\\,/g,",").split(",");return ac(o,e)}else return e}return null}function ac(i,C){return C.args=i.map(function(t){let e=G9(t);return e.literal||(C.static=!1),e},this),C}function G9(i){let C=i.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),t={name:C,value:"",literal:!1},e=C[0];switch(e==="-"&&(e=C[1]),e>="0"&&e<="9"&&(e="#"),e){case"'":case'"':t.value=C.slice(1,-1),t.literal=!0;break;case"#":t.value=Number(C),t.literal=!0;break}return t.literal||(t.rootProperty=D1(C),t.structured=q6(C),t.structured&&(t.wildcard=C.slice(-2)==".*",t.wildcard&&(t.name=C.slice(0,-2)))),t}function K9(i,C,t){let e=q(i,t);return e===void 0&&(e=C[t]),e}function J9(i,C,t,e){const o={indexSplices:e};j6&&!i._overrideLegacyUndefined&&(C.splices=o),i.notifyPath(t+".splices",o),i.notifyPath(t+".length",C.length),j6&&!i._overrideLegacyUndefined&&(o.indexSplices=[])}function d3(i,C,t,e,o,a){J9(i,C,t,[{index:e,addedCount:o,removed:a,object:C,type:"splice"}])}function nc(i){return i[0].toUpperCase()+i.substring(1)}const lc=y(i=>{const C=yd(Md(i));class t extends C{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 b}_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(c3.length){let o=c3[c3.length-1];o._enqueueClient(this),this.__dataHost=o}}_initializeProtoProperties(o){this.__data=Object.create(o),this.__dataPending=Object.create(o),this.__dataOld={}}_initializeInstanceProperties(o){let a=this[b.READ_ONLY];for(let n in o)(!a||!a[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=o[n])}_addPropertyEffect(o,a,n){this._createPropertyAccessor(o,a==b.READ_ONLY);let r=Y6(this,a,!0)[o];r||(r=this[a][o]=[]),r.push(n)}_removePropertyEffect(o,a,n){let r=Y6(this,a,!0)[o],l=r.indexOf(n);l>=0&&r.splice(l,1)}_hasPropertyEffect(o,a){let n=this[a];return Boolean(n&&n[o])}_hasReadOnlyEffect(o){return this._hasPropertyEffect(o,b.READ_ONLY)}_hasNotifyEffect(o){return this._hasPropertyEffect(o,b.NOTIFY)}_hasReflectEffect(o){return this._hasPropertyEffect(o,b.REFLECT)}_hasComputedEffect(o){return this._hasPropertyEffect(o,b.COMPUTE)}_setPendingPropertyOrPath(o,a,n,r){if(r||D1(Array.isArray(o)?o[0]:o)!==o){if(!r){let l=q(this,o);if(o=z9(this,o,a),!o||!super._shouldPropertyChange(o,a,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(o,a,n))return Nd(this,o,a),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[o])return this._setPendingProperty(o,a,n);this[o]=a}return!1}_setUnmanagedPropertyToNode(o,a,n){(n!==o[a]||typeof n=="object")&&(a==="className"&&(o=G(o)),o[a]=n)}_setPendingProperty(o,a,n){let r=this.__dataHasPaths&&q6(o),l=r?this.__dataTemp:this.__data;return this._shouldPropertyChange(o,a,l[o])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),o in this.__dataOld||(this.__dataOld[o]=this.__data[o]),r?this.__dataTemp[o]=a:this.__data[o]=a,this.__dataPending[o]=a,(r||this[b.NOTIFY]&&this[b.NOTIFY][o])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[o]=n),!0):!1}_setProperty(o,a){this._setPendingProperty(o,a,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(o){this.__dataPendingClients=this.__dataPendingClients||[],o!==this&&this.__dataPendingClients.push(o)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let o=this.__dataPendingClients;if(o){this.__dataPendingClients=null;for(let a=0;a<o.length;a++){let n=o[a];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(o,a){for(let n in o)(a||!this[b.READ_ONLY]||!this[b.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,o[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(o,a,n){let r=this.__dataHasPaths;this.__dataHasPaths=!1;let l;Td(this,a,n,r),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(a,n,r),this._flushClients(),h3(this,this[b.REFLECT],a,n,r),h3(this,this[b.OBSERVE],a,n,r),l&&$d(this,l,a,n,r),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(o,a,n){this[b.PROPAGATE]&&h3(this,this[b.PROPAGATE],o,a,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,o,a,n)}_runEffectsForTemplate(o,a,n,r){const l=(h,c)=>{h3(this,o.propertyEffects,h,n,c,o.nodeList);for(let d=o.firstChild;d;d=d.nextSibling)this._runEffectsForTemplate(d,h,n,c)};o.runEffects?o.runEffects(l,a,r):l(a,r)}linkPaths(o,a){o=n3(o),a=n3(a),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[o]=a}unlinkPaths(o){o=n3(o),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[o]}notifySplices(o,a){let n={path:""},r=q(this,o,n);J9(this,r,n.path,a)}get(o,a){return q(a||this,o)}set(o,a,n){n?z9(n,o,a):(!this[b.READ_ONLY]||!this[b.READ_ONLY][o])&&this._setPendingPropertyOrPath(o,a,!0)&&this._invalidateProperties()}push(o,...a){let n={path:""},r=q(this,o,n),l=r.length,h=r.push(...a);return a.length&&d3(this,r,n.path,l,a.length,[]),h}pop(o){let a={path:""},n=q(this,o,a),r=Boolean(n.length),l=n.pop();return r&&d3(this,n,a.path,n.length,0,[l]),l}splice(o,a,n,...r){let l={path:""},h=q(this,o,l);a<0?a=h.length-Math.floor(-a):a&&(a=Math.floor(a));let c;return arguments.length===2?c=h.splice(a):c=h.splice(a,n,...r),(r.length||c.length)&&d3(this,h,l.path,a,r.length,c),c}shift(o){let a={path:""},n=q(this,o,a),r=Boolean(n.length),l=n.shift();return r&&d3(this,n,a.path,0,0,[l]),l}unshift(o,...a){let n={path:""},r=q(this,o,n),l=r.unshift(...a);return a.length&&d3(this,r,n.path,0,a.length,[]),l}notifyPath(o,a){let n;if(arguments.length==1){let r={path:""};a=q(this,o,r),n=r.path}else Array.isArray(o)?n=n3(o):n=o;this._setPendingPropertyOrPath(n,a,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(o,a){this._addPropertyEffect(o,b.READ_ONLY),a&&(this["_set"+nc(o)]=function(n){this._setProperty(o,n)})}_createPropertyObserver(o,a,n){let r={property:o,method:a,dynamicFn:Boolean(n)};this._addPropertyEffect(o,b.OBSERVE,{fn:N9,info:r,trigger:{name:o}}),n&&this._addPropertyEffect(a,b.OBSERVE,{fn:N9,info:r,trigger:{name:a}})}_createMethodObserver(o,a){let n=X6(o);if(!n)throw new Error("Malformed observer expression '"+o+"'");j9(this,n,b.OBSERVE,J6,null,a)}_createNotifyingProperty(o){this._addPropertyEffect(o,b.NOTIFY,{fn:Sd,info:{eventName:g5(o)+"-changed",property:o}})}_createReflectedProperty(o){let a=this.constructor.attributeNameForProperty(o);a[0]==="-"?console.warn("Property "+o+" cannot be reflected to attribute "+a+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(o,b.REFLECT,{fn:Bd,info:{attrName:a}})}_createComputedProperty(o,a,n){let r=X6(a);if(!r)throw new Error("Malformed computed expression '"+a+"'");const l=j9(this,r,b.COMPUTE,R9,o,n);Y6(this,O9)[o]=l}_marshalArgs(o,a,n){const r=this.__data,l=[];for(let h=0,c=o.length;h<c;h++){let{name:d,structured:p,wildcard:v,value:L,literal:_}=o[h];if(!_)if(v){const f=p5(d,a),z=K9(r,n,f?a:d);L={path:f?a:d,value:z,base:f?q(r,d):z}}else L=p?K9(r,n,d):r[d];if(j6&&!this._overrideLegacyUndefined&&L===void 0&&o.length>1)return r3;l[h]=L}return l}static addPropertyEffect(o,a,n){this.prototype._addPropertyEffect(o,a,n)}static createPropertyObserver(o,a,n){this.prototype._createPropertyObserver(o,a,n)}static createMethodObserver(o,a){this.prototype._createMethodObserver(o,a)}static createNotifyingProperty(o){this.prototype._createNotifyingProperty(o)}static createReadOnlyProperty(o,a){this.prototype._createReadOnlyProperty(o,a)}static createReflectedProperty(o){this.prototype._createReflectedProperty(o)}static createComputedProperty(o,a,n){this.prototype._createComputedProperty(o,a,n)}static bindTemplate(o){return this.prototype._bindTemplate(o)}_bindTemplate(o,a){let n=this.constructor._parseTemplate(o),r=this.__preBoundTemplateInfo==n;if(!r)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(a)if(n=Object.create(n),n.wasPreBound=r,!this.__templateInfo)this.__templateInfo=n;else{const l=o._parentTemplateInfo||this.__templateInfo,h=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=h,h?h.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(o,a,n){let r=o.hostProps=o.hostProps||{};r[a]=!0;let l=o.propertyEffects=o.propertyEffects||{};(l[a]=l[a]||[]).push(n)}_stampTemplate(o,a){a=a||this._bindTemplate(o,!0),c3.push(this);let n=super._stampTemplate(o,a);if(c3.pop(),a.nodeList=n.nodeList,!a.wasPreBound){let r=a.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)r.push(l)}return n.templateInfo=a,qd(this,a),this.__dataClientsReady&&(this._runEffectsForTemplate(a,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(o){const a=o.templateInfo,{previousSibling:n,nextSibling:r,parent:l}=a;n?n.nextSibling=r:l&&(l.firstChild=r),r?r.previousSibling=n:l&&(l.lastChild=n),a.nextSibling=a.previousSibling=null;let h=a.childNodes;for(let c=0;c<h.length;c++){let d=h[c];G(G(d).parentNode).removeChild(d)}}static _parseTemplateNode(o,a,n){let r=C._parseTemplateNode.call(this,o,a,n);if(o.nodeType===Node.TEXT_NODE){let l=this._parseBindings(o.textContent,a);l&&(o.textContent=Y9(l)||" ",K6(this,a,n,"text","textContent",l),r=!0)}return r}static _parseTemplateNodeAttribute(o,a,n,r,l){let h=this._parseBindings(l,a);if(h){let c=r,d="property";zd.test(r)?d="attribute":r[r.length-1]=="$"&&(r=r.slice(0,-1),d="attribute");let p=Y9(h);return p&&d=="attribute"&&(r=="class"&&o.hasAttribute("class")&&(p+=" "+o.getAttribute(r)),o.setAttribute(r,p)),d=="attribute"&&c=="disable-upgrade$"&&o.setAttribute(r,""),o.localName==="input"&&c==="value"&&o.setAttribute(c,""),o.removeAttribute(c),d==="property"&&(r=k9(r)),K6(this,a,n,d,r,h,p),!0}else return C._parseTemplateNodeAttribute.call(this,o,a,n,r,l)}static _parseTemplateNestedTemplate(o,a,n){let r=C._parseTemplateNestedTemplate.call(this,o,a,n);const l=o.parentNode,h=n.templateInfo,c=l.localName==="dom-if",d=l.localName==="dom-repeat";f9&&(c||d)&&(l.removeChild(o),n=n.parentInfo,n.templateInfo=h,n.noted=!0,r=!1);let p=h.hostProps;if(Cd&&c)p&&(a.hostProps=Object.assign(a.hostProps||{},p),f9||(n.parentInfo.noted=!0));else{let v="{";for(let L in p){let _=[{mode:v,source:L,dependencies:[L],hostProp:!0}];K6(this,a,n,"property","_host_"+L,_)}}return r}static _parseBindings(o,a){let n=[],r=0,l;for(;(l=W9.exec(o))!==null;){l.index>r&&n.push({literal:o.slice(r,l.index)});let h=l[1][0],c=Boolean(l[2]),d=l[3].trim(),p=!1,v="",L=-1;h=="{"&&(L=d.indexOf("::"))>0&&(v=d.substring(L+2),d=d.substring(0,L),p=!0);let _=X6(d),f=[];if(_){let{args:z,methodName:A}=_;for(let $=0;$<z.length;$++){let R=z[$];R.literal||f.push(R)}let Z=a.dynamicFns;(Z&&Z[A]||_.static)&&(f.push(A),_.dynamicFn=!0)}else f.push(d);n.push({source:d,mode:h,negate:c,customEvent:p,signature:_,dependencies:f,event:v}),r=W9.lastIndex}if(r&&r<o.length){let h=o.substring(r);h&&n.push({literal:h})}return n.length?n:null}static _evaluateBinding(o,a,n,r,l,h){let c;return a.signature?c=J6(o,n,r,l,a.signature):n!=a.source?c=q(o,a.source):h&&q6(n)?c=q(o,n):c=o.__data[n],a.negate&&(c=!c),c}}return t}),c3=[];/**
|
|
7474
|
+
*/let r3=0;const h3=[],b={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O9="__computeInfo",zd=/[A-Z]/;function Y6(i,C,t){let e=i[C];if(!e)e=i[C]={};else if(!i.hasOwnProperty(C)&&(e=i[C]=Object.create(i[C]),t))for(let o in e){let a=e[o],n=e[o]=Array(a.length);for(let r=0;r<a.length;r++)n[r]=a[r]}return e}function d3(i,C,t,e,o,a){if(C){let n=!1;const r=r3++;for(let l in t){let h=o?D1(l):l,c=C[h];if(c)for(let d=0,p=c.length,v;d<p&&(v=c[d]);d++)(!v.info||v.info.lastRun!==r)&&(!o||G6(l,v.trigger))&&(v.info&&(v.info.lastRun=r),v.fn(i,l,t,e,v.info,o,a),n=!0)}return n}return!1}function kd(i,C,t,e,o,a,n,r){let l=!1,h=n?D1(e):e,c=C[h];if(c)for(let d=0,p=c.length,v;d<p&&(v=c[d]);d++)(!v.info||v.info.lastRun!==t)&&(!n||G6(e,v.trigger))&&(v.info&&(v.info.lastRun=t),v.fn(i,e,o,a,v.info,n,r),l=!0);return l}function G6(i,C){if(C){let t=C.name;return t==i||!!(C.structured&&rd(t,i))||!!(C.wildcard&&v5(t,i))}else return!0}function N9(i,C,t,e,o){let a=typeof o.method=="string"?i[o.method]:o.method,n=o.property;a?a.call(i,i.__data[n],e[n]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function $d(i,C,t,e,o){let a=i[b.NOTIFY],n,r=r3++;for(let h in C)C[h]&&(a&&kd(i,a,r,h,t,e,o)||o&&Ad(i,h,t))&&(n=!0);let l;n&&(l=i.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Ad(i,C,t){let e=D1(C);if(e!==C){let o=u5(e)+"-changed";return D9(i,o,t[C],C),!0}return!1}function D9(i,C,t,e){let o={value:t,queueProperty:!0};e&&(o.path=e),G(i).dispatchEvent(new CustomEvent(C,{detail:o}))}function Ed(i,C,t,e,o,a){let r=(a?D1(C):C)!=C?C:null,l=r?q(i,r):i.__data[C];r&&l===void 0&&(l=t[C]),D9(i,o.eventName,l,r)}function Sd(i,C,t,e,o){let a,n=i.detail,r=n&&n.path;r?(e=L5(t,e,r),a=n&&n.value):a=i.currentTarget[t],a=o?!a:a,(!C[b.READ_ONLY]||!C[b.READ_ONLY][e])&&C._setPendingPropertyOrPath(e,a,!0,Boolean(r))&&(!n||!n.queueProperty)&&C._invalidateProperties()}function Bd(i,C,t,e,o){let a=i.__data[C];p5&&(a=p5(a,o.attrName,"attribute",i)),i._propertyToAttribute(C,o.attrName,a)}function Td(i,C,t,e){let o=i[b.COMPUTE];if(o)if(Qh){r3++;const a=Id(i),n=[];for(let l in C)F9(l,o,n,a,e);let r;for(;r=n.shift();)R9(i,"",C,t,r)&&F9(r.methodInfo,o,n,a,e);Object.assign(t,i.__dataOld),Object.assign(C,i.__dataPending),i.__dataPending=null}else{let a=C;for(;d3(i,o,a,t,e);)Object.assign(t,i.__dataOld),Object.assign(C,i.__dataPending),a=i.__dataPending,i.__dataPending=null}}const Pd=(i,C,t)=>{let e=0,o=C.length-1,a=-1;for(;e<=o;){const n=e+o>>1,r=t.get(C[n].methodInfo)-t.get(i.methodInfo);if(r<0)e=n+1;else if(r>0)o=n-1;else{a=n;break}}a<0&&(a=o+1),C.splice(a,0,i)},F9=(i,C,t,e,o)=>{const a=o?D1(i):i,n=C[a];if(n)for(let r=0;r<n.length;r++){const l=n[r];l.info.lastRun!==r3&&(!o||G6(i,l.trigger))&&(l.info.lastRun=r3,Pd(l.info,t,e))}};function Id(i){let C=i.constructor.__orderedComputedDeps;if(!C){C=new Map;const t=i[b.COMPUTE];let{counts:e,ready:o,total:a}=Od(i),n;for(;n=o.shift();){C.set(n,C.size);const r=t[n];r&&r.forEach(l=>{const h=l.info.methodInfo;--a,--e[h]===0&&o.push(h)})}a!==0&&console.warn(`Computed graph for ${i.localName} incomplete; circular?`),i.constructor.__orderedComputedDeps=C}return C}function Od(i){const C=i[O9],t={},e=i[b.COMPUTE],o=[];let a=0;for(let n in C){const r=C[n];a+=t[n]=r.args.filter(l=>!l.literal).length+(r.dynamicFn?1:0)}for(let n in e)C[n]||o.push(n);return{counts:t,ready:o,total:a}}function R9(i,C,t,e,o){let a=J6(i,C,t,e,o);if(a===h3)return!1;let n=o.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[n]?i._setPendingProperty(n,a,!0):(i[n]=a,!1)}function Nd(i,C,t){let e=i.__dataLinkedPaths;if(e){let o;for(let a in e){let n=e[a];v5(a,C)?(o=L5(a,n,C),i._setPendingPropertyOrPath(o,t,!0,!0)):v5(n,C)&&(o=L5(n,a,C),i._setPendingPropertyOrPath(o,t,!0,!0))}}}function K6(i,C,t,e,o,a,n){t.bindings=t.bindings||[];let r={kind:e,target:o,parts:a,literal:n,isCompound:a.length!==1};if(t.bindings.push(r),Ud(r)){let{event:h,negate:c}=r.parts[0];r.listenerEvent=h||u5(o)+"-changed",r.listenerNegate=c}let l=C.nodeInfoList.length;for(let h=0;h<r.parts.length;h++){let c=r.parts[h];c.compoundIndex=h,Dd(i,C,r,c,l)}}function Dd(i,C,t,e,o){if(!e.literal)if(t.kind==="attribute"&&t.target[0]==="-")console.warn("Cannot set attribute "+t.target+' because "-" is not a valid attribute starting character');else{let a=e.dependencies,n={index:o,binding:t,part:e,evaluator:i};for(let r=0;r<a.length;r++){let l=a[r];typeof l=="string"&&(l=G9(l),l.wildcard=!0),i._addTemplatePropertyEffect(C,l.rootProperty,{fn:Fd,info:n,trigger:l})}}}function Fd(i,C,t,e,o,a,n){let r=n[o.index],l=o.binding,h=o.part;if(a&&h.source&&C.length>h.source.length&&l.kind=="property"&&!l.isCompound&&r.__isPropertyEffectsClient&&r.__dataHasAccessor&&r.__dataHasAccessor[l.target]){let c=t[C];C=L5(h.source,l.target,C),r._setPendingPropertyOrPath(C,c,!1,!0)&&i._enqueueClient(r)}else{let c=o.evaluator._evaluateBinding(i,h,C,t,e,a);c!==h3&&Rd(i,r,l,h,c)}}function Rd(i,C,t,e,o){if(o=jd(C,o,t,e),p5&&(o=p5(o,t.target,t.kind,C)),t.kind=="attribute")i._valueToNodeAttribute(C,o,t.target);else{let a=t.target;C.__isPropertyEffectsClient&&C.__dataHasAccessor&&C.__dataHasAccessor[a]?(!C[b.READ_ONLY]||!C[b.READ_ONLY][a])&&C._setPendingProperty(a,o)&&i._enqueueClient(C):i._setUnmanagedPropertyToNode(C,a,o)}}function jd(i,C,t,e){if(t.isCompound){let o=i.__dataCompoundStorage[t.target];o[e.compoundIndex]=C,C=o.join("")}return t.kind!=="attribute"&&(t.target==="textContent"||t.target==="value"&&(i.localName==="input"||i.localName==="textarea"))&&(C=C??""),C}function Ud(i){return Boolean(i.target)&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function qd(i,C){let{nodeList:t,nodeInfoList:e}=C;if(e.length)for(let o=0;o<e.length;o++){let a=e[o],n=t[o],r=a.bindings;if(r)for(let l=0;l<r.length;l++){let h=r[l];Wd(n,h),Yd(n,i,h)}n.__dataHost=i}}function Wd(i,C){if(C.isCompound){let t=i.__dataCompoundStorage||(i.__dataCompoundStorage={}),e=C.parts,o=new Array(e.length);for(let n=0;n<e.length;n++)o[n]=e[n].literal;let a=C.target;t[a]=o,C.literal&&C.kind=="property"&&(a==="className"&&(i=G(i)),i[a]=C.literal)}}function Yd(i,C,t){if(t.listenerEvent){let e=t.parts[0];i.addEventListener(t.listenerEvent,function(o){Sd(o,C,t.target,e.source,e.negate)})}}function j9(i,C,t,e,o,a){a=C.static||a&&(typeof a!="object"||a[C.methodName]);let n={methodName:C.methodName,args:C.args,methodInfo:o,dynamicFn:a};for(let r=0,l;r<C.args.length&&(l=C.args[r]);r++)l.literal||i._addPropertyEffect(l.rootProperty,t,{fn:e,info:n,trigger:l});return a&&i._addPropertyEffect(C.methodName,t,{fn:e,info:n}),n}function J6(i,C,t,e,o){let a=i._methodHost||i,n=a[o.methodName];if(n){let r=i._marshalArgs(o.args,C,t);return r===h3?h3:n.apply(a,r)}else o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const Gd=[],U9="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Kd="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Jd="(?:'(?:[^'\\\\]|\\\\.)*')",Xd='(?:"(?:[^"\\\\]|\\\\.)*")',Qd="(?:"+Jd+"|"+Xd+")",q9="(?:("+U9+"|"+Kd+"|"+Qd+")\\s*)",Cc="(?:"+q9+"(?:,\\s*"+q9+")*)",tc="(?:\\(\\s*(?:"+Cc+"?)\\)\\s*)",ec="("+U9+"\\s*"+tc+"?)",ic="(\\[\\[|{{)\\s*",oc="(?:]]|}})",sc=ic+"(?:(!)\\s*)?"+ec+oc,W9=new RegExp(sc,"g");function Y9(i){let C="";for(let t=0;t<i.length;t++)C+=i[t].literal||"";return C}function X6(i){let C=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(C){let e={methodName:C[1],static:!0,args:Gd};if(C[2].trim()){let o=C[2].replace(/\\,/g,",").split(",");return ac(o,e)}else return e}return null}function ac(i,C){return C.args=i.map(function(t){let e=G9(t);return e.literal||(C.static=!1),e},this),C}function G9(i){let C=i.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),t={name:C,value:"",literal:!1},e=C[0];switch(e==="-"&&(e=C[1]),e>="0"&&e<="9"&&(e="#"),e){case"'":case'"':t.value=C.slice(1,-1),t.literal=!0;break;case"#":t.value=Number(C),t.literal=!0;break}return t.literal||(t.rootProperty=D1(C),t.structured=q6(C),t.structured&&(t.wildcard=C.slice(-2)==".*",t.wildcard&&(t.name=C.slice(0,-2)))),t}function K9(i,C,t){let e=q(i,t);return e===void 0&&(e=C[t]),e}function J9(i,C,t,e){const o={indexSplices:e};j6&&!i._overrideLegacyUndefined&&(C.splices=o),i.notifyPath(t+".splices",o),i.notifyPath(t+".length",C.length),j6&&!i._overrideLegacyUndefined&&(o.indexSplices=[])}function c3(i,C,t,e,o,a){J9(i,C,t,[{index:e,addedCount:o,removed:a,object:C,type:"splice"}])}function nc(i){return i[0].toUpperCase()+i.substring(1)}const lc=y(i=>{const C=yd(Md(i));class t extends C{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 b}_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(p3.length){let o=p3[p3.length-1];o._enqueueClient(this),this.__dataHost=o}}_initializeProtoProperties(o){this.__data=Object.create(o),this.__dataPending=Object.create(o),this.__dataOld={}}_initializeInstanceProperties(o){let a=this[b.READ_ONLY];for(let n in o)(!a||!a[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=o[n])}_addPropertyEffect(o,a,n){this._createPropertyAccessor(o,a==b.READ_ONLY);let r=Y6(this,a,!0)[o];r||(r=this[a][o]=[]),r.push(n)}_removePropertyEffect(o,a,n){let r=Y6(this,a,!0)[o],l=r.indexOf(n);l>=0&&r.splice(l,1)}_hasPropertyEffect(o,a){let n=this[a];return Boolean(n&&n[o])}_hasReadOnlyEffect(o){return this._hasPropertyEffect(o,b.READ_ONLY)}_hasNotifyEffect(o){return this._hasPropertyEffect(o,b.NOTIFY)}_hasReflectEffect(o){return this._hasPropertyEffect(o,b.REFLECT)}_hasComputedEffect(o){return this._hasPropertyEffect(o,b.COMPUTE)}_setPendingPropertyOrPath(o,a,n,r){if(r||D1(Array.isArray(o)?o[0]:o)!==o){if(!r){let l=q(this,o);if(o=z9(this,o,a),!o||!super._shouldPropertyChange(o,a,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(o,a,n))return Nd(this,o,a),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[o])return this._setPendingProperty(o,a,n);this[o]=a}return!1}_setUnmanagedPropertyToNode(o,a,n){(n!==o[a]||typeof n=="object")&&(a==="className"&&(o=G(o)),o[a]=n)}_setPendingProperty(o,a,n){let r=this.__dataHasPaths&&q6(o),l=r?this.__dataTemp:this.__data;return this._shouldPropertyChange(o,a,l[o])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),o in this.__dataOld||(this.__dataOld[o]=this.__data[o]),r?this.__dataTemp[o]=a:this.__data[o]=a,this.__dataPending[o]=a,(r||this[b.NOTIFY]&&this[b.NOTIFY][o])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[o]=n),!0):!1}_setProperty(o,a){this._setPendingProperty(o,a,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(o){this.__dataPendingClients=this.__dataPendingClients||[],o!==this&&this.__dataPendingClients.push(o)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let o=this.__dataPendingClients;if(o){this.__dataPendingClients=null;for(let a=0;a<o.length;a++){let n=o[a];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(o,a){for(let n in o)(a||!this[b.READ_ONLY]||!this[b.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,o[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(o,a,n){let r=this.__dataHasPaths;this.__dataHasPaths=!1;let l;Td(this,a,n,r),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(a,n,r),this._flushClients(),d3(this,this[b.REFLECT],a,n,r),d3(this,this[b.OBSERVE],a,n,r),l&&$d(this,l,a,n,r),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(o,a,n){this[b.PROPAGATE]&&d3(this,this[b.PROPAGATE],o,a,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,o,a,n)}_runEffectsForTemplate(o,a,n,r){const l=(h,c)=>{d3(this,o.propertyEffects,h,n,c,o.nodeList);for(let d=o.firstChild;d;d=d.nextSibling)this._runEffectsForTemplate(d,h,n,c)};o.runEffects?o.runEffects(l,a,r):l(a,r)}linkPaths(o,a){o=l3(o),a=l3(a),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[o]=a}unlinkPaths(o){o=l3(o),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[o]}notifySplices(o,a){let n={path:""},r=q(this,o,n);J9(this,r,n.path,a)}get(o,a){return q(a||this,o)}set(o,a,n){n?z9(n,o,a):(!this[b.READ_ONLY]||!this[b.READ_ONLY][o])&&this._setPendingPropertyOrPath(o,a,!0)&&this._invalidateProperties()}push(o,...a){let n={path:""},r=q(this,o,n),l=r.length,h=r.push(...a);return a.length&&c3(this,r,n.path,l,a.length,[]),h}pop(o){let a={path:""},n=q(this,o,a),r=Boolean(n.length),l=n.pop();return r&&c3(this,n,a.path,n.length,0,[l]),l}splice(o,a,n,...r){let l={path:""},h=q(this,o,l);a<0?a=h.length-Math.floor(-a):a&&(a=Math.floor(a));let c;return arguments.length===2?c=h.splice(a):c=h.splice(a,n,...r),(r.length||c.length)&&c3(this,h,l.path,a,r.length,c),c}shift(o){let a={path:""},n=q(this,o,a),r=Boolean(n.length),l=n.shift();return r&&c3(this,n,a.path,0,0,[l]),l}unshift(o,...a){let n={path:""},r=q(this,o,n),l=r.unshift(...a);return a.length&&c3(this,r,n.path,0,a.length,[]),l}notifyPath(o,a){let n;if(arguments.length==1){let r={path:""};a=q(this,o,r),n=r.path}else Array.isArray(o)?n=l3(o):n=o;this._setPendingPropertyOrPath(n,a,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(o,a){this._addPropertyEffect(o,b.READ_ONLY),a&&(this["_set"+nc(o)]=function(n){this._setProperty(o,n)})}_createPropertyObserver(o,a,n){let r={property:o,method:a,dynamicFn:Boolean(n)};this._addPropertyEffect(o,b.OBSERVE,{fn:N9,info:r,trigger:{name:o}}),n&&this._addPropertyEffect(a,b.OBSERVE,{fn:N9,info:r,trigger:{name:a}})}_createMethodObserver(o,a){let n=X6(o);if(!n)throw new Error("Malformed observer expression '"+o+"'");j9(this,n,b.OBSERVE,J6,null,a)}_createNotifyingProperty(o){this._addPropertyEffect(o,b.NOTIFY,{fn:Ed,info:{eventName:u5(o)+"-changed",property:o}})}_createReflectedProperty(o){let a=this.constructor.attributeNameForProperty(o);a[0]==="-"?console.warn("Property "+o+" cannot be reflected to attribute "+a+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(o,b.REFLECT,{fn:Bd,info:{attrName:a}})}_createComputedProperty(o,a,n){let r=X6(a);if(!r)throw new Error("Malformed computed expression '"+a+"'");const l=j9(this,r,b.COMPUTE,R9,o,n);Y6(this,O9)[o]=l}_marshalArgs(o,a,n){const r=this.__data,l=[];for(let h=0,c=o.length;h<c;h++){let{name:d,structured:p,wildcard:v,value:L,literal:_}=o[h];if(!_)if(v){const f=v5(d,a),z=K9(r,n,f?a:d);L={path:f?a:d,value:z,base:f?q(r,d):z}}else L=p?K9(r,n,d):r[d];if(j6&&!this._overrideLegacyUndefined&&L===void 0&&o.length>1)return h3;l[h]=L}return l}static addPropertyEffect(o,a,n){this.prototype._addPropertyEffect(o,a,n)}static createPropertyObserver(o,a,n){this.prototype._createPropertyObserver(o,a,n)}static createMethodObserver(o,a){this.prototype._createMethodObserver(o,a)}static createNotifyingProperty(o){this.prototype._createNotifyingProperty(o)}static createReadOnlyProperty(o,a){this.prototype._createReadOnlyProperty(o,a)}static createReflectedProperty(o){this.prototype._createReflectedProperty(o)}static createComputedProperty(o,a,n){this.prototype._createComputedProperty(o,a,n)}static bindTemplate(o){return this.prototype._bindTemplate(o)}_bindTemplate(o,a){let n=this.constructor._parseTemplate(o),r=this.__preBoundTemplateInfo==n;if(!r)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(a)if(n=Object.create(n),n.wasPreBound=r,!this.__templateInfo)this.__templateInfo=n;else{const l=o._parentTemplateInfo||this.__templateInfo,h=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=h,h?h.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(o,a,n){let r=o.hostProps=o.hostProps||{};r[a]=!0;let l=o.propertyEffects=o.propertyEffects||{};(l[a]=l[a]||[]).push(n)}_stampTemplate(o,a){a=a||this._bindTemplate(o,!0),p3.push(this);let n=super._stampTemplate(o,a);if(p3.pop(),a.nodeList=n.nodeList,!a.wasPreBound){let r=a.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)r.push(l)}return n.templateInfo=a,qd(this,a),this.__dataClientsReady&&(this._runEffectsForTemplate(a,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(o){const a=o.templateInfo,{previousSibling:n,nextSibling:r,parent:l}=a;n?n.nextSibling=r:l&&(l.firstChild=r),r?r.previousSibling=n:l&&(l.lastChild=n),a.nextSibling=a.previousSibling=null;let h=a.childNodes;for(let c=0;c<h.length;c++){let d=h[c];G(G(d).parentNode).removeChild(d)}}static _parseTemplateNode(o,a,n){let r=C._parseTemplateNode.call(this,o,a,n);if(o.nodeType===Node.TEXT_NODE){let l=this._parseBindings(o.textContent,a);l&&(o.textContent=Y9(l)||" ",K6(this,a,n,"text","textContent",l),r=!0)}return r}static _parseTemplateNodeAttribute(o,a,n,r,l){let h=this._parseBindings(l,a);if(h){let c=r,d="property";zd.test(r)?d="attribute":r[r.length-1]=="$"&&(r=r.slice(0,-1),d="attribute");let p=Y9(h);return p&&d=="attribute"&&(r=="class"&&o.hasAttribute("class")&&(p+=" "+o.getAttribute(r)),o.setAttribute(r,p)),d=="attribute"&&c=="disable-upgrade$"&&o.setAttribute(r,""),o.localName==="input"&&c==="value"&&o.setAttribute(c,""),o.removeAttribute(c),d==="property"&&(r=k9(r)),K6(this,a,n,d,r,h,p),!0}else return C._parseTemplateNodeAttribute.call(this,o,a,n,r,l)}static _parseTemplateNestedTemplate(o,a,n){let r=C._parseTemplateNestedTemplate.call(this,o,a,n);const l=o.parentNode,h=n.templateInfo,c=l.localName==="dom-if",d=l.localName==="dom-repeat";f9&&(c||d)&&(l.removeChild(o),n=n.parentInfo,n.templateInfo=h,n.noted=!0,r=!1);let p=h.hostProps;if(Cd&&c)p&&(a.hostProps=Object.assign(a.hostProps||{},p),f9||(n.parentInfo.noted=!0));else{let v="{";for(let L in p){let _=[{mode:v,source:L,dependencies:[L],hostProp:!0}];K6(this,a,n,"property","_host_"+L,_)}}return r}static _parseBindings(o,a){let n=[],r=0,l;for(;(l=W9.exec(o))!==null;){l.index>r&&n.push({literal:o.slice(r,l.index)});let h=l[1][0],c=Boolean(l[2]),d=l[3].trim(),p=!1,v="",L=-1;h=="{"&&(L=d.indexOf("::"))>0&&(v=d.substring(L+2),d=d.substring(0,L),p=!0);let _=X6(d),f=[];if(_){let{args:z,methodName:A}=_;for(let $=0;$<z.length;$++){let R=z[$];R.literal||f.push(R)}let Z=a.dynamicFns;(Z&&Z[A]||_.static)&&(f.push(A),_.dynamicFn=!0)}else f.push(d);n.push({source:d,mode:h,negate:c,customEvent:p,signature:_,dependencies:f,event:v}),r=W9.lastIndex}if(r&&r<o.length){let h=o.substring(r);h&&n.push({literal:h})}return n.length?n:null}static _evaluateBinding(o,a,n,r,l,h){let c;return a.signature?c=J6(o,n,r,l,a.signature):n!=a.source?c=q(o,a.source):h&&q6(n)?c=q(o,n):c=o.__data[n],a.negate&&(c=!c),c}}return t}),p3=[];/**
|
|
7475
7475
|
@license
|
|
7476
7476
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7477
7477
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7479,7 +7479,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7479
7479
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7480
7480
|
Code distributed by Google as part of the polymer project is also
|
|
7481
7481
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7482
|
-
*/function
|
|
7482
|
+
*/function QM(i){}/**
|
|
7483
7483
|
@license
|
|
7484
7484
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7485
7485
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7487,7 +7487,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7487
7487
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7488
7488
|
Code distributed by Google as part of the polymer project is also
|
|
7489
7489
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7490
|
-
*/function rc(i){const C={};for(let t in i){const e=i[t];C[t]=typeof e=="function"?{type:e}:e}return C}const hc=y(i=>{const C=
|
|
7490
|
+
*/function rc(i){const C={};for(let t in i){const e=i[t];C[t]=typeof e=="function"?{type:e}:e}return C}const hc=y(i=>{const C=S9(i);function t(a){const n=Object.getPrototypeOf(a);return n.prototype instanceof o?n:null}function e(a){if(!a.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",a))){let n=null;if(a.hasOwnProperty(JSCompiler_renameProperty("properties",a))){const r=a.properties;r&&(n=rc(r))}a.__ownProperties=n}return a.__ownProperties}class o extends C{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const n=this._properties;this.__observedAttributes=n?Object.keys(n).map(r=>this.prototype._addPropertyToAttributeMap(r)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const n=t(this);n&&n.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const n=e(this);n&&this.createProperties(n)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const n=t(this);this.__properties=Object.assign({},n&&n._properties,e(this))}return this.__properties}static typeForProperty(n){const r=this._properties[n];return r&&r.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return o});/**
|
|
7491
7491
|
* @fileoverview
|
|
7492
7492
|
* @suppress {checkPrototypalTypes}
|
|
7493
7493
|
* @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -7497,7 +7497,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7497
7497
|
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
7498
7498
|
* Google as part of the polymer project is also subject to an additional IP
|
|
7499
7499
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7500
|
-
*/const dc="3.5.1",X9=window.ShadyCSS&&window.ShadyCSS.cssBuild,cc=y(i=>{const C=hc(lc(i));function t(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let h=l._properties;for(let c in h){let d=h[c];"value"in d&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[c]=d)}}return l.__propertyDefaults}function e(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function o(l,h,c,d){c.computed&&(c.readOnly=!0),c.computed&&(l._hasReadOnlyEffect(h)?console.warn(`Cannot redefine computed property '${h}'.`):l._createComputedProperty(h,c.computed,d)),c.readOnly&&!l._hasReadOnlyEffect(h)?l._createReadOnlyProperty(h,!c.computed):c.readOnly===!1&&l._hasReadOnlyEffect(h)&&console.warn(`Cannot make readOnly property '${h}' non-readOnly.`),c.reflectToAttribute&&!l._hasReflectEffect(h)?l._createReflectedProperty(h):c.reflectToAttribute===!1&&l._hasReflectEffect(h)&&console.warn(`Cannot make reflected property '${h}' non-reflected.`),c.notify&&!l._hasNotifyEffect(h)?l._createNotifyingProperty(h):c.notify===!1&&l._hasNotifyEffect(h)&&console.warn(`Cannot make notify property '${h}' non-notify.`),c.observer&&l._createPropertyObserver(h,c.observer,d[c.observer]),l._addPropertyToAttributeMap(h)}function a(l,h,c,d){if(!X9){const p=h.content.querySelectorAll("style"),v=x9(h),L=ld(c),_=h.content.firstElementChild;for(let z=0;z<L.length;z++){let A=L[z];A.textContent=l._processStyleText(A.textContent,d),h.content.insertBefore(A,_)}let f=0;for(let z=0;z<v.length;z++){let A=v[z],Z=p[f];Z!==A?(A=A.cloneNode(!0),Z.parentNode.insertBefore(A,Z)):f++,A.textContent=l._processStyleText(A.textContent,d)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(h,c),td&&X9&&Wh){const p=h.content.querySelectorAll("style");if(p){let v="";Array.from(p).forEach(L=>{v+=L.textContent,L.parentNode.removeChild(L)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(v)}}}function n(l){let h=null;if(l&&(!R6||Gh)&&(h=
|
|
7500
|
+
*/const dc="3.5.1",X9=window.ShadyCSS&&window.ShadyCSS.cssBuild,cc=y(i=>{const C=hc(lc(i));function t(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let h=l._properties;for(let c in h){let d=h[c];"value"in d&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[c]=d)}}return l.__propertyDefaults}function e(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function o(l,h,c,d){c.computed&&(c.readOnly=!0),c.computed&&(l._hasReadOnlyEffect(h)?console.warn(`Cannot redefine computed property '${h}'.`):l._createComputedProperty(h,c.computed,d)),c.readOnly&&!l._hasReadOnlyEffect(h)?l._createReadOnlyProperty(h,!c.computed):c.readOnly===!1&&l._hasReadOnlyEffect(h)&&console.warn(`Cannot make readOnly property '${h}' non-readOnly.`),c.reflectToAttribute&&!l._hasReflectEffect(h)?l._createReflectedProperty(h):c.reflectToAttribute===!1&&l._hasReflectEffect(h)&&console.warn(`Cannot make reflected property '${h}' non-reflected.`),c.notify&&!l._hasNotifyEffect(h)?l._createNotifyingProperty(h):c.notify===!1&&l._hasNotifyEffect(h)&&console.warn(`Cannot make notify property '${h}' non-notify.`),c.observer&&l._createPropertyObserver(h,c.observer,d[c.observer]),l._addPropertyToAttributeMap(h)}function a(l,h,c,d){if(!X9){const p=h.content.querySelectorAll("style"),v=x9(h),L=ld(c),_=h.content.firstElementChild;for(let z=0;z<L.length;z++){let A=L[z];A.textContent=l._processStyleText(A.textContent,d),h.content.insertBefore(A,_)}let f=0;for(let z=0;z<v.length;z++){let A=v[z],Z=p[f];Z!==A?(A=A.cloneNode(!0),Z.parentNode.insertBefore(A,Z)):f++,A.textContent=l._processStyleText(A.textContent,d)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(h,c),td&&X9&&Wh){const p=h.content.querySelectorAll("style");if(p){let v="";Array.from(p).forEach(L=>{v+=L.textContent,L.parentNode.removeChild(L)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(v)}}}function n(l){let h=null;if(l&&(!R6||Gh)&&(h=n3.import(l,"template"),R6&&!h))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return h}class r extends C{static get polymerElementVersion(){return dc}static _finalizeClass(){C._finalizeClass.call(this);const h=e(this);h&&this.createObservers(h,this._properties),this._prepareTemplate()}static _prepareTemplate(){let h=this.template;h&&(typeof h=="string"?(console.error("template getter must return HTMLTemplateElement"),h=null):Kh||(h=h.cloneNode(!0))),this.prototype._template=h}static createProperties(h){for(let c in h)o(this.prototype,c,h[c],h)}static createObservers(h,c){const d=this.prototype;for(let p=0;p<h.length;p++)d._createMethodObserver(h[p],c)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let h=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof h=="function"&&(h=h()),this._template=h!==void 0?h:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(h){this._template=h}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const h=this.importMeta;if(h)this._importPath=F6(h.url);else{const c=n3.import(this.is);this._importPath=c&&c.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=Yh,this.importPath=this.constructor.importPath;let h=t(this.constructor);if(!!h)for(let c in h){let d=h[c];if(this._canApplyPropertyDefault(c)){let p=typeof d.value=="function"?d.value.call(this):d.value;this._hasAccessor(c)?this._setPendingProperty(c,p,!0):this[c]=p}}}_canApplyPropertyDefault(h){return!this.hasOwnProperty(h)}static _processStyleText(h,c){return D6(h,c)}static _finalizeTemplate(h){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const d=this.importPath,p=d?a3(d):"";a(this,c,h,p),this.prototype._bindTemplate(c)}}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(h){const c=G(this);if(c.attachShadow)return h?(c.shadowRoot||(c.attachShadow({mode:"open",shadyUpgradeFragment:h}),c.shadowRoot.appendChild(h),this.constructor._styleSheet&&(c.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),Xh&&window.ShadyDOM&&window.ShadyDOM.flushInitial(c.shadowRoot),c.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(h){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,h)}resolveUrl(h,c){return!c&&this.importPath&&(c=a3(this.importPath)),a3(h,c)}static _parseTemplateContent(h,c,d){return c.dynamicFns=c.dynamicFns||this._properties,C._parseTemplateContent.call(this,h,c,d)}static _addTemplatePropertyEffect(h,c,d){return Jh&&!(c in this._properties)&&!(d.info.part.signature&&d.info.part.signature.static)&&!d.info.part.hostProp&&!h.nestedTemplate&&console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`),C._addTemplatePropertyEffect.call(this,h,c,d)}}return r});/**
|
|
7501
7501
|
@license
|
|
7502
7502
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7503
7503
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7521,7 +7521,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7521
7521
|
* @license
|
|
7522
7522
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7523
7523
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7524
|
-
*/function i0(i){const C=customElements.get(i.is);if(!C)Object.defineProperty(i,"version",{get(){return"24.3.7"}}),customElements.define(i.is,i);else{const t=C.version;t&&i.version&&t===i.version?console.warn(`The component ${i.is} has been loaded twice`):console.error(`Tried to define ${i.is} version ${i.version} when version ${C.version} is already in use. Something will probably break.`)}}const Lc=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
7524
|
+
*/function i0(i){const C=customElements.get(i.is);if(!C)Object.defineProperty(i,"version",{get(){return"24.3.7"}}),customElements.define(i.is,i);else{const t=C.version;t&&i.version&&t===i.version?console.warn(`The component ${i.is} has been loaded twice`):console.error(`Tried to define ${i.is} version ${i.version} when version ${C.version} is already in use. Something will probably break.`)}}const Lc=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,f5=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function gc(){function i(){return!0}return o0(i)}function uc(){try{return Mc()?!0:fc()?f5?!wc():!gc():!1}catch{return!1}}function Mc(){return localStorage.getItem("vaadin.developmentmode.force")}function fc(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function wc(){return!!(f5&&Object.keys(f5).map(C=>f5[C]).filter(C=>C.productionMode).length>0)}function o0(i,C){if(typeof i!="function")return;const t=Lc.exec(i.toString());if(t)try{i=new Function(t[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return i(C)}window.Vaadin=window.Vaadin||{};const s0=function(i,C){if(window.Vaadin.developmentMode)return o0(i,C)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=uc());function mc(){}const Q6=function(){if(typeof s0=="function")return s0(mc)};/**
|
|
7525
7525
|
* @license
|
|
7526
7526
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7527
7527
|
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -7537,7 +7537,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
7537
7537
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7538
7538
|
Code distributed by Google as part of the polymer project is also
|
|
7539
7539
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7540
|
-
*/const C8=new Set;class
|
|
7540
|
+
*/const C8=new Set;class w5{static debounce(C,t,e){return C instanceof w5?C._cancelAsync():C=new w5,C.setConfig(t,e),C}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(C,t){this._asyncModule=C,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,C8.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),C8.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 Vc(i){C8.add(i)}/**
|
|
7541
7541
|
* @license
|
|
7542
7542
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7543
7543
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -7545,7 +7545,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7545
7545
|
* @license
|
|
7546
7546
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7547
7547
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7548
|
-
*/window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Q6()};let i8;const a0=new Set,n0=i=>class extends _c(i){static finalize(){super.finalize();const{is:t}=this;t&&!a0.has(t)&&(window.Vaadin.registrations.push(this),a0.add(t),window.Vaadin.developmentModeCallback&&(i8=
|
|
7548
|
+
*/window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Q6()};let i8;const a0=new Set,n0=i=>class extends _c(i){static finalize(){super.finalize();const{is:t}=this;t&&!a0.has(t)&&(window.Vaadin.registrations.push(this),a0.add(t),window.Vaadin.developmentModeCallback&&(i8=w5.debounce(i8,Hc,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),Vc(i8)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
|
|
7549
7549
|
* @license
|
|
7550
7550
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7551
7551
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -7565,19 +7565,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7565
7565
|
* @license
|
|
7566
7566
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7567
7567
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7568
|
-
*/class
|
|
7568
|
+
*/class Ec extends EventTarget{static generateId(C,t){return`${t||"default"}-${C.localName}-${Ac()}`}constructor(C,t,e,o={}){super();const{initializer:a,multiple:n,observe:r,useUniqueId:l}=o;this.host=C,this.slotName=t,this.tagName=e,this.observe=typeof r=="boolean"?r:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=a,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(C,t))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let C=this.getSlotChild();C?(this.node=C,this.initAddedNode(C)):(C=this.attachDefaultNode(),this.initNode(C))}initMultiple(){const C=this.getSlotChildren();if(C.length===0){const t=this.attachDefaultNode();t&&(this.nodes=[t],this.initNode(t))}else this.nodes=C,C.forEach(t=>{this.initAddedNode(t)})}attachDefaultNode(){const{host:C,slotName:t,tagName:e}=this;let o=this.defaultNode;return!o&&e&&(o=document.createElement(e),o instanceof Element&&(t!==""&&o.setAttribute("slot",t),this.node=o,this.defaultNode=o)),o&&C.appendChild(o),o}getSlotChildren(){const{slotName:C}=this;return Array.from(this.host.childNodes).filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.slot===C||t.nodeType===Node.TEXT_NODE&&t.textContent.trim()&&C==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(C){const{slotInitializer:t}=this;t&&t(C,this.host)}initCustomNode(C){}teardownNode(C){}initAddedNode(C){C!==this.defaultNode&&(this.initCustomNode(C),this.initNode(C))}observeSlot(){const{slotName:C}=this,t=C===""?"slot:not([name])":`slot[name=${C}]`,e=this.host.shadowRoot.querySelector(t);this.__slotObserver=new kc(e,({addedNodes:o,removedNodes:a})=>{const n=this.multiple?this.nodes:[this.node],r=o.filter(l=>!zc(l)&&!n.includes(l));a.length&&(this.nodes=n.filter(l=>!a.includes(l)),a.forEach(l=>{this.teardownNode(l)})),r&&r.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...r].filter(l=>l!==this.defaultNode),r.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=r[0],this.initAddedNode(this.node)))})}}/**
|
|
7569
7569
|
* @license
|
|
7570
7570
|
* Copyright (c) 2022 - 2023 Vaadin Ltd.
|
|
7571
7571
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7572
|
-
*/class
|
|
7572
|
+
*/class Sc extends Ec{constructor(C){super(C,"tooltip"),this.setTarget(C)}initCustomNode(C){C.target=this.target,this.ariaTarget!==void 0&&(C.ariaTarget=this.ariaTarget),this.context!==void 0&&(C.context=this.context),this.manual!==void 0&&(C.manual=this.manual),this.opened!==void 0&&(C.opened=this.opened),this.position!==void 0&&(C._position=this.position),this.shouldShow!==void 0&&(C.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(C){this.ariaTarget=C;const t=this.node;t&&(t.ariaTarget=C)}setContext(C){this.context=C;const t=this.node;t&&(t.context=C)}setManual(C){this.manual=C;const t=this.node;t&&(t.manual=C)}setOpened(C){this.opened=C;const t=this.node;t&&(t.opened=C)}setPosition(C){this.position=C;const t=this.node;t&&(t._position=C)}setShouldShow(C){this.shouldShow=C;const t=this.node;t&&(t.shouldShow=C)}setTarget(C){this.target=C;const t=this.node;t&&(t.target=C)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
|
|
7573
7573
|
* @license
|
|
7574
7574
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7575
7575
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7576
|
-
*/const
|
|
7576
|
+
*/const m5=new ResizeObserver(i=>{setTimeout(()=>{i.forEach(C=>{C.target.resizables?C.target.resizables.forEach(t=>{t._onResize(C.contentRect)}):C.target._onResize(C.contentRect)})})}),Bc=y(i=>class extends i{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),m5.observe(this),this._observeParent){const t=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;t.resizables||(t.resizables=new Set,m5.observe(t)),t.resizables.add(this),this.__parent=t}}disconnectedCallback(){super.disconnectedCallback(),m5.unobserve(this);const t=this.__parent;if(this._observeParent&&t){const e=t.resizables;e&&(e.delete(this),e.size===0&&m5.unobserve(t)),this.__parent=null}}_onResize(t){}});/**
|
|
7577
7577
|
* @license
|
|
7578
7578
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7579
7579
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7580
|
-
*/const
|
|
7580
|
+
*/const H5=i=>i.test(navigator.userAgent),s8=i=>i.test(navigator.platform),Tc=i=>i.test(navigator.vendor);H5(/Android/u),H5(/Chrome/u)&&Tc(/Google Inc/u),H5(/Firefox/u),s8(/^iPad/u)||s8(/^Mac/u)&&navigator.maxTouchPoints>1,s8(/^iPhone/u);const Pc=H5(/^((?!chrome|android).)*safari/iu);(()=>{try{return document.createEvent("TouchEvent"),!0}catch{return!1}})();/**
|
|
7581
7581
|
* @license
|
|
7582
7582
|
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
7583
7583
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -7614,7 +7614,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7614
7614
|
* @license
|
|
7615
7615
|
* Copyright 2017 Google LLC
|
|
7616
7616
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7617
|
-
*/class a8 extends Uc{constructor(C){if(super(C),this.it=
|
|
7617
|
+
*/class a8 extends Uc{constructor(C){if(super(C),this.it=S,C.type!==Rc.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(C){if(C===S||C==null)return this._t=void 0,this.it=C;if(C===O1)return C;if(typeof C!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(C===this.it)return this._t;this.it=C;const t=[C];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}a8.directiveName="unsafeHTML",a8.resultType=1;/**
|
|
7618
7618
|
* @license
|
|
7619
7619
|
* Copyright 2017 Google LLC
|
|
7620
7620
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -7622,15 +7622,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7622
7622
|
* @license
|
|
7623
7623
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7624
7624
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7625
|
-
*/function h0(i){let C=
|
|
7625
|
+
*/function h0(i){let C=S;if(i){const t=i.cloneNode(!0);t.removeAttribute("id"),C=d9`${r0(t.outerHTML)}`}return C}function qc(i){return Fc(i,Dc.SVG)||i===S}function d0(i){let C=i==null||i===""?S:i;return qc(C)||(console.error("[vaadin-icon] Invalid svg passed, please use Lit svg literal."),C=S),C}function Wc(i,C){const t=d0(i);v9(t,C)}function Yc(i){return d9`${r0(i)}`}/**
|
|
7626
7626
|
* @license
|
|
7627
7627
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7628
7628
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7629
|
-
*/const F1={},c0=new Set;function p0(i,C){return(i||"").replace(`${C}:`,"")}function v0(i){return i?i.split(":")[0]||"vaadin":void 0}function L0(i,C){i._icons=[...i.querySelectorAll("[id]")].reduce((t,e)=>{const o=p0(e.id,C);return t[o]=e,t},{})}class
|
|
7629
|
+
*/const F1={},c0=new Set;function p0(i,C){return(i||"").replace(`${C}:`,"")}function v0(i){return i?i.split(":")[0]||"vaadin":void 0}function L0(i,C){i._icons=[...i.querySelectorAll("[id]")].reduce((t,e)=>{const o=p0(e.id,C);return t[o]=e,t},{})}class v3 extends n0(o1){static get template(){return null}static get is(){return"vaadin-iconset"}static get properties(){return{name:{type:String,observer:"__nameChanged"},size:{type:Number,value:24}}}static get attachedIcons(){return c0}static getIconset(C){return F1[C]}static getIconSvg(C,t){const e=t||v0(C),o=this.getIconset(e);if(!C||!o)return{svg:h0(null)};const a=p0(C,e),n=o._icons[a];return{preserveAspectRatio:n?n.getAttribute("preserveAspectRatio"):null,svg:h0(n),size:o.size,viewBox:n?n.getAttribute("viewBox"):null}}static register(C,t,e){if(!F1[C]){const o=document.createElement("vaadin-iconset");o.appendChild(e.content.cloneNode(!0)),F1[C]=o,L0(o,C),o.size=t,o.name=C,o.__nameChanged(C)}}connectedCallback(){super.connectedCallback(),this.style.display="none";const{name:C}=this;F1[C]=this,L0(this,C),this.__updateIcons(C)}__updateIcons(C){c0.forEach(t=>{C===v0(t.icon)&&t._applyIcon()})}__nameChanged(C,t){t&&(F1[C]=F1[t],delete F1[t]),C&&this.__updateIcons(C)}}i0(v3);/**
|
|
7630
7630
|
* @license
|
|
7631
7631
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
7632
7632
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7633
|
-
*/const l8=new Map;class
|
|
7633
|
+
*/const l8=new Map;class L3 extends Rh(n0(vc(yc(Nc(o1))))){static get template(){return f1`
|
|
7634
7634
|
<style>
|
|
7635
7635
|
:host {
|
|
7636
7636
|
display: inline-flex;
|
|
@@ -7697,7 +7697,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7697
7697
|
vertical-align: middle;
|
|
7698
7698
|
font-size: inherit;
|
|
7699
7699
|
}
|
|
7700
|
-
`]}get __iconClasses(){return this.iconClass?this.iconClass.split(" "):[]}ready(){super.ready(),this.__svgElement=this.shadowRoot.querySelector("#svg-group"),this._tooltipController=new
|
|
7700
|
+
`]}get __iconClasses(){return this.iconClass?this.iconClass.split(" "):[]}ready(){super.ready(),this.__svgElement=this.shadowRoot.querySelector("#svg-group"),this._tooltipController=new Sc(this),this.addController(this._tooltipController)}connectedCallback(){super.connectedCallback(),v3.attachedIcons.add(this)}disconnectedCallback(){super.disconnectedCallback(),v3.attachedIcons.delete(this)}_applyIcon(){const{preserveAspectRatio:C,svg:t,size:e,viewBox:o}=v3.getIconSvg(this.icon);o&&(this.__viewBox=o),C&&(this.__preserveAspectRatio=C),e&&e!==this.size&&(this.size=e),this.svg=t}__iconChanged(C){C?this._applyIcon():this.svg=d0(null)}async __srcChanged(C,t){if(!C){this.svg=null;return}if(this.icon="",!C.startsWith("data:")&&(t||C.includes("#"))){const[e,o]=C.split("#");this.__useRef=`${e}#${t||o}`}else try{l8.has(C)||l8.set(C,this.__fetch(C,{mode:"cors"}).then(n=>{if(!n.ok)throw new Error("Error loading icon");return n.text()}));const e=await l8.get(C);L3.__domParser||(L3.__domParser=new DOMParser);const a=L3.__domParser.parseFromString(e,"text/html").querySelector("svg");if(!a)throw new Error(`SVG element not found on path: ${C}`);this.svg=Yc(a.innerHTML),t&&(this.__useRef=`#${t}`),this.__viewBox=a.getAttribute("viewBox"),this.__fill=a.getAttribute("fill"),this.__stroke=a.getAttribute("stroke"),this.__strokeWidth=a.getAttribute("stroke-width"),this.__strokeLinecap=a.getAttribute("stroke-linecap"),this.__strokeLinejoin=a.getAttribute("stroke-linejoin")}catch(e){console.error(e),this.svg=null}}__svgChanged(C,t){!t||Wc(C,t)}__computePAR(C,t){return t||C}__computeVisibility(C){return C?"visible":"hidden"}__computeViewBox(C,t){return t||`0 0 ${C} ${C}`}__fontChanged(C,t,e){this.classList.remove(...this.__addedIconClasses||[]),C&&(this.__addedIconClasses=[...this.__iconClasses],this.classList.add(...this.__addedIconClasses)),t?this.setAttribute("font-icon-content",t.length>1?String.fromCodePoint(parseInt(t,16)):t):e?this.setAttribute("font-icon-content",e):this.removeAttribute("font-icon-content"),(C||t||e)&&!this.icon&&(this.icon="")}attributeChangedCallback(C,t,e){super.attributeChangedCallback(C,t,e),C==="class"&&this.__iconClasses.some(o=>!this.classList.contains(o))&&this.classList.add(...this.__iconClasses)}__fontFamilyChanged(C){this.style.fontFamily=`'${C}'`}}i0(L3);/**
|
|
7701
7701
|
* @license
|
|
7702
7702
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
7703
7703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -8338,7 +8338,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8338
8338
|
<g id="vaadin:wrench"><path d="M15.5 13.4l-7.8-7.8c0.2-0.5 0.3-1 0.3-1.6 0-2.2-1.8-4-4-4-0.6 0-1.1 0.1-1.6 0.3l2.9 2.9-2.1 2.1-2.9-2.9c-0.2 0.5-0.3 1-0.3 1.6 0 2.2 1.8 4 4 4 0.6 0 1.1-0.1 1.6-0.3l7.8 7.8c0.6 0.6 1.5 0.6 2.1 0s0.6-1.5 0-2.1zM6.8 7.6l-1.4-1.4 0.9-0.9 1.4 1.4-0.9 0.9zM14.2 15c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8s0.8 0.3 0.8 0.8c0 0.5-0.3 0.8-0.8 0.8z"></path></g>
|
|
8339
8339
|
<g id="vaadin:youtube-square"><path d="M7.9 6c0.2 0 0.3-0.2 0.3-0.5v-1.4c0-0.3-0.1-0.5-0.3-0.5s-0.3 0.2-0.3 0.5v1.4c0 0.3 0.1 0.5 0.3 0.5z"></path><path d="M7.1 11.9c-0.1 0.2-0.3 0.3-0.4 0.3s-0.1 0-0.1-0.1c0 0 0-0.1 0-0.2v-2.5h-0.6v2.6c0 0.2 0 0.4 0.1 0.5 0.1 0.2 0.2 0.2 0.4 0.2s0.4-0.1 0.7-0.4v0.4h0.6v-3.3h-0.7v2.5z"></path><path d="M3.8 8.9h0.7v3.8h0.7v-3.8h0.7v-0.7h-2.1z"></path><path d="M9.4 9.3c-0.2 0-0.4 0.2-0.6 0.4v-1.5h-0.6v4.4h0.6v-0.3c0.2 0.2 0.4 0.4 0.6 0.4s0.4-0.1 0.5-0.4c0-0.1 0.1-0.4 0.1-0.7v-1.3c0-0.3 0-0.5-0.1-0.7-0.1-0.1-0.2-0.3-0.5-0.3zM9.4 11.7c0 0.3-0.1 0.4-0.3 0.4-0.1 0-0.2 0-0.3-0.1v-2c0.1-0.1 0.2-0.1 0.3-0.1 0.2 0 0.3 0.2 0.3 0.5v1.3z"></path><path d="M11.3 9.3c-0.3 0-0.5 0.1-0.7 0.3-0.1 0.2-0.2 0.4-0.2 0.8v1.2c0 0.4 0.1 0.6 0.2 0.8 0.2 0.2 0.4 0.3 0.7 0.3s0.6-0.1 0.7-0.4c0.1-0.1 0.1-0.2 0.1-0.4 0-0.1 0-0.2 0-0.4v-0.1h-0.6c0 0.2 0 0.4 0 0.4 0 0.2-0.1 0.2-0.3 0.2s-0.3-0.2-0.3-0.5v-0.6h1.2v-0.7c0-0.4-0.1-0.6-0.2-0.8 0 0.1-0.3-0.1-0.6-0.1zM11.6 10.6h-0.6v-0.3c0-0.3 0.1-0.5 0.3-0.5s0.3 0.2 0.3 0.5v0.3z"></path><path d="M0 0v16h16v-16h-16zM9.3 3.1h0.6v2.5c0 0.1 0 0.2 0 0.2 0 0.1 0 0.2 0.1 0.2s0.2-0.1 0.4-0.3v-2.6h0.6v3.3h-0.6v-0.3c-0.2 0.3-0.5 0.4-0.7 0.4s-0.3-0.1-0.4-0.2c0-0.1-0.1-0.3-0.1-0.5v-2.7zM7 4.2c0-0.3 0-0.6 0.2-0.8s0.4-0.3 0.7-0.3c0.3 0 0.5 0.1 0.7 0.3 0.1 0.2 0.2 0.4 0.2 0.8v1.2c0 0.4-0.1 0.6-0.2 0.8-0.2 0.2-0.4 0.3-0.7 0.3s-0.5-0.1-0.7-0.3c-0.2-0.2-0.2-0.4-0.2-0.8v-1.2zM5.3 2l0.5 1.8 0.5-1.8h0.7l-0.8 2.7v1.8h-0.7v-1.8c-0.1-0.4-0.2-0.8-0.4-1.5-0.2-0.4-0.3-0.8-0.5-1.2h0.7zM12.8 12.9c-0.1 0.5-0.6 0.9-1.1 1-1.2 0.1-2.5 0.1-3.7 0.1s-2.5 0-3.7-0.1c-0.5-0.1-1-0.4-1.1-1-0.2-0.8-0.2-1.6-0.2-2.4 0-0.7 0-1.5 0.2-2.3 0.1-0.5 0.6-0.9 1.1-1 1.2-0.1 2.5-0.1 3.7-0.1s2.5 0 3.7 0.1c0.5 0.1 1 0.4 1.1 1 0.2 0.8 0.2 1.6 0.2 2.3 0 0.8 0 1.6-0.2 2.4z"></path></g>
|
|
8340
8340
|
<g id="vaadin:youtube"><path d="M6.6 0h-0.9l-0.6 2.3-0.6-2.3h-1c0.2 0.6 0.4 1.1 0.6 1.7 0.3 0.8 0.5 1.5 0.5 1.9v2.4h0.9v-2.4l1.1-3.6zM9 4.5v-1.5c0-0.5-0.1-0.8-0.3-1.1s-0.5-0.4-0.9-0.4c-0.4 0-0.7 0.2-0.9 0.5-0.2 0.2-0.3 0.5-0.3 1v1.6c0 0.5 0.1 0.8 0.3 1 0.2 0.3 0.5 0.4 0.9 0.4s0.7-0.2 0.9-0.5c0.2-0.1 0.3-0.5 0.3-1zM8.2 4.7c0 0.4-0.1 0.6-0.4 0.6s-0.4-0.2-0.4-0.6v-1.9c0-0.4 0.1-0.6 0.4-0.6s0.4 0.2 0.4 0.6v1.9zM12 6v-4.5h-0.8v3.4c-0.2 0.3-0.3 0.4-0.5 0.4-0.1 0-0.2-0.1-0.2-0.2 0 0 0-0.1 0-0.3v-3.3h-0.8v3.5c0 0.3 0 0.5 0.1 0.7 0 0.2 0.2 0.3 0.5 0.3s0.6-0.2 0.9-0.5v0.5h0.8z"></path><path d="M12.4 10.5c-0.3 0-0.4 0.2-0.4 0.6v0.4h0.8v-0.4c0-0.4-0.1-0.6-0.4-0.6z"></path><path d="M9.5 10.5c-0.1 0-0.3 0.1-0.4 0.2v2.7c0.1 0.1 0.3 0.2 0.4 0.2 0.2 0 0.3-0.2 0.3-0.6v-1.9c0-0.4-0.1-0.6-0.3-0.6z"></path><path d="M14.4 8.3c-0.2-0.7-0.8-1.3-1.4-1.3-1.6-0.2-3.3-0.2-5-0.2s-3.3 0-5 0.2c-0.6 0-1.2 0.6-1.4 1.3-0.2 1-0.2 2.1-0.2 3.1s0 2.1 0.2 3.1c0.2 0.7 0.7 1.2 1.4 1.3 1.7 0.2 3.3 0.2 5 0.2s3.3 0 5-0.2c0.7-0.1 1.3-0.6 1.4-1.3 0.2-1 0.2-2.1 0.2-3.1s0-2.1-0.2-3.1zM5.2 9.2h-1v5.1h-0.9v-5.1h-0.9v-0.9h2.8v0.9zM7.6 14.3h-0.8v-0.5c-0.3 0.4-0.6 0.5-0.9 0.5s-0.4-0.1-0.5-0.3c0-0.1-0.1-0.3-0.1-0.7v-3.5h0.8v3.2c0 0.2 0 0.3 0 0.3 0 0.1 0.1 0.2 0.2 0.2 0.2 0 0.3-0.1 0.5-0.4v-3.3h0.8v4.5zM10.6 12.9c0 0.4 0 0.7-0.1 0.9-0.1 0.3-0.3 0.5-0.6 0.5s-0.6-0.2-0.8-0.5v0.4h-0.8v-5.9h0.8v1.9c0.3-0.3 0.5-0.5 0.8-0.5s0.5 0.2 0.6 0.5c0.1 0.2 0.1 0.5 0.1 0.9v1.8zM13.6 12.2h-1.6v0.8c0 0.4 0.1 0.6 0.4 0.6 0.2 0 0.3-0.1 0.4-0.3 0 0 0-0.2 0-0.5h0.8v0.1c0 0.3 0 0.4 0 0.5 0 0.2-0.1 0.3-0.2 0.5-0.2 0.3-0.5 0.5-1 0.5-0.4 0-0.7-0.2-1-0.5-0.2-0.2-0.3-0.6-0.3-1v-1.5c0-0.5 0.1-0.8 0.2-1 0.2-0.3 0.5-0.5 1-0.5 0.4 0 0.7 0.2 0.9 0.5 0.2 0.2 0.2 0.6 0.2 1v0.8z"></path></g>
|
|
8341
|
-
</defs></svg>`,
|
|
8341
|
+
</defs></svg>`,v3.register("vaadin",16,g0);/**
|
|
8342
8342
|
* @license
|
|
8343
8343
|
* Copyright 2017 Google LLC
|
|
8344
8344
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -8346,13 +8346,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8346
8346
|
* @license
|
|
8347
8347
|
* Copyright 2017 Google LLC
|
|
8348
8348
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8349
|
-
*/const r8=globalThis,
|
|
8350
|
-
\f\r]`,
|
|
8351
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),V0=/'/g,Z0=/"/g,_0=/^(?:script|style|textarea|title)$/i,
|
|
8349
|
+
*/const r8=globalThis,V5=r8.trustedTypes,u0=V5?V5.createPolicy("lit-html",{createHTML:i=>i}):void 0,M0="$lit$",w1=`lit$${(Math.random()+"").slice(9)}$`,f0="?"+w1,Kc=`<${f0}>`,R1=document,g3=()=>R1.createComment(""),u3=i=>i===null||typeof i!="object"&&typeof i!="function",w0=Array.isArray,Jc=i=>w0(i)||typeof i?.[Symbol.iterator]=="function",h8=`[
|
|
8350
|
+
\f\r]`,M3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m0=/-->/g,H0=/>/g,j1=RegExp(`>|${h8}(?:([^\\s"'>=/]+)(${h8}*=${h8}*(?:[^
|
|
8351
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),V0=/'/g,Z0=/"/g,_0=/^(?:script|style|textarea|title)$/i,u2=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),x0=new WeakMap,U1=R1.createTreeWalker(R1,129);function b0(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return u0!==void 0?u0.createHTML(C):C}const Xc=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=M3;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===M3?c[1]==="!--"?n=m0:c[1]!==void 0?n=H0:c[2]!==void 0?(_0.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=j1):c[3]!==void 0&&(n=j1):n===j1?c[0]===">"?(n=o??M3,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?j1:c[3]==='"'?Z0:V0):n===Z0||n===V0?n=j1:n===m0||n===H0?n=M3:(n=j1,o=void 0);const v=n===j1&&i[r+1].startsWith("/>")?" ":"";a+=n===M3?l+Kc:d>=0?(e.push(h),l.slice(0,d)+M0+l.slice(d)+w1+v):l+w1+(d===-2?r:v)}return[b0(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class f3{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=Xc(C,t);if(this.el=f3.createElement(h,e),U1.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=U1.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(M0)){const p=c[n++],v=o.getAttribute(d).split(w1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?Cp:L[1]==="?"?tp:L[1]==="@"?ep:Z5}),o.removeAttribute(d)}else d.startsWith(w1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(_0.test(o.tagName)){const d=o.textContent.split(w1),p=d.length-1;if(p>0){o.textContent=V5?V5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],g3()),U1.nextNode(),l.push({type:2,index:++a});o.append(d[p],g3())}}}else if(o.nodeType===8)if(o.data===f0)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(w1,d+1))!==-1;)l.push({type:7,index:a}),d+=w1.length-1}a++}}static createElement(C,t){const e=R1.createElement("template");return e.innerHTML=C,e}}function M2(i,C,t=i,e){if(C===u2)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=u3(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=M2(i,o._$AS(i,C.values),o,e)),C}class Qc{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??R1).importNode(t,!0);U1.currentNode=o;let a=U1.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new w3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new ip(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=U1.nextNode(),n++)}return U1.currentNode=R1,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class w3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=M2(this,C,t),u3(C)?C===B||C==null||C===""?(this._$AH!==B&&this._$AR(),this._$AH=B):C!==this._$AH&&C!==u2&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):Jc(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==B&&u3(this._$AH)?this._$AA.nextSibling.data=C:this.T(R1.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=f3.createElement(b0(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new Qc(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=x0.get(C.strings);return t===void 0&&x0.set(C.strings,t=new f3(C)),t}k(C){w0(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new w3(this.S(g3()),this.S(g3()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class Z5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=B}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=M2(this,C,t,0),n=!u3(C)||C!==this._$AH&&C!==u2,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=M2(this,r[e+l],t,l),h===u2&&(h=this._$AH[l]),n||=!u3(h)||h!==this._$AH[l],h===B?C=B:C!==B&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class Cp extends Z5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===B?void 0:C}}class tp extends Z5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==B)}}class ep extends Z5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=M2(this,C,t,0)??B)===u2)return;const e=this._$AH,o=C===B&&e!==B||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==B&&(e===B||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class ip{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){M2(this,C)}}const op=r8.litHtmlPolyfillSupport;op?.(f3,w3),(r8.litHtmlVersions??=[]).push("3.1.2");const y0=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new w3(C.insertBefore(g3(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
8352
8352
|
* @license
|
|
8353
8353
|
* Copyright 2017 Google LLC
|
|
8354
8354
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8355
|
-
*/class
|
|
8355
|
+
*/class _5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=y0(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return u2}}_5._$litElement$=!0,_5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_5});const sp=globalThis.litElementPolyfillSupport;sp?.({LitElement:_5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
8356
8356
|
* @license
|
|
8357
8357
|
* Copyright 2020 Google LLC
|
|
8358
8358
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -8364,7 +8364,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8364
8364
|
* @license
|
|
8365
8365
|
* Copyright 2017 Google LLC
|
|
8366
8366
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8367
|
-
*/const
|
|
8367
|
+
*/const m3=(i,C)=>{const t=i._$AN;if(t===void 0)return!1;for(const e of t)e._$AO?.(C,!1),m3(e,C);return!0},x5=i=>{let C,t;do{if((C=i._$AM)===void 0)break;t=C._$AN,t.delete(i),i=C}while(t?.size===0)},k0=i=>{for(let C;C=i._$AM;i=C){let t=C._$AN;if(t===void 0)C._$AN=t=new Set;else if(t.has(i))break;t.add(i),hp(C)}};function lp(i){this._$AN!==void 0?(x5(this),this._$AM=i,k0(this)):this._$AM=i}function rp(i,C=!1,t=0){const e=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(C)if(Array.isArray(e))for(let a=t;a<e.length;a++)m3(e[a],!1),x5(e[a]);else e!=null&&(m3(e,!1),x5(e));else m3(this,i)}const hp=i=>{i.type==z0.CHILD&&(i._$AP??=rp,i._$AQ??=lp)};class dp extends np{constructor(){super(...arguments),this._$AN=void 0}_$AT(C,t,e){super._$AT(C,t,e),k0(this),this.isConnected=C._$AU}_$AO(C,t=!0){C!==this.isConnected&&(this.isConnected=C,C?this.reconnected?.():this.disconnected?.()),t&&(m3(this,C),x5(this))}setValue(C){if(ap(this._$Ct))this._$Ct._$AI(C,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=C,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}/**
|
|
8368
8368
|
* @license
|
|
8369
8369
|
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
8370
8370
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -8461,7 +8461,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8461
8461
|
--lumo-disabled-text-color: GrayText;
|
|
8462
8462
|
}
|
|
8463
8463
|
}
|
|
8464
|
-
`;
|
|
8464
|
+
`;v2("color-props",Lp);const gp=x`
|
|
8465
8465
|
[theme~='dark'] {
|
|
8466
8466
|
/* Base (background) */
|
|
8467
8467
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -8603,7 +8603,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8603
8603
|
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
8604
8604
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
8605
8605
|
}
|
|
8606
|
-
`;
|
|
8606
|
+
`;v2("spacing-props",up);/**
|
|
8607
8607
|
* @license
|
|
8608
8608
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
8609
8609
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -8701,7 +8701,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8701
8701
|
--vaadin-input-field-value-font-size: var(--lumo-font-size-m);
|
|
8702
8702
|
--vaadin-input-field-value-font-weight: 400;
|
|
8703
8703
|
}
|
|
8704
|
-
`,
|
|
8704
|
+
`,v2("style-props",Mp);/**
|
|
8705
8705
|
* @license
|
|
8706
8706
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
8707
8707
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -8758,7 +8758,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8758
8758
|
--lumo-icons-upload: '\\ea29';
|
|
8759
8759
|
--lumo-icons-user: '\\ea2a';
|
|
8760
8760
|
}
|
|
8761
|
-
`;
|
|
8761
|
+
`;v2("font-icons",fp);/**
|
|
8762
8762
|
* @license
|
|
8763
8763
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
8764
8764
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -8874,24 +8874,24 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8874
8874
|
border-left: none;
|
|
8875
8875
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
8876
8876
|
}
|
|
8877
|
-
`;u1("",mp,{moduleId:"lumo-typography"}),
|
|
8877
|
+
`;u1("",mp,{moduleId:"lumo-typography"}),v2("typography-props",wp);/**
|
|
8878
8878
|
* @license
|
|
8879
8879
|
* Copyright 2017 Google LLC
|
|
8880
8880
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8881
|
-
*/const d8=globalThis,
|
|
8882
|
-
\f\r]`,
|
|
8883
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),I0=/'/g,O0=/"/g,N0=/^(?:script|style|textarea|title)$/i,
|
|
8881
|
+
*/const d8=globalThis,b5=d8.trustedTypes,A0=b5?b5.createPolicy("lit-html",{createHTML:i=>i}):void 0,E0="$lit$",m1=`lit$${(Math.random()+"").slice(9)}$`,S0="?"+m1,Hp=`<${S0}>`,q1=document,H3=()=>q1.createComment(""),V3=i=>i===null||typeof i!="object"&&typeof i!="function",B0=Array.isArray,Vp=i=>B0(i)||typeof i?.[Symbol.iterator]=="function",c8=`[
|
|
8882
|
+
\f\r]`,Z3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T0=/-->/g,P0=/>/g,W1=RegExp(`>|${c8}(?:([^\\s"'>=/]+)(${c8}*=${c8}*(?:[^
|
|
8883
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),I0=/'/g,O0=/"/g,N0=/^(?:script|style|textarea|title)$/i,f2=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),D0=new WeakMap,Y1=q1.createTreeWalker(q1,129);function F0(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return A0!==void 0?A0.createHTML(C):C}const Zp=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=Z3;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===Z3?c[1]==="!--"?n=T0:c[1]!==void 0?n=P0:c[2]!==void 0?(N0.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=W1):c[3]!==void 0&&(n=W1):n===W1?c[0]===">"?(n=o??Z3,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?W1:c[3]==='"'?O0:I0):n===O0||n===I0?n=W1:n===T0||n===P0?n=Z3:(n=W1,o=void 0);const v=n===W1&&i[r+1].startsWith("/>")?" ":"";a+=n===Z3?l+Hp:d>=0?(e.push(h),l.slice(0,d)+E0+l.slice(d)+m1+v):l+m1+(d===-2?r:v)}return[F0(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class _3{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=Zp(C,t);if(this.el=_3.createElement(h,e),Y1.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=Y1.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(E0)){const p=c[n++],v=o.getAttribute(d).split(m1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?xp:L[1]==="?"?bp:L[1]==="@"?yp:y5}),o.removeAttribute(d)}else d.startsWith(m1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(N0.test(o.tagName)){const d=o.textContent.split(m1),p=d.length-1;if(p>0){o.textContent=b5?b5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],H3()),Y1.nextNode(),l.push({type:2,index:++a});o.append(d[p],H3())}}}else if(o.nodeType===8)if(o.data===S0)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(m1,d+1))!==-1;)l.push({type:7,index:a}),d+=m1.length-1}a++}}static createElement(C,t){const e=q1.createElement("template");return e.innerHTML=C,e}}function w2(i,C,t=i,e){if(C===f2)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=V3(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=w2(i,o._$AS(i,C.values),o,e)),C}class _p{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??q1).importNode(t,!0);Y1.currentNode=o;let a=Y1.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new x3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new zp(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=Y1.nextNode(),n++)}return Y1.currentNode=q1,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class x3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=w2(this,C,t),V3(C)?C===I||C==null||C===""?(this._$AH!==I&&this._$AR(),this._$AH=I):C!==this._$AH&&C!==f2&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):Vp(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==I&&V3(this._$AH)?this._$AA.nextSibling.data=C:this.T(q1.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=_3.createElement(F0(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new _p(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=D0.get(C.strings);return t===void 0&&D0.set(C.strings,t=new _3(C)),t}k(C){B0(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new x3(this.S(H3()),this.S(H3()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class y5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=I,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=I}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=w2(this,C,t,0),n=!V3(C)||C!==this._$AH&&C!==f2,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=w2(this,r[e+l],t,l),h===f2&&(h=this._$AH[l]),n||=!V3(h)||h!==this._$AH[l],h===I?C=I:C!==I&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class xp extends y5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===I?void 0:C}}class bp extends y5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==I)}}class yp extends y5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=w2(this,C,t,0)??I)===f2)return;const e=this._$AH,o=C===I&&e!==I||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==I&&(e===I||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class zp{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){w2(this,C)}}const kp=d8.litHtmlPolyfillSupport;kp?.(_3,x3),(d8.litHtmlVersions??=[]).push("3.1.2");const $p=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new x3(C.insertBefore(H3(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
8884
8884
|
* @license
|
|
8885
8885
|
* Copyright 2017 Google LLC
|
|
8886
8886
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8887
|
-
*/class
|
|
8887
|
+
*/class z5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=$p(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f2}}z5._$litElement$=!0,z5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:z5});const Ap=globalThis.litElementPolyfillSupport;Ap?.({LitElement:z5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
8888
8888
|
* @license
|
|
8889
8889
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
8890
8890
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8891
|
-
*/const
|
|
8891
|
+
*/const Ep=[];function Sp(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function Bp(i){return Sp(customElements.get(i))}function Tp(i=[]){return[i].flat(1/0).filter(C=>C instanceof E1?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function Pp(i,C,t={}){i&&Bp(i)&&console.warn(`The custom element definition for "${i}"
|
|
8892
8892
|
was finalized before a style module was registered.
|
|
8893
8893
|
Make sure to add component specific style modules before
|
|
8894
|
-
importing the corresponding custom element.`),C=Tp(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):
|
|
8894
|
+
importing the corresponding custom element.`),C=Tp(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):Ep.push({themeFor:i,styles:C,include:t.include,moduleId:t.moduleId})}const R0=x`
|
|
8895
8895
|
:host {
|
|
8896
8896
|
display: flex;
|
|
8897
8897
|
align-items: center;
|
|
@@ -8977,13 +8977,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8977
8977
|
* @license
|
|
8978
8978
|
* Copyright 2017 Google LLC
|
|
8979
8979
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8980
|
-
*/const p8=globalThis,
|
|
8981
|
-
\f\r]`,
|
|
8982
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),K0=/'/g,J0=/"/g,X0=/^(?:script|style|textarea|title)$/i,
|
|
8980
|
+
*/const p8=globalThis,k5=p8.trustedTypes,j0=k5?k5.createPolicy("lit-html",{createHTML:i=>i}):void 0,U0="$lit$",H1=`lit$${(Math.random()+"").slice(9)}$`,q0="?"+H1,Ip=`<${q0}>`,G1=document,b3=()=>G1.createComment(""),y3=i=>i===null||typeof i!="object"&&typeof i!="function",W0=Array.isArray,Op=i=>W0(i)||typeof i?.[Symbol.iterator]=="function",v8=`[
|
|
8981
|
+
\f\r]`,z3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y0=/-->/g,G0=/>/g,K1=RegExp(`>|${v8}(?:([^\\s"'>=/]+)(${v8}*=${v8}*(?:[^
|
|
8982
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),K0=/'/g,J0=/"/g,X0=/^(?:script|style|textarea|title)$/i,m2=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),Q0=new WeakMap,J1=G1.createTreeWalker(G1,129);function CC(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return j0!==void 0?j0.createHTML(C):C}const Np=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=z3;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===z3?c[1]==="!--"?n=Y0:c[1]!==void 0?n=G0:c[2]!==void 0?(X0.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=K1):c[3]!==void 0&&(n=K1):n===K1?c[0]===">"?(n=o??z3,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?K1:c[3]==='"'?J0:K0):n===J0||n===K0?n=K1:n===Y0||n===G0?n=z3:(n=K1,o=void 0);const v=n===K1&&i[r+1].startsWith("/>")?" ":"";a+=n===z3?l+Ip:d>=0?(e.push(h),l.slice(0,d)+U0+l.slice(d)+H1+v):l+H1+(d===-2?r:v)}return[CC(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class k3{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=Np(C,t);if(this.el=k3.createElement(h,e),J1.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=J1.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(U0)){const p=c[n++],v=o.getAttribute(d).split(H1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?Fp:L[1]==="?"?Rp:L[1]==="@"?jp:$5}),o.removeAttribute(d)}else d.startsWith(H1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(X0.test(o.tagName)){const d=o.textContent.split(H1),p=d.length-1;if(p>0){o.textContent=k5?k5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],b3()),J1.nextNode(),l.push({type:2,index:++a});o.append(d[p],b3())}}}else if(o.nodeType===8)if(o.data===q0)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(H1,d+1))!==-1;)l.push({type:7,index:a}),d+=H1.length-1}a++}}static createElement(C,t){const e=G1.createElement("template");return e.innerHTML=C,e}}function H2(i,C,t=i,e){if(C===m2)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=y3(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=H2(i,o._$AS(i,C.values),o,e)),C}class Dp{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??G1).importNode(t,!0);J1.currentNode=o;let a=J1.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new $3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new Up(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=J1.nextNode(),n++)}return J1.currentNode=G1,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class $3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=H2(this,C,t),y3(C)?C===O||C==null||C===""?(this._$AH!==O&&this._$AR(),this._$AH=O):C!==this._$AH&&C!==m2&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):Op(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==O&&y3(this._$AH)?this._$AA.nextSibling.data=C:this.T(G1.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=k3.createElement(CC(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new Dp(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=Q0.get(C.strings);return t===void 0&&Q0.set(C.strings,t=new k3(C)),t}k(C){W0(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new $3(this.S(b3()),this.S(b3()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class $5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=O,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=O}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=H2(this,C,t,0),n=!y3(C)||C!==this._$AH&&C!==m2,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=H2(this,r[e+l],t,l),h===m2&&(h=this._$AH[l]),n||=!y3(h)||h!==this._$AH[l],h===O?C=O:C!==O&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class Fp extends $5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===O?void 0:C}}class Rp extends $5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==O)}}class jp extends $5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=H2(this,C,t,0)??O)===m2)return;const e=this._$AH,o=C===O&&e!==O||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==O&&(e===O||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class Up{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){H2(this,C)}}const qp=p8.litHtmlPolyfillSupport;qp?.(k3,$3),(p8.litHtmlVersions??=[]).push("3.1.2");const Wp=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new $3(C.insertBefore(b3(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
8983
8983
|
* @license
|
|
8984
8984
|
* Copyright 2017 Google LLC
|
|
8985
8985
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8986
|
-
*/class
|
|
8986
|
+
*/class A5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=Wp(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return m2}}A5._$litElement$=!0,A5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A5});const Yp=globalThis.litElementPolyfillSupport;Yp?.({LitElement:A5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
8987
8987
|
* @license
|
|
8988
8988
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
8989
8989
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -8991,7 +8991,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
8991
8991
|
* @license
|
|
8992
8992
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
8993
8993
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8994
|
-
*/const tC=[];function eC(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function Kp(i){return eC(customElements.get(i))}function Jp(i=[]){return[i].flat(1/0).filter(C=>C instanceof
|
|
8994
|
+
*/const tC=[];function eC(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function Kp(i){return eC(customElements.get(i))}function Jp(i=[]){return[i].flat(1/0).filter(C=>C instanceof E1?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function A3(i,C,t={}){i&&Kp(i)&&console.warn(`The custom element definition for "${i}"
|
|
8995
8995
|
was finalized before a style module was registered.
|
|
8996
8996
|
Make sure to add component specific style modules before
|
|
8997
8997
|
importing the corresponding custom element.`),C=Jp(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):tC.push({themeFor:i,styles:C,include:t.include,moduleId:t.moduleId})}function L8(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():tC}function Xp(i,C){return(i||"").split(" ").some(t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(C))}function Qp(i=""){let C=0;return i.startsWith("lumo-")||i.startsWith("material-")?C=1:i.startsWith("vaadin-")&&(C=2),C}function iC(i){const C=[];return i.include&&[].concat(i.include).forEach(t=>{const e=L8().find(o=>o.moduleId===t);e?C.push(...iC(e),...e.styles):console.warn(`Included moduleId ${t} not found in style registry`)},i.styles),C}function Cv(i,C){const t=document.createElement("style");t.innerHTML=i.map(e=>e.cssText).join(`
|
|
@@ -9007,7 +9007,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9007
9007
|
:host([focused]:not([disabled])) {
|
|
9008
9008
|
box-shadow: inset 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
9009
9009
|
}
|
|
9010
|
-
|
|
9010
|
+
`;A3("vaadin-combo-box-item",[R0,ev],{moduleId:"lumo-combo-box-item"});/**
|
|
9011
9011
|
* @license
|
|
9012
9012
|
* Copyright (c) 2022 - 2023 Vaadin Ltd.
|
|
9013
9013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9254,7 +9254,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9254
9254
|
margin-inline-start: 0;
|
|
9255
9255
|
margin-inline-end: auto;
|
|
9256
9256
|
}
|
|
9257
|
-
|
|
9257
|
+
`;A3("vaadin-combo-box-overlay",[u8,M8,sv,iv,av,x`
|
|
9258
9258
|
:host {
|
|
9259
9259
|
--_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
9260
9260
|
--_vaadin-combo-box-items-container-border-style: solid;
|
|
@@ -9263,13 +9263,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9263
9263
|
* @license
|
|
9264
9264
|
* Copyright 2017 Google LLC
|
|
9265
9265
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9266
|
-
*/const f8=globalThis,
|
|
9267
|
-
\f\r]`,
|
|
9268
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),hC=/'/g,dC=/"/g,cC=/^(?:script|style|textarea|title)$/i,
|
|
9266
|
+
*/const f8=globalThis,E5=f8.trustedTypes,oC=E5?E5.createPolicy("lit-html",{createHTML:i=>i}):void 0,sC="$lit$",V1=`lit$${(Math.random()+"").slice(9)}$`,aC="?"+V1,nv=`<${aC}>`,X1=document,E3=()=>X1.createComment(""),S3=i=>i===null||typeof i!="object"&&typeof i!="function",nC=Array.isArray,lv=i=>nC(i)||typeof i?.[Symbol.iterator]=="function",w8=`[
|
|
9267
|
+
\f\r]`,B3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lC=/-->/g,rC=/>/g,Q1=RegExp(`>|${w8}(?:([^\\s"'>=/]+)(${w8}*=${w8}*(?:[^
|
|
9268
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),hC=/'/g,dC=/"/g,cC=/^(?:script|style|textarea|title)$/i,V2=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),pC=new WeakMap,C2=X1.createTreeWalker(X1,129);function vC(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return oC!==void 0?oC.createHTML(C):C}const rv=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=B3;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===B3?c[1]==="!--"?n=lC:c[1]!==void 0?n=rC:c[2]!==void 0?(cC.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=Q1):c[3]!==void 0&&(n=Q1):n===Q1?c[0]===">"?(n=o??B3,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?Q1:c[3]==='"'?dC:hC):n===dC||n===hC?n=Q1:n===lC||n===rC?n=B3:(n=Q1,o=void 0);const v=n===Q1&&i[r+1].startsWith("/>")?" ":"";a+=n===B3?l+nv:d>=0?(e.push(h),l.slice(0,d)+sC+l.slice(d)+V1+v):l+V1+(d===-2?r:v)}return[vC(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class T3{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=rv(C,t);if(this.el=T3.createElement(h,e),C2.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=C2.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(sC)){const p=c[n++],v=o.getAttribute(d).split(V1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?dv:L[1]==="?"?cv:L[1]==="@"?pv:S5}),o.removeAttribute(d)}else d.startsWith(V1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(cC.test(o.tagName)){const d=o.textContent.split(V1),p=d.length-1;if(p>0){o.textContent=E5?E5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],E3()),C2.nextNode(),l.push({type:2,index:++a});o.append(d[p],E3())}}}else if(o.nodeType===8)if(o.data===aC)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(V1,d+1))!==-1;)l.push({type:7,index:a}),d+=V1.length-1}a++}}static createElement(C,t){const e=X1.createElement("template");return e.innerHTML=C,e}}function Z2(i,C,t=i,e){if(C===V2)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=S3(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=Z2(i,o._$AS(i,C.values),o,e)),C}class hv{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??X1).importNode(t,!0);C2.currentNode=o;let a=C2.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new P3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new vv(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=C2.nextNode(),n++)}return C2.currentNode=X1,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class P3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=Z2(this,C,t),S3(C)?C===N||C==null||C===""?(this._$AH!==N&&this._$AR(),this._$AH=N):C!==this._$AH&&C!==V2&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):lv(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==N&&S3(this._$AH)?this._$AA.nextSibling.data=C:this.T(X1.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=T3.createElement(vC(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new hv(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=pC.get(C.strings);return t===void 0&&pC.set(C.strings,t=new T3(C)),t}k(C){nC(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new P3(this.S(E3()),this.S(E3()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class S5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=N,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=N}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=Z2(this,C,t,0),n=!S3(C)||C!==this._$AH&&C!==V2,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=Z2(this,r[e+l],t,l),h===V2&&(h=this._$AH[l]),n||=!S3(h)||h!==this._$AH[l],h===N?C=N:C!==N&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class dv extends S5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===N?void 0:C}}class cv extends S5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==N)}}class pv extends S5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=Z2(this,C,t,0)??N)===V2)return;const e=this._$AH,o=C===N&&e!==N||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==N&&(e===N||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class vv{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){Z2(this,C)}}const Lv=f8.litHtmlPolyfillSupport;Lv?.(T3,P3),(f8.litHtmlVersions??=[]).push("3.1.2");const gv=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new P3(C.insertBefore(E3(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
9269
9269
|
* @license
|
|
9270
9270
|
* Copyright 2017 Google LLC
|
|
9271
9271
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9272
|
-
*/class
|
|
9272
|
+
*/class B5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=gv(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return V2}}B5._$litElement$=!0,B5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:B5});const uv=globalThis.litElementPolyfillSupport;uv?.({LitElement:B5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
9273
9273
|
* @license
|
|
9274
9274
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9275
9275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9277,7 +9277,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9277
9277
|
* @license
|
|
9278
9278
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9279
9279
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9280
|
-
*/const LC=[];function gC(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function fv(i){return gC(customElements.get(i))}function wv(i=[]){return[i].flat(1/0).filter(C=>C instanceof
|
|
9280
|
+
*/const LC=[];function gC(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function fv(i){return gC(customElements.get(i))}function wv(i=[]){return[i].flat(1/0).filter(C=>C instanceof E1?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function uC(i,C,t={}){i&&fv(i)&&console.warn(`The custom element definition for "${i}"
|
|
9281
9281
|
was finalized before a style module was registered.
|
|
9282
9282
|
Make sure to add component specific style modules before
|
|
9283
9283
|
importing the corresponding custom element.`),C=wv(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):LC.push({themeFor:i,styles:C,include:t.include,moduleId:t.moduleId})}function m8(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():LC}function mv(i,C){return(i||"").split(" ").some(t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(C))}function Hv(i=""){let C=0;return i.startsWith("lumo-")||i.startsWith("material-")?C=1:i.startsWith("vaadin-")&&(C=2),C}function MC(i){const C=[];return i.include&&[].concat(i.include).forEach(t=>{const e=m8().find(o=>o.moduleId===t);e?C.push(...MC(e),...e.styles):console.warn(`Included moduleId ${t} not found in style registry`)},i.styles),C}function Vv(i,C){const t=document.createElement("style");t.innerHTML=i.map(e=>e.cssText).join(`
|
|
@@ -9799,7 +9799,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9799
9799
|
[part='toggle-button']::before {
|
|
9800
9800
|
content: var(--lumo-icons-dropdown);
|
|
9801
9801
|
}
|
|
9802
|
-
|
|
9802
|
+
`;A3("vaadin-combo-box",[wC,yv],{moduleId:"lumo-combo-box"});/**
|
|
9803
9803
|
* @license
|
|
9804
9804
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9805
9805
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9815,7 +9815,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9815
9815
|
* @license
|
|
9816
9816
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9817
9817
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9818
|
-
*/const
|
|
9818
|
+
*/const Ev=x`
|
|
9819
9819
|
:host {
|
|
9820
9820
|
display: flex;
|
|
9821
9821
|
align-items: center;
|
|
@@ -9884,15 +9884,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9884
9884
|
* @license
|
|
9885
9885
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9886
9886
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9887
|
-
*/uC("vaadin-input-container",
|
|
9887
|
+
*/uC("vaadin-input-container",Ev,{moduleId:"vaadin-input-container-styles"});class Sv extends Av(_v($v(o1))){static get is(){return"vaadin-input-container"}static get template(){return f1`
|
|
9888
9888
|
<slot name="prefix"></slot>
|
|
9889
9889
|
<slot></slot>
|
|
9890
9890
|
<slot name="suffix"></slot>
|
|
9891
|
-
`}}zv(
|
|
9891
|
+
`}}zv(Sv);/**
|
|
9892
9892
|
* @license
|
|
9893
9893
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9894
9894
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9895
|
-
*/function
|
|
9895
|
+
*/function T5(i){const C=customElements.get(i.is);if(!C)Object.defineProperty(i,"version",{get(){return"24.3.7"}}),customElements.define(i.is,i);else{const t=C.version;t&&i.version&&t===i.version?console.warn(`The component ${i.is} has been loaded twice`):console.error(`Tried to define ${i.is} version ${i.version} when version ${C.version} is already in use. Something will probably break.`)}}/**
|
|
9896
9896
|
* @license
|
|
9897
9897
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9898
9898
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9918,7 +9918,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9918
9918
|
<div part="content">
|
|
9919
9919
|
<slot></slot>
|
|
9920
9920
|
</div>
|
|
9921
|
-
`}static get is(){return"vaadin-combo-box-item"}}
|
|
9921
|
+
`}static get is(){return"vaadin-combo-box-item"}}T5(Pv);/**
|
|
9922
9922
|
@license
|
|
9923
9923
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
9924
9924
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -9930,11 +9930,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9930
9930
|
* @license
|
|
9931
9931
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9932
9932
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9933
|
-
*/const
|
|
9933
|
+
*/const P5=i=>i.test(navigator.userAgent),z8=i=>i.test(navigator.platform),Rv=i=>i.test(navigator.vendor);P5(/Android/u),P5(/Chrome/u)&&Rv(/Google Inc/u),P5(/Firefox/u);const jv=z8(/^iPad/u)||z8(/^Mac/u)&&navigator.maxTouchPoints>1,Uv=z8(/^iPhone/u)||jv;P5(/^((?!chrome|android).)*safari/iu),(()=>{try{return document.createEvent("TouchEvent"),!0}catch{return!1}})();/**
|
|
9934
9934
|
* @license
|
|
9935
9935
|
* Copyright (c) 2017 Anton Korzunov
|
|
9936
9936
|
* SPDX-License-Identifier: MIT
|
|
9937
|
-
*/let
|
|
9937
|
+
*/let _2=new WeakMap,I5=new WeakMap,O5={},k8=0;const VC=i=>i&&i.nodeType===Node.ELEMENT_NODE,$8=(...i)=>{console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`)},qv=(i,C)=>VC(i)?C.map(t=>{if(!VC(t))return $8(t,"is not a valid element"),null;let e=t;for(;e&&e!==i;){if(i.contains(e))return t;e=e.getRootNode().host}return $8(t,"is not contained inside",i),null}).filter(t=>Boolean(t)):($8(i,"is not a valid element"),[]),Wv=(i,C,t,e)=>{const o=qv(C,Array.isArray(i)?i:[i]);O5[t]||(O5[t]=new WeakMap);const a=O5[t],n=[],r=new Set,l=new Set(o),h=d=>{if(!d||r.has(d))return;r.add(d);const p=d.assignedSlot;p&&h(p),h(d.parentNode||d.host)};o.forEach(h);const c=d=>{if(!d||l.has(d))return;const p=d.shadowRoot;(p?[...d.children,...p.children]:[...d.children]).forEach(L=>{if(!["template","script","style"].includes(L.localName))if(r.has(L))c(L);else{const _=L.getAttribute(e),f=_!==null&&_!=="false",z=(_2.get(L)||0)+1,A=(a.get(L)||0)+1;_2.set(L,z),a.set(L,A),n.push(L),z===1&&f&&I5.set(L,!0),A===1&&L.setAttribute(t,"true"),f||L.setAttribute(e,"true")}})};return c(C),r.clear(),k8+=1,()=>{n.forEach(d=>{const p=_2.get(d)-1,v=a.get(d)-1;_2.set(d,p),a.set(d,v),p||(I5.has(d)?I5.delete(d):d.removeAttribute(e)),v||d.removeAttribute(t)}),k8-=1,k8||(_2=new WeakMap,_2=new WeakMap,I5=new WeakMap,O5={})}},Yv=(i,C=document.body,t="data-aria-hidden")=>{const e=Array.from(Array.isArray(i)?i:[i]);return C&&e.push(...Array.from(C.querySelectorAll("[aria-live]"))),Wv(e,C,t,"aria-hidden")};/**
|
|
9938
9938
|
* @license
|
|
9939
9939
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9940
9940
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9942,11 +9942,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9942
9942
|
* @license
|
|
9943
9943
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9944
9944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9945
|
-
*/let A8=!1;window.addEventListener("keydown",()=>{A8=!0},{capture:!0}),window.addEventListener("mousedown",()=>{A8=!1},{capture:!0});function
|
|
9945
|
+
*/let A8=!1;window.addEventListener("keydown",()=>{A8=!0},{capture:!0}),window.addEventListener("mousedown",()=>{A8=!1},{capture:!0});function E8(){let i=document.activeElement||document.body;for(;i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i}function Kv(){return A8}function Jv(i){const C=i.style;if(C.visibility==="hidden"||C.display==="none")return!0;const t=window.getComputedStyle(i);return t.visibility==="hidden"||t.display==="none"}function Xv(i,C){const t=Math.max(i.tabIndex,0),e=Math.max(C.tabIndex,0);return t===0||e===0?e>t:t>e}function Qv(i,C){const t=[];for(;i.length>0&&C.length>0;)Xv(i[0],C[0])?t.push(C.shift()):t.push(i.shift());return t.concat(i,C)}function S8(i){const C=i.length;if(C<2)return i;const t=Math.ceil(C/2),e=S8(i.slice(0,t)),o=S8(i.slice(t));return Qv(e,o)}function CL(i){return i.matches('[tabindex="-1"]')?!1:i.matches("input, select, textarea, button, object")?i.matches(":not([disabled])"):i.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function ZC(i){return i.getRootNode().activeElement===i}function tL(i){if(!CL(i))return-1;const C=i.getAttribute("tabindex")||0;return Number(C)}function _C(i,C){if(i.nodeType!==Node.ELEMENT_NODE||Jv(i))return!1;const t=i,e=tL(t);let o=e>0;e>=0&&C.push(t);let a=[];return t.localName==="slot"?a=t.assignedNodes({flatten:!0}):a=(t.shadowRoot||t).children,[...a].forEach(n=>{o=_C(n,C)||o}),o}function eL(i){const C=[];return _C(i,C)?S8(C):C}/**
|
|
9946
9946
|
* @license
|
|
9947
9947
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9948
9948
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9949
|
-
*/class iL{saveFocus(C){this.focusNode=C||
|
|
9949
|
+
*/class iL{saveFocus(C){this.focusNode=C||E8()}restoreFocus(){const C=this.focusNode;!C||(E8()===document.body?setTimeout(()=>C.focus()):C.focus(),this.focusNode=null)}}/**
|
|
9950
9950
|
* @license
|
|
9951
9951
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
9952
9952
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9958,11 +9958,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9958
9958
|
* @license
|
|
9959
9959
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9960
9960
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9961
|
-
*/const aL=i=>class extends sL(i){static get properties(){return{focusTrap:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!1},restoreFocusNode:{type:HTMLElement}}}constructor(){super(),this.__ariaModalController=new Gv(this),this.__focusTrapController=new oL(this),this.__focusRestorationController=new iL}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 t=
|
|
9961
|
+
*/const aL=i=>class extends sL(i){static get properties(){return{focusTrap:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!1},restoreFocusNode:{type:HTMLElement}}}constructor(){super(),this.__ariaModalController=new Gv(this),this.__focusTrapController=new oL(this),this.__focusRestorationController=new iL}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 t=E8();return t===document.body||this._deepContains(t)}_deepContains(t){if(this.contains(t))return!0;let e=t;const o=t.ownerDocument;for(;e&&e!==o&&e!==this;)e=e.parentNode||e.host;return e===this}};/**
|
|
9962
9962
|
* @license
|
|
9963
9963
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9964
9964
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9965
|
-
*/const
|
|
9965
|
+
*/const N5=()=>Array.from(document.body.children).filter(i=>i instanceof HTMLElement&&i._hasOverlayStackMixin&&!i.hasAttribute("closing")).sort((i,C)=>i.__zIndex-C.__zIndex||0),nL=i=>i===N5().pop(),lL=i=>class extends i{constructor(){super(),this._hasOverlayStackMixin=!0}get _last(){return nL(this)}bringToFront(){let t="";const e=N5().filter(o=>o!==this).pop();e&&(t=e.__zIndex+1),this.style.zIndex=t,this.__zIndex=t||parseFloat(getComputedStyle(this).zIndex)}_enterModalState(){document.body.style.pointerEvents!=="none"&&(this._previousDocumentPointerEvents=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),N5().forEach(t=>{t!==this&&(t.$.overlay.style.pointerEvents="none")})}_exitModalState(){this._previousDocumentPointerEvents!==void 0&&(document.body.style.pointerEvents=this._previousDocumentPointerEvents,delete this._previousDocumentPointerEvents);const t=N5();let e;for(;(e=t.pop())&&!(e!==this&&(e.$.overlay.style.removeProperty("pointer-events"),!e.modeless)););}};/**
|
|
9966
9966
|
* @license
|
|
9967
9967
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9968
9968
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -9970,13 +9970,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
9970
9970
|
* @license
|
|
9971
9971
|
* Copyright 2017 Google LLC
|
|
9972
9972
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9973
|
-
*/const T8=globalThis,
|
|
9974
|
-
\f\r]`,
|
|
9975
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),AC=/'/g,
|
|
9973
|
+
*/const T8=globalThis,D5=T8.trustedTypes,xC=D5?D5.createPolicy("lit-html",{createHTML:i=>i}):void 0,bC="$lit$",Z1=`lit$${(Math.random()+"").slice(9)}$`,yC="?"+Z1,hL=`<${yC}>`,t2=document,I3=()=>t2.createComment(""),O3=i=>i===null||typeof i!="object"&&typeof i!="function",zC=Array.isArray,dL=i=>zC(i)||typeof i?.[Symbol.iterator]=="function",P8=`[
|
|
9974
|
+
\f\r]`,N3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,kC=/-->/g,$C=/>/g,e2=RegExp(`>|${P8}(?:([^\\s"'>=/]+)(${P8}*=${P8}*(?:[^
|
|
9975
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),AC=/'/g,EC=/"/g,SC=/^(?:script|style|textarea|title)$/i,x2=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),BC=new WeakMap,i2=t2.createTreeWalker(t2,129);function TC(i,C){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return xC!==void 0?xC.createHTML(C):C}const cL=(i,C)=>{const t=i.length-1,e=[];let o,a=C===2?"<svg>":"",n=N3;for(let r=0;r<t;r++){const l=i[r];let h,c,d=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===N3?c[1]==="!--"?n=kC:c[1]!==void 0?n=$C:c[2]!==void 0?(SC.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=e2):c[3]!==void 0&&(n=e2):n===e2?c[0]===">"?(n=o??N3,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,h=c[1],n=c[3]===void 0?e2:c[3]==='"'?EC:AC):n===EC||n===AC?n=e2:n===kC||n===$C?n=N3:(n=e2,o=void 0);const v=n===e2&&i[r+1].startsWith("/>")?" ":"";a+=n===N3?l+hL:d>=0?(e.push(h),l.slice(0,d)+bC+l.slice(d)+Z1+v):l+Z1+(d===-2?r:v)}return[TC(i,a+(i[t]||"<?>")+(C===2?"</svg>":"")),e]};class D3{constructor({strings:C,_$litType$:t},e){let o;this.parts=[];let a=0,n=0;const r=C.length-1,l=this.parts,[h,c]=cL(C,t);if(this.el=D3.createElement(h,e),i2.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=i2.nextNode())!==null&&l.length<r;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(bC)){const p=c[n++],v=o.getAttribute(d).split(Z1),L=/([.?@])?(.*)/.exec(p);l.push({type:1,index:a,name:L[2],strings:v,ctor:L[1]==="."?vL:L[1]==="?"?LL:L[1]==="@"?gL:F5}),o.removeAttribute(d)}else d.startsWith(Z1)&&(l.push({type:6,index:a}),o.removeAttribute(d));if(SC.test(o.tagName)){const d=o.textContent.split(Z1),p=d.length-1;if(p>0){o.textContent=D5?D5.emptyScript:"";for(let v=0;v<p;v++)o.append(d[v],I3()),i2.nextNode(),l.push({type:2,index:++a});o.append(d[p],I3())}}}else if(o.nodeType===8)if(o.data===yC)l.push({type:2,index:a});else{let d=-1;for(;(d=o.data.indexOf(Z1,d+1))!==-1;)l.push({type:7,index:a}),d+=Z1.length-1}a++}}static createElement(C,t){const e=t2.createElement("template");return e.innerHTML=C,e}}function b2(i,C,t=i,e){if(C===x2)return C;let o=e!==void 0?t._$Co?.[e]:t._$Cl;const a=O3(C)?void 0:C._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),a===void 0?o=void 0:(o=new a(i),o._$AT(i,t,e)),e!==void 0?(t._$Co??=[])[e]=o:t._$Cl=o),o!==void 0&&(C=b2(i,o._$AS(i,C.values),o,e)),C}class pL{constructor(C,t){this._$AV=[],this._$AN=void 0,this._$AD=C,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(C){const{el:{content:t},parts:e}=this._$AD,o=(C?.creationScope??t2).importNode(t,!0);i2.currentNode=o;let a=i2.nextNode(),n=0,r=0,l=e[0];for(;l!==void 0;){if(n===l.index){let h;l.type===2?h=new F3(a,a.nextSibling,this,C):l.type===1?h=new l.ctor(a,l.name,l.strings,this,C):l.type===6&&(h=new uL(a,this,C)),this._$AV.push(h),l=e[++r]}n!==l?.index&&(a=i2.nextNode(),n++)}return i2.currentNode=t2,o}p(C){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(C,e,t),t+=e.strings.length-2):e._$AI(C[t])),t++}}class F3{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(C,t,e,o){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=C,this._$AB=t,this._$AM=e,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let C=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&C?.nodeType===11&&(C=t.parentNode),C}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(C,t=this){C=b2(this,C,t),O3(C)?C===D||C==null||C===""?(this._$AH!==D&&this._$AR(),this._$AH=D):C!==this._$AH&&C!==x2&&this._(C):C._$litType$!==void 0?this.$(C):C.nodeType!==void 0?this.T(C):dL(C)?this.k(C):this._(C)}S(C){return this._$AA.parentNode.insertBefore(C,this._$AB)}T(C){this._$AH!==C&&(this._$AR(),this._$AH=this.S(C))}_(C){this._$AH!==D&&O3(this._$AH)?this._$AA.nextSibling.data=C:this.T(t2.createTextNode(C)),this._$AH=C}$(C){const{values:t,_$litType$:e}=C,o=typeof e=="number"?this._$AC(C):(e.el===void 0&&(e.el=D3.createElement(TC(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===o)this._$AH.p(t);else{const a=new pL(o,this),n=a.u(this.options);a.p(t),this.T(n),this._$AH=a}}_$AC(C){let t=BC.get(C.strings);return t===void 0&&BC.set(C.strings,t=new D3(C)),t}k(C){zC(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let e,o=0;for(const a of C)o===t.length?t.push(e=new F3(this.S(I3()),this.S(I3()),this,this.options)):e=t[o],e._$AI(a),o++;o<t.length&&(this._$AR(e&&e._$AB.nextSibling,o),t.length=o)}_$AR(C=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);C&&C!==this._$AB;){const e=C.nextSibling;C.remove(),C=e}}setConnected(C){this._$AM===void 0&&(this._$Cv=C,this._$AP?.(C))}}class F5{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(C,t,e,o,a){this.type=1,this._$AH=D,this._$AN=void 0,this.element=C,this.name=t,this._$AM=o,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(C,t=this,e,o){const a=this.strings;let n=!1;if(a===void 0)C=b2(this,C,t,0),n=!O3(C)||C!==this._$AH&&C!==x2,n&&(this._$AH=C);else{const r=C;let l,h;for(C=a[0],l=0;l<a.length-1;l++)h=b2(this,r[e+l],t,l),h===x2&&(h=this._$AH[l]),n||=!O3(h)||h!==this._$AH[l],h===D?C=D:C!==D&&(C+=(h??"")+a[l+1]),this._$AH[l]=h}n&&!o&&this.j(C)}j(C){C===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,C??"")}}class vL extends F5{constructor(){super(...arguments),this.type=3}j(C){this.element[this.name]=C===D?void 0:C}}class LL extends F5{constructor(){super(...arguments),this.type=4}j(C){this.element.toggleAttribute(this.name,!!C&&C!==D)}}class gL extends F5{constructor(C,t,e,o,a){super(C,t,e,o,a),this.type=5}_$AI(C,t=this){if((C=b2(this,C,t,0)??D)===x2)return;const e=this._$AH,o=C===D&&e!==D||C.capture!==e.capture||C.once!==e.once||C.passive!==e.passive,a=C!==D&&(e===D||o);o&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,C),this._$AH=C}handleEvent(C){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,C):this._$AH.handleEvent(C)}}class uL{constructor(C,t,e){this.element=C,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(C){b2(this,C)}}const ML=T8.litHtmlPolyfillSupport;ML?.(D3,F3),(T8.litHtmlVersions??=[]).push("3.1.2");const fL=(i,C,t)=>{const e=t?.renderBefore??C;let o=e._$litPart$;if(o===void 0){const a=t?.renderBefore??null;e._$litPart$=o=new F3(C.insertBefore(I3(),a),a,void 0,t??{})}return o._$AI(i),o};/**
|
|
9976
9976
|
* @license
|
|
9977
9977
|
* Copyright 2017 Google LLC
|
|
9978
9978
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9979
|
-
*/class
|
|
9979
|
+
*/class R5 extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const C=super.createRenderRoot();return this.renderOptions.renderBefore??=C.firstChild,C}update(C){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(C),this._$Do=fL(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return x2}}R5._$litElement$=!0,R5.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:R5});const wL=globalThis.litElementPolyfillSupport;wL?.({LitElement:R5}),(globalThis.litElementVersions??=[]).push("4.0.4");/**
|
|
9980
9980
|
* @license
|
|
9981
9981
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9982
9982
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10064,17 +10064,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10064
10064
|
flex-direction: column;
|
|
10065
10065
|
height: 100%;
|
|
10066
10066
|
}
|
|
10067
|
-
|
|
10067
|
+
`;A3("vaadin-combo-box-overlay",[mL,_L],{moduleId:"vaadin-combo-box-overlay-styles"});class xL extends ZL(rL(b8(g8(o1)))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return f1`
|
|
10068
10068
|
<div id="backdrop" part="backdrop" hidden></div>
|
|
10069
10069
|
<div part="overlay" id="overlay">
|
|
10070
10070
|
<div part="loader"></div>
|
|
10071
10071
|
<div part="content" id="content"><slot></slot></div>
|
|
10072
10072
|
</div>
|
|
10073
|
-
`}}
|
|
10073
|
+
`}}T5(xL);/**
|
|
10074
10074
|
* @license
|
|
10075
10075
|
* Copyright (c) 2023 Vaadin Ltd.
|
|
10076
10076
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10077
|
-
*/function
|
|
10077
|
+
*/function j5(i,C){return i.split(".").reduce((t,e)=>t?t[e]:void 0,C)}/**
|
|
10078
10078
|
* @license
|
|
10079
10079
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10080
10080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10086,11 +10086,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10086
10086
|
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
10087
10087
|
* Code distributed by Google as part of the polymer project is also
|
|
10088
10088
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10089
|
-
*/let OC=0,NC=0;const
|
|
10089
|
+
*/let OC=0,NC=0;const y2=[];let N8=!1;function yL(){N8=!1;const i=y2.length;for(let C=0;C<i;C++){const t=y2[C];if(t)try{t()}catch(e){setTimeout(()=>{throw e})}}y2.splice(0,i),NC+=i}const U5={after(i){return{run(C){return window.setTimeout(C,i)},cancel(C){window.clearTimeout(C)}}},run(i,C){return window.setTimeout(i,C)},cancel(i){window.clearTimeout(i)}},q5={run(i){return window.requestAnimationFrame(i)},cancel(i){window.cancelAnimationFrame(i)}},DC={run(i){return window.requestIdleCallback?window.requestIdleCallback(i):window.setTimeout(i,16)},cancel(i){window.cancelIdleCallback?window.cancelIdleCallback(i):window.clearTimeout(i)}},FC={run(i){N8||(N8=!0,queueMicrotask(()=>yL())),y2.push(i);const C=OC;return OC+=1,C},cancel(i){const C=i-NC;if(C>=0){if(!y2[C])throw new Error(`invalid async handle: ${i}`);y2[C]=null}}};/**
|
|
10090
10090
|
* @license
|
|
10091
10091
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10092
10092
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10093
|
-
*/const
|
|
10093
|
+
*/const W5=i=>i.test(navigator.userAgent),D8=i=>i.test(navigator.platform),zL=i=>i.test(navigator.vendor);W5(/Android/u),W5(/Chrome/u)&&zL(/Google Inc/u),W5(/Firefox/u),D8(/^iPad/u)||D8(/^Mac/u)&&navigator.maxTouchPoints>1,D8(/^iPhone/u);const kL=W5(/^((?!chrome|android).)*safari/iu),F8=(()=>{try{return document.createEvent("TouchEvent"),!0}catch{return!1}})();/**
|
|
10094
10094
|
@license
|
|
10095
10095
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
10096
10096
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -10098,7 +10098,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
10098
10098
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
10099
10099
|
Code distributed by Google as part of the polymer project is also
|
|
10100
10100
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10101
|
-
*/const
|
|
10101
|
+
*/const R3=new Set;class X{static debounce(C,t,e){return C instanceof X?C._cancelAsync():C=new X,C.setConfig(t,e),C}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(C,t){this._asyncModule=C,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,R3.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),R3.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 RC(i){R3.add(i)}function $L(){const i=Boolean(R3.size);return R3.forEach(C=>{try{C.flush()}catch(t){setTimeout(()=>{throw t})}}),i}const j3=()=>{let i;do i=$L();while(i)};/**
|
|
10102
10102
|
* @license
|
|
10103
10103
|
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
10104
10104
|
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -10106,19 +10106,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10106
10106
|
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
10107
10107
|
* Code distributed by Google as part of the polymer project is also
|
|
10108
10108
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10109
|
-
*/const jC=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),AL=jC&&jC[1]>=8,UC=3,
|
|
10109
|
+
*/const jC=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),AL=jC&&jC[1]>=8,UC=3,EL={_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 i=this._virtualCount;return Math.max(0,i-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(i){i=this._clamp(i,0,this._maxVirtualStart),this._virtualStartVal=i},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(i){i%=this._physicalCount,i<0&&(i=this._physicalCount+i),this._physicalStartVal=i},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(i){this._physicalCountVal=i},get _optPhysicalSize(){return this._viewportHeight===0?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let i=this._firstVisibleIndexVal;if(i==null){let C=this._physicalTop+this._scrollOffset;i=this._iterateItems((t,e)=>{if(C+=this._getPhysicalSizeIncrement(t),C>this._scrollPosition)return e})||0,this._firstVisibleIndexVal=i}return i},get lastVisibleIndex(){let i=this._lastVisibleIndexVal;if(i==null){let C=this._physicalTop+this._scrollOffset;this._iterateItems((t,e)=>{C<this._scrollBottom&&(i=e),C+=this._getPhysicalSizeIncrement(t)}),this._lastVisibleIndexVal=i}return i},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const i=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let C=i-this._scrollPosition;const t=C>=0;if(this._scrollPosition=i,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(C)>this._physicalSize&&this._physicalSize>0){C-=this._scrollOffset;const e=Math.round(C/this._physicalAverage);this._virtualStart+=e,this._physicalStart+=e,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const e=this._getReusables(t);t?(this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length):(this._virtualStart-=e.indexes.length,this._physicalStart-=e.indexes.length),this._update(e.indexes,t?null:e.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),FC)}},_getReusables(i){let C,t,e;const o=[],a=this._hiddenContentSize*this._ratio,n=this._virtualStart,r=this._virtualEnd,l=this._physicalCount;let h=this._physicalTop+this._scrollOffset;const c=this._physicalBottom+this._scrollOffset,d=this._scrollPosition,p=this._scrollBottom;for(i?(C=this._physicalStart,t=d-h):(C=this._physicalEnd,t=c-p);e=this._getPhysicalSizeIncrement(C),t-=e,!(o.length>=l||t<=a);)if(i){if(r+o.length+1>=this._virtualCount||h+e>=d-this._scrollOffset)break;o.push(C),h+=e,C=(C+1)%l}else{if(n-o.length<=0||h+this._physicalSize-e<=p)break;o.push(C),h-=e,C=C===0?l-1:C-1}return{indexes:o,physicalTop:h-this._scrollOffset}},_update(i,C){if(!(i&&i.length===0||this._physicalCount===0)){if(this._assignModels(i),this._updateMetrics(i),C)for(;C.length;){const t=C.pop();this._physicalTop-=this._getPhysicalSizeIncrement(t)}this._positionItems(),this._updateScrollerSize()}},_isClientFull(){return this._scrollBottom!==0&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},_increasePoolIfNeeded(i){const t=this._clamp(this._physicalCount+i,UC,this._virtualCount-this._virtualStart)-this._physicalCount;let e=Math.round(this._physicalCount*.5);if(!(t<0)){if(t>0){const o=window.performance.now();[].push.apply(this._physicalItems,this._createPool(t));for(let a=0;a<t;a++)this._physicalSizes.push(0);this._physicalCount+=t,this._physicalStart>this._physicalEnd&&this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=t),this._update(),this._templateCost=(window.performance.now()-o)/t,e=Math.round(this._physicalCount*.5)}this._virtualEnd>=this._virtualCount-1||e===0||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,e)),DC):this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,e),FC))}},_render(){if(!(!this.isAttached||!this._isVisible))if(this._physicalCount!==0){const i=this._getReusables(!0);this._physicalTop=i.physicalTop,this._virtualStart+=i.indexes.length,this._physicalStart+=i.indexes.length,this._update(i.indexes),this._update(),this._increasePoolIfNeeded(0)}else this._virtualCount>0&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(UC))},_itemsChanged(i){i.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,q5))},_iterateItems(i,C){let t,e,o,a;if(arguments.length===2&&C){for(a=0;a<C.length;a++)if(t=C[a],e=this._computeVidx(t),(o=i.call(this,t,e))!=null)return o}else{for(t=this._physicalStart,e=this._virtualStart;t<this._physicalCount;t++,e++)if((o=i.call(this,t,e))!=null)return o;for(t=0;t<this._physicalStart;t++,e++)if((o=i.call(this,t,e))!=null)return o}},_computeVidx(i){return i>=this._physicalStart?this._virtualStart+(i-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+i},_positionItems(){this._adjustScrollPosition();let i=this._physicalTop;this._iterateItems(C=>{this.translate3d(0,`${i}px`,0,this._physicalItems[C]),i+=this._physicalSizes[C]})},_getPhysicalSizeIncrement(i){return this._physicalSizes[i]},_adjustScrollPosition(){const i=this._virtualStart===0?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(i!==0){this._physicalTop-=i;const C=this._scrollPosition;!AL&&C>0&&this._resetScrollPosition(C-i)}},_resetScrollPosition(i){this.scrollTarget&&i>=0&&(this._scrollTop=i,this._scrollPosition=this._scrollTop)},_updateScrollerSize(i){const C=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;this._estScrollHeight=C,(i||this._scrollHeight===0||this._scrollPosition>=C-this._physicalSize||Math.abs(C-this._scrollHeight)>=this._viewportHeight)&&(this.$.items.style.height=`${C}px`,this._scrollHeight=C)},scrollToIndex(i){if(typeof i!="number"||i<0||i>this.items.length-1||(j3(),this._physicalCount===0))return;i=this._clamp(i,0,this._virtualCount-1),(!this._isIndexRendered(i)||i>=this._maxVirtualStart)&&(this._virtualStart=i-1),this._assignModels(),this._updateMetrics(),this._physicalTop=this._virtualStart*this._physicalAverage;let C=this._physicalStart,t=this._virtualStart,e=0;const o=this._hiddenContentSize;for(;t<i&&e<=o;)e+=this._getPhysicalSizeIncrement(C),C=(C+1)%this._physicalCount,t+=1;this._updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._physicalTop+this._scrollOffset+e),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)},q5)},_isIndexRendered(i){return i>=this._virtualStart&&i<=this._virtualEnd},_getPhysicalIndex(i){return(this._physicalStart+(i-this._virtualStart))%this._physicalCount},_clamp(i,C,t){return Math.min(t,Math.max(C,i))},_debounce(i,C,t){this._debouncers||(this._debouncers={}),this._debouncers[i]=X.debounce(this._debouncers[i],t,C.bind(this)),RC(this._debouncers[i])}};/**
|
|
10110
10110
|
* @license
|
|
10111
10111
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10112
10112
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10113
|
-
*/const EL=1e5,R8=1e3;class qC{constructor({createElements:C,updateElement:t,scrollTarget:e,scrollContainer:o,elementsContainer:a,reorderElements:n}){this.isAttached=!0,this._vidxOffset=0,this.createElements=C,this.updateElement=t,this.scrollTarget=e,this.scrollContainer=o,this.elementsContainer=a||o,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",r=>this.__onWheel(r)),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}__hasPlaceholders(){return this.__getVisibleElements().some(C=>C.__virtualizerPlaceholder)}scrollToIndex(C){if(typeof C!="number"||isNaN(C)||this.size===0||!this.scrollTarget.offsetHeight)return;delete this.__pendingScrollToIndex,this._physicalCount<=3&&this.flush(),C=this._clamp(C,0,this.size-1);const t=this.__getVisibleElements().length;let e=Math.floor(C/this.size*this._virtualCount);this._virtualCount-e<t?(e=this._virtualCount-(this.size-C),this._vidxOffset=this.size-this._virtualCount):e<t?C<R8?(e=C,this._vidxOffset=0):(e=R8,this._vidxOffset=C-e):this._vidxOffset=C-e,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(e),this.adjustedFirstVisibleIndex!==C&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(C)||0),this._scrollHandler(),this.__hasPlaceholders()&&(this.__pendingScrollToIndex=C)}flush(){const C=this._physicalCount;this.scrollTarget.offsetHeight!==0&&(this._resizeHandler(),R3(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush(),this._physicalCount!==C&&this.flush())}update(C=0,t=this.size-1){const e=[];this.__getVisibleElements().forEach(o=>{o.__virtualIndex>=C&&o.__virtualIndex<=t&&(this.__updateElement(o,o.__virtualIndex,!0),e.push(o))}),this.__afterElementsUpdated(e)}_updateMetrics(C){R3();let t=0,e=0;const o=this._physicalAverageCount,a=this._physicalAverage;this._iterateItems((n,r)=>{e+=this._physicalSizes[n],this._physicalSizes[n]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[n])),t+=this._physicalSizes[n],this._physicalAverageCount+=this._physicalSizes[n]?1:0},C),this._physicalSize=this._physicalSize+t-e,this._physicalAverageCount!==o&&(this._physicalAverage=Math.round((a*o+t)/this._physicalAverageCount))}__getBorderBoxHeight(C){const t=getComputedStyle(C),e=parseFloat(t.height)||0;if(t.boxSizing==="border-box")return e;const o=parseFloat(t.paddingBottom)||0,a=parseFloat(t.paddingTop)||0,n=parseFloat(t.borderBottomWidth)||0,r=parseFloat(t.borderTopWidth)||0;return e+o+a+n+r}__updateElement(C,t,e){C.__virtualizerPlaceholder&&(C.style.paddingTop="",C.__virtualizerPlaceholder=!1),!this.__preventElementUpdates&&(C.__lastUpdatedIndex!==t||e)&&(this.updateElement(C,t),C.__lastUpdatedIndex=t)}__afterElementsUpdated(C){C.forEach(t=>{const e=t.offsetHeight;if(e===0)t.style.paddingTop=`${this.__placeholderHeight}px`,t.__virtualizerPlaceholder=!0,this.__placeholderClearDebouncer=X.debounce(this.__placeholderClearDebouncer,U5,()=>this._resizeHandler());else{this.__elementHeightQueue.push(e),this.__elementHeightQueue.shift();const o=this.__elementHeightQueue.filter(a=>a!==void 0);this.__placeholderHeight=Math.round(o.reduce((a,n)=>a+n,0)/o.length)}}),this.__pendingScrollToIndex!==void 0&&!this.__hasPlaceholders()&&this.scrollToIndex(this.__pendingScrollToIndex)}__getIndexScrollOffset(C){const t=this.__getVisibleElements().find(e=>e.__virtualIndex===C);return t?this.scrollTarget.getBoundingClientRect().top-t.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(C){C!==this.size&&(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__size=C,this._physicalItems?(this._updateScrollerSize(),this._virtualCount=this.items.length,this._render()):(this._itemsChanged({path:"items"}),this.__preventElementUpdates=!0,R3(),this.__preventElementUpdates=!1),this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame(()=>this._resizeHandler()),this._resizeHandler(),R3())}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(C){this.scrollTarget.scrollTop=C}get items(){return{length:Math.min(this.size,EL)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const C=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(C["padding-top"],10),this._isRTL=Boolean(C.direction==="rtl"),this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(C){const t=this.createElements(C),e=document.createDocumentFragment();return t.forEach(o=>{o.style.position="absolute",e.appendChild(o),this.__resizeObserver.observe(o)}),this.elementsContainer.appendChild(e),t}_assignModels(C){const t=[];this._iterateItems((e,o)=>{const a=this._physicalItems[e];a.hidden=o>=this.size,a.hidden?delete a.__lastUpdatedIndex:(a.__virtualIndex=o+(this._vidxOffset||0),this.__updateElement(a,a.__virtualIndex),t.push(a))},C),this.__afterElementsUpdated(t)}_isClientFull(){return setTimeout(()=>{this.__clientFull=!0}),this.__clientFull||super._isClientFull()}translate3d(C,t,e,o){o.style.transform=`translateY(${t})`}toggleScrollListener(){}_scrollHandler(){if(this.scrollTarget.offsetHeight===0)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const C=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),this._physicalCount!==0){const t=C>=0,e=this._getReusables(!t);e.indexes.length&&(this._physicalTop=e.physicalTop,t?(this._virtualStart-=e.indexes.length,this._physicalStart-=e.indexes.length):(this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length),this._resizeHandler())}C&&(this.__fixInvalidItemPositioningDebouncer=X.debounce(this.__fixInvalidItemPositioningDebouncer,j5.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),()=>this.__fixInvalidItemPositioning())),this.reorderElements&&(this.__scrollReorderDebouncer=X.debounce(this.__scrollReorderDebouncer,j5.after(this.timeouts.SCROLL_REORDER),()=>this.__reorderElements())),this.__previousScrollTop=this._scrollTop,this._scrollTop===0&&this.firstVisibleIndex!==0&&Math.abs(C)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const C=this._physicalTop>this._scrollTop,t=this._physicalBottom<this._scrollBottom,e=this.adjustedFirstVisibleIndex===0,o=this.adjustedLastVisibleIndex===this.size-1;if(C&&!e||t&&!o){const a=t,n=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(a?-1:1),this._scrollHandler(),this._ratio=n}}__onWheel(C){if(C.ctrlKey||this._hasScrolledAncestor(C.target,C.deltaX,C.deltaY))return;let t=C.deltaY;if(C.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._scrollLineHeight:C.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame){this._deltaYAcc+=t,C.preventDefault();return}t+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=X.debounce(this.__debouncerWheelAnimationFrame,U5,()=>{this._wheelAnimationFrame=!1});const e=Math.abs(C.deltaX)+Math.abs(t);this._canScroll(this.scrollTarget,C.deltaX,t)?(C.preventDefault(),this.scrollTarget.scrollTop+=t,this.scrollTarget.scrollLeft+=C.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=X.debounce(this._debouncerIgnoreNewWheel,j5.after(this.timeouts.IGNORE_WHEEL),()=>{this._ignoreNewWheel=!1})):this._hasResidualMomentum&&e<=this._previousMomentum||this._ignoreNewWheel?C.preventDefault():e>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=e}_hasScrolledAncestor(C,t,e){if(C===this.scrollTarget||C===this.scrollTarget.getRootNode().host)return!1;if(this._canScroll(C,t,e)&&["auto","scroll"].indexOf(getComputedStyle(C).overflow)!==-1)return!0;if(C!==this&&C.parentElement)return this._hasScrolledAncestor(C.parentElement,t,e)}_canScroll(C,t,e){return e>0&&C.scrollTop<C.scrollHeight-C.offsetHeight||e<0&&C.scrollTop>0||t>0&&C.scrollLeft<C.scrollWidth-C.offsetWidth||t<0&&C.scrollLeft>0}_increasePoolIfNeeded(C){if(this._physicalCount>2&&C){const e=Math.ceil(this._optPhysicalSize/this._physicalAverage)-this._physicalCount;super._increasePoolIfNeeded(Math.max(C,Math.min(100,e)))}else super._increasePoolIfNeeded(C)}_getScrollLineHeight(){const C=document.createElement("div");C.style.fontSize="initial",C.style.display="none",document.body.appendChild(C);const t=window.getComputedStyle(C).fontSize;return document.body.removeChild(C),t?window.parseInt(t):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter(C=>!C.hidden)}__reorderElements(){if(this.__mouseDown){this.__pendingReorder=!0;return}this.__pendingReorder=!1;const C=this._virtualStart+(this._vidxOffset||0),t=this.__getVisibleElements(),o=t.find(r=>r.contains(this.elementsContainer.getRootNode().activeElement)||r.contains(this.scrollTarget.getRootNode().activeElement))||t[0];if(!o)return;const a=o.__virtualIndex-C,n=t.indexOf(o)-a;if(n>0)for(let r=0;r<n;r++)this.elementsContainer.appendChild(t[r]);else if(n<0)for(let r=t.length+n;r<t.length;r++)this.elementsContainer.insertBefore(t[r],t[0]);if(kL){const{transform:r}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout(()=>{this.scrollTarget.style.transform=r})}}_adjustVirtualIndexOffset(C){if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(C)>1e4){const t=this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.offsetHeight),e=t*this.size;this._vidxOffset=Math.round(e-t*this._virtualCount)}else{const t=this._vidxOffset,e=R8,o=100;this._scrollTop===0?(this._vidxOffset=0,t!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<e&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,o),super.scrollToIndex(this.firstVisibleIndex+(t-this._vidxOffset)));const a=this.size-this._virtualCount;this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=a,t!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-e&&this._vidxOffset<a&&(this._vidxOffset+=Math.min(a-this._vidxOffset,o),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-t)))}}}Object.setPrototypeOf(qC.prototype,SL);class BL{constructor(C){this.__adapter=new qC(C)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(C){this.__adapter.size=C}scrollToIndex(C){this.__adapter.scrollToIndex(C)}update(C=0,t=this.size-1){this.__adapter.update(C,t)}flush(){this.__adapter.flush()}}/**
|
|
10113
|
+
*/const SL=1e5,R8=1e3;class qC{constructor({createElements:C,updateElement:t,scrollTarget:e,scrollContainer:o,elementsContainer:a,reorderElements:n}){this.isAttached=!0,this._vidxOffset=0,this.createElements=C,this.updateElement=t,this.scrollTarget=e,this.scrollContainer=o,this.elementsContainer=a||o,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",r=>this.__onWheel(r)),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}__hasPlaceholders(){return this.__getVisibleElements().some(C=>C.__virtualizerPlaceholder)}scrollToIndex(C){if(typeof C!="number"||isNaN(C)||this.size===0||!this.scrollTarget.offsetHeight)return;delete this.__pendingScrollToIndex,this._physicalCount<=3&&this.flush(),C=this._clamp(C,0,this.size-1);const t=this.__getVisibleElements().length;let e=Math.floor(C/this.size*this._virtualCount);this._virtualCount-e<t?(e=this._virtualCount-(this.size-C),this._vidxOffset=this.size-this._virtualCount):e<t?C<R8?(e=C,this._vidxOffset=0):(e=R8,this._vidxOffset=C-e):this._vidxOffset=C-e,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(e),this.adjustedFirstVisibleIndex!==C&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(C)||0),this._scrollHandler(),this.__hasPlaceholders()&&(this.__pendingScrollToIndex=C)}flush(){const C=this._physicalCount;this.scrollTarget.offsetHeight!==0&&(this._resizeHandler(),j3(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush(),this._physicalCount!==C&&this.flush())}update(C=0,t=this.size-1){const e=[];this.__getVisibleElements().forEach(o=>{o.__virtualIndex>=C&&o.__virtualIndex<=t&&(this.__updateElement(o,o.__virtualIndex,!0),e.push(o))}),this.__afterElementsUpdated(e)}_updateMetrics(C){j3();let t=0,e=0;const o=this._physicalAverageCount,a=this._physicalAverage;this._iterateItems((n,r)=>{e+=this._physicalSizes[n],this._physicalSizes[n]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[n])),t+=this._physicalSizes[n],this._physicalAverageCount+=this._physicalSizes[n]?1:0},C),this._physicalSize=this._physicalSize+t-e,this._physicalAverageCount!==o&&(this._physicalAverage=Math.round((a*o+t)/this._physicalAverageCount))}__getBorderBoxHeight(C){const t=getComputedStyle(C),e=parseFloat(t.height)||0;if(t.boxSizing==="border-box")return e;const o=parseFloat(t.paddingBottom)||0,a=parseFloat(t.paddingTop)||0,n=parseFloat(t.borderBottomWidth)||0,r=parseFloat(t.borderTopWidth)||0;return e+o+a+n+r}__updateElement(C,t,e){C.__virtualizerPlaceholder&&(C.style.paddingTop="",C.__virtualizerPlaceholder=!1),!this.__preventElementUpdates&&(C.__lastUpdatedIndex!==t||e)&&(this.updateElement(C,t),C.__lastUpdatedIndex=t)}__afterElementsUpdated(C){C.forEach(t=>{const e=t.offsetHeight;if(e===0)t.style.paddingTop=`${this.__placeholderHeight}px`,t.__virtualizerPlaceholder=!0,this.__placeholderClearDebouncer=X.debounce(this.__placeholderClearDebouncer,q5,()=>this._resizeHandler());else{this.__elementHeightQueue.push(e),this.__elementHeightQueue.shift();const o=this.__elementHeightQueue.filter(a=>a!==void 0);this.__placeholderHeight=Math.round(o.reduce((a,n)=>a+n,0)/o.length)}}),this.__pendingScrollToIndex!==void 0&&!this.__hasPlaceholders()&&this.scrollToIndex(this.__pendingScrollToIndex)}__getIndexScrollOffset(C){const t=this.__getVisibleElements().find(e=>e.__virtualIndex===C);return t?this.scrollTarget.getBoundingClientRect().top-t.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(C){C!==this.size&&(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__size=C,this._physicalItems?(this._updateScrollerSize(),this._virtualCount=this.items.length,this._render()):(this._itemsChanged({path:"items"}),this.__preventElementUpdates=!0,j3(),this.__preventElementUpdates=!1),this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame(()=>this._resizeHandler()),this._resizeHandler(),j3())}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(C){this.scrollTarget.scrollTop=C}get items(){return{length:Math.min(this.size,SL)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const C=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(C["padding-top"],10),this._isRTL=Boolean(C.direction==="rtl"),this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(C){const t=this.createElements(C),e=document.createDocumentFragment();return t.forEach(o=>{o.style.position="absolute",e.appendChild(o),this.__resizeObserver.observe(o)}),this.elementsContainer.appendChild(e),t}_assignModels(C){const t=[];this._iterateItems((e,o)=>{const a=this._physicalItems[e];a.hidden=o>=this.size,a.hidden?delete a.__lastUpdatedIndex:(a.__virtualIndex=o+(this._vidxOffset||0),this.__updateElement(a,a.__virtualIndex),t.push(a))},C),this.__afterElementsUpdated(t)}_isClientFull(){return setTimeout(()=>{this.__clientFull=!0}),this.__clientFull||super._isClientFull()}translate3d(C,t,e,o){o.style.transform=`translateY(${t})`}toggleScrollListener(){}_scrollHandler(){if(this.scrollTarget.offsetHeight===0)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const C=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),this._physicalCount!==0){const t=C>=0,e=this._getReusables(!t);e.indexes.length&&(this._physicalTop=e.physicalTop,t?(this._virtualStart-=e.indexes.length,this._physicalStart-=e.indexes.length):(this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length),this._resizeHandler())}C&&(this.__fixInvalidItemPositioningDebouncer=X.debounce(this.__fixInvalidItemPositioningDebouncer,U5.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),()=>this.__fixInvalidItemPositioning())),this.reorderElements&&(this.__scrollReorderDebouncer=X.debounce(this.__scrollReorderDebouncer,U5.after(this.timeouts.SCROLL_REORDER),()=>this.__reorderElements())),this.__previousScrollTop=this._scrollTop,this._scrollTop===0&&this.firstVisibleIndex!==0&&Math.abs(C)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const C=this._physicalTop>this._scrollTop,t=this._physicalBottom<this._scrollBottom,e=this.adjustedFirstVisibleIndex===0,o=this.adjustedLastVisibleIndex===this.size-1;if(C&&!e||t&&!o){const a=t,n=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(a?-1:1),this._scrollHandler(),this._ratio=n}}__onWheel(C){if(C.ctrlKey||this._hasScrolledAncestor(C.target,C.deltaX,C.deltaY))return;let t=C.deltaY;if(C.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._scrollLineHeight:C.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame){this._deltaYAcc+=t,C.preventDefault();return}t+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=X.debounce(this.__debouncerWheelAnimationFrame,q5,()=>{this._wheelAnimationFrame=!1});const e=Math.abs(C.deltaX)+Math.abs(t);this._canScroll(this.scrollTarget,C.deltaX,t)?(C.preventDefault(),this.scrollTarget.scrollTop+=t,this.scrollTarget.scrollLeft+=C.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=X.debounce(this._debouncerIgnoreNewWheel,U5.after(this.timeouts.IGNORE_WHEEL),()=>{this._ignoreNewWheel=!1})):this._hasResidualMomentum&&e<=this._previousMomentum||this._ignoreNewWheel?C.preventDefault():e>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=e}_hasScrolledAncestor(C,t,e){if(C===this.scrollTarget||C===this.scrollTarget.getRootNode().host)return!1;if(this._canScroll(C,t,e)&&["auto","scroll"].indexOf(getComputedStyle(C).overflow)!==-1)return!0;if(C!==this&&C.parentElement)return this._hasScrolledAncestor(C.parentElement,t,e)}_canScroll(C,t,e){return e>0&&C.scrollTop<C.scrollHeight-C.offsetHeight||e<0&&C.scrollTop>0||t>0&&C.scrollLeft<C.scrollWidth-C.offsetWidth||t<0&&C.scrollLeft>0}_increasePoolIfNeeded(C){if(this._physicalCount>2&&C){const e=Math.ceil(this._optPhysicalSize/this._physicalAverage)-this._physicalCount;super._increasePoolIfNeeded(Math.max(C,Math.min(100,e)))}else super._increasePoolIfNeeded(C)}_getScrollLineHeight(){const C=document.createElement("div");C.style.fontSize="initial",C.style.display="none",document.body.appendChild(C);const t=window.getComputedStyle(C).fontSize;return document.body.removeChild(C),t?window.parseInt(t):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter(C=>!C.hidden)}__reorderElements(){if(this.__mouseDown){this.__pendingReorder=!0;return}this.__pendingReorder=!1;const C=this._virtualStart+(this._vidxOffset||0),t=this.__getVisibleElements(),o=t.find(r=>r.contains(this.elementsContainer.getRootNode().activeElement)||r.contains(this.scrollTarget.getRootNode().activeElement))||t[0];if(!o)return;const a=o.__virtualIndex-C,n=t.indexOf(o)-a;if(n>0)for(let r=0;r<n;r++)this.elementsContainer.appendChild(t[r]);else if(n<0)for(let r=t.length+n;r<t.length;r++)this.elementsContainer.insertBefore(t[r],t[0]);if(kL){const{transform:r}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout(()=>{this.scrollTarget.style.transform=r})}}_adjustVirtualIndexOffset(C){if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(C)>1e4){const t=this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.offsetHeight),e=t*this.size;this._vidxOffset=Math.round(e-t*this._virtualCount)}else{const t=this._vidxOffset,e=R8,o=100;this._scrollTop===0?(this._vidxOffset=0,t!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<e&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,o),super.scrollToIndex(this.firstVisibleIndex+(t-this._vidxOffset)));const a=this.size-this._virtualCount;this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=a,t!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-e&&this._vidxOffset<a&&(this._vidxOffset+=Math.min(a-this._vidxOffset,o),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-t)))}}}Object.setPrototypeOf(qC.prototype,EL);class BL{constructor(C){this.__adapter=new qC(C)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(C){this.__adapter.size=C}scrollToIndex(C){this.__adapter.scrollToIndex(C)}update(C=0,t=this.size-1){this.__adapter.update(C,t)}flush(){this.__adapter.flush()}}/**
|
|
10114
10114
|
* @license
|
|
10115
10115
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
10116
10116
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10117
|
-
*/const
|
|
10117
|
+
*/const z2=class{toString(){return""}};/**
|
|
10118
10118
|
* @license
|
|
10119
10119
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
10120
10120
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10121
|
-
*/const TL=i=>class extends i{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 t=window.getComputedStyle(this.$.selector);this._cachedViewportTotalPaddingBottom=[t.paddingBottom,t.borderBottomWidth].map(e=>parseInt(e,10)).reduce((e,o)=>e+o)}return this._cachedViewportTotalPaddingBottom}ready(){super.ready(),this.setAttribute("role","listbox"),this.id=`${this.localName}-${IC()}`,this.__hostTagName=this.constructor.is.replace("-scroller",""),this.addEventListener("click",t=>t.stopPropagation()),this.__patchWheelOverScrolling(),this.__virtualizer=new BL({createElements:this.__createElements.bind(this),updateElement:this._updateElement.bind(this),elementsContainer:this,scrollTarget:this,scrollContainer:this.$.selector})}requestContentUpdate(){this.__virtualizer&&this.__virtualizer.update()}scrollIntoView(t){if(!(this.opened&&t>=0))return;const e=this._visibleItemsCount();let o=t;t>this.__virtualizer.lastVisibleIndex-1?(this.__virtualizer.scrollToIndex(t),o=t-e+1):t>this.__virtualizer.firstVisibleIndex&&(o=this.__virtualizer.firstVisibleIndex),this.__virtualizer.scrollToIndex(Math.max(0,o));const a=[...this.children].find(h=>!h.hidden&&h.index===this.__virtualizer.lastVisibleIndex);if(!a||t!==a.index)return;const n=a.getBoundingClientRect(),r=this.getBoundingClientRect(),l=n.bottom-r.bottom+this._viewportTotalPaddingBottom;l>0&&(this.scrollTop+=l)}_isItemSelected(t,e,o){return t instanceof
|
|
10121
|
+
*/const TL=i=>class extends i{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 t=window.getComputedStyle(this.$.selector);this._cachedViewportTotalPaddingBottom=[t.paddingBottom,t.borderBottomWidth].map(e=>parseInt(e,10)).reduce((e,o)=>e+o)}return this._cachedViewportTotalPaddingBottom}ready(){super.ready(),this.setAttribute("role","listbox"),this.id=`${this.localName}-${IC()}`,this.__hostTagName=this.constructor.is.replace("-scroller",""),this.addEventListener("click",t=>t.stopPropagation()),this.__patchWheelOverScrolling(),this.__virtualizer=new BL({createElements:this.__createElements.bind(this),updateElement:this._updateElement.bind(this),elementsContainer:this,scrollTarget:this,scrollContainer:this.$.selector})}requestContentUpdate(){this.__virtualizer&&this.__virtualizer.update()}scrollIntoView(t){if(!(this.opened&&t>=0))return;const e=this._visibleItemsCount();let o=t;t>this.__virtualizer.lastVisibleIndex-1?(this.__virtualizer.scrollToIndex(t),o=t-e+1):t>this.__virtualizer.firstVisibleIndex&&(o=this.__virtualizer.firstVisibleIndex),this.__virtualizer.scrollToIndex(Math.max(0,o));const a=[...this.children].find(h=>!h.hidden&&h.index===this.__virtualizer.lastVisibleIndex);if(!a||t!==a.index)return;const n=a.getBoundingClientRect(),r=this.getBoundingClientRect(),l=n.bottom-r.bottom+this._viewportTotalPaddingBottom;l>0&&(this.scrollTop+=l)}_isItemSelected(t,e,o){return t instanceof z2?!1:o&&t!==void 0&&e!==void 0?j5(o,t)===j5(o,e):t===e}__itemsChanged(t){this.__virtualizer&&t&&(this.__virtualizer.size=t.length,this.__virtualizer.flush(),this.requestContentUpdate())}__loadingChanged(){this.requestContentUpdate()}__openedChanged(t){t&&this.requestContentUpdate()}__selectedItemChanged(){this.requestContentUpdate()}__focusedIndexChanged(t,e){t!==e&&this.requestContentUpdate(),t>=0&&!this.loading&&this.scrollIntoView(t)}__rendererChanged(t,e){(t||e)&&this.requestContentUpdate()}__createElements(t){return[...Array(t)].map(()=>{const e=document.createElement(`${this.__hostTagName}-item`);return e.addEventListener("click",this.__boundOnItemClick),e.tabIndex="-1",e.style.width="100%",e})}_updateElement(t,e){const o=this.items[e],a=this.focusedIndex,n=this._isItemSelected(o,this.selectedItem,this.itemIdPath);t.setProperties({item:o,index:e,label:this.getItemLabel(o),selected:n,renderer:this.renderer,focused:!this.loading&&a===e}),t.id=`${this.__hostTagName}-item-${e}`,t.setAttribute("role",e!==void 0?"option":!1),t.setAttribute("aria-selected",n.toString()),t.setAttribute("aria-posinset",e+1),t.setAttribute("aria-setsize",this.items.length),this.theme?t.setAttribute("theme",this.theme):t.removeAttribute("theme"),o instanceof z2&&this.__requestItemByIndex(e)}__onItemClick(t){this.dispatchEvent(new CustomEvent("selection-changed",{detail:{item:t.currentTarget.item}}))}__patchWheelOverScrolling(){this.$.selector.addEventListener("wheel",t=>{const e=this.scrollTop===0,o=this.scrollHeight-this.scrollTop-this.clientHeight<=1;(e&&t.deltaY<0||o&&t.deltaY>0)&&t.preventDefault()})}__requestItemByIndex(t){requestAnimationFrame(()=>{this.dispatchEvent(new CustomEvent("index-requested",{detail:{index:t,currentScrollerPos:this._oldScrollerPosition}}))})}_visibleItemsCount(){return this.__virtualizer.scrollToIndex(this.__virtualizer.firstVisibleIndex),this.__virtualizer.size>0?this.__virtualizer.lastVisibleIndex-this.__virtualizer.firstVisibleIndex+1:0}};/**
|
|
10122
10122
|
* @license
|
|
10123
10123
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
10124
10124
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10149,7 +10149,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10149
10149
|
<div id="selector">
|
|
10150
10150
|
<slot></slot>
|
|
10151
10151
|
</div>
|
|
10152
|
-
`}}
|
|
10152
|
+
`}}T5(PL);/**
|
|
10153
10153
|
* @license
|
|
10154
10154
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10155
10155
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10177,11 +10177,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10177
10177
|
* @license
|
|
10178
10178
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10179
10179
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10180
|
-
*/const
|
|
10180
|
+
*/const Y5=y(i=>class extends i{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
|
|
10181
10181
|
* @license
|
|
10182
10182
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10183
10183
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10184
|
-
*/const FL=i=>class extends
|
|
10184
|
+
*/const FL=i=>class extends Y5(i){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&t!==-1&&(this._lastTabIndex=t,this.tabindex=-1)}};/**
|
|
10185
10185
|
* @license
|
|
10186
10186
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10187
10187
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10189,7 +10189,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10189
10189
|
* @license
|
|
10190
10190
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10191
10191
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10192
|
-
*/const
|
|
10192
|
+
*/const U3=y(i=>class extends i{ready(){super.ready(),this.addEventListener("keydown",t=>{this._onKeyDown(t)}),this.addEventListener("keyup",t=>{this._onKeyUp(t)})}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t);break}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}});/**
|
|
10193
10193
|
* @license
|
|
10194
10194
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10195
10195
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10201,15 +10201,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10201
10201
|
* @license
|
|
10202
10202
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10203
10203
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10204
|
-
*/const qL=i=>class extends Y8(
|
|
10204
|
+
*/const qL=i=>class extends Y8(U3(i)){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",t=>this._onClearButtonMouseDown(t)),this.clearElement.addEventListener("click",t=>this._onClearButtonClick(t)))}_onClearButtonClick(t){t.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(t){t.preventDefault(),F8||this.inputElement.focus()}_onEscape(t){super._onEscape(t),this.clearButtonVisible&&!!this.value&&(t.stopPropagation(),this._onClearAction())}_onClearAction(){this._inputElementValue="",this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
|
|
10205
10205
|
* @license
|
|
10206
10206
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10207
10207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10208
|
-
*/function G8(i){return i?new Set(i.split(" ")):new Set}function
|
|
10208
|
+
*/function G8(i){return i?new Set(i.split(" ")):new Set}function G5(i){return i?[...i].join(" "):""}function GC(i,C,t){const e=G8(i.getAttribute(C));e.add(t),i.setAttribute(C,G5(e))}function WL(i,C,t){const e=G8(i.getAttribute(C));if(e.delete(t),e.size===0){i.removeAttribute(C);return}i.setAttribute(C,G5(e))}/**
|
|
10209
10209
|
* @license
|
|
10210
10210
|
* Copyright (c) 2023 Vaadin Ltd.
|
|
10211
10211
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10212
|
-
*/const K8=new Map;function J8(i){return K8.has(i)||K8.set(i,new WeakMap),K8.get(i)}function KC(i,C){!i||i.removeAttribute(C)}function JC(i,C){if(!i||!C)return;const t=J8(C);if(t.has(i))return;const e=G8(i.getAttribute(C));t.set(i,new Set(e))}function YL(i,C){if(!i||!C)return;const t=J8(C),e=t.get(i);!e||e.size===0?i.removeAttribute(C):GC(i,C,
|
|
10212
|
+
*/const K8=new Map;function J8(i){return K8.has(i)||K8.set(i,new WeakMap),K8.get(i)}function KC(i,C){!i||i.removeAttribute(C)}function JC(i,C){if(!i||!C)return;const t=J8(C);if(t.has(i))return;const e=G8(i.getAttribute(C));t.set(i,new Set(e))}function YL(i,C){if(!i||!C)return;const t=J8(C),e=t.get(i);!e||e.size===0?i.removeAttribute(C):GC(i,C,G5(e)),t.delete(i)}function X8(i,C,t={newId:null,oldId:null,fromUser:!1}){if(!i||!C)return;const{newId:e,oldId:o,fromUser:a}=t,n=J8(C),r=n.get(i);if(!a&&!!r){o&&r.delete(o),e&&r.add(e);return}a&&(r?e||n.delete(i):JC(i,C),KC(i,C)),WL(i,C,o);const l=e||G5(r);l&&GC(i,C,l)}function GL(i,C){JC(i,C),KC(i,C)}/**
|
|
10213
10213
|
* @license
|
|
10214
10214
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10215
10215
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10257,12 +10257,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10257
10257
|
* @license
|
|
10258
10258
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10259
10259
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10260
|
-
*/const ig=i=>class extends UL(YC(XC(tg(qL(
|
|
10260
|
+
*/const ig=i=>class extends UL(YC(XC(tg(qL(U3(i)))))){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[`
|
|
10261
10261
|
:is(input[slot='input'], textarea[slot='textarea'])::placeholder {
|
|
10262
10262
|
font: inherit;
|
|
10263
10263
|
color: inherit;
|
|
10264
10264
|
}
|
|
10265
|
-
`]}_onFocus(t){super._onFocus(t),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(t){t.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:t},bubbles:t.bubbles,cancelable:t.cancelable}))}_addInputListeners(t){super._addInputListeners(t),t.addEventListener("paste",this._boundOnPaste),t.addEventListener("drop",this._boundOnDrop),t.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(t){super._removeInputListeners(t),t.removeEventListener("paste",this._boundOnPaste),t.removeEventListener("drop",this._boundOnDrop),t.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(t){super._onKeyDown(t),this.allowedCharPattern&&!this.__shouldAcceptKey(t)&&(t.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=X.debounce(this._preventInputDebouncer,
|
|
10265
|
+
`]}_onFocus(t){super._onFocus(t),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(t){t.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:t},bubbles:t.bubbles,cancelable:t.cancelable}))}_addInputListeners(t){super._addInputListeners(t),t.addEventListener("paste",this._boundOnPaste),t.addEventListener("drop",this._boundOnDrop),t.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(t){super._removeInputListeners(t),t.removeEventListener("paste",this._boundOnPaste),t.removeEventListener("drop",this._boundOnDrop),t.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(t){super._onKeyDown(t),this.allowedCharPattern&&!this.__shouldAcceptKey(t)&&(t.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=X.debounce(this._preventInputDebouncer,U5.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(t){return t.metaKey||t.ctrlKey||!t.key||t.key.length!==1||this.__allowedCharRegExp.test(t.key)}_onPaste(t){if(this.allowedCharPattern){const e=t.clipboardData.getData("text");this.__allowedTextRegExp.test(e)||(t.preventDefault(),this._markInputPrevented())}}_onDrop(t){if(this.allowedCharPattern){const e=t.dataTransfer.getData("text");this.__allowedTextRegExp.test(e)||(t.preventDefault(),this._markInputPrevented())}}_onBeforeInput(t){this.allowedCharPattern&&t.data&&!this.__allowedTextRegExp.test(t.data)&&(t.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(t){if(t)try{this.__allowedCharRegExp=new RegExp(`^${t}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${t}*$`,"u")}catch(e){console.error(e)}}};/**
|
|
10266
10266
|
* @license
|
|
10267
10267
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
10268
10268
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10349,7 +10349,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10349
10349
|
* @license
|
|
10350
10350
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
10351
10351
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10352
|
-
*/const dg=i=>class extends i{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
|
|
10352
|
+
*/const dg=i=>class extends i{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 z2},__previousDataProviderFilter:{type:String}}}static get observers(){return["_dataProviderFilterChanged(filter)","_warnDataProviderValue(dataProvider, value)","_ensureFirstPage(opened)"]}ready(){super.ready(),this._scroller.addEventListener("index-requested",t=>{const e=t.detail.index,o=t.detail.currentScrollerPos,a=Math.floor(this.pageSize*1.5);if(!this._shouldSkipIndex(e,a,o)&&e!==void 0){const n=this._getPageForIndex(e);this._shouldLoadPage(n)&&this._loadPage(n)}})}_dataProviderFilterChanged(t){if(this.__previousDataProviderFilter===void 0&&t===""){this.__previousDataProviderFilter=t;return}this.__previousDataProviderFilter!==t&&(this.__previousDataProviderFilter=t,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(t){t&&this._shouldLoadPage(0)&&this._loadPage(0)}_shouldSkipIndex(t,e,o){return o!==0&&t>=o-e&&t<=o+e}_shouldLoadPage(t){if(!this.filteredItems||this._forceNextRequest)return this._forceNextRequest=!1,!0;const e=this.filteredItems[t*this.pageSize];return e!==void 0?e instanceof z2:this.size===void 0}_loadPage(t){if(this._pendingRequests[t]||!this.dataProvider)return;const e={page:t,pageSize:this.pageSize,filter:this.filter},o=(a,n)=>{if(this._pendingRequests[t]!==o)return;const r=this.filteredItems?[...this.filteredItems]:[];r.splice(e.page*e.pageSize,a.length,...a),this.filteredItems=r,!this.opened&&!this._isInputFocused()&&this._commitValue(),n!==void 0&&(this.size=n),delete this._pendingRequests[t],Object.keys(this._pendingRequests).length===0&&(this.loading=!1)};this._pendingRequests[t]=o,this.loading=!0,this.dataProvider(e,o)}_getPageForIndex(t){return Math.floor(t/this.pageSize)}clearCache(){if(!this.dataProvider)return;this._pendingRequests={};const t=[];for(let e=0;e<(this.size||0);e++)t.push(this.__placeHolder);this.filteredItems=t,this._shouldFetchData()?(this._forceNextRequest=!1,this._loadPage(0)):this._forceNextRequest=!0}_sizeChanged(t=0){const e=(this.filteredItems||[]).slice(0,t);for(let o=0;o<t;o++)e[o]=e[o]!==void 0?e[o]:this.__placeHolder;this.filteredItems=e,this._flushPendingRequests(t)}_pageSizeChanged(t,e){if(Math.floor(t)!==t||t<1)throw this.pageSize=e,new Error("`pageSize` value must be an integer > 0");this.clearCache()}_dataProviderChanged(t,e){this._ensureItemsOrDataProvider(()=>{this.dataProvider=e}),this.clearCache()}_ensureItemsOrDataProvider(t){if(this.items!==void 0&&this.dataProvider!==void 0)throw t(),new Error("Using `items` and `dataProvider` together is not supported");this.dataProvider&&!this.filteredItems&&(this.filteredItems=[])}_warnDataProviderValue(t,e){if(t&&e!==""&&(this.selectedItem===void 0||this.selectedItem===null)){const o=this.__getItemIndexByValue(this.filteredItems,e);(o<0||!this._getItemLabel(this.filteredItems[o]))&&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(t){if(this._pendingRequests){const e=Math.ceil(t/this.pageSize);Object.entries(this._pendingRequests).forEach(([o,a])=>{parseInt(o)>=e&&a([],t)})}}};/**
|
|
10353
10353
|
* @license
|
|
10354
10354
|
* Copyright (c) 2023 Vaadin Ltd.
|
|
10355
10355
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -10365,11 +10365,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10365
10365
|
* @license
|
|
10366
10366
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
10367
10367
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10368
|
-
*/function QC(i){return i!=null}function Ct(i,C){return i.findIndex(t=>t instanceof y2?!1:C(t))}const Lg=i=>class extends cg(Q8(t4(q8(j3(Y8(W5(i))))))){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(t){super._inputElementChanged(t);const e=this._nativeInput;e&&(e.autocomplete="off",e.autocapitalize="off",e.setAttribute("role","combobox"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-expanded",!!this.opened),e.setAttribute("spellcheck","false"),e.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 t=()=>{requestAnimationFrame(()=>{this._overlayElement.bringToFront()})};this.addEventListener("mousedown",t),this.addEventListener("touchstart",t),pg(this),this.addController(new vg(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){!this._scroller||(this._scroller.requestContentUpdate(),this._getItemElements().forEach(t=>{t.requestContentUpdate()}))}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(t,e,o){super._propertiesChanged(t,e,o),e.filter!==void 0&&this._filterChanged(e.filter)}_initOverlay(){const t=this.$.overlay;t._comboBox=this,t.addEventListener("touchend",this._boundOnOverlayTouchAction),t.addEventListener("touchmove",this._boundOnOverlayTouchAction),t.addEventListener("mousedown",e=>e.preventDefault()),t.addEventListener("opened-changed",e=>{this._overlayOpened=e.detail.value}),this._overlayElement=t}_initScroller(t){const e=`${this._tagNamePrefix}-scroller`,o=this._overlayElement;o.renderer=n=>{n.firstChild||n.appendChild(document.createElement(e))},o.requestContentUpdate();const a=o.querySelector(e);a.owner=t||this,a.getItemLabel=this._getItemLabel.bind(this),a.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged),this._scroller=a}_updateScroller(t,e,o,a,n,r,l,h,c){t&&(o&&(t.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),t.setProperties({items:o?e:[],opened:o,loading:a,selectedItem:n,itemIdPath:r,focusedIndex:l,renderer:h,theme:c}))}_openedOrItemsChanged(t,e,o){this._overlayOpened=!!(t&&(o||e&&e.length))}_overlayOpenedChanged(t,e){t?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):e&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(t,e){e!==void 0&&this._updateActiveDescendant(t)}_isInputFocused(){return this.inputElement&&ZC(this.inputElement)}_updateActiveDescendant(t){const e=this._nativeInput;if(!e)return;const o=this._getItemElements().find(a=>a.index===t);o?e.setAttribute("aria-activedescendant",o.id):e.removeAttribute("aria-activedescendant")}_openedChanged(t,e){if(e===void 0)return;t?(this._openedWithFocusRing=this.hasAttribute("focus-ring"),!this._isInputFocused()&&!F8&&this.inputElement&&this.inputElement.focus(),this._overlayElement.restoreFocusOnClose=!0):(this._onClosed(),this._openedWithFocusRing&&this._isInputFocused()&&this.setAttribute("focus-ring",""));const o=this._nativeInput;o&&(o.setAttribute("aria-expanded",!!t),t?o.setAttribute("aria-controls",this._scroller.id):o.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(t){return t.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(t){t.preventDefault(),this.inputElement.focus()}_onClearButtonClick(t){t.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(t){t.preventDefault(),this.opened?this.close():this.open()}_onHostClick(t){this.autoOpenDisabled||(t.preventDefault(),this.open())}_onClick(t){this._isClearButton(t)?this._onClearButtonClick(t):t.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(t):this._onHostClick(t)}_onKeyDown(t){super._onKeyDown(t),t.key==="Tab"?this._overlayElement.restoreFocusOnClose=!1:t.key==="ArrowDown"?(this._onArrowDown(),t.preventDefault()):t.key==="ArrowUp"&&(this._onArrowUp(),t.preventDefault())}_getItemLabel(t){let e=t&&this.itemLabelPath?R5(this.itemLabelPath,t):void 0;return e==null&&(e=t?t.toString():""),e}_getItemValue(t){let e=t&&this.itemValuePath?R5(this.itemValuePath,t):void 0;return e===void 0&&(e=t?t.toString():""),e}_onArrowDown(){if(this.opened){const t=this._dropdownItems;t&&(this._focusedIndex=Math.min(t.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 t=this._dropdownItems;t&&(this._focusedIndex=t.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){if(this._focusedIndex>-1){const t=this._dropdownItems[this._focusedIndex];this._inputElementValue=this._getItemLabel(t),this._markAllSelectionRange()}}_setSelectionRange(t,e){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(t,e)}_markAllSelectionRange(){this._inputElementValue!==void 0&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(this._inputElementValue!==void 0){const t=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(t,t)}}_closeOrCommit(){!this.opened&&!this.loading?this._commitValue():this.close()}_onEnter(t){if(!this._hasValidInputValue()){t.preventDefault(),t.stopPropagation();return}this.opened&&(t.preventDefault(),t.stopPropagation()),this._closeOrCommit()}_hasValidInputValue(){const t=this._focusedIndex<0&&this._inputElementValue!==""&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;return this.allowCustomValue||!t}_onEscape(t){this.autoOpenDisabled?this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0?(t.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.clearButtonVisible&&!this.opened&&!!this.value&&(t.stopPropagation(),this._onClearAction()):this.opened?(t.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&!!this.value&&(t.stopPropagation(),this._onClearAction())}_toggleElementChanged(t){t&&(t.addEventListener("mousedown",e=>e.preventDefault()),t.addEventListener("click",()=>{F8&&!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 t=this._dropdownItems[this._focusedIndex];this.selectedItem!==t&&(this.selectedItem=t),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 t=[this.selectedItem,...this._dropdownItems||[]],e=t[this.__getItemIndexByLabel(t,this._inputElementValue)];if(this.allowCustomValue&&!e){const o=this._inputElementValue;this._lastCustomValue=o;const a=new CustomEvent("custom-value-set",{detail:o,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(a),a.defaultPrevented||(this.value=o)}else!this.allowCustomValue&&!this.opened&&e?this.value=this._getItemValue(e):this._inputElementValue=this.selectedItem?this._getItemLabel(this.selectedItem):this.value||""}this._detectAndDispatchChange(),this._clearSelectionRange(),this.filter=""}_onInput(t){const e=this._inputElementValue,o={};this.filter===e?this._filterChanged(this.filter):o.filter=e,!this.opened&&!this._isClearButton(t)&&!this.autoOpenDisabled&&(o.opened=!0),this.setProperties(o)}_onChange(t){t.stopPropagation()}_itemLabelPathChanged(t){typeof t!="string"&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(t){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,t):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(t){if(t==null)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const e=this._getItemValue(t);if(this.value!==e&&(this.value=e,this.value!==e))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(t)}}_valueChanged(t,e){t===""&&e===void 0||(QC(t)?(this._getItemValue(this.selectedItem)!==t&&this._selectItemForValue(t),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=t),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(t,e){this._ensureItemsOrDataProvider(()=>{this.items=e}),t?this.filteredItems=t.slice(0):e&&(this.filteredItems=null)}_filteredItemsChanged(t,e){this._setDropdownItems(t);const o=e?e[this._focusedIndex]:null,a=this.__getItemIndexByValue(t,this.value);(this.selectedItem===null||this.selectedItem===void 0)&&a>=0&&(this.selectedItem=t[a]);const n=this.__getItemIndexByValue(t,this._getItemValue(o));n>-1?this._focusedIndex=n:this._focusedIndex=this.__getItemIndexByLabel(this.filteredItems,this.filter)}_filterItems(t,e){return t&&t.filter(a=>(e=e?e.toString().toLowerCase():"",this._getItemLabel(a).toString().toLowerCase().indexOf(e)>-1))}_selectItemForValue(t){const e=this.__getItemIndexByValue(this.filteredItems,t),o=this.selectedItem;e>=0?this.selectedItem=this.filteredItems[e]:this.dataProvider&&this.selectedItem===void 0?this.selectedItem=void 0:this.selectedItem=null,this.selectedItem===null&&o===null&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(t){this._dropdownItems=t}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(t){!this._scroller||this._scroller.scrollIntoView(t)}__getItemIndexByValue(t,e){return!t||!QC(e)?-1:Ct(t,o=>this._getItemValue(o)===e)}__getItemIndexByLabel(t,e){return!t||!e?-1:Ct(t,o=>this._getItemLabel(o).toString().toLowerCase()===e.toString().toLowerCase())}_overlaySelectedItemChanged(t){t.stopPropagation(),!(t.detail.item instanceof y2)&&this.opened&&(this._focusedIndex=this.filteredItems.indexOf(t.detail.item),this.close())}_setFocused(t){if(super._setFocused(t),!t&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue){delete this._lastCustomValue;return}this._closeOrCommit()}}_shouldRemoveFocus(t){return t.relatedTarget&&t.relatedTarget.localName===`${this._tagNamePrefix}-item`?!1:t.relatedTarget===this._overlayElement?(t.composedPath()[0].focus(),!1):!0}_onTouchend(t){!this.clearElement||t.composedPath()[0]!==this.clearElement||(t.preventDefault(),this._onClearAction())}};/**
|
|
10368
|
+
*/function QC(i){return i!=null}function Ct(i,C){return i.findIndex(t=>t instanceof z2?!1:C(t))}const Lg=i=>class extends cg(Q8(t4(q8(U3(Y8(Y5(i))))))){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(t){super._inputElementChanged(t);const e=this._nativeInput;e&&(e.autocomplete="off",e.autocapitalize="off",e.setAttribute("role","combobox"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-expanded",!!this.opened),e.setAttribute("spellcheck","false"),e.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 t=()=>{requestAnimationFrame(()=>{this._overlayElement.bringToFront()})};this.addEventListener("mousedown",t),this.addEventListener("touchstart",t),pg(this),this.addController(new vg(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){!this._scroller||(this._scroller.requestContentUpdate(),this._getItemElements().forEach(t=>{t.requestContentUpdate()}))}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(t,e,o){super._propertiesChanged(t,e,o),e.filter!==void 0&&this._filterChanged(e.filter)}_initOverlay(){const t=this.$.overlay;t._comboBox=this,t.addEventListener("touchend",this._boundOnOverlayTouchAction),t.addEventListener("touchmove",this._boundOnOverlayTouchAction),t.addEventListener("mousedown",e=>e.preventDefault()),t.addEventListener("opened-changed",e=>{this._overlayOpened=e.detail.value}),this._overlayElement=t}_initScroller(t){const e=`${this._tagNamePrefix}-scroller`,o=this._overlayElement;o.renderer=n=>{n.firstChild||n.appendChild(document.createElement(e))},o.requestContentUpdate();const a=o.querySelector(e);a.owner=t||this,a.getItemLabel=this._getItemLabel.bind(this),a.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged),this._scroller=a}_updateScroller(t,e,o,a,n,r,l,h,c){t&&(o&&(t.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),t.setProperties({items:o?e:[],opened:o,loading:a,selectedItem:n,itemIdPath:r,focusedIndex:l,renderer:h,theme:c}))}_openedOrItemsChanged(t,e,o){this._overlayOpened=!!(t&&(o||e&&e.length))}_overlayOpenedChanged(t,e){t?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):e&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(t,e){e!==void 0&&this._updateActiveDescendant(t)}_isInputFocused(){return this.inputElement&&ZC(this.inputElement)}_updateActiveDescendant(t){const e=this._nativeInput;if(!e)return;const o=this._getItemElements().find(a=>a.index===t);o?e.setAttribute("aria-activedescendant",o.id):e.removeAttribute("aria-activedescendant")}_openedChanged(t,e){if(e===void 0)return;t?(this._openedWithFocusRing=this.hasAttribute("focus-ring"),!this._isInputFocused()&&!F8&&this.inputElement&&this.inputElement.focus(),this._overlayElement.restoreFocusOnClose=!0):(this._onClosed(),this._openedWithFocusRing&&this._isInputFocused()&&this.setAttribute("focus-ring",""));const o=this._nativeInput;o&&(o.setAttribute("aria-expanded",!!t),t?o.setAttribute("aria-controls",this._scroller.id):o.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(t){return t.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(t){t.preventDefault(),this.inputElement.focus()}_onClearButtonClick(t){t.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(t){t.preventDefault(),this.opened?this.close():this.open()}_onHostClick(t){this.autoOpenDisabled||(t.preventDefault(),this.open())}_onClick(t){this._isClearButton(t)?this._onClearButtonClick(t):t.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(t):this._onHostClick(t)}_onKeyDown(t){super._onKeyDown(t),t.key==="Tab"?this._overlayElement.restoreFocusOnClose=!1:t.key==="ArrowDown"?(this._onArrowDown(),t.preventDefault()):t.key==="ArrowUp"&&(this._onArrowUp(),t.preventDefault())}_getItemLabel(t){let e=t&&this.itemLabelPath?j5(this.itemLabelPath,t):void 0;return e==null&&(e=t?t.toString():""),e}_getItemValue(t){let e=t&&this.itemValuePath?j5(this.itemValuePath,t):void 0;return e===void 0&&(e=t?t.toString():""),e}_onArrowDown(){if(this.opened){const t=this._dropdownItems;t&&(this._focusedIndex=Math.min(t.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 t=this._dropdownItems;t&&(this._focusedIndex=t.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){if(this._focusedIndex>-1){const t=this._dropdownItems[this._focusedIndex];this._inputElementValue=this._getItemLabel(t),this._markAllSelectionRange()}}_setSelectionRange(t,e){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(t,e)}_markAllSelectionRange(){this._inputElementValue!==void 0&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(this._inputElementValue!==void 0){const t=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(t,t)}}_closeOrCommit(){!this.opened&&!this.loading?this._commitValue():this.close()}_onEnter(t){if(!this._hasValidInputValue()){t.preventDefault(),t.stopPropagation();return}this.opened&&(t.preventDefault(),t.stopPropagation()),this._closeOrCommit()}_hasValidInputValue(){const t=this._focusedIndex<0&&this._inputElementValue!==""&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;return this.allowCustomValue||!t}_onEscape(t){this.autoOpenDisabled?this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0?(t.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.clearButtonVisible&&!this.opened&&!!this.value&&(t.stopPropagation(),this._onClearAction()):this.opened?(t.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&!!this.value&&(t.stopPropagation(),this._onClearAction())}_toggleElementChanged(t){t&&(t.addEventListener("mousedown",e=>e.preventDefault()),t.addEventListener("click",()=>{F8&&!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 t=this._dropdownItems[this._focusedIndex];this.selectedItem!==t&&(this.selectedItem=t),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 t=[this.selectedItem,...this._dropdownItems||[]],e=t[this.__getItemIndexByLabel(t,this._inputElementValue)];if(this.allowCustomValue&&!e){const o=this._inputElementValue;this._lastCustomValue=o;const a=new CustomEvent("custom-value-set",{detail:o,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(a),a.defaultPrevented||(this.value=o)}else!this.allowCustomValue&&!this.opened&&e?this.value=this._getItemValue(e):this._inputElementValue=this.selectedItem?this._getItemLabel(this.selectedItem):this.value||""}this._detectAndDispatchChange(),this._clearSelectionRange(),this.filter=""}_onInput(t){const e=this._inputElementValue,o={};this.filter===e?this._filterChanged(this.filter):o.filter=e,!this.opened&&!this._isClearButton(t)&&!this.autoOpenDisabled&&(o.opened=!0),this.setProperties(o)}_onChange(t){t.stopPropagation()}_itemLabelPathChanged(t){typeof t!="string"&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(t){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,t):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(t){if(t==null)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const e=this._getItemValue(t);if(this.value!==e&&(this.value=e,this.value!==e))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(t)}}_valueChanged(t,e){t===""&&e===void 0||(QC(t)?(this._getItemValue(this.selectedItem)!==t&&this._selectItemForValue(t),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=t),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(t,e){this._ensureItemsOrDataProvider(()=>{this.items=e}),t?this.filteredItems=t.slice(0):e&&(this.filteredItems=null)}_filteredItemsChanged(t,e){this._setDropdownItems(t);const o=e?e[this._focusedIndex]:null,a=this.__getItemIndexByValue(t,this.value);(this.selectedItem===null||this.selectedItem===void 0)&&a>=0&&(this.selectedItem=t[a]);const n=this.__getItemIndexByValue(t,this._getItemValue(o));n>-1?this._focusedIndex=n:this._focusedIndex=this.__getItemIndexByLabel(this.filteredItems,this.filter)}_filterItems(t,e){return t&&t.filter(a=>(e=e?e.toString().toLowerCase():"",this._getItemLabel(a).toString().toLowerCase().indexOf(e)>-1))}_selectItemForValue(t){const e=this.__getItemIndexByValue(this.filteredItems,t),o=this.selectedItem;e>=0?this.selectedItem=this.filteredItems[e]:this.dataProvider&&this.selectedItem===void 0?this.selectedItem=void 0:this.selectedItem=null,this.selectedItem===null&&o===null&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(t){this._dropdownItems=t}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(t){!this._scroller||this._scroller.scrollIntoView(t)}__getItemIndexByValue(t,e){return!t||!QC(e)?-1:Ct(t,o=>this._getItemValue(o)===e)}__getItemIndexByLabel(t,e){return!t||!e?-1:Ct(t,o=>this._getItemLabel(o).toString().toLowerCase()===e.toString().toLowerCase())}_overlaySelectedItemChanged(t){t.stopPropagation(),!(t.detail.item instanceof z2)&&this.opened&&(this._focusedIndex=this.filteredItems.indexOf(t.detail.item),this.close())}_setFocused(t){if(super._setFocused(t),!t&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue){delete this._lastCustomValue;return}this._closeOrCommit()}}_shouldRemoveFocus(t){return t.relatedTarget&&t.relatedTarget.localName===`${this._tagNamePrefix}-item`?!1:t.relatedTarget===this._overlayElement?(t.composedPath()[0].focus(),!1):!0}_onTouchend(t){!this.clearElement||t.composedPath()[0]!==this.clearElement||(t.preventDefault(),this._onClearAction())}};/**
|
|
10369
10369
|
* @license
|
|
10370
10370
|
* Copyright (c) 2015 - 2023 Vaadin Ltd.
|
|
10371
10371
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10372
|
-
|
|
10372
|
+
*/A3("vaadin-combo-box",hg,{moduleId:"vaadin-combo-box-styles"});class gg extends dg(Lg(ag(ig(g8(IL(o1)))))){static get is(){return"vaadin-combo-box"}static get template(){return f1`
|
|
10373
10373
|
<style>
|
|
10374
10374
|
:host([opened]) {
|
|
10375
10375
|
pointer-events: auto;
|
|
@@ -10415,7 +10415,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10415
10415
|
></vaadin-combo-box-overlay>
|
|
10416
10416
|
|
|
10417
10417
|
<slot name="tooltip"></slot>
|
|
10418
|
-
`}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new og(this,C=>{this._setInputElement(C),this._setFocusElement(C),this.stateTarget=C,this.ariaTarget=C})),this.addController(new sg(this.inputElement,this._labelController)),this._tooltipController=new DL(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(C=>!C.opened),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(C){C.stopPropagation(),super._onClearButtonClick(C)}_onHostClick(C){const t=C.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(C)}}
|
|
10418
|
+
`}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new og(this,C=>{this._setInputElement(C),this._setFocusElement(C),this.stateTarget=C,this.ariaTarget=C})),this.addController(new sg(this.inputElement,this._labelController)),this._tooltipController=new DL(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(C=>!C.opened),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(C){C.stopPropagation(),super._onClearButtonClick(C)}_onHostClick(C){const t=C.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(C)}}T5(gg);class ug extends M{static formAssociated=!0;static styles=O7;constructor(){super(),this.type="select",this.label="",this.placeholder="Seleccione",this.name=this.getAttribute("label")?.toLowerCase().replace(" ","-")||"select",this.value="",this.data=[],this.filteredData=[],this.itemValuePath=null,this.size="small",this.required=!1,this.fullWidth=!1,this.showDropdown=!1,this.disabled=!1,this.autoselect=!1,this.clearButtonVisible=!1,this.helperText=""}static properties={theme:{type:String},type:{type:String},label:{type:String},placeholder:{type:String},name:{type:String},value:{type:String},data:{type:Array},size:{type:String},fullWidth:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},showDropdown:{type:Boolean},autoselect:{type:Boolean},clearButtonVisible:{type:Boolean},isSelectError:{type:String},secondaryIcon:{type:String},helperText:{type:String},itemValuePath:{type:String},itemLabelPath:{type:String}};static shadowRootOptions={...M.shadowRootOptions,mode:"open"};_onChange(C){const t=C.composedPath()[0].selectedItem;this.value=typeof t=="string"?t:t?.value||t?.label,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0}));const e={value:this.value,name:this.name,message:"Success",success:!0,error:!1};this.dispatchEvent(new CustomEvent("callback",{detail:e,bubbles:!0,composed:!0}))}filterChanged(C){const t=C.detail.value;if(this.itemValuePath=t,!t){this.filteredData=this.data;return}this.filteredData=this.data?.filter(e=>typeof e=="string"?e?.toLowerCase().includes(t.toLowerCase()):e?.keywords?.some(o=>o?.toLowerCase().includes(t.toLowerCase()))||e?.label?.toLowerCase().includes(t.toLowerCase())),this.requestUpdate()}updated(C){C.has("data")}handleRender(){const C=o=>{const a=o?.keywords?.length>2;return u`
|
|
10419
10419
|
<div class="custom">
|
|
10420
10420
|
<cas-text variant="body2" class="label">
|
|
10421
10421
|
${typeof o=="string"?o:o.label}
|
|
@@ -10576,7 +10576,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10576
10576
|
}
|
|
10577
10577
|
|
|
10578
10578
|
.danger .icon {
|
|
10579
|
-
color: ${g(
|
|
10579
|
+
color: ${g(e5)};
|
|
10580
10580
|
}
|
|
10581
10581
|
|
|
10582
10582
|
.warning .icon {
|
|
@@ -10615,7 +10615,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10615
10615
|
}
|
|
10616
10616
|
|
|
10617
10617
|
.alert-big.danger .icon {
|
|
10618
|
-
background-color: ${g(
|
|
10618
|
+
background-color: ${g(m6)};
|
|
10619
10619
|
}
|
|
10620
10620
|
|
|
10621
10621
|
.alert-big.warning .icon {
|
|
@@ -10627,7 +10627,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10627
10627
|
}
|
|
10628
10628
|
|
|
10629
10629
|
.alert-big.success .icon {
|
|
10630
|
-
background-color: ${g(
|
|
10630
|
+
background-color: ${g(Ee)};
|
|
10631
10631
|
}
|
|
10632
10632
|
|
|
10633
10633
|
.alert-big .icon-container {
|
|
@@ -10764,7 +10764,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10764
10764
|
position: absolute;
|
|
10765
10765
|
top: 62px;
|
|
10766
10766
|
right: 0;
|
|
10767
|
-
width:
|
|
10767
|
+
width: 231px;
|
|
10768
10768
|
min-height: 100px;
|
|
10769
10769
|
background: #fff;
|
|
10770
10770
|
box-shadow: 0 30px 40px rgba(200, 200, 200, 0.25);
|
|
@@ -10948,7 +10948,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10948
10948
|
width: 100%;
|
|
10949
10949
|
}
|
|
10950
10950
|
}
|
|
10951
|
-
`;const tt={head:[{id:1,icon:"flat-info",name:"Centro de ayuda",url:"https://centrodeayuda.clinicaalemana.cl/?itm_source=header-cas&itm_medium=web&itm_campaign=centro-de-ayuda-header&_ga=2.163849791.1865825919.1676902332-1791707714.1661293851&_gl=1*11v0ttz*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NjkxNDIzNi44Ny4wLjE2NzY5MTQyMzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NjkxNDIzNi45Ny4wLjE2NzY5MTQyMzYuNjAuMC4w",hasChildren:!1},{id:2,icon:"flat-helpCenter",name:"Llamar",hasChildren:!0,children:[{name:"Mesa Central",text:"+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{name:"Reserva de horas",text:"+56 2 2910 1700",icon:"flat-calendarOn",url:"tel:+56229101700"},{name:"Rescate",text:"+56 2 2910 9911",icon:"flat-urgency",url:"tel:+56229109911"}]},{id:3,icon:"flat-profileOff",name:"Mi Alemana Go",hasChildren:!0,children:[{name:"Iniciar sesi\xF3n",login:!0,url:"https://www.clinicaalemana.cl/alemana-go-web?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-iniciar-sesion"},{name:"Crear cuenta",url:"https://miclave.clinicaalemana.cl?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-pide-tu-clave&_ga=2.98190751.1865825919.1676902332-1791707714.1661293851&_gl=1*1oaa24h*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NzA3NjU3Ni45Ny4wLjE2NzcwNzY1NzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NzA3NjU3Ni4xMDcuMC4xNjc3MDc2NTc2LjYwLjAuMA.."}]}],support:[{id:4,name:"Centro de ayuda",icon:"flat-question",url:"https://centrodeayuda.clinicaalemana.cl/"},{id:1,name:"Mesa Central +56 22210 1111",icon:"flat-phone",url:"tel:+56222101111"},{id:2,name:"Reserva de hora +56 22210 1700",icon:"flat-phone",url:"tel:+56222101700"},{id:3,name:"Rescate Alemana +56 22910 9911",icon:"flat-phone",url:"tel:+56229109911"}],legals:[{id:1,name:"Informaci\xF3n normativa",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales"},{id:2,name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"},{id:3,name:"T\xE9rminos legales",url:"https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"}]},et=[{id:1,name:"Servicios en l\xEDnea",icon:"flat-medicTool",hasChildren:!0,children:[{section:"Valores y pagos",items:[{name:"Aranceles",text:"Conoce los valores",icon:"flat-search",url:"https://www.alemana.cl/wls/arancel",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-aranceles"},{name:"Presupuesto maternidad",text:"Pide tu cotizaci\xF3n",icon:"flat-pregnant",url:"https://www.alemana.cl/pptoweb/Presupuesto/Maternidad#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-maternalidad"},{name:"Presupuesto hospitalizaci\xF3n",text:"Solicita tu cotizaci\xF3n",icon:"flat-medicTool",url:"https://www.alemana.cl/pptoweb/Presupuesto/Hospitalizacion#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-hospitalizacion"},{name:"Pago de cuentas",text:"Ambulatorio y hospitalizaci\xF3n",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/?itm_source=clinicaalemana&itm_medium=web&itm_campaign=menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas"},{name:"Pago por Webpay",text:"Convenio accidentes y cirug\xEDa pl\xE1stica",icon:"flat-creditCard",url:"https://www.webpay.cl/company/29421",tracking_type:"utm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-por-webpay"},{name:"Isapres preferentes",text:"Con cobertura en la cl\xEDnica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-isapres-preferentes"}]},{section:"Ex\xE1menes",items:[{name:"Agendar",text:"Reserva tus ex\xE1menes",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-agendar"},{name:"Simulador",text:"Simula el copago estimado",icon:"flat-fileInvoiceDollar",url:"https://simulador.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-simulador"},{name:"Indicaciones",text:"Revisa c\xF3mo prepararte",icon:"flat-paper",url:"https://www.alemana.cl/masterweb/Frm/BuscaExamen.aspx",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-indicaciones"},{name:"Resultados",text:"Descarga informes e im\xE1genes",icon:"flat-ticket",url:"https://exameneslab.alemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-resultados"}]},{section:"Hospitalizaci\xF3n",items:[{name:"Preadmisi\xF3n",text:"Real\xEDzala antes de tu ingreso",icon:"flat-profileOff",url:"https://m.alemana.cl/preadmision",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-preadmision"},{name:"Gu\xEDa de ingreso",text:"Lo que debes tener en cuenta ",icon:"flat-listOff",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-guia-de-ingreso"},{name:"Proceso de alta",text:"Con\xF3celo en detalle",icon:"flat-success",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/alta-medica",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-proceso-de-alta"},{name:"Pago de cuentas",text:"Regulariza tu situaci\xF3n",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/pago-de-hospitalizacion?itm_source=clinicaalemana&itm_medium=web&itm_campaign=menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas"}]},{section:"Reserva de hora",items:[{name:"Presencial",text:"Dir\xEDgete a una sucursal",icon:"flat-calendarOn",url:"https://reserva.alemana.cl/"},{name:"Telemedicina",text:"Ati\xE9ndete desde cualquier lugar",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Para s\xEDntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"Ex\xE1menes y procedimientos",text:"Agenda tus pruebas m\xE9dicas",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos"},{name:"A domicilio",text:"Ati\xE9ndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"}]}],align:"start",cta:{visible:!1,size:"large",color:"gray",title:"\xBFNecesitas realizarte un examen o procedimiento?",text:"Tenemos m\xE1s de 700 tipos de an\xE1lisis disponibles para ti.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Reservar",url:""}}},{id:2,name:"Especialidades y servicios",icon:"flat-doctor",hasChildren:!0,children:[{section:"Atenciones",items:[{name:"Servicios cl\xEDnicos",text:"Conoce los que tenemos",icon:"flat-tube",url:"https://www.clinicaalemana.cl/nuestros-servicios/servicios-clinicos",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-servicios-clinicos"},{name:"Especialidades",text:"Revisa las m\xE1s de 60 disponibles ",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/nuestros-servicios/especialidades",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-especialidades"},{name:"Nuestros m\xE9dicos",text:"Busca por \xE1rea o especialidad",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/profesional"},{name:"Sucursales",text:"Busca la m\xE1s cercana",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/sucursales"}]},{section:"Modalidad de atenci\xF3n",items:[{name:"Telemedicina",text:"Consulta de forma virtual",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Consulta para s\xEDntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"A domicilio",text:"Ati\xE9ndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"},{name:"Presencial",text:"Dir\xEDgete a una sucursal",icon:"flat-branchOffices",url:"https://reserva.alemana.cl/reserva/portal/busqueda",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-presencial"}]},{section:"Atenci\xF3n especializada",columns:2,items:[{name:"Maternidad integral",text:"Conoce nuestro servicio",icon:"flat-pregnant",url:"https://www.clinicaalemana.cl/especialidades/maternidad-y-familia/maternidad-integral",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-maternidad-integral"},{name:"Paciente regional",text:"Gestiona tu visita",icon:"flat-regionalPatient",url:"https://www.clinicaalemana.cl/paciente-regional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-regional"},{name:"Hospitalizaci\xF3n",text:"Revisa todo el proceso",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-hospitalizacion"},{name:"Covid-19",text:"Inf\xF3rmate sobre lo nuevo",icon:"flat-syringe",url:"https://www.clinicaalemana.cl/covid-19",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-covid-19"},{name:"Salud empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-salud-empresa"},{name:"Centros",text:"Busca el m\xE1s cercano",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/centros",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-centros"},{name:"Paciente internacional",text:"Solicita tu atenci\xF3n",icon:"flat-interPatient",url:"https://www.clinicaalemana.cl/paciente-internacional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-internacional"},{name:"Programas",text:"Encuentra el mejor para ti",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/programas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-programas"}]}],align:"center",cta:{visible:!1,size:"small",color:"purple",title:"\xBFNecesitas un presupuesto?",text:"Puedes solicitar uno para tu parto o una hospitalizaci\xF3n.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Solicitar",url:""}}},{id:3,name:"Seguros y convenios",icon:"flat-safety",hasChildren:!0,children:[{section:"",items:[{name:"Convenio de Accidentes",text:"Protege a tu familia",icon:"flat-safety",url:"https://www.clinicaalemana.cl/convenio-de-accidentes",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-convenio-de-accidentes"},{name:"Alemana Seguros",text:"Elige el mejor para ti",icon:"flat-safety",url:"https://www.alemanaseguros.cl",tracking_type:"utm",campaign:"clininicalamana_menu_superior"},{name:"Todo Alemana",text:"Revisa nuestros planes",icon:"flat-safety",url:"https://www.clinicaalemana.cl/todo-alemana/caracteristicas-generales",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-todo-alemana"},{name:"Isapres preferentes",text:"Con cobertura en la cl\xEDnica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana"}]}],align:"center",cta:{visible:!1,size:"medium",color:"red",title:"\xBFNecesitas realizarte un examen?",text:"M\xE1s de 700 ex\xE1menes y procedimeintos disponibles",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Agendar ",url:""}}},{id:4,name:"Prevenci\xF3n y bienestar",icon:"flat-sex",hasChildren:!0,children:[{section:"Personas",items:[{name:"Chequeos y programas",text:"Encuentra la mejor opci\xF3n",icon:"flat-chartOff",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/acciones-para-cuidarte",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-acciones-para-cuidarte"},{name:"Importancia de cuidarse",text:"Descubre por qu\xE9 hacerlo",icon:"flat-lightbulb",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/importancia-de-cuidarse",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-importancia-de-cuidarse"},{name:"Aprende a cuidarte",text:"Revisa nuestros consejos",icon:"flat-search",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/aprender",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-aprende-a-cuidarte"}]},{section:"Empresas",items:[{name:"Salud Empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-empresas-salud-empresa"}]}],align:"end",cta:{visible:!1}},{id:5,name:"Educaci\xF3n de salud",icon:"flat-youtube",hasChildren:!0,children:[{section:"",items:[{name:"Todo sobre salud",text:"Revisa las principales noticias",icon:"flat-newspaper2",url:"https://www.clinicaalemana.cl/articulos/todas-las-noticias",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-todo-sobre-salud"},{name:"Banco de enfermedades",text:"Encuentra todo lo que necesitas",icon:"flat-textColor",url:"https://www.clinicaalemana.cl/banco-de-enfermedades",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-banco-de-enfermedades"},{name:"Alemana Podcast",text:"Escucha a nuestros expertos ",icon:"flat-spotify",url:"https://www.clinicaalemana.cl/centro-de-extension/podcast",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-alemana-podcast"},{name:"Charlas y talleres",text:"Aprende con nuestros especialistas",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/centro-de-extension/bienvenida-charlas-y-talleres",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-charlas-y-talleres"},{name:"Video educativos",text:"Mira nuestro contenido",icon:"flat-youtube",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA",tracking_type:"utm",campaign:"menu-superior-educaci\xF3n-de-salud-video-educativos"}]}],align:"end",cta:{visible:!1}}],Vg=tt.head;class Zg extends M{static styles=Hg;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={theme:{type:String},variant:{type:String},isMobile:{type:Boolean},isTablet:{type:Boolean},isMacbookAir:{type:Boolean}};constructor(){super(),this.showSignin=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}openSignIn(){this.showSignin=!0,this.requestUpdate()}closeSingIn(){this.showSignin=!1,this.requestUpdate()}openMenu(){const C=new CustomEvent("openMenuMobile");document.dispatchEvent(C)}updated(){const C=this.shadowRoot.querySelectorAll(".group > li");C.forEach(t=>{t.addEventListener("click",()=>{C.forEach(e=>{e.classList.remove("active")}),t.classList.add("active")})})}render(){const{isMobile:C,isTablet:t,isMacbookAir:e}=this,o=Vg,a=e?"Reservar":"Reservar hora";document.addEventListener("click",h=>{h.composedPath().includes(this)||this.shadowRoot.querySelectorAll(".group > li").forEach(d=>{d.classList.remove("active")})});const n=h=>{const{icon:c,name:d,text:p,url:v,login:L}=h;return u`<li>
|
|
10951
|
+
`;const tt={head:[{id:1,icon:"flat-info",name:"Centro de ayuda",url:"https://centrodeayuda.clinicaalemana.cl/?itm_source=header-cas&itm_medium=web&itm_campaign=centro-de-ayuda-header&_ga=2.163849791.1865825919.1676902332-1791707714.1661293851&_gl=1*11v0ttz*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NjkxNDIzNi44Ny4wLjE2NzY5MTQyMzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NjkxNDIzNi45Ny4wLjE2NzY5MTQyMzYuNjAuMC4w",hasChildren:!1},{id:2,icon:"flat-helpCenter",name:"Llamar",hasChildren:!0,children:[{name:"Mesa Central",text:"+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{name:"Reserva de horas",text:"+56 2 2910 1700",icon:"flat-calendarOn",url:"tel:+56229101700"},{name:"Rescate de emergencia",text:"+56 2 2910 9911",icon:"flat-urgency",url:"tel:+56229109911"}]},{id:3,icon:"flat-profileOff",name:"Mi Alemana Go",hasChildren:!0,children:[{name:"Iniciar sesi\xF3n",login:!0,url:"https://www.clinicaalemana.cl/alemana-go-web?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-iniciar-sesion"},{name:"Crear cuenta",url:"https://miclave.clinicaalemana.cl?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-pide-tu-clave&_ga=2.98190751.1865825919.1676902332-1791707714.1661293851&_gl=1*1oaa24h*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NzA3NjU3Ni45Ny4wLjE2NzcwNzY1NzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NzA3NjU3Ni4xMDcuMC4xNjc3MDc2NTc2LjYwLjAuMA.."}]}],support:[{id:4,name:"Centro de ayuda",icon:"flat-question",url:"https://centrodeayuda.clinicaalemana.cl/"},{id:1,name:"Mesa Central <br>+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{id:2,name:"Reserva de hora <br>+56 22210 1700",icon:"flat-calendarOn",url:"tel:+56222101700"},{id:3,name:"Rescate de emergencia <br> +56 22910 9911",icon:"flat-phone",url:"tel:+56229109911"}],legals:[{id:1,name:"Informaci\xF3n normativa",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales"},{id:2,name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"},{id:3,name:"T\xE9rminos legales",url:"https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"}]},et=[{id:1,name:"Servicios en l\xEDnea",icon:"flat-medicTool",hasChildren:!0,children:[{section:"Valores y pagos",items:[{name:"Aranceles",text:"Conoce los valores",icon:"flat-search",url:"https://www.alemana.cl/wls/arancel",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-aranceles"},{name:"Presupuesto maternidad",text:"Pide tu cotizaci\xF3n",icon:"flat-pregnant",url:"https://www.alemana.cl/pptoweb/Presupuesto/Maternidad#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-maternalidad"},{name:"Presupuesto hospitalizaci\xF3n",text:"Solicita tu cotizaci\xF3n",icon:"flat-medicTool",url:"https://www.alemana.cl/pptoweb/Presupuesto/Hospitalizacion#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-hospitalizacion"},{name:"Pago de cuentas",text:"Ambulatorio y hospitalizaci\xF3n",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas"},{name:"Pago por Webpay",text:"Convenio accidentes y cirug\xEDa pl\xE1stica",icon:"flat-creditCard",url:"https://www.webpay.cl/company/29421",tracking_type:"utm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-por-webpay"},{name:"Isapres preferentes",text:"Con cobertura en la cl\xEDnica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-isapres-preferentes"}]},{section:"Ex\xE1menes",items:[{name:"Agendar",text:"Reserva tus ex\xE1menes",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-agendar"},{name:"Simulador",text:"Simula el copago estimado",icon:"flat-fileInvoiceDollar",url:"https://simulador.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-simulador"},{name:"Indicaciones",text:"Revisa c\xF3mo prepararte",icon:"flat-paper",url:"https://www.alemana.cl/masterweb/Frm/BuscaExamen.aspx",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-indicaciones"},{name:"Resultados",text:"Descarga informes e im\xE1genes",icon:"flat-ticket",url:"https://exameneslab.alemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-resultados"}]},{section:"Hospitalizaci\xF3n",items:[{name:"Preadmisi\xF3n",text:"Real\xEDzala antes de tu ingreso",icon:"flat-profileOff",url:"https://m.alemana.cl/preadmision",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-preadmision"},{name:"Gu\xEDa de ingreso",text:"Lo que debes tener en cuenta ",icon:"flat-listOff",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-guia-de-ingreso"},{name:"Proceso de alta",text:"Con\xF3celo en detalle",icon:"flat-success",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/alta-medica",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-proceso-de-alta"},{name:"Pago de cuentas",text:"Regulariza tu situaci\xF3n",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/pago-de-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas"}]},{section:"Reserva de hora",items:[{name:"Presencial",text:"Dir\xEDgete a una sucursal",icon:"flat-calendarOn",url:"https://reserva.alemana.cl/"},{name:"Telemedicina",text:"Ati\xE9ndete desde cualquier lugar",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Para s\xEDntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"Ex\xE1menes y procedimientos",text:"Agenda tus pruebas m\xE9dicas",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos"},{name:"A domicilio",text:"Ati\xE9ndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"}]}],align:"start",cta:{visible:!1,size:"large",color:"gray",title:"\xBFNecesitas realizarte un examen o procedimiento?",text:"Tenemos m\xE1s de 700 tipos de an\xE1lisis disponibles para ti.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Reservar",url:""}}},{id:2,name:"Especialidades y servicios",icon:"flat-doctor",hasChildren:!0,children:[{section:"Atenciones",items:[{name:"Servicios cl\xEDnicos",text:"Conoce los que tenemos",icon:"flat-tube",url:"https://www.clinicaalemana.cl/nuestros-servicios/servicios-clinicos",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-servicios-clinicos"},{name:"Especialidades",text:"Revisa las m\xE1s de 60 disponibles ",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/nuestros-servicios/especialidades",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-especialidades"},{name:"Nuestros m\xE9dicos",text:"Busca por \xE1rea o especialidad",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/profesional"},{name:"Sucursales",text:"Busca la m\xE1s cercana",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/sucursales"}]},{section:"Modalidad de atenci\xF3n",items:[{name:"Telemedicina",text:"Consulta de forma virtual",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Consulta para s\xEDntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"A domicilio",text:"Ati\xE9ndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"},{name:"Presencial",text:"Dir\xEDgete a una sucursal",icon:"flat-branchOffices",url:"https://reserva.alemana.cl/reserva/portal/busqueda",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-presencial"}]},{section:"Atenci\xF3n especializada",columns:2,items:[{name:"Maternidad integral",text:"Conoce nuestro servicio",icon:"flat-pregnant",url:"https://www.clinicaalemana.cl/especialidades/maternidad-y-familia/maternidad-integral",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-maternidad-integral"},{name:"Paciente regional",text:"Gestiona tu visita",icon:"flat-regionalPatient",url:"https://www.clinicaalemana.cl/paciente-regional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-regional"},{name:"Hospitalizaci\xF3n",text:"Revisa todo el proceso",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-hospitalizacion"},{name:"Covid-19",text:"Inf\xF3rmate sobre lo nuevo",icon:"flat-syringe",url:"https://www.clinicaalemana.cl/covid-19",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-covid-19"},{name:"Salud empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-salud-empresa"},{name:"Centros",text:"Busca el m\xE1s cercano",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/centros",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-centros"},{name:"Paciente internacional",text:"Solicita tu atenci\xF3n",icon:"flat-interPatient",url:"https://www.clinicaalemana.cl/paciente-internacional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-internacional"},{name:"Programas",text:"Encuentra el mejor para ti",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/programas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-programas"}]}],align:"center",cta:{visible:!1,size:"small",color:"purple",title:"\xBFNecesitas un presupuesto?",text:"Puedes solicitar uno para tu parto o una hospitalizaci\xF3n.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Solicitar",url:""}}},{id:3,name:"Seguros y convenios",icon:"flat-safety",hasChildren:!0,children:[{section:"",items:[{name:"Convenio de Accidentes",text:"Protege a tu familia",icon:"flat-safety",url:"https://www.clinicaalemana.cl/convenio-de-accidentes",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-convenio-de-accidentes"},{name:"Alemana Seguros",text:"Elige el mejor para ti",icon:"flat-safety",url:"https://www.alemanaseguros.cl",tracking_type:"utm",campaign:"clininicalamana_menu_superior"},{name:"Todo Alemana",text:"Revisa nuestros planes",icon:"flat-safety",url:"https://www.clinicaalemana.cl/todo-alemana/caracteristicas-generales",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-todo-alemana"},{name:"Isapres preferentes",text:"Con cobertura en la cl\xEDnica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana"}]}],align:"center",cta:{visible:!1,size:"medium",color:"red",title:"\xBFNecesitas realizarte un examen?",text:"M\xE1s de 700 ex\xE1menes y procedimeintos disponibles",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Agendar ",url:""}}},{id:4,name:"Prevenci\xF3n y bienestar",icon:"flat-sex",hasChildren:!0,children:[{section:"Personas",items:[{name:"Chequeos y programas",text:"Encuentra la mejor opci\xF3n",icon:"flat-chartOff",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/acciones-para-cuidarte",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-acciones-para-cuidarte"},{name:"Importancia de cuidarse",text:"Descubre por qu\xE9 hacerlo",icon:"flat-lightbulb",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/importancia-de-cuidarse",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-importancia-de-cuidarse"},{name:"Aprende a cuidarte",text:"Revisa nuestros consejos",icon:"flat-search",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/aprender",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-aprende-a-cuidarte"}]},{section:"Empresas",items:[{name:"Salud Empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-empresas-salud-empresa"}]}],align:"end",cta:{visible:!1}},{id:5,name:"Educaci\xF3n de salud",icon:"flat-youtube",hasChildren:!0,children:[{section:"",items:[{name:"Todo sobre salud",text:"Revisa las principales noticias",icon:"flat-newspaper2",url:"https://www.clinicaalemana.cl/articulos/todas-las-noticias",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-todo-sobre-salud"},{name:"Banco de enfermedades",text:"Encuentra todo lo que necesitas",icon:"flat-textColor",url:"https://www.clinicaalemana.cl/banco-de-enfermedades",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-banco-de-enfermedades"},{name:"Alemana Podcast",text:"Escucha a nuestros expertos ",icon:"flat-spotify",url:"https://www.clinicaalemana.cl/centro-de-extension/podcast",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-alemana-podcast"},{name:"Charlas y talleres",text:"Aprende con nuestros especialistas",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/centro-de-extension/bienvenida-charlas-y-talleres",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-charlas-y-talleres"},{name:"Video educativos",text:"Mira nuestro contenido",icon:"flat-youtube",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA",tracking_type:"utm",campaign:"menu-superior-educaci\xF3n-de-salud-video-educativos"}]}],align:"end",cta:{visible:!1}}],Vg=tt.head;class Zg extends M{static styles=Hg;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={theme:{type:String},variant:{type:String},isMobile:{type:Boolean},isTablet:{type:Boolean},isMacbookAir:{type:Boolean}};constructor(){super(),this.showSignin=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}openSignIn(){this.showSignin=!0,this.requestUpdate()}closeSingIn(){this.showSignin=!1,this.requestUpdate()}openMenu(){const C=new CustomEvent("openMenuMobile");document.dispatchEvent(C)}updated(){const C=this.shadowRoot.querySelectorAll(".group > li");C.forEach(t=>{t.addEventListener("click",()=>{C.forEach(e=>{e.classList.remove("active")}),t.classList.add("active")})})}render(){const{isMobile:C,isTablet:t,isMacbookAir:e}=this,o=Vg,a=e?"Reservar":"Reservar hora";document.addEventListener("click",h=>{h.composedPath().includes(this)||this.shadowRoot.querySelectorAll(".group > li").forEach(d=>{d.classList.remove("active")})});const n=h=>{const{icon:c,name:d,text:p,url:v,login:L}=h;return u`<li>
|
|
10952
10952
|
<a href="${v}">
|
|
10953
10953
|
${c?u`
|
|
10954
10954
|
<div class="icon">
|
|
@@ -10969,7 +10969,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10969
10969
|
</${f}>
|
|
10970
10970
|
`;return u`
|
|
10971
10971
|
<li>
|
|
10972
|
-
${
|
|
10972
|
+
${d2(A)}
|
|
10973
10973
|
${v?u`
|
|
10974
10974
|
<div class="children">
|
|
10975
10975
|
<ul>
|
|
@@ -11682,12 +11682,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
11682
11682
|
}
|
|
11683
11683
|
|
|
11684
11684
|
}
|
|
11685
|
-
`;const{support:
|
|
11685
|
+
`;const{support:Eg,legals:Sg}=tt;class Bg extends M{static styles=Ag;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={theme:{type:String},isMobile:{type:Boolean},isTablet:{type:Boolean}};constructor(){super(),this.openDrawer=!1,this.current=null}handleClose(){const C=new CustomEvent("closeMenuMobile");document.dispatchEvent(C)}handleOpenDrawer(C){this.openDrawer=!0,this.current=C,this.requestUpdate()}handleCloseDrawer(){this.openDrawer=!1,this.current=null,this.requestUpdate()}render(){const{current:C,openDrawer:t}=this,e=n=>{const{name:r,icon:l,url:h}=n;return h?u`<a href=${h} class="item">
|
|
11686
11686
|
<cas-icon name="${l}" size="20"></cas-icon>
|
|
11687
|
-
<cas-text variant="body2">${r}</cas-text>
|
|
11687
|
+
<cas-text variant="body2">${d2(r)}</cas-text>
|
|
11688
11688
|
</a>`:u`<li class="item" @click=${()=>this.handleOpenDrawer(n)}>
|
|
11689
11689
|
<cas-icon name="${l}" size="20"></cas-icon>
|
|
11690
|
-
<cas-text variant="body2">${r}</cas-text>
|
|
11690
|
+
<cas-text variant="body2">${d2(r)}</cas-text>
|
|
11691
11691
|
</li>`},o=n=>{const{name:r,url:l}=n;return u`<a href=${l} class="item-link">
|
|
11692
11692
|
<cas-text variant="body1">${r}</cas-text>
|
|
11693
11693
|
</a>`},a=n=>{const{section:r,items:l}=n,h=r.length>0?"item2":"item2 open",c=d=>{const{currentTarget:p}=d,{parentNode:v}=p,{classList:L}=v;L.toggle("open")};return u`<li class=${h}>
|
|
@@ -11715,13 +11715,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
11715
11715
|
<section class="group">
|
|
11716
11716
|
<cas-text variant="headline2">Soporte</cas-text>
|
|
11717
11717
|
<ul class="list">
|
|
11718
|
-
${
|
|
11718
|
+
${Eg.map(n=>e(n))}
|
|
11719
11719
|
</ul>
|
|
11720
11720
|
</section>
|
|
11721
11721
|
<section class="group">
|
|
11722
11722
|
<cas-text variant="headline2">Legal</cas-text>
|
|
11723
11723
|
<ul class="list">
|
|
11724
|
-
${
|
|
11724
|
+
${Sg.map(n=>e(n))}
|
|
11725
11725
|
</ul>
|
|
11726
11726
|
</section>
|
|
11727
11727
|
</div>
|
|
@@ -12023,7 +12023,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12023
12023
|
padding: 0 16px;
|
|
12024
12024
|
}
|
|
12025
12025
|
}
|
|
12026
|
-
`;const
|
|
12026
|
+
`;const k2={1:"14px",2:"16px",3:"20px",4:"24px"};class Og extends M{static styles=Ig;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={theme:{type:String},size:{type:Number},disableMode:{type:Boolean}};constructor(){super(),this.size=2,this.openAccessibility=!1,this.disableMode=!1}handleClickTab(){const C=this.shadowRoot.querySelector(".tabs .active");C.style.setProperty("--move-tab","100%"),C.style.setProperty("--width-tab","200%")}zoom(C){const t=Number(Object.keys(k2)[0]),e=Number(Object.keys(k2)[Object.keys(k2).length-1]),o=document.querySelectorAll("*");C==="in"&&this.size<e&&(this.size++,o.forEach(a=>{a.style.fontSize=k2[this.size]})),C==="out"&&this.size>t&&(this.size--,o.forEach(a=>{a.style.fontSize=k2[this.size]})),C==="reset"&&(this.size=2,o.forEach(a=>{a.style.fontSize=k2[this.size]}))}handleDarkMode(){document.dispatchEvent(new CustomEvent("onDarkMode")),localStorage.setItem("theme","dark")}handleLightMode(){document.dispatchEvent(new CustomEvent("onLightMode")),localStorage.setItem("theme","light")}render(){const C=this.shadowRoot.querySelector(".drop-accessibility"),t=()=>{this.openAccessibility=!0,this.requestUpdate(),setTimeout(()=>{document.addEventListener("click",o)},200)},e=()=>{this.openAccessibility=!1,this.requestUpdate(),document.removeEventListener("click",o)},o=d=>{d.composedPath().includes(C)||e()},a=()=>{this.openAccessibility?e():t()},n=F({"drop-accessibility":!0,visible:this.openAccessibility}),r=F({active:this.size===1}),l=F({active:this.size>2}),h=F({active:this.theme==="dark"}),c=F({active:this.theme==="light"});return u`
|
|
12027
12027
|
<div class="container" data-theme="${this.theme}">
|
|
12028
12028
|
<div class="inner-container">
|
|
12029
12029
|
<ul class="tabs">
|
|
@@ -12160,7 +12160,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12160
12160
|
</header>
|
|
12161
12161
|
${t===C1.HOME?u`<cas-booking-box theme="${o}" .home=${a} showAlert=${this.showAlert}></cas-booking-box>`:null}
|
|
12162
12162
|
<div style="height: ${this.spaceHeight}px"></div>
|
|
12163
|
-
`}}customElements.get("cas-header")||customElements.define("cas-header",rt),customElements.get("cas-header-pre-head ")||customElements.define("cas-header-pre-head",Og),customElements.get("cas-header-head")||customElements.define("cas-header-head",Zg),customElements.get("cas-header-search")||customElements.define("cas-header-search",yg),customElements.get("cas-header-taxonomy")||customElements.define("cas-header-taxonomy",$g),customElements.get("cas-header-menu-mobile")||customElements.define("cas-header-menu-mobile",Bg),customElements.get("cas-header-card")||customElements.define("cas-header-card",Pg);const
|
|
12163
|
+
`}}customElements.get("cas-header")||customElements.define("cas-header",rt),customElements.get("cas-header-pre-head ")||customElements.define("cas-header-pre-head",Og),customElements.get("cas-header-head")||customElements.define("cas-header-head",Zg),customElements.get("cas-header-search")||customElements.define("cas-header-search",yg),customElements.get("cas-header-taxonomy")||customElements.define("cas-header-taxonomy",$g),customElements.get("cas-header-menu-mobile")||customElements.define("cas-header-menu-mobile",Bg),customElements.get("cas-header-card")||customElements.define("cas-header-card",Pg);const K5={mobile:"767px",tablet:"1023px",desktop:"1440px"};var qg=V`
|
|
12164
12164
|
:host {
|
|
12165
12165
|
background-color: #364855;
|
|
12166
12166
|
display: flex;
|
|
@@ -12182,7 +12182,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12182
12182
|
.content-button {
|
|
12183
12183
|
display: none;
|
|
12184
12184
|
}
|
|
12185
|
-
@media (max-width: ${g(
|
|
12185
|
+
@media (max-width: ${g(K5.tablet)}) {
|
|
12186
12186
|
.content-button {
|
|
12187
12187
|
display: flex;
|
|
12188
12188
|
justify-content: center;
|
|
@@ -12247,7 +12247,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12247
12247
|
display: none;
|
|
12248
12248
|
}
|
|
12249
12249
|
|
|
12250
|
-
@media (max-width: ${g(
|
|
12250
|
+
@media (max-width: ${g(K5.tablet)}) {
|
|
12251
12251
|
.wrapped {
|
|
12252
12252
|
border: none;
|
|
12253
12253
|
}
|
|
@@ -12297,7 +12297,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12297
12297
|
text-decoration: none;
|
|
12298
12298
|
}
|
|
12299
12299
|
}
|
|
12300
|
-
`;const ht=[{section:"Nosotros",items:[{name:"Nuestra cl\xEDnica",url:"https://www.clinicaalemana.cl/nuestra-clinica/bienvenida"},{name:"Sostenibilidad",url:"https://www.clinicaalemana.cl/sostenibilidad/home"},{name:"Sitios relacionados",url:"https://www.clinicaalemana.cl/nuestra-clinica/sitios-web-relacionados"}]},{section:"Informaci\xF3n normativa",items:[{name:"Indicadores cl\xEDnicos",url:"https://www.clinicaalemana.cl/nuestra-clinica/indicadores-clinicos"},{name:"Derechos y deberes",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/derechos_y_deberes"},{name:"Ley de Urgencia",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/ley_de_urgencia"},{name:"Ley 21.309",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/ley_21_309"},{name:"Patolog\xEDas GES",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/patologias_ges"},{name:"Ley Dominga",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/Ley_Dominga"},{name:"Ley Ricarte Soto",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/Ley_Ricarte_Soto"},{name:"Reglamento interno de funcionamiento",url:"https://www.clinicaalemana.cl/reglamento-interno-de-funcionamiento"},{name:"T\xE9rminos y condiciones",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/terminos_y_condiciones"}]},{section:"Informaci\xF3n de inter\xE9s",items:[{name:"Pago y cuentas",url:"https://centrodeayuda.clinicaalemana.cl/pagos_y_cuentas"},{name:"Covid-19",url:"https://centrodeayuda.clinicaalemana.cl/covid_19"},{name:"Documentos de salud",url:"https://centrodeayuda.clinicaalemana.cl/documentos_de_salud"},{name:"Servicios digitales",url:"https://centrodeayuda.clinicaalemana.cl/servicios_digitales"},{name:"Servicios y atenciones",url:"https://centrodeayuda.clinicaalemana.cl/servicios_y_atenciones"},{name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"}]},{section:"Ubicaciones",items:[{name:"Cl\xEDnicas",url:"https://www.clinicaalemana.cl/sucursales/clinicas"},{name:"Centros m\xE9dicos",url:"https://www.clinicaalemana.cl/sucursales/centros-medicos"},{name:"Tomas de muestras",url:"https://www.clinicaalemana.cl/sucursales/toma-de-muestras"}]},{section:"Te ayudamos",items:[{name:"Mesa Central
|
|
12300
|
+
`;const ht=[{section:"Nosotros",items:[{name:"Nuestra cl\xEDnica",url:"https://www.clinicaalemana.cl/nuestra-clinica/bienvenida"},{name:"Sostenibilidad",url:"https://www.clinicaalemana.cl/sostenibilidad/home"},{name:"Sitios relacionados",url:"https://www.clinicaalemana.cl/nuestra-clinica/sitios-web-relacionados"}]},{section:"Informaci\xF3n normativa",items:[{name:"Indicadores cl\xEDnicos",url:"https://www.clinicaalemana.cl/nuestra-clinica/indicadores-clinicos"},{name:"Derechos y deberes",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/derechos_y_deberes"},{name:"Ley de Urgencia",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/ley_de_urgencia"},{name:"Ley 21.309",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/ley_21_309"},{name:"Patolog\xEDas GES",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/patologias_ges"},{name:"Ley Dominga",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/Ley_Dominga"},{name:"Ley Ricarte Soto",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/Ley_Ricarte_Soto"},{name:"Reglamento interno de funcionamiento",url:"https://www.clinicaalemana.cl/reglamento-interno-de-funcionamiento"},{name:"T\xE9rminos y condiciones",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/terminos_y_condiciones"}]},{section:"Informaci\xF3n de inter\xE9s",items:[{name:"Pago y cuentas",url:"https://centrodeayuda.clinicaalemana.cl/pagos_y_cuentas"},{name:"Covid-19",url:"https://centrodeayuda.clinicaalemana.cl/covid_19"},{name:"Documentos de salud",url:"https://centrodeayuda.clinicaalemana.cl/documentos_de_salud"},{name:"Servicios digitales",url:"https://centrodeayuda.clinicaalemana.cl/servicios_digitales"},{name:"Servicios y atenciones",url:"https://centrodeayuda.clinicaalemana.cl/servicios_y_atenciones"},{name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"}]},{section:"Ubicaciones",items:[{name:"Cl\xEDnicas",url:"https://www.clinicaalemana.cl/sucursales/clinicas"},{name:"Centros m\xE9dicos",url:"https://www.clinicaalemana.cl/sucursales/centros-medicos"},{name:"Tomas de muestras",url:"https://www.clinicaalemana.cl/sucursales/toma-de-muestras"}]},{section:"Te ayudamos",items:[{name:"Mesa Central <br>+56 2 2210 1111",url:"tel:+56222101111",icon:"flat-phone"},{name:"Reserva de hora <br>+56 2 2210 1700",url:"tel:+56222101700",icon:"flat-phone"},{name:"Rescate de emergencia <br>+56 2 2910 9911",url:"tel:+56229109911",icon:"flat-phone"}]}],Yg=[{name:"instagram",icon:"flat-instagram",url:"https://www.instagram.com/clinicaalemanadesantiago/"},{name:"linkedin",icon:"flat-linkedin",url:"https://www.linkedin.com/company/clinica-alemana-de-santiago"},{name:"x",icon:"flat-x",url:"https://twitter.com/clinicaalemana"},{name:"facebook",icon:"flat-facebook",url:"https://www.facebook.com/Clinicaalemanadesantiago/"},{name:"spotify",icon:"flat-spotifySolid",url:"https://open.spotify.com/user/8001v856hnvkpq7ytrik14qlg"},{name:"youtube",icon:"flat-youtubeSolid",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA"}];class Gg extends M{static formAssociated=!0;static styles=Wg;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={theme:{type:String}};constructor(){super()}updated(){const C=this.shadowRoot.querySelectorAll("section");C.forEach(t=>{const e=t.querySelector(".top"),o=t.querySelector(".list");e.addEventListener("click",()=>{C.forEach(a=>{a.querySelector(".list").classList.remove("active"),a.querySelector("cas-icon").classList.remove("active")}),o.classList.toggle("active"),e.querySelector("cas-icon").classList.toggle("active")})})}render(){const C=t=>{const{section:e,items:o}=t;return u`<section>
|
|
12301
12301
|
<div class="top">
|
|
12302
12302
|
<cas-text variant="headline3">${e}</cas-text>
|
|
12303
12303
|
<cas-icon name="flat-chevronDown" size="20"></cas-icon>
|
|
@@ -12306,7 +12306,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12306
12306
|
${o.map(a=>u`<li>
|
|
12307
12307
|
<a href=${a.url}>
|
|
12308
12308
|
${a.icon?u`<cas-icon name="${a.icon}" size="20"></cas-icon>`:u``}
|
|
12309
|
-
<cas-text variant="footnote2">${a.name}</cas-text>
|
|
12309
|
+
<cas-text variant="footnote2">${d2(a.name)}</cas-text>
|
|
12310
12310
|
</a>
|
|
12311
12311
|
</li>`)}
|
|
12312
12312
|
</ul>
|
|
@@ -12361,7 +12361,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12361
12361
|
a {
|
|
12362
12362
|
color: currentColor;
|
|
12363
12363
|
}
|
|
12364
|
-
@media (max-width: ${g(
|
|
12364
|
+
@media (max-width: ${g(K5.tablet)}) {
|
|
12365
12365
|
.inner-wrapped {
|
|
12366
12366
|
padding: 48px 32px;
|
|
12367
12367
|
max-width: 1140px;
|
|
@@ -12374,7 +12374,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12374
12374
|
height: 40px;
|
|
12375
12375
|
}
|
|
12376
12376
|
}
|
|
12377
|
-
@media (max-width: ${g(
|
|
12377
|
+
@media (max-width: ${g(K5.mobile)}) {
|
|
12378
12378
|
.inner-wrapped {
|
|
12379
12379
|
padding: 32px 16px;
|
|
12380
12380
|
gap: 12px;
|
|
@@ -12405,7 +12405,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12405
12405
|
width: 100%;
|
|
12406
12406
|
}
|
|
12407
12407
|
}
|
|
12408
|
-
`;const Jg=ht[4]?.items??[];
|
|
12408
|
+
`;const Jg=ht[4]?.items??[];function Xg(i){var C=document.createElement("div");return C.innerHTML=i,C.textContent||C.innerText||""}class Qg extends M{static formAssociated=!0;static styles=Kg;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={theme:{type:String},variant:{type:String}};render(){if(this.variant==="phone")return u`<div class="wrapped" data-theme=${this.theme} variant=${this.variant}>
|
|
12409
12409
|
<div class="inner-wrapped">
|
|
12410
12410
|
<a
|
|
12411
12411
|
class="logo"
|
|
@@ -12422,7 +12422,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12422
12422
|
<div class="right">
|
|
12423
12423
|
${Jg.map(t=>{const{name:e,url:o,icon:a}=t;return u`
|
|
12424
12424
|
<a href=${o} title=${e}>
|
|
12425
|
-
<cas-text variant="caption1">${e}</cas-text>
|
|
12425
|
+
<cas-text variant="caption1">${Xg(e)}</cas-text>
|
|
12426
12426
|
</a>
|
|
12427
12427
|
`})}
|
|
12428
12428
|
</div>
|
|
@@ -12477,7 +12477,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12477
12477
|
${this.variant==="home"?u`<cas-new-footer-taxonomy theme=${this.theme}></cas-new-footer-taxonomy>`:null}
|
|
12478
12478
|
<cas-new-footer-bottom variant=${this.variant} theme=${this.theme}></cas-new-footer-bottom>
|
|
12479
12479
|
</div>
|
|
12480
|
-
`}}customElements.get("cas-footer")||customElements.define("cas-footer",pt),customElements.get("cas-new-footer-taxonomy")||customElements.define("cas-new-footer-taxonomy",Gg),customElements.get("cas-new-footer-bottom")||customElements.define("cas-new-footer-bottom",
|
|
12480
|
+
`}}customElements.get("cas-footer")||customElements.define("cas-footer",pt),customElements.get("cas-new-footer-taxonomy")||customElements.define("cas-new-footer-taxonomy",Gg),customElements.get("cas-new-footer-bottom")||customElements.define("cas-new-footer-bottom",Qg);var Cu=V`
|
|
12481
12481
|
.accordion-container {
|
|
12482
12482
|
position: relative;
|
|
12483
12483
|
box-sizing: border-box;
|
|
@@ -12531,7 +12531,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12531
12531
|
display: flex;
|
|
12532
12532
|
width: 100%;
|
|
12533
12533
|
height: 1px;
|
|
12534
|
-
background: ${g(
|
|
12534
|
+
background: ${g(R2)};
|
|
12535
12535
|
}
|
|
12536
12536
|
|
|
12537
12537
|
.open header:after {
|
|
@@ -12545,7 +12545,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12545
12545
|
}
|
|
12546
12546
|
|
|
12547
12547
|
header cas-text:nth-child(2) {
|
|
12548
|
-
color: ${g(
|
|
12548
|
+
color: ${g(f6)};
|
|
12549
12549
|
}
|
|
12550
12550
|
|
|
12551
12551
|
.open.box header {
|
|
@@ -12553,7 +12553,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12553
12553
|
}
|
|
12554
12554
|
|
|
12555
12555
|
.open.box header:after {
|
|
12556
|
-
background: ${g(
|
|
12556
|
+
background: ${g(R2)};
|
|
12557
12557
|
}
|
|
12558
12558
|
|
|
12559
12559
|
header .left {
|
|
@@ -12594,7 +12594,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12594
12594
|
padding: 20px 16px 20px 20px;
|
|
12595
12595
|
}
|
|
12596
12596
|
}
|
|
12597
|
-
`;function
|
|
12597
|
+
`;function tu({variant:i,open:C}){const t=A1({"accordion-container":!0,[i]:!0,open:C}),o=(()=>{if(window.matchMedia("(min-width: 768px)").matches)return"desktop";if(window.matchMedia("(max-width: 767px)").matches)return"mobile"})();return{accordionStyle:t,iconSize:{desktop:"24",mobile:"16"}[o]}}class i4 extends M{static styles=Cu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};constructor(){super(),this.open=!1,this.variant="simple",this.title="",this.text=""}static properties={open:{type:Boolean},variant:{type:String},title:{type:String},text:{type:String},content:{type:String}};toggleAccordion(){this.open=!this.open,this.requestUpdate()}render(){const{open:C,title:t,text:e,content:o}=this,{accordionStyle:a,iconSize:n}=tu({variant:this.variant,open:this.open}),r={true:"flat-minus",false:"flat-plus"};return u`
|
|
12598
12598
|
<article class=${a}>
|
|
12599
12599
|
<header @click="${this.toggleAccordion}">
|
|
12600
12600
|
<div class="left">
|
|
@@ -12610,7 +12610,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12610
12610
|
</div>
|
|
12611
12611
|
`:""}
|
|
12612
12612
|
</article>
|
|
12613
|
-
`}}customElements.define("cas-accordion",i4),customElements.get("cas-accordion-element")||customElements.define("cas-accordion-element",class extends i4{});var
|
|
12613
|
+
`}}customElements.define("cas-accordion",i4),customElements.get("cas-accordion-element")||customElements.define("cas-accordion-element",class extends i4{});var eu=V`
|
|
12614
12614
|
.checkbox-container {
|
|
12615
12615
|
cursor: pointer;
|
|
12616
12616
|
display: flex;
|
|
@@ -12655,12 +12655,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12655
12655
|
:host([disabled]) {
|
|
12656
12656
|
color: #79858E;
|
|
12657
12657
|
}
|
|
12658
|
-
`;function
|
|
12658
|
+
`;function iu({size:i,checked:C}){const t=F({"checkbox-container":!0,[`size-${i}`]:!0,checked:C}),o={20:"12",24:"16"}[i];return{checkboxStyles:t,iconSize:o}}class vt extends M{static formAssociated=!0;static styles=eu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={name:{type:String},value:{type:String},size:{type:String},checked:{type:Boolean},text:{type:String}};constructor(){super(),this.name="",this.value="",this.size="20",this.checked=!1,this.text=""}onChange(){this.checked=!this.checked,this.value=this.checked,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0}))}render(){const{size:C,checked:t}=this,{checkboxStyles:e,iconSize:o}=iu({size:C,checked:t}),a=this.disabled?()=>{}:this.onChange.bind(this);return s`
|
|
12659
12659
|
<div class="${e}" @click=${a} >
|
|
12660
12660
|
${this.checked?s`<cas-icon name="flat-check" size=${o} ></cas-icon>`:""}
|
|
12661
12661
|
</div>
|
|
12662
12662
|
${this.text?s`<cas-text variant="body1">${this.text}</cas-text>`:""}
|
|
12663
|
-
`}}customElements.get("cas-checkbox")||customElements.define("cas-checkbox",vt);var
|
|
12663
|
+
`}}customElements.get("cas-checkbox")||customElements.define("cas-checkbox",vt);var ou=V`
|
|
12664
12664
|
:host([fullWidth]) {
|
|
12665
12665
|
width: 100%;
|
|
12666
12666
|
}
|
|
@@ -12844,7 +12844,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12844
12844
|
padding-left: 2px;
|
|
12845
12845
|
margin: 0 16px;
|
|
12846
12846
|
}
|
|
12847
|
-
`;function
|
|
12847
|
+
`;function su({value:i,hasError:C,icon:t,pattern:e,showHelperText:o,label:a,placeholder:n,size:r}){const l=o==="true"||C,h=t!=="",c=i!=="",d=au({value:i,pattern:e}),p=F({"input-container":!0,"has-content":c||n,"has-error":C||c&&!d,"has-icon":h,[r]:r});return{showHelper:l,contentStyle:p,hasValue:c,hasIcon:h,isValid:d}}function au({value:i,pattern:C}){return C?(typeof C=="string"?new RegExp(C.startsWith("/")&&C.endsWith("/")?C.slice(1,-1):C):C)?.test(i)??!1:!0}class Lt extends M{static formAssociated=!0;static styles=ou;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={type:{type:String},name:{type:String},value:{type:String},label:{type:String},pattern:{type:String},required:{type:String},disabled:{type:String},readonly:{type:String},isInputError:{type:String},helperText:{type:String},showHelperText:{type:String},size:{type:String},icon:{type:String},iconSize:{type:String},alignment:{type:String},placeholder:{type:String},iconProps:{type:String},iconPosition:{type:String}};constructor(){super(),this.value="",this.name=this.getAttribute("label")?.toLowerCase().replace(" ","-")||"input",this.isInputError="false",this.icon="",this.iconSize="20",this.alignment="leading"}_onChange(C){this.value=C.composedPath()[0].value,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updated(){this.disabled==="true"&&this.shadowRoot.querySelector("input")?.setAttribute("disabled",!0),this.readonly&&this.shadowRoot.querySelector("input")?.setAttribute("readonly",!0)}firstUpdated(){const{iconProps:C,iconPosition:t}=this;t==="right"&&this.setAttribute("alignment","trailing");const e=C?.replace(/'/g,'"');if(e){let o=JSON.parse(e);this.icon=o.name,this.iconSize=o.size}}render(){const{label:C,value:t,name:e,required:o,pattern:a,isInputError:n,helperText:r,icon:l,showHelperText:h,placeholder:c,size:d}=this,{showHelper:p,contentStyle:v,hasIcon:L,isValid:_}=su({value:t,hasError:n==="true",icon:l,pattern:a,required:o,showHelperText:h,label:C,placeholder:c,size:d}),f={name:e,value:t,error:!1,success:!1};let z="Campo v\xE1lido";o&&!t||!_?(o&&!t&&(z="Este campo es requerido"),_||(z=`El valor ingresado no es v\xE1lido ${r}`),f.error=!0):f.success=!0;const A=new CustomEvent("callback",{detail:{...f,message:z}});return this.dispatchEvent(A),u`
|
|
12848
12848
|
<div class=${v}>
|
|
12849
12849
|
<div class="input-content">
|
|
12850
12850
|
${L?u`
|
|
@@ -12868,7 +12868,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12868
12868
|
</div>
|
|
12869
12869
|
`:""}
|
|
12870
12870
|
</div>
|
|
12871
|
-
`}}customElements.get("cas-input")||customElements.define("cas-input",Lt);var
|
|
12871
|
+
`}}customElements.get("cas-input")||customElements.define("cas-input",Lt);var nu=V`
|
|
12872
12872
|
.input-container {
|
|
12873
12873
|
position: relative;
|
|
12874
12874
|
width: 335px;
|
|
@@ -12888,7 +12888,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12888
12888
|
top: 0;
|
|
12889
12889
|
right: 0;
|
|
12890
12890
|
}
|
|
12891
|
-
`;function
|
|
12891
|
+
`;function lu({value:i,helperText:C,maxSize:t,customIcon:e}){const o=i?.name?.length>0?"flat-close":e,a=i?.size>t*1024*1024;return{showHelper:C||a,newHelper:a?"El archivo es demasiado grande...":C,icon:o,error:a}}class gt extends M{static formAssociated=!0;static styles=nu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={label:{type:String},icon:{type:String},name:{type:String},fileName:{type:String},value:{type:String},accept:{type:String},disabled:{type:Boolean},maxSize:{type:Number},helperText:{type:String},required:{type:Boolean},fullWidth:{type:Boolean}};constructor(){super(),this.label="Label",this.icon="flat-attached",this.name="",this.value="",this.fileName="",this.helperText="",this.maxSize=5,this.accept="image/png, image/jpeg, image/jpg, image/gif, application/pdf, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"}onChange=C=>{const t=C.target.files[0];this.fileName=t?.name||"",this.value=t,this.dispatchEvent(new Event("change",{bubbles:!1,composed:!0}))};render(){const{value:C,name:t,fileName:e,label:o,maxSize:a,helperText:n}=this,{icon:r,showHelper:l,error:h,newHelper:c}=lu({value:C,maxSize:a,helperText:n,customIcon:this.icon}),d=()=>{this.disabled||(this.value="",this.fileName="",this.helperText="",this.dispatchEvent(new Event("change",{bubbles:!1,composed:!0})))},p=()=>{const L=this.shadowRoot.querySelector("input");!this.disabled&&L?.click()},v=()=>{this.fileName?d():p()};return this.fullWidth&&setTimeout(()=>{this.shadowRoot.querySelector("cas-input")?.setAttribute("fullWidth",!0)},100),u`
|
|
12892
12892
|
<div class="input-container">
|
|
12893
12893
|
<cas-input
|
|
12894
12894
|
@click=${p}
|
|
@@ -12914,7 +12914,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12914
12914
|
.required=${this.required}
|
|
12915
12915
|
>
|
|
12916
12916
|
</div>
|
|
12917
|
-
`}}customElements.get("cas-input-file")||customElements.define("cas-input-file",gt);var
|
|
12917
|
+
`}}customElements.get("cas-input-file")||customElements.define("cas-input-file",gt);var ru=V`
|
|
12918
12918
|
.modal-container {
|
|
12919
12919
|
display: flex;
|
|
12920
12920
|
justify-content: center;
|
|
@@ -13012,7 +13012,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13012
13012
|
}
|
|
13013
13013
|
|
|
13014
13014
|
}
|
|
13015
|
-
`;class ut extends M{static styles=
|
|
13015
|
+
`;class ut extends M{static styles=ru;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={closeHandler:{type:Function,attribute:!1},open:{type:String},type:{type:String},hideCloseButton:{type:Boolean},width:{type:String}};constructor(){super(),this.open="false",this.closeHandler=null,this.width="auto"}_closeModal(){this.closeHandler&&this.closeHandler(),this.dispatchEvent(new CustomEvent("close"))}render(){const{width:C,hideCloseButton:t}=this;return this.open==="true"?u`
|
|
13016
13016
|
<div class="modal-container">
|
|
13017
13017
|
<div class="bg" @click=${this._closeModal}></div>
|
|
13018
13018
|
<div class="inner-container" style="width: ${C}">
|
|
@@ -13028,7 +13028,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13028
13028
|
</div>
|
|
13029
13029
|
</div>
|
|
13030
13030
|
</div>
|
|
13031
|
-
`:null}}customElements.get("cas-modal")||customElements.define("cas-modal",ut);var
|
|
13031
|
+
`:null}}customElements.get("cas-modal")||customElements.define("cas-modal",ut);var hu=V`
|
|
13032
13032
|
.radio-container {
|
|
13033
13033
|
cursor: pointer;
|
|
13034
13034
|
display: flex;
|
|
@@ -13072,11 +13072,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13072
13072
|
:host([disabled]) {
|
|
13073
13073
|
color: #79858E;
|
|
13074
13074
|
}
|
|
13075
|
-
`;function
|
|
13075
|
+
`;function du({size:i,checked:C}){const t=F({"radio-container":!0,[`size-${i}`]:!0,checked:C===!0||C==="true"}),o={20:"12",24:"16"}[i];return{checkboxStyles:t,iconSize:o}}class Mt extends M{static formAssociated=!0;static styles=hu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={name:{type:String},value:{type:String},size:{type:String},checked:{type:String},text:{type:String}};constructor(){super(),this.name="",this.value="",this.size="20",this.checked=!1,this.text=""}onChange(){this.checked=!this.checked,this.value=this.checked,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0}))}render(){const{size:C,checked:t}=this,{checkboxStyles:e,iconSize:o}=du({size:C,checked:t}),a=this.disabled?()=>{}:this.onChange.bind(this);return s`
|
|
13076
13076
|
<div class="${e}" @click=${a} >
|
|
13077
13077
|
</div>
|
|
13078
13078
|
${this.text?s`<cas-text variant="body1">${this.text}</cas-text>`:""}
|
|
13079
|
-
`}}customElements.get("cas-radio")||customElements.define("cas-radio",Mt);var
|
|
13079
|
+
`}}customElements.get("cas-radio")||customElements.define("cas-radio",Mt);var cu=V`
|
|
13080
13080
|
:host {
|
|
13081
13081
|
width: 335px;
|
|
13082
13082
|
}
|
|
@@ -13164,7 +13164,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13164
13164
|
line-height: 16px;
|
|
13165
13165
|
padding-top: 8px;
|
|
13166
13166
|
}
|
|
13167
|
-
`;function
|
|
13167
|
+
`;function pu({value:i,helperText:C,placeholder:t}){const e=F({"textarea-container":!0,"has-value":i?.length>0||t?.length>0}),o=C.length>0,a=i.length;return{areaStyles:e,hasHelper:o,characters:a}}class ft extends M{static formAssociated=!0;static styles=cu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={label:{type:String},name:{type:String},value:{type:String},helperText:{type:String},limit:{type:Number},disabled:{type:Boolean},placeholder:{type:String}};constructor(){super(),this.label="",this.name="",this.value="",this.helperText="",this.limit=280}_onChange(C){this.dispatchEvent(new CustomEvent("change",{detail:C.composedPath()[0].value,composed:!0,bubbles:!0})),this.value=C.composedPath()[0].value}render(){const{value:C,label:t,helperText:e,limit:o,placeholder:a}=this,{areaStyles:n,hasHelper:r,characters:l}=pu({value:C,helperText:e,placeholder:a});return u`
|
|
13168
13168
|
<div class=${n}>
|
|
13169
13169
|
<textarea @input=${this._onChange} maxlength=${o} .disabled=${this.disabled} placeholder=${this.placeholder}>${C}</textarea>
|
|
13170
13170
|
<label>${t}</label>
|
|
@@ -13175,7 +13175,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13175
13175
|
</div>
|
|
13176
13176
|
`:""}
|
|
13177
13177
|
</div>
|
|
13178
|
-
`}}customElements.get("cas-textfield")||customElements.define("cas-textfield",ft);var
|
|
13178
|
+
`}}customElements.get("cas-textfield")||customElements.define("cas-textfield",ft);var vu=V`
|
|
13179
13179
|
.toggle-container {
|
|
13180
13180
|
cursor: pointer;
|
|
13181
13181
|
display: flex;
|
|
@@ -13212,11 +13212,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13212
13212
|
width: 26px;
|
|
13213
13213
|
height: 26px;
|
|
13214
13214
|
}
|
|
13215
|
-
`;function
|
|
13215
|
+
`;function Lu({size:i,checked:C}){return{toggleStyles:F({"toggle-container":!0,[`size-${i}`]:!0,checked:C})}}class wt extends M{static formAssociated=!0;static styles=vu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={name:{type:String},value:{type:String},size:{type:String},checked:{type:Boolean},disabled:{type:Boolean}};constructor(){super(),this.name="",this.value="off",this.size="24",this.checked=!1,this.disabled=!1}onToggle(){this.checked=!this.checked,this.value=this.checked?"on":"off",this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0}))}render(){const{size:C,checked:t}=this,{toggleStyles:e}=Lu({size:C,checked:t,disabled:this.disabled}),o=this.disabled?()=>{}:this.onToggle.bind(this);return s`
|
|
13216
13216
|
<div class="${e}" @click=${o} >
|
|
13217
13217
|
<div class="dot"></div>
|
|
13218
13218
|
</div>
|
|
13219
|
-
`}}customElements.get("cas-toggle")||customElements.define("cas-toggle",wt);var
|
|
13219
|
+
`}}customElements.get("cas-toggle")||customElements.define("cas-toggle",wt);var gu=V`
|
|
13220
13220
|
.tooltip {
|
|
13221
13221
|
text-align: left;
|
|
13222
13222
|
position: relative;
|
|
@@ -13634,7 +13634,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13634
13634
|
|
|
13635
13635
|
|
|
13636
13636
|
|
|
13637
|
-
`;class mt extends M{constructor(){super(),this.content="Tooltip",this.placement="top",this.width="max-content"}static styles=
|
|
13637
|
+
`;class mt extends M{constructor(){super(),this.content="Tooltip",this.placement="top",this.width="max-content"}static styles=gu;static shadowRootOptions={...M.shadowRootOptions,mode:"closed"};static properties={content:{type:String},placement:{type:String},width:{type:String}};render(){const C=`
|
|
13638
13638
|
<div class="tooltip">
|
|
13639
13639
|
<slot></slot>
|
|
13640
13640
|
<div class="${F({[this.placement]:!0,tooltipBase:!0})}" style="width: ${this.width}">
|
|
@@ -13644,7 +13644,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13644
13644
|
<i></i>
|
|
13645
13645
|
</div>
|
|
13646
13646
|
</div>
|
|
13647
|
-
`;return s`${
|
|
13647
|
+
`;return s`${d2(C)}`}}customElements.get("cas-tooltip")||customElements.define("cas-tooltip",mt);var uu=V`
|
|
13648
13648
|
@keyframes rotate {
|
|
13649
13649
|
from {
|
|
13650
13650
|
transform: rotate(0deg);
|
|
@@ -13664,9 +13664,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13664
13664
|
animation: rotate 2s linear infinite;
|
|
13665
13665
|
}
|
|
13666
13666
|
|
|
13667
|
-
`;class Ht extends M{static styles=
|
|
13667
|
+
`;class Ht extends M{static styles=uu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};render(){return u`
|
|
13668
13668
|
<div class="spinner" />
|
|
13669
|
-
`}}customElements.get("cas-spinner")||customElements.define("cas-spinner",Ht);var
|
|
13669
|
+
`}}customElements.get("cas-spinner")||customElements.define("cas-spinner",Ht);var Mu=V`
|
|
13670
13670
|
* {
|
|
13671
13671
|
box-sizing: border-box;
|
|
13672
13672
|
}
|
|
@@ -13773,7 +13773,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13773
13773
|
display: none;
|
|
13774
13774
|
}
|
|
13775
13775
|
}
|
|
13776
|
-
`;const
|
|
13776
|
+
`;const fu=V`
|
|
13777
13777
|
:host {
|
|
13778
13778
|
/* Colors: */
|
|
13779
13779
|
--cas-snackbar-color-bg: rgb(53, 53, 53);
|
|
@@ -13802,8 +13802,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13802
13802
|
--cas-snackbar-grid-gap: 1rem;
|
|
13803
13803
|
--cas-snackbar-box-shadow: none;
|
|
13804
13804
|
}
|
|
13805
|
-
`,
|
|
13806
|
-
${
|
|
13805
|
+
`,wu=V`
|
|
13806
|
+
${fu}
|
|
13807
13807
|
:host,
|
|
13808
13808
|
:host([position="bottom left"]) {
|
|
13809
13809
|
width: fit-content;
|
|
@@ -13871,7 +13871,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13871
13871
|
margin-left: auto;
|
|
13872
13872
|
margin-right: auto;
|
|
13873
13873
|
}
|
|
13874
|
-
`,
|
|
13874
|
+
`,mu=V`
|
|
13875
13875
|
:host {
|
|
13876
13876
|
display: flex;
|
|
13877
13877
|
background: ${g(m)};
|
|
@@ -13887,7 +13887,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13887
13887
|
align-items: center;
|
|
13888
13888
|
justify-content: center;
|
|
13889
13889
|
padding: 14px 12px;
|
|
13890
|
-
background-color: ${g(
|
|
13890
|
+
background-color: ${g(f6)};
|
|
13891
13891
|
color: ${g(m)};
|
|
13892
13892
|
border-radius: 8px 0 0 8px;
|
|
13893
13893
|
}
|
|
@@ -13901,7 +13901,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13901
13901
|
padding: 14px 16px 14px 24px;
|
|
13902
13902
|
}
|
|
13903
13903
|
:host .content .text-container cas-text:nth-child(2) {
|
|
13904
|
-
color: ${g(
|
|
13904
|
+
color: ${g(f6)};
|
|
13905
13905
|
}
|
|
13906
13906
|
:host .content .text-container a {
|
|
13907
13907
|
color: ${g(W)};
|
|
@@ -13919,7 +13919,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13919
13919
|
:host([variant='info']) .icon {
|
|
13920
13920
|
background-color: ${g(U)};
|
|
13921
13921
|
}
|
|
13922
|
-
`,
|
|
13922
|
+
`,Hu={accessibilityLabel:null,animationDone:!1,animationDuration:300,animationName:"default",buttonCallback:null,buttonText:null,customClasses:null,duration:4e3,hideCallback:null,title:"Title is required",message:"Snackbar: It's a snackbar!",linkMessage:null,targetLink:"_parent",showCallback:null,size:"normal",type:"auto",variant:"default"},Vu=["default","slide-in","zoom"],Zu=["small","normal","large"],_u=["auto","dismiss"],xu=["default","success","error","warning","info"],Vt={accessibilityLabel:i=>!i||typeof i=="string",animationDuration:i=>!i||typeof i=="number",animationName:i=>!i||typeof i=="string"&&Vu.includes(i),buttonCallback:i=>!i||typeof i=="function",buttonText:i=>!i||typeof i=="string",customClasses:i=>!i||typeof i=="string",duration:i=>!i||typeof i=="number"&&!Number.isNaN(i),hideCallback:i=>!i||typeof i=="function",title:i=>!i||typeof i=="string"&&i.length>0,message:i=>!i||typeof i=="string"&&i.length>0,linkMessage:i=>!i||typeof i=="string"&&i.length>0,targetLink:i=>!i||typeof i=="string"&&i.length>0,showCallback:i=>!i||typeof i=="function",size:i=>!i||typeof i=="string"&&Zu.includes(i),type:i=>!i||typeof i=="string"&&_u.includes(i),variant:i=>!i||typeof i=="string"&&xu.includes(i)};function bu(i){return Object.keys(Vt).filter(C=>!Vt[C](i[C])).map(C=>new Error(`${C} is invalid.`))}const Zt={default:{showAnimation:[{opacity:"0"},{opacity:"1"}],hideAnimation:[{opacity:"1"},{opacity:"0"}]},"slide-in":{showAnimation:[{transform:"translateX(-100%)",opacity:"0"},{transform:"translateX(0)",opacity:"1"}],hideAnimation:[{transform:"translateX(0)",opacity:"1"},{transform:"translateX(-100%)",opacity:"0"}]},zoom:{showAnimation:[{transform:"scale(0)",opacity:"0"},{transform:"scale(1)",opacity:"1"}],hideAnimation:[{transform:"scale(1)",opacity:"1"},{transform:"scale(0)",opacity:"0"}]}};function yu({type:i,variant:C}){const e={default:{title:"body2",text:"footnote2"},autoClose:{title:"body1",text:"body1"}}[i==="auto"?"autoClose":"default"],a={success:"flat-success",error:"flat-error",warning:"flat-alert",info:"flat-info"}[C];return{textVariants:e,icon:a}}class zu extends M{static get styles(){return V`${mu}`}render(){const{message:C,title:t,linkMessage:e,type:o,targetLink:a,variant:n}=this,{textVariants:r,icon:l}=yu({type:o,variant:n}),h=u`<cas-text variant=${r.text}>${C}</cas-text>`,c=u`<cas-text variant=${r.text}><a href="${e}" target="${a}">${C}</a></cas-text>`;return u`
|
|
13923
13923
|
<div class="icon">
|
|
13924
13924
|
<cas-icon name=${l} size="24"></cas-icon>
|
|
13925
13925
|
</div>
|
|
@@ -13932,12 +13932,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13932
13932
|
<cas-icon name="flat-close" size="16"></cas-icon>
|
|
13933
13933
|
</div>`:""}
|
|
13934
13934
|
</div>
|
|
13935
|
-
`}static get properties(){return{animationDone:{type:Boolean},animationDuration:{type:Number},animationName:{type:String},buttonCallback:{type:Function},buttonText:{type:String},duration:{type:Number},id:{type:String},title:{type:String},message:{type:String},linkMessage:{type:String},targetLink:{type:String},type:{type:String},variant:{type:String}}}constructor(){super(),this._timer=this._timer.bind(this),this._showStart=Date.now()}connectedCallback(){super.connectedCallback(),(this.type==="auto"||this.type!=="dismiss")&&this._timer(),this.setAttribute("aria-label",this.accessibilityLabel||`Snackbar: ${this.message}`),this.setAttribute("role","alert")}_timer(){Date.now()-this._showStart>=this.duration?(this._fadeOut(),cancelAnimationFrame(this._timer)):requestAnimationFrame(this._timer)}update(C){super.update(C),this.animationDone||this._fadeIn()}_fadeIn(){const C=Zt[this.animationName].showAnimation,t={duration:this.animationDuration,iterations:1},e=this.animate(C,t);e.onfinish=()=>{typeof this.showCallback=="function"&&this.showCallback()},this.dispatchEvent(new CustomEvent("cas-snackbar-bar-has-faded-in",{bubbles:!0,composed:!0,detail:{snackbarID:this.id}}))}_fadeOut(){const C=Zt[this.animationName].hideAnimation,t={duration:this.animationDuration,iterations:1},e=this.animate(C,t);e.onfinish=()=>{typeof this.hideCallback=="function"&&this.hideCallback(),this._removeSnackbar()}}_removeSnackbar(){this.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-remove",{bubbles:!0,composed:!0,detail:{snackbarID:this.id}}))}_handleButtonClick(){this._fadeOut(),typeof this.buttonCallback=="function"&&this.buttonCallback()}}class
|
|
13935
|
+
`}static get properties(){return{animationDone:{type:Boolean},animationDuration:{type:Number},animationName:{type:String},buttonCallback:{type:Function},buttonText:{type:String},duration:{type:Number},id:{type:String},title:{type:String},message:{type:String},linkMessage:{type:String},targetLink:{type:String},type:{type:String},variant:{type:String}}}constructor(){super(),this._timer=this._timer.bind(this),this._showStart=Date.now()}connectedCallback(){super.connectedCallback(),(this.type==="auto"||this.type!=="dismiss")&&this._timer(),this.setAttribute("aria-label",this.accessibilityLabel||`Snackbar: ${this.message}`),this.setAttribute("role","alert")}_timer(){Date.now()-this._showStart>=this.duration?(this._fadeOut(),cancelAnimationFrame(this._timer)):requestAnimationFrame(this._timer)}update(C){super.update(C),this.animationDone||this._fadeIn()}_fadeIn(){const C=Zt[this.animationName].showAnimation,t={duration:this.animationDuration,iterations:1},e=this.animate(C,t);e.onfinish=()=>{typeof this.showCallback=="function"&&this.showCallback()},this.dispatchEvent(new CustomEvent("cas-snackbar-bar-has-faded-in",{bubbles:!0,composed:!0,detail:{snackbarID:this.id}}))}_fadeOut(){const C=Zt[this.animationName].hideAnimation,t={duration:this.animationDuration,iterations:1},e=this.animate(C,t);e.onfinish=()=>{typeof this.hideCallback=="function"&&this.hideCallback(),this._removeSnackbar()}}_removeSnackbar(){this.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-remove",{bubbles:!0,composed:!0,detail:{snackbarID:this.id}}))}_handleButtonClick(){this._fadeOut(),typeof this.buttonCallback=="function"&&this.buttonCallback()}}class ku extends M{static shadowRootOptions={...M.shadowRootOptions,mode:"open"};constructor(){super(),this.position="bottom left"}static properties={position:{type:String}};render(){const{position:C}=this;return s`
|
|
13936
13936
|
<cas-snackbar-provider-custom position=${C}></cas-snackbar-provider-custom>
|
|
13937
13937
|
<slot></slot>
|
|
13938
|
-
`}}class
|
|
13939
|
-
${
|
|
13940
|
-
`}constructor(){super(),this.newSnackbarProperties=["accessibilityLabel","animationDuration","animationName","buttonCallback","duration","hideCallback","title","message","linkMessage","targetLink","showCallback","type","hasFadedIn"],this.newSnackbarAttributes=["id","size","variant"],window.addEventListener("cas-snackbar-snackbar-add",this._handleSnackbarAdd.bind(this)),window.addEventListener("cas-snackbar-snackbar-remove",this._handleSnackbarRemove.bind(this))}connectedCallback(){super.connectedCallback(),this.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-ready",{bubbles:!0,composed:!0})),this.setAttribute("aria-live","polite")}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("cas-snackbar-snackbar-add",this._handleSnackbarAdd.bind(this)),window.removeEventListener("cas-snackbar-snackbar-remove",this._handleSnackbarRemove.bind(this))}_handleSnackbarAdd(C){const t=C.detail||{},e=
|
|
13938
|
+
`}}class $u extends M{render(){return s``}static get styles(){return V`
|
|
13939
|
+
${wu}
|
|
13940
|
+
`}constructor(){super(),this.newSnackbarProperties=["accessibilityLabel","animationDuration","animationName","buttonCallback","duration","hideCallback","title","message","linkMessage","targetLink","showCallback","type","hasFadedIn"],this.newSnackbarAttributes=["id","size","variant"],window.addEventListener("cas-snackbar-snackbar-add",this._handleSnackbarAdd.bind(this)),window.addEventListener("cas-snackbar-snackbar-remove",this._handleSnackbarRemove.bind(this))}connectedCallback(){super.connectedCallback(),this.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-ready",{bubbles:!0,composed:!0})),this.setAttribute("aria-live","polite")}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("cas-snackbar-snackbar-add",this._handleSnackbarAdd.bind(this)),window.removeEventListener("cas-snackbar-snackbar-remove",this._handleSnackbarRemove.bind(this))}_handleSnackbarAdd(C){const t=C.detail||{},e=bu(t);if(e.length>0)for(const{message:o}of e)console.error("There was a problem creating your snackbar. Please check your custom event options.",o);else{const o={id:Date.now(),...Hu,...t},a=this._createNewSnackbar(o);this.shadowRoot.prepend(a),this.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-bar-added",{bubbles:!0,composed:!0,detail:{snackbarID:a.id}}))}}_handleSnackbarRemove(C){this.shadowRoot.getElementById(C.detail.snackbarID).remove(),this.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-bar-removed",{bubbles:!0,composed:!0,detail:{snackbarID:C.detail.snackbarID}}))}_createNewSnackbar(C){document.querySelector("cas-snackbar-provider")?.setAttribute("position",C.position);const e=document.createElement("cas-snackbar");return this.newSnackbarProperties.forEach(o=>{e[o]=C[o]}),this.newSnackbarAttributes.forEach(o=>{e.setAttribute(o,C[o])}),C.customClasses&&(e.className+=C.customClasses),e}}const J5=({variant:i,config:C})=>{const{title:t,message:e,linkMessage:o,targetLink:a,autoHide:n,autoHideDuration:r,position:l}=C;window.dispatchEvent(new CustomEvent("cas-snackbar-snackbar-add",{bubbles:!0,composed:!0,detail:{variant:i,title:t,message:e,linkMessage:o,targetLink:a,position:l||"bottom right",animationName:"slide-in",type:n?"auto":"dismiss",duration:r||4e3}}))},X5={SUCCESS:"success",ERROR:"error",WARNING:"warning",INFO:"info"},Au={success:({title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n})=>{J5({variant:X5.SUCCESS,config:{title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n}})},error:({title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n})=>{J5({variant:X5.ERROR,config:{title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n}})},warning:({title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n})=>{J5({variant:X5.WARNING,config:{title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n}})},info:({title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n})=>{J5({variant:X5.INFO,config:{title:i,message:C,linkMessage:t,targetLink:e,autoHide:o,autoHideDuration:a,position:n}})}};customElements.get("cas-snackbar")||customElements.define("cas-snackbar",zu),customElements.get("cas-snackbar-provider-custom")||customElements.define("cas-snackbar-provider-custom",$u),customElements.get("cas-snackbar-provider")||customElements.define("cas-snackbar-provider",ku);class _t extends M{static styles=Mu;constructor(){super(),this.open=!1,this.text=document.title,this.isMobile=window.innerWidth<768,this.shareFacebook=this.shareFacebook.bind(this),this.shareTwitter=this.shareTwitter.bind(this),this.shareWhatsApp=this.shareWhatsApp.bind(this),this.shareTelegram=this.shareTelegram.bind(this),this.shareEmail=this.shareEmail.bind(this),this.shareInstagram=this.shareInstagram.bind(this),this.platforms=[{title:"WhatsApp",icon:"flat-whatsapp",share:this.shareWhatsApp},{title:"Instagram",icon:"flat-instagramSolid",share:this.shareInstagram},{title:"Facebook",icon:"flat-facebook",share:this.shareFacebook},{title:"Twitter",icon:"flat-twitter",share:this.shareTwitter},{title:"Correo",icon:"flat-mail",share:this.shareEmail}]}static get properties(){return{text:{type:String}}}firstUpdated(){this.shadowRoot.querySelector("cas-modal")?.addEventListener("close",()=>{this.open=!1,this.requestUpdate()});const t=()=>{this.isMobile=window.innerWidth<768,this.requestUpdate()};window.addEventListener("resize",t)}render(){const C=this.isMobile?"190px":"initial";return s`
|
|
13941
13941
|
<cas-modal variant="compact" open="${this.open}" width=${C}>
|
|
13942
13942
|
<div class="modal">
|
|
13943
13943
|
<cas-text variant="headline3" class="hide-mobile">Compartir en:</cas-text>
|
|
@@ -13969,7 +13969,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
13969
13969
|
<button @click="${this.handleOpenShare}" class="share-icon">
|
|
13970
13970
|
<cas-icon name="flat-share" size="20"></cas-icon>
|
|
13971
13971
|
</button>
|
|
13972
|
-
`}handleOpenShare(){this.open=!0,this.requestUpdate();try{window.dataLayer.push({event:"evento-interactivo","evento-interactivo-categoria":"boton_compartir_blog","evento-interactivo-accion":"click","evento-interactivo-etiqueta":"compartir_articulo"})}catch(C){console.error("Error al enviar evento a GTM",C)}}shareFacebook(){const C=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`;window.open(C,"_blank","width=550,height=420")}shareTwitter(){const C=`https://twitter.com/intent/tweet?text=${encodeURIComponent(`${this.text} ${window.location.href}`)}`;window.open(C,"_blank","width=550,height=420")}shareWhatsApp(){const C=`https://wa.me/?text=${encodeURIComponent(`${this.text} ${window.location.href}`)}`;window.open(C,"_blank","width=550,height=420")}shareTelegram(){const C=`https://t.me/share/url?text=${encodeURIComponent(`${this.text} ${window.location.href}`)}`;window.open(C,"_blank","width=550,height=420")}shareEmail(){const C=`mailto:?subject=${encodeURIComponent(this.text)}&body=${encodeURIComponent(window.location.href)}`;window.open(C,"_blank")}shareInstagram(){this.copyToClipboard(),window.open("https://www.instagram.com/direct/inbox/","_blank")}copyToClipboard(){navigator.clipboard.writeText(window.location.href)
|
|
13972
|
+
`}handleOpenShare(){this.open=!0,this.requestUpdate();try{window.dataLayer.push({event:"evento-interactivo","evento-interactivo-categoria":"boton_compartir_blog","evento-interactivo-accion":"click","evento-interactivo-etiqueta":"compartir_articulo"})}catch(C){console.error("Error al enviar evento a GTM",C)}}shareFacebook(){const C=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`;window.open(C,"_blank","width=550,height=420")}shareTwitter(){const C=`https://twitter.com/intent/tweet?text=${encodeURIComponent(`${this.text} ${window.location.href}`)}`;window.open(C,"_blank","width=550,height=420")}shareWhatsApp(){const C=`https://wa.me/?text=${encodeURIComponent(`${this.text} ${window.location.href}`)}`;window.open(C,"_blank","width=550,height=420")}shareTelegram(){const C=`https://t.me/share/url?text=${encodeURIComponent(`${this.text} ${window.location.href}`)}`;window.open(C,"_blank","width=550,height=420")}shareEmail(){const C=`mailto:?subject=${encodeURIComponent(this.text)}&body=${encodeURIComponent(window.location.href)}`;window.open(C,"_blank")}shareInstagram(){this.copyToClipboard(),window.open("https://www.instagram.com/direct/inbox/","_blank")}copyToClipboard(){navigator.clipboard.writeText(window.location.href),Au.success({title:"Enlace copiado al portapapeles",position:"top center",autoHide:!0,autoHideDuration:1600})}}customElements.define("cas-share",_t);var Eu=V`
|
|
13973
13973
|
:host{
|
|
13974
13974
|
width: 335px;
|
|
13975
13975
|
--eloisa-ds-icon-color: currentColor;
|
|
@@ -14267,7 +14267,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14267
14267
|
padding: 16px;
|
|
14268
14268
|
}
|
|
14269
14269
|
}
|
|
14270
|
-
`;const xt=(i,C)=>new Date(i,C,0).getDate(),bt=({year:i,month:C,day:t})=>{const e=C<10?`0${C}`:C,o=t<10?`0${t}`:t;return`${i}-${e}-${o}`};function Su(){const i=new Date,C=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],t=["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],e=i.getFullYear(),o=i.getMonth()+1,a=[...Array(10).keys()].map(n=>n+e);return{date:i,weekdays:t,currentYear:e,currentMonth:o,month_names:C,years:a}}function
|
|
14270
|
+
`;const xt=(i,C)=>new Date(i,C,0).getDate(),bt=({year:i,month:C,day:t})=>{const e=C<10?`0${C}`:C,o=t<10?`0${t}`:t;return`${i}-${e}-${o}`};function Su(){const i=new Date,C=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],t=["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],e=i.getFullYear(),o=i.getMonth()+1,a=[...Array(10).keys()].map(n=>n+e);return{date:i,weekdays:t,currentYear:e,currentMonth:o,month_names:C,years:a}}function Bu({month:i,year:C,selectValue:t,disablePast:e,disableWeekends:o,availableDays:a,disablePrevious:n,disableNext:r}){const l=[],h=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],c=xt(C,i),d=new Date,p=new Date(C,i-1,1),v=new Date(C,i-1,0).getDate();for(let f=p.getDay();f>0;f--)l.push({name:v+1-f,isCurrentMonth:!1,isCurrentDay:!1,isToday:!1});for(let f=0;f<c;f++){const z=a?.includes(f+1),A=d.getDate()===f+1&&d.getMonth()===i-1,Z=t===bt({year:C,month:i,day:f+1}),$=new Date(C,i-1,f+1),t1=(()=>{if(n){const H=new Date(n);if(H.setHours(0,0,0,0),$<=H)return!0}if(r){const H=new Date(r);if(H.setHours(0,0,0,0),$>H)return!0}if(e){const H=new Date;if(H.setHours(0,0,0,0),$<H)return!0}if(o){const H=$.getDay();if(H===0||H===6)return!0}return!1})(),w=bt({year:C,month:i,day:f+1});l.push({value:w,name:1+f,isCurrentMonth:!0,isCurrentDay:f+1===d.getDate(),isToday:A,isAvailable:z,date:$,disabled:t1,selected:Z})}const L=l.length%7===0?0:7-l.length%7;for(let f=0;f<L;f++)l.push({name:f+1,isCurrentMonth:!1,isCurrentDay:!1,isToday:!1});return{year:C,month:h[i-1],days:xt(C,i),calendar:l}}function Tu(i){const{isAvailable:C,isCurrentMonth:t,isToday:e,disabled:o,selected:a}=i;return{dayStyles:F({"item-day":!0,"current-month":t,available:C,today:e,disabled:o,selected:a})}}class yt extends M{static formAssociated=!0;static styles=Eu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={label:{type:String},open:{type:Boolean},name:{type:String},value:{type:String},year:{type:Number},month:{type:Number},disabled:{type:String},disablePast:{type:Boolean},disableControls:{type:Boolean},initialValue:{type:String},disablePrevious:{type:String},disableNext:{type:String},disableWeekends:{type:Boolean}};constructor(){super(),this.open=!1,this.label="date picker",this.name=this.getAttribute("label")?.toLowerCase().replace(" ","-")||"date-picker",this.value="",this.year=new Date().getFullYear(),this.month=new Date().getMonth()+1,this.initialValue="",this.disabled=!1,this.disablePrevious="",this.disableNext=""}handleOpen(){this.open=!0}handleClose(){this.open=!1}changeMonthPrev(){if(this.disableControls)return null;this.month===1?(this.year=this.year-1,this.month=12):this.month=this.month-1,this.requestUpdate()}changeMonthNext(){if(this.disableControls)return null;this.month===12?(this.year=this.year+1,this.month=1):this.month=this.month+1,this.requestUpdate()}onChange(C){this.value=C.target.value}updated(){const C=this.disabled==="true"||this.disabled===!0,t=this.shadowRoot.querySelector("cas-input");C?t?.setAttribute("disabled",!0):t?.removeAttribute("disabled")}render(){const{disablePast:C,disableWeekends:t,open:e,year:o,month:a,disablePrevious:n,disableNext:r}=this,{weekdays:l,month_names:h,years:c}=Su(),d=Bu({month:a,year:o,selectValue:this.value,disablePast:C,disableWeekends:t,disablePrevious:n,disableNext:r});document.addEventListener("click",Z=>{Z.composedPath().includes(this)||this.handleClose()});const p=()=>{this.shadowRoot.querySelectorAll(".dropdown").forEach($=>{$.classList.remove("open")})},v=Z=>{const{dayStyles:$}=Tu(Z);return u`
|
|
14271
14271
|
<button type="button" class=${$} @click=${t1=>{if(p(),Z.isCurrentMonth&&!Z.disabled){const w=t1.target.parentNode.querySelectorAll("button");for(let H=0;H<w.length;H++)w[H].classList.remove("selected");t1.target.classList.add("selected"),this.value=Z.value,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("callback",{detail:{value:Z.value,name:this.name,message:"Success",success:!0,error:!1},bubbles:!0,composed:!0}))}else console.log("not available")}} >
|
|
14272
14272
|
${Z.name}
|
|
14273
14273
|
</button>
|
|
@@ -14348,7 +14348,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14348
14348
|
</section>
|
|
14349
14349
|
`:null}
|
|
14350
14350
|
</div>
|
|
14351
|
-
`}}customElements.get("cas-date-picker")||customElements.define("cas-date-picker",yt);var
|
|
14351
|
+
`}}customElements.get("cas-date-picker")||customElements.define("cas-date-picker",yt);var Pu=V`
|
|
14352
14352
|
.datepicker-container {
|
|
14353
14353
|
position: relative;
|
|
14354
14354
|
display: flex;
|
|
@@ -14697,8 +14697,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14697
14697
|
width: 300px;
|
|
14698
14698
|
}
|
|
14699
14699
|
}
|
|
14700
|
-
`;const zt=(i,C)=>new Date(i,C,0).getDate()
|
|
14701
|
-
<button type="button" class=${H} @click=${Q=>{if(L(),w.isCurrentMonth&&!w.disabled){const
|
|
14700
|
+
`;const zt=(i,C)=>new Date(i,C,0).getDate(),$2=({year:i,month:C,day:t})=>{const e=C<10?`0${C}`:C,o=t<10?`0${t}`:t;return`${i}-${e}-${o}`};function Iu(){const i=new Date,C=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],t=["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],e=i.getFullYear(),o=i.getMonth()+1,a=[...Array(10).keys()].map(n=>n+e);return{date:i,weekdays:t,currentYear:e,currentMonth:o,month_names:C,years:a}}function kt({month:i,year:C,selectValue:t,range:e,disablePast:o,availableDays:a}){const n=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],r=[],l=zt(C,i),h=new Date,c=new Date(C,i-1,1),d=new Date(C,i-1,0).getDate();for(let L=c.getDay();L>0;L--)r.push({name:d+1-L,isCurrentMonth:!1,isCurrentDay:!1,isToday:!1});for(let L=0;L<l;L++){const _=e.start.value&&e.end.value,f=_&&e.start.value<=$2({year:C,month:i,day:L+1})&&e.end.value>=$2({year:C,month:i,day:L+1}),z=_&&e.start.value===$2({year:C,month:i,day:L+1}),A=_&&e.end.value===$2({year:C,month:i,day:L+1}),Z=a?.includes(L+1),$=h.getDate()===L+1&&h.getMonth()===i-1,R=t===$2({year:C,month:i,day:L+1}),t1=new Date(C,i-1,L+1),w=o&&t1.setHours(0,0,0,0)<h.setHours(0,0,0,0);r.push({value:$2({year:C,month:i,day:L+1}),name:1+L,isCurrentMonth:!0,isCurrentDay:L+1===h.getDate(),isToday:$,isAvailable:Z,date:t1,disabled:w,selected:R,inRange:f,isStart:z,isEnd:A})}const p=42-r.length;for(let L=0;L<p;L++)r.push({name:L+1,isCurrentMonth:!1,isCurrentDay:!1,isToday:!1});return{year:C,month:n[i-1],days:zt(C,i),calendar:r}}function Ou(i){const{isAvailable:C,isCurrentMonth:t,isToday:e,disabled:o,selected:a,inRange:n,isStart:r,isEnd:l}=i;return{dayStyles:F({"item-day":!0,"current-month":t,available:C,today:e,disabled:o,selected:a,range:n,start:r,end:l})}}class $t extends M{static formAssociated=!0;static styles=Pu;static shadowRootOptions={...M.shadowRootOptions,mode:"open"};static properties={label:{type:String},open:{type:Boolean},name:{type:String},value:{type:Array},disablePast:{type:Boolean},disableControls:{type:Boolean},showLegend:{type:Boolean},hideSelector:{type:Boolean},alignDisplay:{type:String}};constructor(){super(),this.open=!1,this.name="desde-hasta",this.value=[],this.year=new Date().getFullYear(),this.years=[],this.month=new Date().getMonth()+1,this.valueStart="",this.valueEnd=""}handleClose(){this.open=!1}changeMonthPrev(){if(this.disableControls)return null;this.month===1?(this.year=this.year-1,this.month=12):this.month=this.month-1,this.requestUpdate()}changeMonthNext(){if(this.disableControls)return null;this.month===12?(this.year=this.year+1,this.month=1):this.month=this.month+1,this.requestUpdate()}onChange(C){this.value=C.target.value}render(){const{disablePast:C,showLegend:t,open:e,year:o,month:a,valueStart:n,valueEnd:r}=this,{weekdays:l,month_names:h,years:c}=Iu(),d={start:{value:this.valueStart,year:this.valueStart.split("-")[0],month:this.valueStart.split("-")[1],day:this.valueStart.split("-")[2]},end:{value:this.valueEnd,year:this.valueEnd.split("-")[0],month:this.valueEnd.split("-")[1],day:this.valueEnd.split("-")[2]}},p=kt({month:a,year:o,selectValue:this.valueStart,range:d,disablePast:C}),v=kt({month:a+1,year:o,selectValue:this.valueEnd,range:d,disablePast:C});document.addEventListener("click",w=>{w.composedPath().includes(this)||this.handleClose()});const L=()=>{this.shadowRoot.querySelectorAll(".dropdown").forEach(H=>{H.classList.remove("open")})},_=w=>{const{dayStyles:H}=Ou(w),j=()=>{if(this.valueStart==="")this.valueStart=w.value,this.valueEnd="";else if(this.valueStart!==""&&w.value<this.valueStart)this.valueStart=w.value;else if(this.valueEnd!==""&&w.value>this.valueEnd)this.valueEnd=w.value;else if(this.valueStart!==""&&this.valueEnd===""){this.valueEnd=w.value,this.value=[this.valueStart,this.valueEnd],this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,detail:{value:`${this.valueStart} - ${this.valueEnd}`}}));const Q={value:`${this.valueStart} - ${this.valueEnd}`,name:this.name,start:this.valueStart,end:this.valueEnd,message:`${this.name}: ${this.valueStart} - ${this.valueEnd}`,error:!1,success:!0};this.dispatchEvent(new CustomEvent("callback",{detail:Q,bubbles:!0,composed:!0})),this.open=!1}else this.valueStart!==""&&this.valueEnd!==""?(this.valueStart=w.value,this.valueEnd=""):(this.valueStart="",this.valueEnd="");this.setAttribute("date-start",this.valueStart),this.setAttribute("date-end",this.valueEnd)};return s`
|
|
14701
|
+
<button type="button" class=${H} @click=${Q=>{if(L(),w.isCurrentMonth&&!w.disabled){const T2=Q.target.parentNode.querySelectorAll("button");for(let H4=0;H4<T2.length;H4++)T2[H4].classList.remove("selected");Q.target.classList.add("selected"),j()}else console.log("not available")}} >
|
|
14702
14702
|
${w.name}
|
|
14703
14703
|
</button>
|
|
14704
14704
|
`},f=()=>s`
|
|
@@ -14727,7 +14727,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14727
14727
|
<cas-icon name="flat-sortDown" size="20"></cas-icon>
|
|
14728
14728
|
</div>
|
|
14729
14729
|
<div class="dropdown-content scrollable">
|
|
14730
|
-
${H?.map((Q,
|
|
14730
|
+
${H?.map((Q,T2)=>z(Q,j,T2))}
|
|
14731
14731
|
</div>
|
|
14732
14732
|
</div>
|
|
14733
14733
|
`,Z=w=>s`
|
|
@@ -14772,7 +14772,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14772
14772
|
fullWidth
|
|
14773
14773
|
></cas-input>
|
|
14774
14774
|
</div>
|
|
14775
|
-
`},R=()=>{const{top:w,bottom:H,left:j,right:a2}=this.getBoundingClientRect();return this.alignDisplay==="right"?`position: fixed; top:${w+92}px; right:${window.innerWidth-a2}px; z-index:1;`:this.alignDisplay==="top right"?`position: fixed; bottom:${window.innerHeight-(H-72)}px; right:${window.innerWidth-a2}px; z-index:1;`:`position: fixed; top:${w+92}px; left:${j}px; z-index:1;`};return document.getElementById("form-content")?.addEventListener("scroll",()=>{e&&this.handleClose()}),window.addEventListener("scroll",w=>{const H=this.shadowRoot.querySelector(".content");if(H){const{top:j,bottom:a2}=this.getBoundingClientRect();this.alignDisplay?.split(" ")?.find(
|
|
14775
|
+
`},R=()=>{const{top:w,bottom:H,left:j,right:a2}=this.getBoundingClientRect();return this.alignDisplay==="right"?`position: fixed; top:${w+92}px; right:${window.innerWidth-a2}px; z-index:1;`:this.alignDisplay==="top right"?`position: fixed; bottom:${window.innerHeight-(H-72)}px; right:${window.innerWidth-a2}px; z-index:1;`:`position: fixed; top:${w+92}px; left:${j}px; z-index:1;`};return document.getElementById("form-content")?.addEventListener("scroll",()=>{e&&this.handleClose()}),window.addEventListener("scroll",w=>{const H=this.shadowRoot.querySelector(".content");if(H){const{top:j,bottom:a2}=this.getBoundingClientRect();this.alignDisplay?.split(" ")?.find(T2=>T2==="top")?H.style.bottom=`${window.innerHeight-(a2-72)}px`:H.style.top=`${j+92}px`}}),s`
|
|
14776
14776
|
<div class="datepicker-container">
|
|
14777
14777
|
<label>
|
|
14778
14778
|
<cas-text variant="tertiary2">${this.label}</cas-text>
|
|
@@ -14794,15 +14794,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14794
14794
|
* @license
|
|
14795
14795
|
* Copyright (c) 2017 - 2022 Vaadin Ltd.
|
|
14796
14796
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14797
|
-
*/const
|
|
14797
|
+
*/const Nu=i=>class extends i{static get properties(){return{theme:{type:String,reflectToAttribute:!0,observer:"__deprecatedThemePropertyChanged"},_theme:{type:String,readOnly:!0}}}__deprecatedThemePropertyChanged(t){this._set_theme(t)}};/**
|
|
14798
14798
|
* @license
|
|
14799
14799
|
* Copyright (c) 2017 - 2022 Vaadin Ltd.
|
|
14800
14800
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14801
|
-
*/const At=[];function
|
|
14801
|
+
*/const At=[];function Et(i,C,t={}){i&&qu(i)&&console.warn(`The custom element definition for "${i}"
|
|
14802
14802
|
was finalized before a style module was registered.
|
|
14803
14803
|
Make sure to add component specific style modules before
|
|
14804
|
-
importing the corresponding custom element.`),C=
|
|
14805
|
-
`),C.content.appendChild(t)}function
|
|
14804
|
+
importing the corresponding custom element.`),C=Ru(C),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,C,t):At.push({themeFor:i,styles:C,include:t.include,moduleId:t.moduleId})}function o4(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():At}function Du(i,C){return(i||"").split(" ").some(t=>new RegExp(`^${t.split("*").join(".*")}$`).test(C))}function Fu(i=""){let C=0;return i.startsWith("lumo-")||i.startsWith("material-")?C=1:i.startsWith("vaadin-")&&(C=2),C}function Ru(i=[]){return[i].flat(1/0).filter(C=>C instanceof c6?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function St(i){const C=[];return i.include&&[].concat(i.include).forEach(t=>{const e=o4().find(o=>o.moduleId===t);e?C.push(...St(e),...e.styles):console.warn(`Included moduleId ${t} not found in style registry`)},i.styles),C}function ju(i,C){const t=document.createElement("style");t.innerHTML=i.map(e=>e.cssText).join(`
|
|
14805
|
+
`),C.content.appendChild(t)}function Uu(i){const C=`${i}-default-theme`,t=o4().filter(e=>e.moduleId!==C&&Du(e.themeFor,i)).map(e=>({...e,styles:[...St(e),...e.styles],includePriority:Fu(e.moduleId)})).sort((e,o)=>o.includePriority-e.includePriority);return t.length>0?t:o4().filter(e=>e.moduleId===C)}function qu(i){return Bt(customElements.get(i))}function Bt(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}const Tt=i=>class extends Nu(i){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;!t||Bt(this)||ju(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...Uu(this.is)];const o=this.__themes.flatMap(a=>a.styles);return o.filter((a,n)=>n===o.lastIndexOf(a))}};Et("cas-radio-button",V`
|
|
14806
14806
|
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
|
|
14807
14807
|
:host {
|
|
14808
14808
|
--cas-radio-button-size: 20px;
|
|
@@ -14928,7 +14928,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14928
14928
|
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
14929
14929
|
* Code distributed by Google as part of the polymer project is also
|
|
14930
14930
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
14931
|
-
*/let Pt=0,It=0;const
|
|
14931
|
+
*/let Pt=0,It=0;const A2=[];let s4=!1;function Wu(){s4=!1;const i=A2.length;for(let C=0;C<i;C++){const t=A2[C];if(t)try{t()}catch(e){setTimeout(()=>{throw e})}}A2.splice(0,i),It+=i}const Yu={run(i){s4||(s4=!0,queueMicrotask(()=>Wu())),A2.push(i);const C=Pt;return Pt+=1,C},cancel(i){const C=i-It;if(C>=0){if(!A2[C])throw new Error(`invalid async handle: ${i}`);A2[C]=null}}};/**
|
|
14932
14932
|
@license
|
|
14933
14933
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
14934
14934
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -14936,15 +14936,15 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
14936
14936
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
14937
14937
|
Code distributed by Google as part of the polymer project is also
|
|
14938
14938
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
14939
|
-
*/const
|
|
14939
|
+
*/const Gu=!1,Ku=i=>i,a4=typeof document.head.style.touchAction=="string",n4="__polymerGestures",l4="__polymerGesturesHandled",r4="__polymerGesturesTouchAction",Ot=25,Nt=5,Ju=2,Xu=["mousedown","mousemove","mouseup","click"],Qu=[0,1,4,2],CM=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch{return!1}}();function h4(i){return Xu.indexOf(i)>-1}let Dt=!1;(function(){try{const i=Object.defineProperty({},"passive",{get(){Dt=!0}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch{}})();function tM(i){if(!(h4(i)||i==="touchend")&&a4&&Dt&&Gu)return{passive:!0}}const eM=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),iM={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function o2(i){const C=i.type;if(!h4(C))return!1;if(C==="mousemove"){let e=i.buttons===void 0?1:i.buttons;return i instanceof window.MouseEvent&&!CM&&(e=Qu[i.which]||0),Boolean(e&1)}return(i.button===void 0?0:i.button)===0}function oM(i){if(i.type==="click"){if(i.detail===0)return!0;const C=x1(i);if(!C.nodeType||C.nodeType!==Node.ELEMENT_NODE)return!0;const t=C.getBoundingClientRect(),e=i.pageX,o=i.pageY;return!(e>=t.left&&e<=t.right&&o>=t.top&&o<=t.bottom)}return!1}const l1={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function sM(i){let C="auto";const t=Rt(i);for(let e=0,o;e<t.length;e++)if(o=t[e],o[r4]){C=o[r4];break}return C}function Ft(i,C,t){i.movefn=C,i.upfn=t,document.addEventListener("mousemove",C),document.addEventListener("mouseup",t)}function E2(i){document.removeEventListener("mousemove",i.movefn),document.removeEventListener("mouseup",i.upfn),i.movefn=null,i.upfn=null}const Rt=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:i=>i.composedPath&&i.composedPath()||[],d4={},s2=[];function aM(i,C){let t=document.elementFromPoint(i,C),e=t;for(;e&&e.shadowRoot&&!window.ShadyDOM;){const o=e;if(e=e.shadowRoot.elementFromPoint(i,C),o===e)break;e&&(t=e)}return t}function x1(i){const C=Rt(i);return C.length>0?C[0]:i.target}function nM(i){const C=i.type,e=i.currentTarget[n4];if(!e)return;const o=e[C];if(!o)return;if(!i[l4]&&(i[l4]={},C.startsWith("touch"))){const n=i.changedTouches[0];if(C==="touchstart"&&i.touches.length===1&&(l1.touch.id=n.identifier),l1.touch.id!==n.identifier)return;a4||(C==="touchstart"||C==="touchmove")&&lM(i)}const a=i[l4];if(!a.skip){for(let n=0,r;n<s2.length;n++)r=s2[n],o[r.name]&&!a[r.name]&&r.flow&&r.flow.start.indexOf(i.type)>-1&&r.reset&&r.reset();for(let n=0,r;n<s2.length;n++)r=s2[n],o[r.name]&&!a[r.name]&&(a[r.name]=!0,r[C](i))}}function lM(i){const C=i.changedTouches[0],t=i.type;if(t==="touchstart")l1.touch.x=C.clientX,l1.touch.y=C.clientY,l1.touch.scrollDecided=!1;else if(t==="touchmove"){if(l1.touch.scrollDecided)return;l1.touch.scrollDecided=!0;const e=sM(i);let o=!1;const a=Math.abs(l1.touch.x-C.clientX),n=Math.abs(l1.touch.y-C.clientY);i.cancelable&&(e==="none"?o=!0:e==="pan-x"?o=n>a:e==="pan-y"&&(o=a>n)),o?i.preventDefault():Q5("track")}}function jt(i,C,t){return d4[C]?(rM(i,C,t),!0):!1}function rM(i,C,t){const e=d4[C],o=e.deps,a=e.name;let n=i[n4];n||(i[n4]=n={});for(let r=0,l,h;r<o.length;r++)l=o[r],!(eM&&h4(l)&&l!=="click")&&(h=n[l],h||(n[l]=h={_count:0}),h._count===0&&i.addEventListener(l,nM,tM(l)),h[a]=(h[a]||0)+1,h._count=(h._count||0)+1);i.addEventListener(C,t),e.touchAction&&dM(i,e.touchAction)}function c4(i){s2.push(i),i.emits.forEach(C=>{d4[C]=i})}function hM(i){for(let C=0,t;C<s2.length;C++){t=s2[C];for(let e=0,o;e<t.emits.length;e++)if(o=t.emits[e],o===i)return t}return null}function dM(i,C){a4&&i instanceof HTMLElement&&Yu.run(()=>{i.style.touchAction=C}),i[r4]=C}function p4(i,C,t){const e=new Event(C,{bubbles:!0,cancelable:!0,composed:!0});if(e.detail=t,Ku(i).dispatchEvent(e),e.defaultPrevented){const o=t.preventer||t.sourceEvent;o&&o.preventDefault&&o.preventDefault()}}function Q5(i){const C=hM(i);C.info&&(C.info.prevent=!0)}c4({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){E2(this.info)},mousedown(i){if(!o2(i))return;const C=x1(i),t=this,e=a=>{o2(a)||(q3("up",C,a),E2(t.info))},o=a=>{o2(a)&&q3("up",C,a),E2(t.info)};Ft(this.info,e,o),q3("down",C,i)},touchstart(i){q3("down",x1(i),i.changedTouches[0],i)},touchend(i){q3("up",x1(i),i.changedTouches[0],i)}});function q3(i,C,t,e){!C||p4(C,i,{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e,prevent(o){return Q5(o)}})}c4({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(i){this.moves.length>Ju&&this.moves.shift(),this.moves.push(i)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,E2(this.info)},mousedown(i){if(!o2(i))return;const C=x1(i),t=this,e=a=>{const n=a.clientX,r=a.clientY;Ut(t.info,n,r)&&(t.info.state=t.info.started?a.type==="mouseup"?"end":"track":"start",t.info.state==="start"&&Q5("tap"),t.info.addMove({x:n,y:r}),o2(a)||(t.info.state="end",E2(t.info)),C&&v4(t.info,C,a),t.info.started=!0)},o=a=>{t.info.started&&e(a),E2(t.info)};Ft(this.info,e,o),this.info.x=i.clientX,this.info.y=i.clientY},touchstart(i){const C=i.changedTouches[0];this.info.x=C.clientX,this.info.y=C.clientY},touchmove(i){const C=x1(i),t=i.changedTouches[0],e=t.clientX,o=t.clientY;Ut(this.info,e,o)&&(this.info.state==="start"&&Q5("tap"),this.info.addMove({x:e,y:o}),v4(this.info,C,t),this.info.state="track",this.info.started=!0)},touchend(i){const C=x1(i),t=i.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:t.clientX,y:t.clientY}),v4(this.info,C,t))}});function Ut(i,C,t){if(i.prevent)return!1;if(i.started)return!0;const e=Math.abs(i.x-C),o=Math.abs(i.y-t);return e>=Nt||o>=Nt}function v4(i,C,t){if(!C)return;const e=i.moves[i.moves.length-2],o=i.moves[i.moves.length-1],a=o.x-i.x,n=o.y-i.y;let r,l=0;e&&(r=o.x-e.x,l=o.y-e.y),p4(C,"track",{state:i.state,x:t.clientX,y:t.clientY,dx:a,dy:n,ddx:r,ddy:l,sourceEvent:t,hover(){return aM(t.clientX,t.clientY)}})}c4({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(i){o2(i)&&(this.info.x=i.clientX,this.info.y=i.clientY)},click(i){o2(i)&&qt(this.info,i)},touchstart(i){const C=i.changedTouches[0];this.info.x=C.clientX,this.info.y=C.clientY},touchend(i){qt(this.info,i.changedTouches[0],i)}});function qt(i,C,t){const e=Math.abs(C.clientX-i.x),o=Math.abs(C.clientY-i.y),a=x1(t||C);!a||iM[a.localName]&&a.hasAttribute("disabled")||(isNaN(e)||isNaN(o)||e<=Ot&&o<=Ot||oM(C))&&(i.prevent||p4(a,"tap",{x:C.clientX,y:C.clientY,sourceEvent:C,preventer:t}))}/**
|
|
14940
14940
|
* @license
|
|
14941
14941
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
14942
14942
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14943
|
-
*/const
|
|
14943
|
+
*/const cM=i=>class extends Y5(U3(i)){get _activeKeys(){return[" "]}ready(){super.ready(),jt(this,"down",t=>{this._shouldSetActive(t)&&this._setActive(!0)}),jt(this,"up",()=>{this._setActive(!1)})}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(t){return!this.disabled}_onKeyDown(t){super._onKeyDown(t),this._shouldSetActive(t)&&this._activeKeys.includes(t.key)&&(this._setActive(!0),document.addEventListener("keyup",e=>{this._activeKeys.includes(e.key)&&this._setActive(!1)},{once:!0}))}_setActive(t){this.toggleAttribute("active",t)}};/**
|
|
14944
14944
|
* @license
|
|
14945
14945
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
14946
14946
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14947
|
-
*/const
|
|
14947
|
+
*/const pM=y(i=>typeof i.prototype.addController=="function"?i:class extends i{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(t=>{t.hostConnected&&t.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(t=>{t.hostDisconnected&&t.hostDisconnected()})}addController(t){this.__controllers.add(t),this.$!==void 0&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}});/**
|
|
14948
14948
|
* @license
|
|
14949
14949
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
14950
14950
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -14956,7 +14956,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
14956
14956
|
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
14957
14957
|
* Code distributed by Google as part of the polymer project is also
|
|
14958
14958
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
14959
|
-
*/const
|
|
14959
|
+
*/const vM={run(i){return window.requestIdleCallback?window.requestIdleCallback(i):window.setTimeout(i,16)},cancel(i){window.cancelIdleCallback?window.cancelIdleCallback(i):window.clearTimeout(i)}};/**
|
|
14960
14960
|
@license
|
|
14961
14961
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
14962
14962
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -14964,35 +14964,35 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
14964
14964
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
14965
14965
|
Code distributed by Google as part of the polymer project is also
|
|
14966
14966
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
14967
|
-
*/const L4=new Set;class
|
|
14967
|
+
*/const L4=new Set;class C6{static debounce(C,t,e){return C instanceof C6?C._cancelAsync():C=new C6,C.setConfig(t,e),C}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(C,t){this._asyncModule=C,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,L4.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),L4.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 LM(i){L4.add(i)}/**
|
|
14968
14968
|
* @license
|
|
14969
14969
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
14970
14970
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14971
|
-
*/const r1=[];function g4(i,C,t=i.getAttribute("dir")){C?i.setAttribute("dir",C):t!=null&&i.removeAttribute("dir")}function u4(){return document.documentElement.getAttribute("dir")}function
|
|
14971
|
+
*/const r1=[];function g4(i,C,t=i.getAttribute("dir")){C?i.setAttribute("dir",C):t!=null&&i.removeAttribute("dir")}function u4(){return document.documentElement.getAttribute("dir")}function gM(){const i=u4();r1.forEach(C=>{g4(C,i)})}new MutationObserver(gM).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const uM=i=>class extends i{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>t===""?null:t}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),g4(this,u4(),null))}attributeChangedCallback(t,e,o){if(super.attributeChangedCallback(t,e,o),t!=="dir")return;const a=u4(),n=o===a&&r1.indexOf(this)===-1,r=!o&&e&&r1.indexOf(this)===-1;n||r?(this.__subscribe(),g4(this,a,o)):o!==a&&e===a&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=r1.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,o){o==="dir"&&e===""&&!t.hasAttribute("dir")||super._valueToNodeAttribute(t,e,o)}_attributeToProperty(t,e,o){t==="dir"&&!e?this.dir="":super._attributeToProperty(t,e,o)}__subscribe(){r1.includes(this)||r1.push(this)}__unsubscribe(){r1.includes(this)&&r1.splice(r1.indexOf(this),1)}};/**
|
|
14972
14972
|
* @license
|
|
14973
14973
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
14974
14974
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14975
|
-
*/window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Q6()};let M4;const Yt=new Set,Gt=i=>class extends
|
|
14975
|
+
*/window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Q6()};let M4;const Yt=new Set,Gt=i=>class extends uM(i){static finalize(){super.finalize();const{is:t}=this;t&&!Yt.has(t)&&(window.Vaadin.registrations.push(this),Yt.add(t),window.Vaadin.developmentModeCallback&&(M4=C6.debounce(M4,vM,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),LM(M4)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
|
|
14976
14976
|
* @license
|
|
14977
14977
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
14978
14978
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14979
|
-
*/const
|
|
14979
|
+
*/const MM=y(i=>class extends i{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
|
|
14980
14980
|
* @license
|
|
14981
14981
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
14982
14982
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14983
|
-
*/window.addEventListener("keydown",()=>{},{capture:!0}),window.addEventListener("mousedown",()=>{},{capture:!0});function
|
|
14983
|
+
*/window.addEventListener("keydown",()=>{},{capture:!0}),window.addEventListener("mousedown",()=>{},{capture:!0});function fM(i){return i.getRootNode().activeElement===i}/**
|
|
14984
14984
|
* @license
|
|
14985
14985
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
14986
14986
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14987
|
-
*/const
|
|
14987
|
+
*/const wM=y(i=>class extends i{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(t){t&&(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(t=>{this._delegateAttribute(t,this[t])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(t=>{this._delegateProperty(t,this[t])})}_delegateAttrsChanged(...t){this.constructor.delegateAttrs.forEach((e,o)=>{this._delegateAttribute(e,t[o])})}_delegatePropsChanged(...t){this.constructor.delegateProps.forEach((e,o)=>{this._delegateProperty(e,t[o])})}_delegateAttribute(t,e){!this.stateTarget||(t==="invalid"&&this._delegateAttribute("aria-invalid",e?"true":!1),typeof e=="boolean"?this.stateTarget.toggleAttribute(t,e):e?this.stateTarget.setAttribute(t,e):this.stateTarget.removeAttribute(t))}_delegateProperty(t,e){!this.stateTarget||(this.stateTarget[t]=e)}});/**
|
|
14988
14988
|
* @license
|
|
14989
14989
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
14990
14990
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14991
|
-
*/const
|
|
14991
|
+
*/const mM=y(i=>class extends i{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}clear(){this.value=""}_addInputListeners(t){t.addEventListener("input",this._boundOnInput),t.addEventListener("change",this._boundOnChange)}_removeInputListeners(t){t.removeEventListener("input",this._boundOnInput),t.removeEventListener("change",this._boundOnChange)}_forwardInputValue(t){!this.inputElement||(t!=null?this.inputElement.value=t:this.inputElement.value="")}_inputElementChanged(t,e){t?this._addInputListeners(t):e&&this._removeInputListeners(e)}_hasInputValueChanged(t,e){(t||e)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(t){this._setHasInputValue(t),this._onInput(t)}_onInput(t){const e=t.composedPath()[0];this.__userInput=t.isTrusted,this.value=e.value,this.__userInput=!1}_onChange(t){}_toggleHasValue(t){this.toggleAttribute("has-value",t)}_valueChanged(t,e){this._toggleHasValue(this._hasValue),!(t===""&&e===void 0)&&(this.__userInput||this._forwardInputValue(t))}get _hasValue(){return this.value!=null&&this.value!==""}_setHasInputValue(t){const e=t.composedPath()[0];this._hasInputValue=e.value.length>0}});/**
|
|
14992
14992
|
* @license
|
|
14993
14993
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
14994
14994
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14995
|
-
*/const
|
|
14995
|
+
*/const HM=y(i=>class extends wM(MM(mM(i))){static get properties(){return{checked:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0}}}static get delegateProps(){return[...super.delegateProps,"checked"]}_onChange(t){const e=t.target;this._toggleChecked(e.checked),fM(e)||e.focus()}_toggleChecked(t){this.checked=t}});/**
|
|
14996
14996
|
@license
|
|
14997
14997
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
14998
14998
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -15000,7 +15000,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
15000
15000
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
15001
15001
|
Code distributed by Google as part of the polymer project is also
|
|
15002
15002
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
15003
|
-
*/function
|
|
15003
|
+
*/function W3(i,C,t){return{index:i,removed:C,addedCount:t}}const Kt=0,Jt=1,f4=2,w4=3;function VM(i,C,t,e,o,a){let n=a-o+1,r=t-C+1,l=new Array(n);for(let h=0;h<n;h++)l[h]=new Array(r),l[h][0]=h;for(let h=0;h<r;h++)l[0][h]=h;for(let h=1;h<n;h++)for(let c=1;c<r;c++)if(m4(i[C+c-1],e[o+h-1]))l[h][c]=l[h-1][c-1];else{let d=l[h-1][c]+1,p=l[h][c-1]+1;l[h][c]=d<p?d:p}return l}function ZM(i){let C=i.length-1,t=i[0].length-1,e=i[C][t],o=[];for(;C>0||t>0;){if(C==0){o.push(f4),t--;continue}if(t==0){o.push(w4),C--;continue}let a=i[C-1][t-1],n=i[C-1][t],r=i[C][t-1],l;n<r?l=n<a?n:a:l=r<a?r:a,l==a?(a==e?o.push(Kt):(o.push(Jt),e=a),C--,t--):l==n?(o.push(w4),C--,e=n):(o.push(f4),t--,e=r)}return o.reverse(),o}function _M(i,C,t,e,o,a){let n=0,r=0,l,h=Math.min(t-C,a-o);if(C==0&&o==0&&(n=xM(i,e,h)),t==i.length&&a==e.length&&(r=bM(i,e,h-n)),C+=n,o+=n,t-=r,a-=r,t-C==0&&a-o==0)return[];if(C==t){for(l=W3(C,[],0);o<a;)l.removed.push(e[o++]);return[l]}else if(o==a)return[W3(C,[],t-C)];let c=ZM(VM(i,C,t,e,o,a));l=void 0;let d=[],p=C,v=o;for(let L=0;L<c.length;L++)switch(c[L]){case Kt:l&&(d.push(l),l=void 0),p++,v++;break;case Jt:l||(l=W3(p,[],0)),l.addedCount++,p++,l.removed.push(e[v]),v++;break;case f4:l||(l=W3(p,[],0)),l.addedCount++,p++;break;case w4:l||(l=W3(p,[],0)),l.removed.push(e[v]),v++;break}return l&&d.push(l),d}function xM(i,C,t){for(let e=0;e<t;e++)if(!m4(i[e],C[e]))return e;return t}function bM(i,C,t){let e=i.length,o=C.length,a=0;for(;a<t&&m4(i[--e],C[--o]);)a++;return a}function yM(i,C){return _M(i,0,i.length,C,0,C.length)}function m4(i,C){return i===C}/**
|
|
15004
15004
|
@license
|
|
15005
15005
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
15006
15006
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -15008,19 +15008,19 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
15008
15008
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
15009
15009
|
Code distributed by Google as part of the polymer project is also
|
|
15010
15010
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
15011
|
-
*/function S2(i){return i.localName==="slot"}let
|
|
15011
|
+
*/function S2(i){return i.localName==="slot"}let zM=class{static getFlattenedNodes(i){const C=G(i);return S2(i)?(i=i,C.assignedNodes({flatten:!0})):Array.from(C.childNodes).map(t=>S2(t)?(t=t,G(t).assignedNodes({flatten:!0})):[t]).reduce((t,e)=>t.concat(e),[])}constructor(i,C){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=i,this.callback=C,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){S2(this._target)?this._listenSlots([this._target]):G(this._target).children&&(this._listenSlots(G(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,i=>{this._processMutations(i)}):(this._nativeChildrenObserver=new MutationObserver(i=>{this._processMutations(i)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){S2(this._target)?this._unlistenSlots([this._target]):G(this._target).children&&(this._unlistenSlots(G(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,E9.run(()=>this.flush()))}_processMutations(i){this._processSlotMutations(i),this.flush()}_processSlotMutations(i){if(i)for(let C=0;C<i.length;C++){let t=i[C];t.addedNodes&&this._listenSlots(t.addedNodes),t.removedNodes&&this._unlistenSlots(t.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let i={target:this._target,addedNodes:[],removedNodes:[]},C=this.constructor.getFlattenedNodes(this._target),t=yM(C,this._effectiveNodes);for(let o=0,a;o<t.length&&(a=t[o]);o++)for(let n=0,r;n<a.removed.length&&(r=a.removed[n]);n++)i.removedNodes.push(r);for(let o=0,a;o<t.length&&(a=t[o]);o++)for(let n=a.index;n<a.index+a.addedCount;n++)i.addedNodes.push(C[n]);this._effectiveNodes=C;let e=!1;return(i.addedNodes.length||i.removedNodes.length)&&(e=!0,this.callback.call(this._target,i)),e}_listenSlots(i){for(let C=0;C<i.length;C++){let t=i[C];S2(t)&&t.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(i){for(let C=0;C<i.length;C++){let t=i[C];S2(t)&&t.removeEventListener("slotchange",this._boundSchedule)}}};/**
|
|
15012
15012
|
* @license
|
|
15013
15013
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15014
15014
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15015
|
-
*/let
|
|
15015
|
+
*/let kM=0;function $M(){return kM++}/**
|
|
15016
15016
|
* @license
|
|
15017
15017
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15018
15018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15019
|
-
*/class
|
|
15019
|
+
*/class B2 extends EventTarget{static generateId(C,t){return`${C||"default"}-${t.localName}-${$M()}`}constructor(C,t,e,o,a){super(),this.host=C,this.slotName=t,this.slotFactory=e,this.slotInitializer=o,a&&(this.defaultId=B2.generateId(t,C))}hostConnected(){if(!this.initialized){let C=this.getSlotChild();C?(this.node=C,this.initCustomNode(C)):C=this.attachDefaultNode(),this.initNode(C),this.observe(),this.initialized=!0}}attachDefaultNode(){const{host:C,slotName:t,slotFactory:e}=this;let o=this.defaultNode;return!o&&e&&(o=e(C),o instanceof Element&&(t!==""&&o.setAttribute("slot",t),this.node=o,this.defaultNode=o)),o&&C.appendChild(o),o}getSlotChild(){const{slotName:C}=this;return Array.from(this.host.childNodes).find(t=>t.nodeType===Node.ELEMENT_NODE&&t.slot===C||t.nodeType===Node.TEXT_NODE&&t.textContent.trim()&&C==="")}initNode(C){const{slotInitializer:t}=this;t&&t(this.host,C)}initCustomNode(C){}teardownNode(C){}observe(){const{slotName:C}=this,t=C===""?"slot:not([name])":`slot[name=${C}]`,e=this.host.shadowRoot.querySelector(t);this.__slotObserver=new zM(e,o=>{const a=this.node,n=o.addedNodes.find(r=>r!==a);o.removedNodes.length&&o.removedNodes.forEach(r=>{this.teardownNode(r)}),n&&(a&&a.isConnected&&this.host.removeChild(a),this.node=n,n!==this.defaultNode&&(this.initCustomNode(n),this.initNode(n)))})}}/**
|
|
15020
15020
|
* @license
|
|
15021
15021
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15022
15022
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15023
|
-
*/class
|
|
15023
|
+
*/class AM extends B2{constructor(C,t){super(C,"input",()=>document.createElement("input"),(e,o)=>{e.value&&(o.value=e.value),e.type&&o.setAttribute("type",e.type),o.id=this.defaultId,typeof t=="function"&&t(o)},!0)}}/**
|
|
15024
15024
|
* @license
|
|
15025
15025
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15026
15026
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -15028,15 +15028,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
15028
15028
|
* @license
|
|
15029
15029
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15030
15030
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15031
|
-
*/class
|
|
15031
|
+
*/class EM extends B2{constructor(C){super(C,"label",()=>document.createElement("label"),(t,e)=>{this.__updateLabelId(e),this.__updateDefaultLabel(this.label),this.__observeLabel(e)},!0)}get labelId(){return this.node.id}initCustomNode(C){this.__updateLabelId(C);const t=this.__hasLabel(C);this.__toggleHasLabel(t)}teardownNode(C){this.__labelObserver&&this.__labelObserver.disconnect();let t=this.getSlotChild();!t&&C!==this.defaultNode&&(t=this.attachDefaultNode(),this.initNode(t));const e=this.__hasLabel(t);this.__toggleHasLabel(e)}setLabel(C){this.label=C,this.__updateDefaultLabel(C)}__hasLabel(C){return C?C.children.length>0||this.__isNotEmpty(C.textContent):!1}__isNotEmpty(C){return Boolean(C&&C.trim()!=="")}__observeLabel(C){this.__labelObserver=new MutationObserver(t=>{t.forEach(e=>{const o=e.target,a=o===this.node;if(e.type==="attributes")a&&o.id!==this.defaultId&&this.__updateLabelId(o);else if(a||o.parentElement===this.node){const n=this.__hasLabel(this.node);this.__toggleHasLabel(n)}})}),this.__labelObserver.observe(C,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__toggleHasLabel(C){this.host.toggleAttribute("has-label",C),this.dispatchEvent(new CustomEvent("label-changed",{detail:{hasLabel:C,node:this.node}}))}__updateDefaultLabel(C){if(this.defaultNode&&(this.defaultNode.textContent=C,this.defaultNode===this.node)){const t=this.__isNotEmpty(C);this.__toggleHasLabel(t)}}__updateLabelId(C){C.id||(C.id=this.defaultId)}}/**
|
|
15032
15032
|
* @license
|
|
15033
15033
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15034
15034
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15035
|
-
*/const Qt=y(i=>class extends Xt(i){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}get _labelId(){return this._labelController.labelId}get _labelNode(){return this._labelController.node}constructor(){super(),this._labelController=new
|
|
15035
|
+
*/const Qt=y(i=>class extends Xt(i){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}get _labelId(){return this._labelController.labelId}get _labelNode(){return this._labelController.node}constructor(){super(),this._labelController=new EM(this)}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(t){this._labelController.setLabel(t)}});/**
|
|
15036
15036
|
* @license
|
|
15037
15037
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15038
15038
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15039
|
-
*/class SM{constructor(C,t){this.input=C,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),t.addEventListener("label-changed",e=>{this.__initLabel(e.detail.node)}),this.__initLabel(t.node)}__initLabel(C){C&&(C.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&C.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const C=t=>{t.stopImmediatePropagation(),this.input.removeEventListener("click",C)};this.input.addEventListener("click",C)}}const
|
|
15039
|
+
*/class SM{constructor(C,t){this.input=C,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),t.addEventListener("label-changed",e=>{this.__initLabel(e.detail.node)}),this.__initLabel(t.node)}__initLabel(C){C&&(C.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&C.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const C=t=>{t.stopImmediatePropagation(),this.input.removeEventListener("click",C)};this.input.addEventListener("click",C)}}const BM=V`
|
|
15040
15040
|
:host {
|
|
15041
15041
|
color: var(--lumo-body-text-color);
|
|
15042
15042
|
font-size: var(--lumo-font-size-m);
|
|
@@ -15074,7 +15074,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
15074
15074
|
color: var(--lumo-secondary-text-color);
|
|
15075
15075
|
}
|
|
15076
15076
|
}
|
|
15077
|
-
`;
|
|
15077
|
+
`;Et("cas-radio-button-group",[H8,BM],{moduleId:"lumo-radio-group"});/**
|
|
15078
15078
|
* @license
|
|
15079
15079
|
* Copyright (c) 2023 Vaadin Ltd.
|
|
15080
15080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -15082,43 +15082,43 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
15082
15082
|
* @license
|
|
15083
15083
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
15084
15084
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15085
|
-
*/function
|
|
15085
|
+
*/function TM(i){return i.nodeType===Node.TEXT_NODE&&i.textContent.trim()===""}/**
|
|
15086
15086
|
* @license
|
|
15087
15087
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
15088
15088
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15089
|
-
*/let
|
|
15089
|
+
*/let PM=0;function te(){return PM++}/**
|
|
15090
15090
|
* @license
|
|
15091
15091
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
15092
15092
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15093
|
-
*/class
|
|
15093
|
+
*/class IM extends EventTarget{static generateId(C,t){return`${t||"default"}-${C.localName}-${te()}`}constructor(C,t,e,o={}){super();const{initializer:a,multiple:n,observe:r,useUniqueId:l}=o;this.host=C,this.slotName=t,this.tagName=e,this.observe=typeof r=="boolean"?r:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=a,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(C,t))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let C=this.getSlotChild();C?(this.node=C,this.initAddedNode(C)):(C=this.attachDefaultNode(),this.initNode(C))}initMultiple(){const C=this.getSlotChildren();if(C.length===0){const t=this.attachDefaultNode();t&&(this.nodes=[t],this.initNode(t))}else this.nodes=C,C.forEach(t=>{this.initAddedNode(t)})}attachDefaultNode(){const{host:C,slotName:t,tagName:e}=this;let o=this.defaultNode;return!o&&e&&(o=document.createElement(e),o instanceof Element&&(t!==""&&o.setAttribute("slot",t),this.node=o,this.defaultNode=o)),o&&C.appendChild(o),o}getSlotChildren(){const{slotName:C}=this;return Array.from(this.host.childNodes).filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.slot===C||t.nodeType===Node.TEXT_NODE&&t.textContent.trim()&&C==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(C){const{slotInitializer:t}=this;t&&t(C,this.host)}initCustomNode(C){}teardownNode(C){}initAddedNode(C){C!==this.defaultNode&&(this.initCustomNode(C),this.initNode(C))}observeSlot(){const{slotName:C}=this,t=C===""?"slot:not([name])":`slot[name=${C}]`,e=this.host.shadowRoot.querySelector(t);this.__slotObserver=new Ce(e,({addedNodes:o,removedNodes:a})=>{const n=this.multiple?this.nodes:[this.node],r=o.filter(l=>!TM(l)&&!n.includes(l));a.length&&(this.nodes=n.filter(l=>!a.includes(l)),a.forEach(l=>{this.teardownNode(l)})),r&&r.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...r].filter(l=>l!==this.defaultNode),r.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=r[0],this.initAddedNode(this.node)))})}}/**
|
|
15094
15094
|
* @license
|
|
15095
15095
|
* Copyright (c) 2022 - 2023 Vaadin Ltd.
|
|
15096
15096
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15097
|
-
*/class
|
|
15097
|
+
*/class OM extends IM{constructor(C){super(C,"tooltip"),this.setTarget(C)}initCustomNode(C){C.target=this.target,this.ariaTarget!==void 0&&(C.ariaTarget=this.ariaTarget),this.context!==void 0&&(C.context=this.context),this.manual!==void 0&&(C.manual=this.manual),this.opened!==void 0&&(C.opened=this.opened),this.position!==void 0&&(C._position=this.position),this.shouldShow!==void 0&&(C.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(C){this.ariaTarget=C;const t=this.node;t&&(t.ariaTarget=C)}setContext(C){this.context=C;const t=this.node;t&&(t.context=C)}setManual(C){this.manual=C;const t=this.node;t&&(t.manual=C)}setOpened(C){this.opened=C;const t=this.node;t&&(t.opened=C)}setPosition(C){this.position=C;const t=this.node;t&&(t._position=C)}setShouldShow(C){this.shouldShow=C;const t=this.node;t&&(t.shouldShow=C)}setTarget(C){this.target=C;const t=this.node;t&&(t.target=C)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
|
|
15098
15098
|
* @license
|
|
15099
15099
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15100
15100
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15101
|
-
*/class
|
|
15101
|
+
*/class NM extends B2{constructor(C){super(C,"error-message",()=>document.createElement("div"),(t,e)=>{this.__updateErrorId(e),this.__updateHasError()},!0)}get errorId(){return this.node&&this.node.id}setErrorMessage(C){this.errorMessage=C,this.__updateHasError()}setInvalid(C){this.invalid=C,this.__updateHasError()}initCustomNode(C){this.__updateErrorId(C),C.textContent&&!this.errorMessage&&(this.errorMessage=C.textContent.trim()),this.__updateHasError()}teardownNode(C){let t=this.getSlotChild();!t&&C!==this.defaultNode&&(t=this.attachDefaultNode(),this.initNode(t)),this.__updateHasError()}__isNotEmpty(C){return Boolean(C&&C.trim()!=="")}__updateHasError(){const C=this.node,t=Boolean(this.invalid&&this.__isNotEmpty(this.errorMessage));C&&(C.textContent=t?this.errorMessage:"",C.hidden=!t,t?C.setAttribute("role","alert"):C.removeAttribute("role")),this.host.toggleAttribute("has-error-message",t)}__updateErrorId(C){C.id||(C.id=this.defaultId)}}/**
|
|
15102
15102
|
* @license
|
|
15103
15103
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15104
15104
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15105
|
-
*/function ee(i){return i?new Set(i.split(" ")):new Set}function ie(i){return[...i].join(" ")}function
|
|
15105
|
+
*/function ee(i){return i?new Set(i.split(" ")):new Set}function ie(i){return[...i].join(" ")}function DM(i,C,t){const e=ee(i.getAttribute(C));e.add(t),i.setAttribute(C,ie(e))}function FM(i,C,t){const e=ee(i.getAttribute(C));if(e.delete(t),e.size===0){i.removeAttribute(C);return}i.setAttribute(C,ie(e))}/**
|
|
15106
15106
|
* @license
|
|
15107
15107
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15108
15108
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15109
|
-
*/class
|
|
15109
|
+
*/class RM{constructor(C){this.host=C,this.__required=!1}setTarget(C){this.__target=C,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId)}setRequired(C){this.__setAriaRequiredAttribute(C),this.__required=C}setLabelId(C){this.__setLabelIdToAriaAttribute(C,this.__labelId),this.__labelId=C}setErrorId(C){this.__setErrorIdToAriaAttribute(C,this.__errorId),this.__errorId=C}setHelperId(C){this.__setHelperIdToAriaAttribute(C,this.__helperId),this.__helperId=C}get __isGroupField(){return this.__target===this.host}__setLabelIdToAriaAttribute(C,t){this.__setAriaAttributeId("aria-labelledby",C,t)}__setErrorIdToAriaAttribute(C,t){this.__isGroupField?this.__setAriaAttributeId("aria-labelledby",C,t):this.__setAriaAttributeId("aria-describedby",C,t)}__setHelperIdToAriaAttribute(C,t){this.__isGroupField?this.__setAriaAttributeId("aria-labelledby",C,t):this.__setAriaAttributeId("aria-describedby",C,t)}__setAriaRequiredAttribute(C){!this.__target||["input","textarea"].includes(this.__target.localName)||(C?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required"))}__setAriaAttributeId(C,t,e){!this.__target||(e&&FM(this.__target,C,e),t&&DM(this.__target,C,t))}}/**
|
|
15110
15110
|
* @license
|
|
15111
15111
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15112
15112
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15113
|
-
*/class
|
|
15113
|
+
*/class jM extends B2{constructor(C){super(C,"helper",null,null,!0)}get helperId(){return this.node&&this.node.id}initCustomNode(C){this.__updateHelperId(C),this.__observeHelper(C);const t=this.__hasHelper(C);this.__toggleHasHelper(t)}teardownNode(C){this.__helperIdObserver&&this.__helperIdObserver.disconnect();const t=this.getSlotChild();if(t&&t!==this.defaultNode){const e=this.__hasHelper(t);this.__toggleHasHelper(e)}else this.__applyDefaultHelper(this.helperText,t)}setHelperText(C){this.helperText=C;const t=this.getSlotChild();(!t||t===this.defaultNode)&&this.__applyDefaultHelper(C,t)}__hasHelper(C){return C?C.children.length>0||C.nodeType===Node.ELEMENT_NODE&&customElements.get(C.localName)||this.__isNotEmpty(C.textContent):!1}__isNotEmpty(C){return C&&C.trim()!==""}__applyDefaultHelper(C,t){const e=this.__isNotEmpty(C);e&&!t&&(this.slotFactory=()=>document.createElement("div"),t=this.attachDefaultNode(),this.__updateHelperId(t),this.__observeHelper(t)),t&&(t.textContent=C),this.__toggleHasHelper(e)}__observeHelper(C){this.__helperObserver=new MutationObserver(t=>{t.forEach(e=>{const o=e.target,a=o===this.node;if(e.type==="attributes")a&&o.id!==this.defaultId&&this.__updateHelperId(o);else if(a||o.parentElement===this.node){const n=this.__hasHelper(this.node);this.__toggleHasHelper(n)}})}),this.__helperObserver.observe(C,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__toggleHasHelper(C){this.host.toggleAttribute("has-helper",C),this.dispatchEvent(new CustomEvent("helper-changed",{detail:{hasHelper:C,node:this.node}}))}__updateHelperId(C){C.id||(C.id=this.defaultId)}}/**
|
|
15114
15114
|
* @license
|
|
15115
15115
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15116
15116
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15117
|
-
*/const
|
|
15117
|
+
*/const UM=y(i=>class extends i{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const t=this.checkValidity();return this._setInvalid(!t),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:t}})),t}checkValidity(){return!this.required||!!this.value}_setInvalid(t){this._shouldSetInvalid(t)&&(this.invalid=t)}_shouldSetInvalid(t){return!0}});/**
|
|
15118
15118
|
* @license
|
|
15119
15119
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
15120
15120
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15121
|
-
*/const
|
|
15121
|
+
*/const qM=i=>class extends UM(Qt(Xt(i))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}get _errorId(){return this._errorController.errorId}get _errorNode(){return this._errorController.node}get _helperId(){return this._helperController.helperId}get _helperNode(){return this._helperController.node}constructor(){super(),this._fieldAriaController=new RM(this),this._helperController=new jM(this),this._errorController=new NM(this),this._labelController.addEventListener("label-changed",t=>{const{hasLabel:e,node:o}=t.detail;this.__labelChanged(e,o)}),this._helperController.addEventListener("helper-changed",t=>{const{hasHelper:e,node:o}=t.detail;this.__helperChanged(e,o)})}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(t,e){t?this._fieldAriaController.setHelperId(e.id):this._fieldAriaController.setHelperId(null)}__labelChanged(t,e){t?this._fieldAriaController.setLabelId(e.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(t){this._errorController.setErrorMessage(t)}_helperTextChanged(t){this._helperController.setHelperText(t)}_ariaTargetChanged(t){t&&this._fieldAriaController.setTarget(t)}_requiredChanged(t){this._fieldAriaController.setRequired(t)}_invalidChanged(t){this._errorController.setInvalid(t),setTimeout(()=>{t?this._fieldAriaController.setErrorId(this._errorController.errorId):this._fieldAriaController.setErrorId(null)})}};class WM extends qM(q8(Y5(U3(Gt(Tt(o1)))))){static get is(){return"cas-radio-button-group"}static get template(){return f1`
|
|
15122
15122
|
<style>
|
|
15123
15123
|
:host {
|
|
15124
15124
|
display: inline-flex;
|
|
@@ -15169,7 +15169,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
15169
15169
|
</div>
|
|
15170
15170
|
|
|
15171
15171
|
<slot name="tooltip"></slot>
|
|
15172
|
-
`}static get properties(){return{value:{type:String,notify:!0,value:"",observer:"__valueChanged"},readonly:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__readonlyChanged"},_fieldName:{type:String}}}constructor(){super(),this.__registerRadioButton=this.__registerRadioButton.bind(this),this.__unregisterRadioButton=this.__unregisterRadioButton.bind(this),this.__onRadioButtonCheckedChange=this.__onRadioButtonCheckedChange.bind(this),this._tooltipController=new
|
|
15172
|
+
`}static get properties(){return{value:{type:String,notify:!0,value:"",observer:"__valueChanged"},readonly:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__readonlyChanged"},_fieldName:{type:String}}}constructor(){super(),this.__registerRadioButton=this.__registerRadioButton.bind(this),this.__unregisterRadioButton=this.__unregisterRadioButton.bind(this),this.__onRadioButtonCheckedChange=this.__onRadioButtonCheckedChange.bind(this),this._tooltipController=new OM(this),this._tooltipController.addEventListener("tooltip-changed",C=>{const t=C.detail.node;if(t&&t.isConnected){const e=this.__radioButtons.map(o=>o.inputElement);this._tooltipController.setAriaTarget(e)}else this._tooltipController.setAriaTarget([])})}get __radioButtons(){return this.__filterRadioButtons([...this.children])}get __selectedRadioButton(){return this.__radioButtons.find(C=>C.checked)}get isHorizontalRTL(){return this.__isRTL&&this._theme!=="vertical"}ready(){super.ready(),this.ariaTarget=this,this.setAttribute("role","radiogroup"),this._fieldName=`${this.localName}-${te()}`;const C=this.shadowRoot.querySelector("slot:not([name])");this._observer=new Ce(C,({addedNodes:t,removedNodes:e})=>{this.__filterRadioButtons(t).reverse().forEach(this.__registerRadioButton),this.__filterRadioButtons(e).forEach(this.__unregisterRadioButton);const o=this.__radioButtons.map(a=>a.inputElement);this._tooltipController.setAriaTarget(o)}),this.addController(this._tooltipController)}__filterRadioButtons(C){return C.filter(t=>t instanceof t6)}_onKeyDown(C){super._onKeyDown(C);const t=C.composedPath().find(e=>e instanceof t6);["ArrowLeft","ArrowUp"].includes(C.key)&&(C.preventDefault(),this.__selectNextRadioButton(t)),["ArrowRight","ArrowDown"].includes(C.key)&&(C.preventDefault(),this.__selectPrevRadioButton(t))}_invalidChanged(C){super._invalidChanged(C),C?this.setAttribute("aria-invalid","true"):this.removeAttribute("aria-invalid")}__selectNextRadioButton(C){const t=this.__radioButtons.indexOf(C);this.__selectIncRadioButton(t,this.isHorizontalRTL?1:-1)}__selectPrevRadioButton(C){const t=this.__radioButtons.indexOf(C);this.__selectIncRadioButton(t,this.isHorizontalRTL?-1:1)}__selectIncRadioButton(C,t){const e=(this.__radioButtons.length+C+t)%this.__radioButtons.length,o=this.__radioButtons[e];o.disabled?this.__selectIncRadioButton(e,t):(o.focusElement.focus(),o.focusElement.click())}__registerRadioButton(C){C.name=this._fieldName,C.addEventListener("checked-changed",this.__onRadioButtonCheckedChange),(this.disabled||this.readonly)&&(C.disabled=!0),C.checked&&this.__selectRadioButton(C)}__unregisterRadioButton(C){C.removeEventListener("checked-changed",this.__onRadioButtonCheckedChange),C.value===this.value&&this.__selectRadioButton(null)}__onRadioButtonCheckedChange(C){C.target.checked&&this.__selectRadioButton(C.target)}__valueChanged(C,t){if(!(t===void 0&&C==="")){if(C){const e=this.__radioButtons.find(o=>o.value===C);e?(this.__selectRadioButton(e),this.toggleAttribute("has-value",!0)):console.warn(`The radio button with the value "${C}" was not found.`)}else this.__selectRadioButton(null),this.removeAttribute("has-value");t!==void 0&&this.validate()}}__readonlyChanged(C,t){!C&&t===void 0||t!==C&&this.__updateRadioButtonsDisabledProperty()}_disabledChanged(C,t){super._disabledChanged(C,t),!(!C&&t===void 0)&&t!==C&&this.__updateRadioButtonsDisabledProperty()}_shouldRemoveFocus(C){return!this.contains(C.relatedTarget)}_setFocused(C){super._setFocused(C),!C&&document.hasFocus()&&this.validate()}__selectRadioButton(C){C?this.value=C.value:this.value="",this.__radioButtons.forEach(t=>{t.checked=t===C}),this.readonly&&this.__updateRadioButtonsDisabledProperty()}__updateRadioButtonsDisabledProperty(){this.__radioButtons.forEach(C=>{this.readonly?C.disabled=C!==this.__selectedRadioButton:C.disabled=this.disabled})}}Wt(WM);class t6 extends Qt(HM(YC(cM(Gt(Tt(pM(o1))))))){static get is(){return"cas-radio-button"}static get template(){return f1`
|
|
15173
15173
|
<style>
|
|
15174
15174
|
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
|
|
15175
15175
|
:host * {
|
|
@@ -15249,4 +15249,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
15249
15249
|
<slot name="input"></slot>
|
|
15250
15250
|
<slot name="label"></slot>
|
|
15251
15251
|
</div>
|
|
15252
|
-
`}static get properties(){return{name:{type:String,value:""}}}static get delegateAttrs(){return[...super.delegateAttrs,"name"]}constructor(){super(),this._setType("radio"),this.value="on"}ready(){super.ready(),this.addController(new
|
|
15252
|
+
`}static get properties(){return{name:{type:String,value:""}}}static get delegateAttrs(){return[...super.delegateAttrs,"name"]}constructor(){super(),this._setType("radio"),this.value="on"}ready(){super.ready(),this.addController(new AM(this,C=>{this._setInputElement(C),this._setFocusElement(C),this.stateTarget=C,this.ariaTarget=C})),this.addController(new SM(this.inputElement,this._labelController))}}Wt(t6),console.log("eloisa-ds",oe?.version),k.CasAccordion=i4,k.CasCheckbox=vt,k.CasDatePicker=yt,k.CasDatePickerRange=$t,k.CasFooter=pt,k.CasHeader=rt,k.CasInput=Lt,k.CasInputFile=gt,k.CasModal=ut,k.CasRadio=Mt,k.CasShare=_t,k.CasSpinner=Ht,k.CasTextField=ft,k.CasToggle=wt,k.CasTooltip=mt,k.RadioButton=t6,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|