cas-ds-web-components 1.2.52 → 1.2.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,34 @@
1
- (function(g,v){typeof exports=="object"&&typeof module<"u"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(g=typeof globalThis<"u"?globalThis:g||self,v(g["cas-modal"]={}))})(this,function(g){"use strict";/**
1
+ (function(m,v){typeof exports=="object"&&typeof module<"u"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(m=typeof globalThis<"u"?globalThis:m||self,v(m["cas-modal"]={}))})(this,function(m){"use strict";/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const v=window,k=v.ShadowRoot&&(v.ShadyCSS===void 0||v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,j=Symbol(),F=new WeakMap;class W{constructor(t,e,i){if(this._$cssResult$=!0,i!==j)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(k&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=F.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&F.set(e,t))}return t}toString(){return this.cssText}}const dt=n=>new W(typeof n=="string"?n:n+"",void 0,j),ct=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((i,s,r)=>i+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[r+1],n[0]);return new W(e,n,j)},pt=(n,t)=>{k?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=v.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,n.appendChild(i)})},q=k?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return dt(e)})(n):n;/**
5
+ */const v=window,z=v.ShadowRoot&&(v.ShadyCSS===void 0||v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,tt=Symbol(),et=new WeakMap;class Ct{constructor(t,e,i){if(this._$cssResult$=!0,i!==tt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(z&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=et.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&et.set(e,t))}return t}toString(){return this.cssText}}const Pt=o=>new Ct(typeof o=="string"?o:o+"",void 0,tt),Ut=(o,t)=>{z?o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=v.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,o.appendChild(i)})},it=z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Pt(e)})(o):o;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */var z;const O=window,Z=O.trustedTypes,ut=Z?Z.emptyScript:"",J=O.reactiveElementPolyfillSupport,B={toAttribute(n,t){switch(t){case Boolean:n=n?ut:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},K=(n,t)=>t!==n&&(t==t||n==n),D={attribute:!0,type:String,converter:B,reflect:!1,hasChanged:K};class m extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=D){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const r=this[t];this[e]=s,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||D}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(q(s))}else t!==void 0&&e.push(q(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return pt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=D){var s;const r=this.constructor._$Ep(t,i);if(r!==void 0&&i.reflect===!0){const o=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:B).toAttribute(e,i.type);this._$El=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,r=s._$Ev.get(t);if(r!==void 0&&this._$El!==r){const o=s.getPropertyOptions(r),d=typeof o.converter=="function"?{fromAttribute:o.converter}:((i=o.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?o.converter:B;this._$El=r,this[r]=d.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||K)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,r)=>this[r]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var r;return(r=s.hostUpdate)===null||r===void 0?void 0:r.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},J?.({ReactiveElement:m}),((z=O.reactiveElementVersions)!==null&&z!==void 0?z:O.reactiveElementVersions=[]).push("1.4.2");/**
9
+ */var L;const M=window,st=M.trustedTypes,Ot=st?st.emptyScript:"",ot=M.reactiveElementPolyfillSupport,D={toAttribute(o,t){switch(t){case Boolean:o=o?Ot:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},nt=(o,t)=>t!==o&&(t==t||o==o),B={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:nt},I="finalized";class x extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=B){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||B}static finalize(){if(this.hasOwnProperty(I))return!1;this[I]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(it(s))}else t!==void 0&&e.push(it(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Ut(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=B){var s;const n=this.constructor._$Ep(t,i);if(n!==void 0&&i.reflect===!0){const r=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:D).toAttribute(e,i.type);this._$El=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,n=s._$Ev.get(t);if(n!==void 0&&this._$El!==n){const r=s.getPropertyOptions(n),a=typeof r.converter=="function"?{fromAttribute:r.converter}:((i=r.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?r.converter:D;this._$El=n,this[n]=a.fromAttribute(e,r.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||nt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,n)=>this[n]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var n;return(n=s.hostUpdate)===null||n===void 0?void 0:n.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}x[I]=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},ot?.({ReactiveElement:x}),((L=M.reactiveElementVersions)!==null&&L!==void 0?L:M.reactiveElementVersions=[]).push("1.6.3");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */var L;const T=window,y=T.trustedTypes,G=y?y.createPolicy("lit-html",{createHTML:n=>n}):void 0,_=`lit$${(Math.random()+"").slice(9)}$`,Q="?"+_,$t=`<${Q}>`,A=document,w=(n="")=>A.createComment(n),C=n=>n===null||typeof n!="object"&&typeof n!="function",X=Array.isArray,vt=n=>X(n)||typeof n?.[Symbol.iterator]=="function",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,tt=/>/g,f=RegExp(`>|[
14
- \f\r](?:([^\\s"'>=/]+)([
15
- \f\r]*=[
16
- \f\r]*(?:[^
17
- \f\r"'\`<>=]|("|')|))|$)`,"g"),et=/'/g,it=/"/g,st=/^(?:script|style|textarea|title)$/i,_t=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),ft=_t(1),b=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),nt=new WeakMap,E=A.createTreeWalker(A,129,null,!1),gt=(n,t)=>{const e=n.length-1,i=[];let s,r=t===2?"<svg>":"",o=H;for(let l=0;l<e;l++){const h=n[l];let u,a,c=-1,$=0;for(;$<h.length&&(o.lastIndex=$,a=o.exec(h),a!==null);)$=o.lastIndex,o===H?a[1]==="!--"?o=Y:a[1]!==void 0?o=tt:a[2]!==void 0?(st.test(a[2])&&(s=RegExp("</"+a[2],"g")),o=f):a[3]!==void 0&&(o=f):o===f?a[0]===">"?(o=s??H,c=-1):a[1]===void 0?c=-2:(c=o.lastIndex-a[2].length,u=a[1],o=a[3]===void 0?f:a[3]==='"'?it:et):o===it||o===et?o=f:o===Y||o===tt?o=H:(o=f,s=void 0);const N=o===f&&n[l+1].startsWith("/>")?" ":"";r+=o===H?h+$t:c>=0?(i.push(u),h.slice(0,c)+"$lit$"+h.slice(c)+_+N):h+_+(c===-2?(i.push(void 0),l):N)}const d=r+(n[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return[G!==void 0?G.createHTML(d):d,i]};class P{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,o=0;const d=t.length-1,l=this.parts,[h,u]=gt(t,e);if(this.el=P.createElement(h,i),E.currentNode=this.el.content,e===2){const a=this.el.content,c=a.firstChild;c.remove(),a.append(...c.childNodes)}for(;(s=E.nextNode())!==null&&l.length<d;){if(s.nodeType===1){if(s.hasAttributes()){const a=[];for(const c of s.getAttributeNames())if(c.endsWith("$lit$")||c.startsWith(_)){const $=u[o++];if(a.push(c),$!==void 0){const N=s.getAttribute($.toLowerCase()+"$lit$").split(_),R=/([.?@])?(.*)/.exec($);l.push({type:1,index:r,name:R[2],strings:N,ctor:R[1]==="."?yt:R[1]==="?"?bt:R[1]==="@"?Et:M})}else l.push({type:6,index:r})}for(const c of a)s.removeAttribute(c)}if(st.test(s.tagName)){const a=s.textContent.split(_),c=a.length-1;if(c>0){s.textContent=y?y.emptyScript:"";for(let $=0;$<c;$++)s.append(a[$],w()),E.nextNode(),l.push({type:2,index:++r});s.append(a[c],w())}}}else if(s.nodeType===8)if(s.data===Q)l.push({type:2,index:r});else{let a=-1;for(;(a=s.data.indexOf(_,a+1))!==-1;)l.push({type:7,index:r}),a+=_.length-1}r++}}static createElement(t,e){const i=A.createElement("template");return i.innerHTML=t,i}}function x(n,t,e=n,i){var s,r,o,d;if(t===b)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=C(t)?void 0:t._$litDirective$;return l?.constructor!==h&&((r=l?._$AO)===null||r===void 0||r.call(l,!1),h===void 0?l=void 0:(l=new h(n),l._$AT(n,e,i)),i!==void 0?((o=(d=e)._$Co)!==null&&o!==void 0?o:d._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=x(n,l._$AS(n,t.values),l,i)),t}class mt{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:s}=this._$AD,r=((e=t?.creationScope)!==null&&e!==void 0?e:A).importNode(i,!0);E.currentNode=r;let o=E.nextNode(),d=0,l=0,h=s[0];for(;h!==void 0;){if(d===h.index){let u;h.type===2?u=new U(o,o.nextSibling,this,t):h.type===1?u=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&(u=new xt(o,this,t)),this.u.push(u),h=s[++l]}d!==h?.index&&(o=E.nextNode(),d++)}return r}p(t){let e=0;for(const i of this.u)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class U{constructor(t,e,i,s){var r;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=(r=s?.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=x(this,t,e),C(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==b&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):vt(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==p&&C(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=P.createElement(s.h,this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.p(i);else{const o=new mt(r,this),d=o.v(this.options);o.p(i),this.T(d),this._$AH=o}}_$AC(t){let e=nt.get(t.strings);return e===void 0&&nt.set(t.strings,e=new P(t)),e}k(t){X(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new U(this.O(w()),this.O(w()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class M{constructor(t,e,i,s,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const r=this.strings;let o=!1;if(r===void 0)t=x(this,t,e,0),o=!C(t)||t!==this._$AH&&t!==b,o&&(this._$AH=t);else{const d=t;let l,h;for(t=r[0],l=0;l<r.length-1;l++)h=x(this,d[i+l],e,l),h===b&&(h=this._$AH[l]),o||(o=!C(h)||h!==this._$AH[l]),h===p?t=p:t!==p&&(t+=(h??"")+r[l+1]),this._$AH[l]=h}o&&!s&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class yt extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}const At=y?y.emptyScript:"";class bt extends M{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,At):this.element.removeAttribute(this.name)}}class Et extends M{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var i;if((t=(i=x(this,t,e,0))!==null&&i!==void 0?i:p)===b)return;const s=this._$AH,r=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==p&&(s===p||r);r&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}}class xt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){x(this,t)}}const ot=T.litHtmlPolyfillSupport;ot?.(P,U),((L=T.litHtmlVersions)!==null&&L!==void 0?L:T.litHtmlVersions=[]).push("2.4.0");const St=(n,t,e)=>{var i,s;const r=(i=e?.renderBefore)!==null&&i!==void 0?i:t;let o=r._$litPart$;if(o===void 0){const d=(s=e?.renderBefore)!==null&&s!==void 0?s:null;r._$litPart$=o=new U(t.insertBefore(w(),d),d,void 0,e??{})}return o._$AI(n),o};/**
13
+ */var V;const H=window,A=H.trustedTypes,rt=A?A.createPolicy("lit-html",{createHTML:o=>o}):void 0,F="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,lt="?"+_,Rt=`<${lt}>`,f=document,C=()=>f.createComment(""),P=o=>o===null||typeof o!="object"&&typeof o!="function",ht=Array.isArray,Mt=o=>ht(o)||typeof o?.[Symbol.iterator]=="function",W=`[
14
+ \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,at=/-->/g,dt=/>/g,y=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ct=/'/g,pt=/"/g,ut=/^(?:script|style|textarea|title)$/i,Ht=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Tt=Ht(1),E=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),$t=new WeakMap,g=f.createTreeWalker(f,129,null,!1);function vt(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return rt!==void 0?rt.createHTML(t):t}const kt=(o,t)=>{const e=o.length-1,i=[];let s,n=t===2?"<svg>":"",r=U;for(let a=0;a<e;a++){const l=o[a];let h,d,c=-1,u=0;for(;u<l.length&&(r.lastIndex=u,d=r.exec(l),d!==null);)u=r.lastIndex,r===U?d[1]==="!--"?r=at:d[1]!==void 0?r=dt:d[2]!==void 0?(ut.test(d[2])&&(s=RegExp("</"+d[2],"g")),r=y):d[3]!==void 0&&(r=y):r===y?d[0]===">"?(r=s??U,c=-1):d[1]===void 0?c=-2:(c=r.lastIndex-d[2].length,h=d[1],r=d[3]===void 0?y:d[3]==='"'?pt:ct):r===pt||r===ct?r=y:r===at||r===dt?r=U:(r=y,s=void 0);const $=r===y&&o[a+1].startsWith("/>")?" ":"";n+=r===U?l+Rt:c>=0?(i.push(h),l.slice(0,c)+F+l.slice(c)+_+$):l+_+(c===-2?(i.push(void 0),a):$)}return[vt(o,n+(o[e]||"<?>")+(t===2?"</svg>":"")),i]};class O{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,r=0;const a=t.length-1,l=this.parts,[h,d]=kt(t,e);if(this.el=O.createElement(h,i),g.currentNode=this.el.content,e===2){const c=this.el.content,u=c.firstChild;u.remove(),c.append(...u.childNodes)}for(;(s=g.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes()){const c=[];for(const u of s.getAttributeNames())if(u.endsWith(F)||u.startsWith(_)){const $=d[r++];if(c.push(u),$!==void 0){const Qt=s.getAttribute($.toLowerCase()+F).split(_),j=/([.?@])?(.*)/.exec($);l.push({type:1,index:n,name:j[2],strings:Qt,ctor:j[1]==="."?jt:j[1]==="?"?Lt:j[1]==="@"?Dt:T})}else l.push({type:6,index:n})}for(const u of c)s.removeAttribute(u)}if(ut.test(s.tagName)){const c=s.textContent.split(_),u=c.length-1;if(u>0){s.textContent=A?A.emptyScript:"";for(let $=0;$<u;$++)s.append(c[$],C()),g.nextNode(),l.push({type:2,index:++n});s.append(c[u],C())}}}else if(s.nodeType===8)if(s.data===lt)l.push({type:2,index:n});else{let c=-1;for(;(c=s.data.indexOf(_,c+1))!==-1;)l.push({type:7,index:n}),c+=_.length-1}n++}}static createElement(t,e){const i=f.createElement("template");return i.innerHTML=t,i}}function S(o,t,e=o,i){var s,n,r,a;if(t===E)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=P(t)?void 0:t._$litDirective$;return l?.constructor!==h&&((n=l?._$AO)===null||n===void 0||n.call(l,!1),h===void 0?l=void 0:(l=new h(o),l._$AT(o,e,i)),i!==void 0?((r=(a=e)._$Co)!==null&&r!==void 0?r:a._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=S(o,l._$AS(o,t.values),l,i)),t}class Nt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,n=((e=t?.creationScope)!==null&&e!==void 0?e:f).importNode(i,!0);g.currentNode=n;let r=g.nextNode(),a=0,l=0,h=s[0];for(;h!==void 0;){if(a===h.index){let d;h.type===2?d=new R(r,r.nextSibling,this,t):h.type===1?d=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(d=new Bt(r,this,t)),this._$AV.push(d),h=s[++l]}a!==h?.index&&(r=g.nextNode(),a++)}return g.currentNode=f,n}v(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class R{constructor(t,e,i,s){var n;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(n=s?.isConnected)===null||n===void 0||n}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),P(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==E&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Mt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==p&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(f.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=O.createElement(vt(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===n)this._$AH.v(i);else{const r=new Nt(n,this),a=r.u(this.options);r.v(i),this.$(a),this._$AH=r}}_$AC(t){let e=$t.get(t.strings);return e===void 0&&$t.set(t.strings,e=new O(t)),e}T(t){ht(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new R(this.k(C()),this.k(C()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class T{constructor(t,e,i,s,n){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const n=this.strings;let r=!1;if(n===void 0)t=S(this,t,e,0),r=!P(t)||t!==this._$AH&&t!==E,r&&(this._$AH=t);else{const a=t;let l,h;for(t=n[0],l=0;l<n.length-1;l++)h=S(this,a[i+l],e,l),h===E&&(h=this._$AH[l]),r||(r=!P(h)||h!==this._$AH[l]),h===p?t=p:t!==p&&(t+=(h??"")+n[l+1]),this._$AH[l]=h}r&&!s&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class jt extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}const zt=A?A.emptyScript:"";class Lt extends T{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,zt):this.element.removeAttribute(this.name)}}class Dt extends T{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){var i;if((t=(i=S(this,t,e,0))!==null&&i!==void 0?i:p)===E)return;const s=this._$AH,n=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==p&&(s===p||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}}class Bt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const _t=H.litHtmlPolyfillSupport;_t?.(O,R),((V=H.litHtmlVersions)!==null&&V!==void 0?V:H.litHtmlVersions=[]).push("2.8.0");const It=(o,t,e)=>{var i,s;const n=(i=e?.renderBefore)!==null&&i!==void 0?i:t;let r=n._$litPart$;if(r===void 0){const a=(s=e?.renderBefore)!==null&&s!==void 0?s:null;n._$litPart$=r=new R(t.insertBefore(C(),a),a,void 0,e??{})}return r._$AI(o),r};/**
16
+ * @license
17
+ * Copyright 2019 Google LLC
18
+ * SPDX-License-Identifier: BSD-3-Clause
19
+ */const k=window,q=k.ShadowRoot&&(k.ShadyCSS===void 0||k.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,J=Symbol(),ft=new WeakMap;class yt{constructor(t,e,i){if(this._$cssResult$=!0,i!==J)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(q&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=ft.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ft.set(e,t))}return t}toString(){return this.cssText}}const Vt=o=>new yt(typeof o=="string"?o:o+"",void 0,J),Ft=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((i,s,n)=>i+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+o[n+1],o[0]);return new yt(e,o,J)},Wt=(o,t)=>{q?o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=k.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,o.appendChild(i)})},gt=q?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Vt(e)})(o):o;/**
20
+ * @license
21
+ * Copyright 2017 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */var K;const N=window,mt=N.trustedTypes,qt=mt?mt.emptyScript:"",At=N.reactiveElementPolyfillSupport,Z={toAttribute(o,t){switch(t){case Boolean:o=o?qt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},Et=(o,t)=>t!==o&&(t==t||o==o),G={attribute:!0,type:String,converter:Z,reflect:!1,hasChanged:Et},Q="finalized";class b extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=G){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||G}static finalize(){if(this.hasOwnProperty(Q))return!1;this[Q]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(gt(s))}else t!==void 0&&e.push(gt(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Wt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=G){var s;const n=this.constructor._$Ep(t,i);if(n!==void 0&&i.reflect===!0){const r=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:Z).toAttribute(e,i.type);this._$El=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,n=s._$Ev.get(t);if(n!==void 0&&this._$El!==n){const r=s.getPropertyOptions(n),a=typeof r.converter=="function"?{fromAttribute:r.converter}:((i=r.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?r.converter:Z;this._$El=n,this[n]=a.fromAttribute(e,r.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Et)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,n)=>this[n]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var n;return(n=s.hostUpdate)===null||n===void 0?void 0:n.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}b[Q]=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},At?.({ReactiveElement:b}),((K=N.reactiveElementVersions)!==null&&K!==void 0?K:N.reactiveElementVersions=[]).push("1.6.3");/**
18
24
  * @license
19
25
  * Copyright 2017 Google LLC
20
26
  * SPDX-License-Identifier: BSD-3-Clause
21
- */var I,V;class S extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=St(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return b}}S.finalized=!0,S._$litElement$=!0,(I=globalThis.litElementHydrateSupport)===null||I===void 0||I.call(globalThis,{LitElement:S});const rt=globalThis.litElementPolyfillSupport;rt?.({LitElement:S}),((V=globalThis.litElementVersions)!==null&&V!==void 0?V:globalThis.litElementVersions=[]).push("3.2.2");/**
27
+ */var X,Y;class w extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=It(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return E}}w.finalized=!0,w._$litElement$=!0,(X=globalThis.litElementHydrateSupport)===null||X===void 0||X.call(globalThis,{LitElement:w});const St=globalThis.litElementPolyfillSupport;St?.({LitElement:w}),((Y=globalThis.litElementVersions)!==null&&Y!==void 0?Y:globalThis.litElementVersions=[]).push("3.3.3");/**
22
28
  * @license
23
29
  * Copyright 2020 Google LLC
24
30
  * SPDX-License-Identifier: BSD-3-Clause
25
- */const wt=Symbol.for(""),Ct=n=>{if(n?.r===wt)return n?._$litStatic$},lt=new Map,Ht=n=>(t,...e)=>{const i=e.length;let s,r;const o=[],d=[];let l,h=0,u=!1;for(;h<i;){for(l=t[h];h<i&&(r=e[h],(s=Ct(r))!==void 0);)l+=s+t[++h],u=!0;d.push(r),o.push(l),h++}if(h===i&&o.push(t[i]),u){const a=o.join("$$lit$$");(t=lt.get(a))===void 0&&(o.raw=o,lt.set(a,t=o)),e=d}return n(t,...e)},ht=Ht(ft);var Pt=ct`
31
+ */const Jt=Symbol.for(""),Kt=o=>{if(o?.r===Jt)return o?._$litStatic$},bt=new Map,Zt=o=>(t,...e)=>{const i=e.length;let s,n;const r=[],a=[];let l,h=0,d=!1;for(;h<i;){for(l=t[h];h<i&&(n=e[h],(s=Kt(n))!==void 0);)l+=s+t[++h],d=!0;h!==i&&a.push(n),r.push(l),h++}if(h===i&&r.push(t[i]),d){const c=r.join("$$lit$$");(t=bt.get(c))===void 0&&(r.raw=r,bt.set(c,t=r)),e=a}return o(t,...e)},wt=Zt(Tt);var Gt=Ft`
26
32
  .modal-container {
27
33
  display: flex;
28
34
  justify-content: center;
@@ -120,11 +126,11 @@
120
126
  }
121
127
 
122
128
  }
123
- `;class at extends S{static styles=Pt;static shadowRootOptions={...S.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:t,hideCloseButton:e}=this;return this.open==="true"?ht`
129
+ `;class xt extends w{static styles=Gt;static shadowRootOptions={...w.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:t,hideCloseButton:e}=this;return this.open==="true"?wt`
124
130
  <div class="modal-container">
125
131
  <div class="bg" @click=${this._closeModal}></div>
126
132
  <div class="inner-container" style="width: ${t}">
127
- ${e?"":ht`
133
+ ${e?"":wt`
128
134
  <div class="content-icon">
129
135
  <div class="icon" @click=${this._closeModal}>
130
136
  <cas-icon name="flat-close" size="20"/>
@@ -136,4 +142,4 @@
136
142
  </div>
137
143
  </div>
138
144
  </div>
139
- `:null}}customElements.get("cas-modal")||customElements.define("cas-modal",at),g.CasModal=at,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
145
+ `:null}}customElements.get("cas-modal")||customElements.define("cas-modal",xt),m.CasModal=xt,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,28 +1,34 @@
1
- (function(y,$){typeof exports=="object"&&typeof module<"u"?$(exports):typeof define=="function"&&define.amd?define(["exports"],$):(y=typeof globalThis<"u"?globalThis:y||self,$(y["cas-new-footer"]={}))})(this,function(y){"use strict";/**
1
+ (function(w,C){typeof exports=="object"&&typeof module<"u"?C(exports):typeof define=="function"&&define.amd?define(["exports"],C):(w=typeof globalThis<"u"?globalThis:w||self,C(w["cas-new-footer"]={}))})(this,function(w){"use strict";/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const $=window,N=$.ShadowRoot&&($.ShadyCSS===void 0||$.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,j=Symbol(),J=new WeakMap;class K{constructor(t,e,i){if(this._$cssResult$=!0,i!==j)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(N&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=J.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&J.set(e,t))}return t}toString(){return this.cssText}}const E=n=>new K(typeof n=="string"?n:n+"",void 0,j),Z=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((i,s,o)=>i+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[o+1],n[0]);return new K(e,n,j)},vt=(n,t)=>{N?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=$.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,n.appendChild(i)})},G=N?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return E(e)})(n):n;/**
5
+ */const C=window,z=C.ShadowRoot&&(C.ShadyCSS===void 0||C.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nt=Symbol(),ot=new WeakMap;class Ot{constructor(t,e,i){if(this._$cssResult$=!0,i!==nt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(z&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=ot.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ot.set(e,t))}return t}toString(){return this.cssText}}const Rt=n=>new Ot(typeof n=="string"?n:n+"",void 0,nt),Vt=(n,t)=>{z?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=C.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,n.appendChild(i)})},at=z?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Rt(e)})(n):n;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */var z;const T=window,Q=T.trustedTypes,$t=Q?Q.emptyScript:"",X=T.reactiveElementPolyfillSupport,D={toAttribute(n,t){switch(t){case Boolean:n=n?$t:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},Y=(n,t)=>t!==n&&(t==t||n==n),I={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:Y};class _ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=I){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||I}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(G(s))}else t!==void 0&&e.push(G(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return vt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=I){var s;const o=this.constructor._$Ep(t,i);if(o!==void 0&&i.reflect===!0){const a=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:D).toAttribute(e,i.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Ev.get(t);if(o!==void 0&&this._$El!==o){const a=s.getPropertyOptions(o),d=typeof a.converter=="function"?{fromAttribute:a.converter}:((i=a.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?a.converter:D;this._$El=o,this[o]=d.fromAttribute(e,a.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Y)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,o)=>this[o]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var o;return(o=s.hostUpdate)===null||o===void 0?void 0:o.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}_.finalized=!0,_.elementProperties=new Map,_.elementStyles=[],_.shadowRootOptions={mode:"open"},X?.({ReactiveElement:_}),((z=T.reactiveElementVersions)!==null&&z!==void 0?z:T.reactiveElementVersions=[]).push("1.4.2");/**
9
+ */var Z;const R=window,rt=R.trustedTypes,Lt=rt?rt.emptyScript:"",lt=R.reactiveElementPolyfillSupport,D={toAttribute(n,t){switch(t){case Boolean:n=n?Lt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},ct=(n,t)=>t!==n&&(t==t||n==n),B={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:ct},I="finalized";class E extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=B){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||B}static finalize(){if(this.hasOwnProperty(I))return!1;this[I]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(at(s))}else t!==void 0&&e.push(at(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Vt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=B){var s;const o=this.constructor._$Ep(t,i);if(o!==void 0&&i.reflect===!0){const a=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:D).toAttribute(e,i.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Ev.get(t);if(o!==void 0&&this._$El!==o){const a=s.getPropertyOptions(o),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((i=a.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?a.converter:D;this._$El=o,this[o]=c.fromAttribute(e,a.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||ct)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,o)=>this[o]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var o;return(o=s.hostUpdate)===null||o===void 0?void 0:o.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}E[I]=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},lt?.({ReactiveElement:E}),((Z=R.reactiveElementVersions)!==null&&Z!==void 0?Z:R.reactiveElementVersions=[]).push("1.6.3");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */var B;const L=window,w=L.trustedTypes,tt=w?w.createPolicy("lit-html",{createHTML:n=>n}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,et="?"+f,ft=`<${et}>`,x=document,H=(n="")=>x.createComment(n),M=n=>n===null||typeof n!="object"&&typeof n!="function",it=Array.isArray,gt=n=>it(n)||typeof n?.[Symbol.iterator]=="function",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,st=/-->/g,nt=/>/g,g=RegExp(`>|[
14
- \f\r](?:([^\\s"'>=/]+)([
15
- \f\r]*=[
16
- \f\r]*(?:[^
17
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ot=/'/g,at=/"/g,rt=/^(?:script|style|textarea|title)$/i,yt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),_t=yt(1),A=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),lt=new WeakMap,b=x.createTreeWalker(x,129,null,!1),wt=(n,t)=>{const e=n.length-1,i=[];let s,o=t===2?"<svg>":"",a=V;for(let r=0;r<e;r++){const l=n[r];let m,c,h=-1,C=0;for(;C<l.length&&(a.lastIndex=C,c=a.exec(l),c!==null);)C=a.lastIndex,a===V?c[1]==="!--"?a=st:c[1]!==void 0?a=nt:c[2]!==void 0?(rt.test(c[2])&&(s=RegExp("</"+c[2],"g")),a=g):c[3]!==void 0&&(a=g):a===g?c[0]===">"?(a=s??V,h=-1):c[1]===void 0?h=-2:(h=a.lastIndex-c[2].length,m=c[1],a=c[3]===void 0?g:c[3]==='"'?at:ot):a===at||a===ot?a=g:a===st||a===nt?a=V:(a=g,s=void 0);const R=a===g&&n[r+1].startsWith("/>")?" ":"";o+=a===V?l+ft:h>=0?(i.push(m),l.slice(0,h)+"$lit$"+l.slice(h)+f+R):l+f+(h===-2?(i.push(void 0),r):R)}const d=o+(n[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return[tt!==void 0?tt.createHTML(d):d,i]};class k{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,a=0;const d=t.length-1,r=this.parts,[l,m]=wt(t,e);if(this.el=k.createElement(l,i),b.currentNode=this.el.content,e===2){const c=this.el.content,h=c.firstChild;h.remove(),c.append(...h.childNodes)}for(;(s=b.nextNode())!==null&&r.length<d;){if(s.nodeType===1){if(s.hasAttributes()){const c=[];for(const h of s.getAttributeNames())if(h.endsWith("$lit$")||h.startsWith(f)){const C=m[a++];if(c.push(h),C!==void 0){const R=s.getAttribute(C.toLowerCase()+"$lit$").split(f),O=/([.?@])?(.*)/.exec(C);r.push({type:1,index:o,name:O[2],strings:R,ctor:O[1]==="."?At:O[1]==="?"?St:O[1]==="@"?Et:U})}else r.push({type:6,index:o})}for(const h of c)s.removeAttribute(h)}if(rt.test(s.tagName)){const c=s.textContent.split(f),h=c.length-1;if(h>0){s.textContent=w?w.emptyScript:"";for(let C=0;C<h;C++)s.append(c[C],H()),b.nextNode(),r.push({type:2,index:++o});s.append(c[h],H())}}}else if(s.nodeType===8)if(s.data===et)r.push({type:2,index:o});else{let c=-1;for(;(c=s.data.indexOf(f,c+1))!==-1;)r.push({type:7,index:o}),c+=f.length-1}o++}}static createElement(t,e){const i=x.createElement("template");return i.innerHTML=t,i}}function S(n,t,e=n,i){var s,o,a,d;if(t===A)return t;let r=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const l=M(t)?void 0:t._$litDirective$;return r?.constructor!==l&&((o=r?._$AO)===null||o===void 0||o.call(r,!1),l===void 0?r=void 0:(r=new l(n),r._$AT(n,e,i)),i!==void 0?((a=(d=e)._$Co)!==null&&a!==void 0?a:d._$Co=[])[i]=r:e._$Cl=r),r!==void 0&&(t=S(n,r._$AS(n,t.values),r,i)),t}class xt{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:s}=this._$AD,o=((e=t?.creationScope)!==null&&e!==void 0?e:x).importNode(i,!0);b.currentNode=o;let a=b.nextNode(),d=0,r=0,l=s[0];for(;l!==void 0;){if(d===l.index){let m;l.type===2?m=new F(a,a.nextSibling,this,t):l.type===1?m=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(m=new Ht(a,this,t)),this.u.push(m),l=s[++r]}d!==l?.index&&(a=b.nextNode(),d++)}return o}p(t){let e=0;for(const i of this.u)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class F{constructor(t,e,i,s){var o;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=(o=s?.isConnected)===null||o===void 0||o}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),M(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==A&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):gt(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==p&&M(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=k.createElement(s.h,this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.p(i);else{const a=new xt(o,this),d=a.v(this.options);a.p(i),this.T(d),this._$AH=a}}_$AC(t){let e=lt.get(t.strings);return e===void 0&&lt.set(t.strings,e=new k(t)),e}k(t){it(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new F(this.O(H()),this.O(H()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class U{constructor(t,e,i,s,o){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let a=!1;if(o===void 0)t=S(this,t,e,0),a=!M(t)||t!==this._$AH&&t!==A,a&&(this._$AH=t);else{const d=t;let r,l;for(t=o[0],r=0;r<o.length-1;r++)l=S(this,d[i+r],e,r),l===A&&(l=this._$AH[r]),a||(a=!M(l)||l!==this._$AH[r]),l===p?t=p:t!==p&&(t+=(l??"")+o[r+1]),this._$AH[r]=l}a&&!s&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class At extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}const bt=w?w.emptyScript:"";class St extends U{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,bt):this.element.removeAttribute(this.name)}}class Et extends U{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=S(this,t,e,0))!==null&&i!==void 0?i:p)===A)return;const s=this._$AH,o=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,a=t!==p&&(s===p||o);o&&this.element.removeEventListener(this.name,this,s),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}}class Ht{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const ct=L.litHtmlPolyfillSupport;ct?.(k,F),((B=L.litHtmlVersions)!==null&&B!==void 0?B:L.litHtmlVersions=[]).push("2.4.0");const Mt=(n,t,e)=>{var i,s;const o=(i=e?.renderBefore)!==null&&i!==void 0?i:t;let a=o._$litPart$;if(a===void 0){const d=(s=e?.renderBefore)!==null&&s!==void 0?s:null;o._$litPart$=a=new F(t.insertBefore(H(),d),d,void 0,e??{})}return a._$AI(n),a};/**
13
+ */var q;const V=window,b=V.trustedTypes,ht=b?b.createPolicy("lit-html",{createHTML:n=>n}):void 0,W="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+f,Tt=`<${dt}>`,g=document,H=()=>g.createComment(""),U=n=>n===null||typeof n!="object"&&typeof n!="function",pt=Array.isArray,Ft=n=>pt(n)||typeof n?.[Symbol.iterator]=="function",J=`[
14
+ \f\r]`,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ut=/-->/g,mt=/>/g,_=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),vt=/'/g,$t=/"/g,Ct=/^(?:script|style|textarea|title)$/i,Nt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),jt=Nt(1),A=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),ft=new WeakMap,y=g.createTreeWalker(g,129,null,!1);function gt(n,t){if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return ht!==void 0?ht.createHTML(t):t}const zt=(n,t)=>{const e=n.length-1,i=[];let s,o=t===2?"<svg>":"",a=P;for(let c=0;c<e;c++){const r=n[c];let l,h,d=-1,u=0;for(;u<r.length&&(a.lastIndex=u,h=a.exec(r),h!==null);)u=a.lastIndex,a===P?h[1]==="!--"?a=ut:h[1]!==void 0?a=mt:h[2]!==void 0?(Ct.test(h[2])&&(s=RegExp("</"+h[2],"g")),a=_):h[3]!==void 0&&(a=_):a===_?h[0]===">"?(a=s??P,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?_:h[3]==='"'?$t:vt):a===$t||a===vt?a=_:a===ut||a===mt?a=P:(a=_,s=void 0);const $=a===_&&n[c+1].startsWith("/>")?" ":"";o+=a===P?r+Tt:d>=0?(i.push(l),r.slice(0,d)+W+r.slice(d)+f+$):r+f+(d===-2?(i.push(void 0),c):$)}return[gt(n,o+(n[e]||"<?>")+(t===2?"</svg>":"")),i]};class M{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,a=0;const c=t.length-1,r=this.parts,[l,h]=zt(t,e);if(this.el=M.createElement(l,i),y.currentNode=this.el.content,e===2){const d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(s=y.nextNode())!==null&&r.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const u of s.getAttributeNames())if(u.endsWith(W)||u.startsWith(f)){const $=h[a++];if(d.push(u),$!==void 0){const re=s.getAttribute($.toLowerCase()+W).split(f),j=/([.?@])?(.*)/.exec($);r.push({type:1,index:o,name:j[2],strings:re,ctor:j[1]==="."?Dt:j[1]==="?"?It:j[1]==="@"?qt:L})}else r.push({type:6,index:o})}for(const u of d)s.removeAttribute(u)}if(Ct.test(s.tagName)){const d=s.textContent.split(f),u=d.length-1;if(u>0){s.textContent=b?b.emptyScript:"";for(let $=0;$<u;$++)s.append(d[$],H()),y.nextNode(),r.push({type:2,index:++o});s.append(d[u],H())}}}else if(s.nodeType===8)if(s.data===dt)r.push({type:2,index:o});else{let d=-1;for(;(d=s.data.indexOf(f,d+1))!==-1;)r.push({type:7,index:o}),d+=f.length-1}o++}}static createElement(t,e){const i=g.createElement("template");return i.innerHTML=t,i}}function S(n,t,e=n,i){var s,o,a,c;if(t===A)return t;let r=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const l=U(t)?void 0:t._$litDirective$;return r?.constructor!==l&&((o=r?._$AO)===null||o===void 0||o.call(r,!1),l===void 0?r=void 0:(r=new l(n),r._$AT(n,e,i)),i!==void 0?((a=(c=e)._$Co)!==null&&a!==void 0?a:c._$Co=[])[i]=r:e._$Cl=r),r!==void 0&&(t=S(n,r._$AS(n,t.values),r,i)),t}class Zt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,o=((e=t?.creationScope)!==null&&e!==void 0?e:g).importNode(i,!0);y.currentNode=o;let a=y.nextNode(),c=0,r=0,l=s[0];for(;l!==void 0;){if(c===l.index){let h;l.type===2?h=new k(a,a.nextSibling,this,t):l.type===1?h=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(h=new Wt(a,this,t)),this._$AV.push(h),l=s[++r]}c!==l?.index&&(a=y.nextNode(),c++)}return y.currentNode=g,o}v(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class k{constructor(t,e,i,s){var o;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s?.isConnected)===null||o===void 0||o}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),U(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==A&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ft(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==p&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(g.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=M.createElement(gt(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.v(i);else{const a=new Zt(o,this),c=a.u(this.options);a.v(i),this.$(c),this._$AH=a}}_$AC(t){let e=ft.get(t.strings);return e===void 0&&ft.set(t.strings,e=new M(t)),e}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new k(this.k(H()),this.k(H()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class L{constructor(t,e,i,s,o){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let a=!1;if(o===void 0)t=S(this,t,e,0),a=!U(t)||t!==this._$AH&&t!==A,a&&(this._$AH=t);else{const c=t;let r,l;for(t=o[0],r=0;r<o.length-1;r++)l=S(this,c[i+r],e,r),l===A&&(l=this._$AH[r]),a||(a=!U(l)||l!==this._$AH[r]),l===p?t=p:t!==p&&(t+=(l??"")+o[r+1]),this._$AH[r]=l}a&&!s&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Dt extends L{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}const Bt=b?b.emptyScript:"";class It extends L{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,Bt):this.element.removeAttribute(this.name)}}class qt extends L{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=S(this,t,e,0))!==null&&i!==void 0?i:p)===A)return;const s=this._$AH,o=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,a=t!==p&&(s===p||o);o&&this.element.removeEventListener(this.name,this,s),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}}class Wt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const _t=V.litHtmlPolyfillSupport;_t?.(M,k),((q=V.litHtmlVersions)!==null&&q!==void 0?q:V.litHtmlVersions=[]).push("2.8.0");const Jt=(n,t,e)=>{var i,s;const o=(i=e?.renderBefore)!==null&&i!==void 0?i:t;let a=o._$litPart$;if(a===void 0){const c=(s=e?.renderBefore)!==null&&s!==void 0?s:null;o._$litPart$=a=new k(t.insertBefore(H(),c),c,void 0,e??{})}return a._$AI(n),a};/**
16
+ * @license
17
+ * Copyright 2019 Google LLC
18
+ * SPDX-License-Identifier: BSD-3-Clause
19
+ */const T=window,K=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,G=Symbol(),yt=new WeakMap;class wt{constructor(t,e,i){if(this._$cssResult$=!0,i!==G)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(K&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=yt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&yt.set(e,t))}return t}toString(){return this.cssText}}const O=n=>new wt(typeof n=="string"?n:n+"",void 0,G),Q=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((i,s,o)=>i+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[o+1],n[0]);return new wt(e,n,G)},Kt=(n,t)=>{K?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=T.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,n.appendChild(i)})},bt=K?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return O(e)})(n):n;/**
20
+ * @license
21
+ * Copyright 2017 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */var X;const F=window,At=F.trustedTypes,Gt=At?At.emptyScript:"",St=F.reactiveElementPolyfillSupport,Y={toAttribute(n,t){switch(t){case Boolean:n=n?Gt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},xt=(n,t)=>t!==n&&(t==t||n==n),tt={attribute:!0,type:String,converter:Y,reflect:!1,hasChanged:xt},et="finalized";class x extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=tt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||tt}static finalize(){if(this.hasOwnProperty(et))return!1;this[et]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(bt(s))}else t!==void 0&&e.push(bt(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Kt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=tt){var s;const o=this.constructor._$Ep(t,i);if(o!==void 0&&i.reflect===!0){const a=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:Y).toAttribute(e,i.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Ev.get(t);if(o!==void 0&&this._$El!==o){const a=s.getPropertyOptions(o),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((i=a.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?a.converter:Y;this._$El=o,this[o]=c.fromAttribute(e,a.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||xt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,o)=>this[o]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var o;return(o=s.hostUpdate)===null||o===void 0?void 0:o.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}x[et]=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},St?.({ReactiveElement:x}),((X=F.reactiveElementVersions)!==null&&X!==void 0?X:F.reactiveElementVersions=[]).push("1.6.3");/**
18
24
  * @license
19
25
  * Copyright 2017 Google LLC
20
26
  * SPDX-License-Identifier: BSD-3-Clause
21
- */var q,W;class v extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Mt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return A}}v.finalized=!0,v._$litElement$=!0,(q=globalThis.litElementHydrateSupport)===null||q===void 0||q.call(globalThis,{LitElement:v});const dt=globalThis.litElementPolyfillSupport;dt?.({LitElement:v}),((W=globalThis.litElementVersions)!==null&&W!==void 0?W:globalThis.litElementVersions=[]).push("3.2.2");/**
27
+ */var it,st;class v extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Jt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return A}}v.finalized=!0,v._$litElement$=!0,(it=globalThis.litElementHydrateSupport)===null||it===void 0||it.call(globalThis,{LitElement:v});const Et=globalThis.litElementPolyfillSupport;Et?.({LitElement:v}),((st=globalThis.litElementVersions)!==null&&st!==void 0?st:globalThis.litElementVersions=[]).push("3.3.3");/**
22
28
  * @license
23
29
  * Copyright 2020 Google LLC
24
30
  * SPDX-License-Identifier: BSD-3-Clause
25
- */const Vt=Symbol.for(""),kt=n=>{if(n?.r===Vt)return n?._$litStatic$},ht=new Map,Ft=n=>(t,...e)=>{const i=e.length;let s,o;const a=[],d=[];let r,l=0,m=!1;for(;l<i;){for(r=t[l];l<i&&(o=e[l],(s=kt(o))!==void 0);)r+=s+t[++l],m=!0;d.push(o),a.push(r),l++}if(l===i&&a.push(t[i]),m){const c=a.join("$$lit$$");(t=ht.get(c))===void 0&&(a.raw=a,ht.set(c,t=a)),e=d}return n(t,...e)},u=Ft(_t),P={mobile:"767px",tablet:"1023px",desktop:"1440px"};var Tt=Z`
31
+ */const Qt=Symbol.for(""),Xt=n=>{if(n?.r===Qt)return n?._$litStatic$},Ht=new Map,Yt=n=>(t,...e)=>{const i=e.length;let s,o;const a=[],c=[];let r,l=0,h=!1;for(;l<i;){for(r=t[l];l<i&&(o=e[l],(s=Xt(o))!==void 0);)r+=s+t[++l],h=!0;l!==i&&c.push(o),a.push(r),l++}if(l===i&&a.push(t[i]),h){const d=a.join("$$lit$$");(t=Ht.get(d))===void 0&&(a.raw=a,Ht.set(d,t=a)),e=c}return n(t,...e)},m=Yt(jt),N={mobile:"767px",tablet:"1023px",desktop:"1440px"};var te=Q`
26
32
  :host {
27
33
  background-color: #364855;
28
34
  display: flex;
@@ -44,7 +50,7 @@
44
50
  .content-button {
45
51
  display: none;
46
52
  }
47
- @media (max-width: ${E(P.tablet)}) {
53
+ @media (max-width: ${O(N.tablet)}) {
48
54
  .content-button {
49
55
  display: flex;
50
56
  justify-content: center;
@@ -59,7 +65,7 @@
59
65
  margin-top: 24px;
60
66
  }
61
67
  }
62
- `,Lt=Z`
68
+ `,ee=Q`
63
69
  .wrapped {
64
70
  display: flex;
65
71
  justify-content: center;
@@ -109,7 +115,7 @@
109
115
  display: none;
110
116
  }
111
117
 
112
- @media (max-width: ${E(P.tablet)}) {
118
+ @media (max-width: ${O(N.tablet)}) {
113
119
  .wrapped {
114
120
  border: none;
115
121
  }
@@ -159,26 +165,26 @@
159
165
  text-decoration: none;
160
166
  }
161
167
  }
162
- `;const pt=[{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 +56 2 2210 1111",url:"tel:+56222101111",icon:"flat-phone"},{name:"Reserva de hora +56 2 2210 1700",url:"tel:+56222101700",icon:"flat-phone"},{name:"Rescate Alemana +56 2 2910 9911",url:"tel:+56229109911",icon:"flat-phone"}]}],Ut=[{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 Pt extends v{static formAssociated=!0;static styles=Lt;static shadowRootOptions={...v.shadowRootOptions,mode:"open"};static properties={theme:{type:String}};constructor(){super()}updated(){const t=this.shadowRoot.querySelectorAll("section");t.forEach(e=>{const i=e.querySelector(".top"),s=e.querySelector(".list");i.addEventListener("click",()=>{t.forEach(o=>{o.querySelector(".list").classList.remove("active"),o.querySelector("cas-icon").classList.remove("active")}),s.classList.toggle("active"),i.querySelector("cas-icon").classList.toggle("active")})})}render(){const t=e=>{const{section:i,items:s}=e;return u`<section>
168
+ `;const Ut=[{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 +56 2 2210 1111",url:"tel:+56222101111",icon:"flat-phone"},{name:"Reserva de hora +56 2 2210 1700",url:"tel:+56222101700",icon:"flat-phone"},{name:"Rescate Alemana +56 2 2910 9911",url:"tel:+56229109911",icon:"flat-phone"}]}],ie=[{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 se extends v{static formAssociated=!0;static styles=ee;static shadowRootOptions={...v.shadowRootOptions,mode:"open"};static properties={theme:{type:String}};constructor(){super()}updated(){const t=this.shadowRoot.querySelectorAll("section");t.forEach(e=>{const i=e.querySelector(".top"),s=e.querySelector(".list");i.addEventListener("click",()=>{t.forEach(o=>{o.querySelector(".list").classList.remove("active"),o.querySelector("cas-icon").classList.remove("active")}),s.classList.toggle("active"),i.querySelector("cas-icon").classList.toggle("active")})})}render(){const t=e=>{const{section:i,items:s}=e;return m`<section>
163
169
  <div class="top">
164
170
  <cas-text variant="headline3">${i}</cas-text>
165
171
  <cas-icon name="flat-chevronDown" size="20"></cas-icon>
166
172
  </div>
167
173
  <ul class="list">
168
- ${s.map(o=>u`<li>
174
+ ${s.map(o=>m`<li>
169
175
  <a href=${o.url}>
170
- ${o.icon?u`<cas-icon name="${o.icon}" size="20"></cas-icon>`:u``}
176
+ ${o.icon?m`<cas-icon name="${o.icon}" size="20"></cas-icon>`:m``}
171
177
  <cas-text variant="footnote2">${o.name}</cas-text>
172
178
  </a>
173
179
  </li>`)}
174
180
  </ul>
175
- </section>`};return u`
181
+ </section>`};return m`
176
182
  <div class="wrapped" data-theme=${this.theme}>
177
183
  <div class="inner-wrapped">
178
- ${pt.map(e=>t(e))}
184
+ ${Ut.map(e=>t(e))}
179
185
  </div>
180
186
  </div>
181
- `}}var Rt=Z`
187
+ `}}var ne=Q`
182
188
  .wrapped {
183
189
  display: flex;
184
190
  justify-content: center;
@@ -223,7 +229,7 @@
223
229
  a {
224
230
  color: currentColor;
225
231
  }
226
- @media (max-width: ${E(P.tablet)}) {
232
+ @media (max-width: ${O(N.tablet)}) {
227
233
  .inner-wrapped {
228
234
  padding: 48px 32px;
229
235
  max-width: 1140px;
@@ -236,7 +242,7 @@
236
242
  height: 40px;
237
243
  }
238
244
  }
239
- @media (max-width: ${E(P.mobile)}) {
245
+ @media (max-width: ${O(N.mobile)}) {
240
246
  .inner-wrapped {
241
247
  padding: 32px 16px;
242
248
  gap: 12px;
@@ -267,7 +273,7 @@
267
273
  width: 100%;
268
274
  }
269
275
  }
270
- `;const Ot=pt[4]?.items??[];class Nt extends v{static formAssociated=!0;static styles=Rt;static shadowRootOptions={...v.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}>
276
+ `;const oe=Ut[4]?.items??[];class ae extends v{static formAssociated=!0;static styles=ne;static shadowRootOptions={...v.shadowRootOptions,mode:"open"};static properties={theme:{type:String},variant:{type:String}};render(){if(this.variant==="phone")return m`<div class="wrapped" data-theme=${this.theme} variant=${this.variant}>
271
277
  <div class="inner-wrapped">
272
278
  <a
273
279
  class="logo"
@@ -275,25 +281,25 @@
275
281
  title="Clínica Alemana de Santiago"
276
282
  aria-label="Volver a página de inicio de Clínica Alemana"
277
283
  >
278
- ${mt(ut[this.theme])}
284
+ ${Mt(Pt[this.theme])}
279
285
  </a>
280
286
  <div class="center">
281
287
  <cas-text variant="footnote2">Clínica Alemana, Todos los derechos Reservados.</cas-text>
282
288
  <cas-text variant="footnote2"><a href="https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"><b>Términos y condiciones</b></a> de uso de canales digitales de Clínica Alemana. </cas-text>
283
289
  </div>
284
290
  <div class="right">
285
- ${Ot.map(e=>{const{name:i,url:s,icon:o}=e;return u`
291
+ ${oe.map(e=>{const{name:i,url:s,icon:o}=e;return m`
286
292
  <a href=${s} title=${i}>
287
293
  <cas-text variant="caption1">${i}</cas-text>
288
294
  </a>
289
295
  `})}
290
296
  </div>
291
297
  </div>
292
- </div>`;const t=Ut.map(e=>{const{name:i,url:s,icon:o}=e;return u`
298
+ </div>`;const t=ie.map(e=>{const{name:i,url:s,icon:o}=e;return m`
293
299
  <a href=${s} target="_blank" title=${i} class="social-item">
294
300
  <cas-icon name=${o} size="20"></cas-icon>
295
301
  </a>
296
- `});return u`
302
+ `});return m`
297
303
  <div class="wrapped" data-theme=${this.theme}>
298
304
  <div class="inner-wrapped">
299
305
  <a
@@ -302,7 +308,7 @@
302
308
  title="Clínica Alemana de Santiago"
303
309
  aria-label="Volver a página de inicio de Clínica Alemana"
304
310
  >
305
- ${mt(ut[this.theme])}
311
+ ${Mt(Pt[this.theme])}
306
312
  </a>
307
313
  <ul class="list-social">
308
314
  ${t}
@@ -310,7 +316,7 @@
310
316
  <cas-text variant="caption2">© 2023, Clínica Alemana</cas-text>
311
317
  </div>
312
318
  </div>
313
- `}}const ut={light:{color:"#FFFFFF",secondColor:"#FFFFFF"},dark:{color:"#FFFFFF",secondColor:"#FFFFFF"}},mt=({color:n})=>u`
319
+ `}}const Pt={light:{color:"#FFFFFF",secondColor:"#FFFFFF"},dark:{color:"#FFFFFF",secondColor:"#FFFFFF"}},Mt=({color:n})=>m`
314
320
  <svg width="192" height="49" viewBox="0 0 192 49" fill="${n}" xmlns="http://www.w3.org/2000/svg">
315
321
  <path d="M35.8136 12.9128C35.5209 12.9128 35.2233 12.9272 34.9402 12.9512C32.2769 13.148 29.748 14.276 27.8045 16.1384C27.7469 16.196 27.6846 16.2536 27.6174 16.316C26.2306 17.708 25.2276 19.4168 24.695 21.2792L19.9538 16.4024H19.9586L19.7427 16.1864C18.4518 14.9288 17.8376 13.172 18.0487 11.372C18.3559 8.7608 20.4769 6.6584 23.097 6.3752C25.9954 6.0584 28.6731 7.9448 29.3305 10.7672C29.3737 10.9496 29.5753 11.0504 29.7432 10.9688C31.3124 10.244 32.9823 9.8024 34.7147 9.6632C34.897 9.6488 35.0218 9.476 34.9786 9.2984C33.7021 4.1192 29.0858 0.5 23.7448 0.5C17.3577 0.5 12.1655 5.6936 12.1655 12.0776C12.1655 12.3704 12.1751 12.6536 12.1991 12.932C12.0264 12.9224 11.8488 12.9176 11.6761 12.9176C5.29377 12.9176 0.101562 18.116 0.101562 24.5C0.101562 30.884 5.29377 36.0776 11.6761 36.0776C11.9688 36.0776 12.2615 36.0632 12.5494 36.0392C15.8221 35.7992 18.8501 34.1624 20.8512 31.5512C20.9424 31.436 20.9328 31.268 20.8272 31.1624L17.0986 27.332C16.9642 27.1928 16.7291 27.2216 16.6283 27.3896C16.374 27.8216 16.0717 28.2104 15.7262 28.556C14.6417 29.6408 13.202 30.2264 11.6569 30.236C8.63847 30.2312 6.07116 27.7784 5.9368 24.7688C5.86002 23.0456 6.52704 21.4232 7.80829 20.252C8.69606 19.4408 9.82855 18.9272 11.0234 18.7976C12.7558 18.6104 14.4353 19.1864 15.6686 20.3864C15.755 20.468 15.8365 20.5544 15.9133 20.636L27.2383 32.2856L27.9869 33.068C28.0972 33.1832 28.2076 33.3176 28.3132 33.4568C29.2201 34.652 29.6184 36.1448 29.4313 37.6568C29.1098 40.2488 26.9935 42.3416 24.3974 42.6248C21.523 42.9416 18.8453 41.0744 18.1687 38.2808C18.1255 38.0984 17.9288 38.0024 17.756 38.0792C16.1868 38.7848 14.5121 39.212 12.7702 39.3416C12.5878 39.356 12.4582 39.5288 12.5062 39.7064C13.8019 44.9624 18.4614 48.5 23.7544 48.5C24.3543 48.5 24.9589 48.4568 25.5731 48.3608C31.4611 47.4632 35.7704 41.9816 35.2953 36.068C35.4681 36.0776 35.6456 36.0824 35.8184 36.0824H38.2657C38.4385 36.0824 38.5776 35.9432 38.5776 35.7704V30.548C38.5776 30.3752 38.4385 30.236 38.2657 30.236H35.8184C34.3116 30.236 32.8864 29.6552 31.8163 28.6136L31.5715 28.3592C30.6118 27.2984 30.0791 25.9304 30.0791 24.5C30.0791 22.964 30.6742 21.524 31.7587 20.4392C32.8432 19.3592 34.278 18.764 35.804 18.7592C38.9663 18.7544 41.5576 21.4376 41.5576 24.6008V28.2392C41.5576 31.3016 44.0386 33.7832 47.1002 33.7832H47.3977V24.5C47.3977 18.1112 42.2055 12.9176 35.8232 12.9176L35.8136 12.9128Z"/>
316
322
  <path d="M66.2237 40.3113H58.6945C58.6129 40.3113 58.5361 40.3641 58.5122 40.4409L57.3509 43.8729C57.3221 43.9497 57.2501 44.0025 57.1685 44.0025H52.1874C52.0819 44.0025 52.0099 43.8969 52.0435 43.8009L59.4911 23.2041C59.5199 23.1273 59.5919 23.0745 59.6734 23.0745H65.3023C65.3839 23.0745 65.4559 23.1273 65.4847 23.2041L72.9323 43.8009C72.9659 43.9017 72.8939 44.0025 72.7883 44.0025H67.7497C67.6681 44.0025 67.5913 43.9497 67.5673 43.8729L66.406 40.4409C66.3772 40.3641 66.3053 40.3113 66.2237 40.3113ZM62.3511 29.0409L59.947 36.2217C59.923 36.2985 59.9758 36.3753 60.0573 36.3753H64.8896C64.9712 36.3753 65.024 36.2985 65 36.2217L62.5719 29.0409C62.5383 28.9353 62.3847 28.9353 62.3511 29.0409Z" />
@@ -329,14 +335,14 @@
329
335
  <path d="M101.038 8.57837C103.034 8.57837 104.455 9.65357 104.906 11.5208C104.92 11.5784 104.877 11.6312 104.819 11.6312H102.348C102.315 11.6312 102.281 11.6072 102.267 11.5736C102.055 11.0408 101.652 10.7 100.995 10.7C100.107 10.7 99.4977 11.396 99.4977 12.7496C99.4977 14.1032 100.107 14.7992 100.995 14.7992C101.657 14.7992 102.046 14.4872 102.267 13.9256C102.281 13.892 102.31 13.868 102.348 13.868H104.819C104.877 13.868 104.92 13.9256 104.906 13.9784C104.455 15.788 103.03 16.9208 101.038 16.9208C98.6531 16.9208 96.9688 15.3224 96.9688 12.7496C96.9688 10.1768 98.6531 8.57837 101.038 8.57837Z" />
330
336
  <path d="M74.2852 6.21222V7.77222C74.2852 7.83462 74.3523 7.87782 74.4099 7.85382L77.1644 6.69702C77.198 6.68262 77.222 6.64902 77.222 6.61542V4.88742C77.222 4.82022 77.1548 4.77702 77.0924 4.80582L74.3379 6.13062C74.3092 6.14502 74.2852 6.17862 74.2852 6.21222Z" />
331
337
  </svg>
332
- `;class Ct extends v{static formAssociated=!0;static styles=Tt;static shadowRootOptions={...v.shadowRootOptions,mode:"open"};static properties={darkMode:{type:String},variant:{type:String},type:{type:String}};constructor(){super(),this.variant="home",this.theme=localStorage.getItem("theme")??window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}handleScrollTop(){window.scrollTo(0,0)}firstUpdated(t){t.has("type")&&(this.variant=this.type)}render(){const t=e=>{this.theme=e.detail.isDark?"dark":"light",this.requestUpdate(),document.removeEventListener("themeChange",t)};return document.addEventListener("themeChange",t),u`
338
+ `;class kt extends v{static formAssociated=!0;static styles=te;static shadowRootOptions={...v.shadowRootOptions,mode:"open"};static properties={darkMode:{type:String},variant:{type:String},type:{type:String}};constructor(){super(),this.variant="home",this.theme=localStorage.getItem("theme")??window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}handleScrollTop(){window.scrollTo(0,0)}firstUpdated(t){t.has("type")&&(this.variant=this.type)}render(){const t=e=>{this.theme=e.detail.isDark?"dark":"light",this.requestUpdate(),document.removeEventListener("themeChange",t)};return document.addEventListener("themeChange",t),m`
333
339
  <div class="container" data-theme=${this.theme}>
334
340
  <div class="content-button">
335
341
  <button @click="${this.handleScrollTop}">
336
342
  <cas-text variant="caption1">Volver arriba</cas-text>
337
343
  </button>
338
344
  </div>
339
- ${this.variant==="home"?u`<cas-new-footer-taxonomy theme=${this.theme}></cas-new-footer-taxonomy>`:null}
345
+ ${this.variant==="home"?m`<cas-new-footer-taxonomy theme=${this.theme}></cas-new-footer-taxonomy>`:null}
340
346
  <cas-new-footer-bottom variant=${this.variant} theme=${this.theme}></cas-new-footer-bottom>
341
347
  </div>
342
- `}}customElements.get("cas-footer")||customElements.define("cas-footer",Ct),customElements.get("cas-new-footer-taxonomy")||customElements.define("cas-new-footer-taxonomy",Pt),customElements.get("cas-new-footer-bottom")||customElements.define("cas-new-footer-bottom",Nt),y.CasFooter=Ct,Object.defineProperties(y,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
348
+ `}}customElements.get("cas-footer")||customElements.define("cas-footer",kt),customElements.get("cas-new-footer-taxonomy")||customElements.define("cas-new-footer-taxonomy",se),customElements.get("cas-new-footer-bottom")||customElements.define("cas-new-footer-bottom",ae),w.CasFooter=kt,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});