cas-ds-web-components 1.2.68 → 1.2.70

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,4 +1,4 @@
1
- (function(b,J){typeof exports=="object"&&typeof module<"u"?J(exports):typeof define=="function"&&define.amd?define(["exports"],J):(b=typeof globalThis<"u"?globalThis:b||self,J(b["all-components"]={}))})(this,function(b){"use strict";var Tv=Object.defineProperty;var Iv=(b,J,J1)=>J in b?Tv(b,J,{enumerable:!0,configurable:!0,writable:!0,value:J1}):b[J]=J1;var g=(b,J,J1)=>(Iv(b,typeof J!="symbol"?J+"":J,J1),J1);var I3,SC;(()=>{const i=document.createElement("link");i.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap"),i.setAttribute("rel","stylesheet"),document.head.appendChild(i)})();const Y5={name:"@eloisa-ds/all-components",version:"1.0.71",dependencies:{},main:"./index.js",module:"./index.mjs",typings:"./index.d.ts",private:!0};/**
1
+ (function(b,J){typeof exports=="object"&&typeof module<"u"?J(exports):typeof define=="function"&&define.amd?define(["exports"],J):(b=typeof globalThis<"u"?globalThis:b||self,J(b["all-components"]={}))})(this,function(b){"use strict";var Tv=Object.defineProperty;var Iv=(b,J,J1)=>J in b?Tv(b,J,{enumerable:!0,configurable:!0,writable:!0,value:J1}):b[J]=J1;var g=(b,J,J1)=>(Iv(b,typeof J!="symbol"?J+"":J,J1),J1);var I3,SC;(()=>{const i=document.createElement("link");i.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap"),i.setAttribute("rel","stylesheet"),document.head.appendChild(i)})();const Y5={name:"@eloisa-ds/all-components",version:"1.0.73",dependencies:{},main:"./index.js",module:"./index.mjs",typings:"./index.d.ts",private:!0};/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -6303,6 +6303,12 @@
6303
6303
  .base > slot::slotted(a) {
6304
6304
  color: currentColor;
6305
6305
  }
6306
+ :host([italic]) {
6307
+ .base, .display1, .display1 > slot::slotted(*), .display2, .display2 > slot::slotted(*), .display3, .display3 > slot::slotted(*), .headline1, .headline1 > slot::slotted(*), .headline2, .headline2 > slot::slotted(*), .headline3, .headline3 > slot::slotted(*), .headline4, .headline4 > slot::slotted(*), .headline5, .headline5 > slot::slotted(*), .button, .button > slot::slotted(*), .body1, .body1 > slot::slotted(*), .body2, .body2 > slot::slotted(*), .body1-link, .body1-link > slot::slotted(*), .body2-link, .body2-link > slot::slotted(*), .footnote1, .footnote1 > slot::slotted(*), .footnote2, .footnote2 > slot::slotted(*), .footnote1-link, .footnote1-link > slot::slotted(*), .footnote2-link, .footnote2-link > slot::slotted(*), .caption1, .caption1 > slot::slotted(*), .caption2, .caption2 > slot::slotted(*), .caption1-link, .caption1-link > slot::slotted(*), .caption2-link, .caption2-link > slot::slotted(*), .link, .link > slot::slotted(*), .base > slot::slotted(b), .base > slot::slotted(strong), .base > slot::slotted(a) {
6308
+ font-style: italic;
6309
+ // font-weight: 400;
6310
+ }
6311
+ }
6306
6312
 
6307
6313
 
6308
6314
  @media screen and (max-width: 768px) {
@@ -7126,7 +7132,6 @@
7126
7132
  </div>
7127
7133
  </div>
7128
7134
  </div>`}}g(t5,"styles",Pn),g(t5,"shadowRootOptions",{...f.shadowRootOptions,mode:"open"}),g(t5,"properties",{theme:{type:String},hidden:{type:Boolean},title:{type:String},tipoDeAtencion:{type:String},modalidad:{type:String},dataTipoDeAtencion:{type:Array},dataModalidad:{type:Array},focused:{type:Boolean},home:{type:Boolean},onlyView:{type:Boolean}}),customElements.get("cas-booking-box")||customElements.define("cas-booking-box",t5);const b7=H`
7129
- @import url(https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap);
7130
7135
  * {
7131
7136
  box-sizing: border-box;
7132
7137
  }
@@ -10700,7 +10705,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
10700
10705
  width: 100%;
10701
10706
  }
10702
10707
  }
10703
- `,gC={head:[{id:1,icon:"flat-info",name:"Centro de ayuda",url:"https://centrodeayuda.clinicaalemana.cl/?itm_source=header-cas&itm_medium=web&itm_campaign=centro-de-ayuda-header&_ga=2.163849791.1865825919.1676902332-1791707714.1661293851&_gl=1*11v0ttz*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NjkxNDIzNi44Ny4wLjE2NzY5MTQyMzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NjkxNDIzNi45Ny4wLjE2NzY5MTQyMzYuNjAuMC4w",hasChildren:!1},{id:2,icon:"flat-helpCenter",name:"Llamar",hasChildren:!0,children:[{name:"Mesa Central",text:"+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{name:"Reserva de horas",text:"+56 2 2910 1700",icon:"flat-calendarOn",url:"tel:+56229101700"},{name:"Rescate de emergencia",text:"+56 2 2910 9911",icon:"flat-urgency",url:"tel:+56229109911"}]},{id:3,icon:"flat-profileOff",name:"Mi Alemana Go",hasChildren:!0,children:[{name:"Iniciar sesión",login:!0,url:"https://www.clinicaalemana.cl/alemana-go-web?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-iniciar-sesion"},{name:"Crear cuenta",url:"https://miclave.clinicaalemana.cl?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-pide-tu-clave&_ga=2.98190751.1865825919.1676902332-1791707714.1661293851&_gl=1*1oaa24h*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NzA3NjU3Ni45Ny4wLjE2NzcwNzY1NzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NzA3NjU3Ni4xMDcuMC4xNjc3MDc2NTc2LjYwLjAuMA.."}]}],support:[{id:4,name:"Centro de ayuda",icon:"flat-question",url:"https://centrodeayuda.clinicaalemana.cl/"},{id:1,name:"Mesa Central <br>+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{id:2,name:"Reserva de hora <br>+56 22210 1700",icon:"flat-calendarOn",url:"tel:+56222101700"},{id:3,name:"Rescate de emergencia <br> +56 22910 9911",icon:"flat-phone",url:"tel:+56229109911"}],legals:[{id:1,name:"Información normativa",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales"},{id:2,name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"},{id:3,name:"Términos legales",url:"https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"}]},MC=[{id:1,name:"Servicios en línea",icon:"flat-medicTool",hasChildren:!0,children:[{section:"Valores y pagos",items:[{name:"Aranceles",text:"Conoce los valores",icon:"flat-search",url:"https://www.alemana.cl/wls/arancel",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-aranceles"},{name:"Presupuesto maternidad",text:"Pide tu cotización",icon:"flat-pregnant",url:"https://www.alemana.cl/pptoweb/Presupuesto/Maternidad#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-maternalidad"},{name:"Presupuesto hospitalización",text:"Solicita tu cotización",icon:"flat-medicTool",url:"https://www.alemana.cl/pptoweb/Presupuesto/Hospitalizacion#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-hospitalizacion"},{name:"Pago de cuentas",text:"Ambulatorio y hospitalización",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas"},{name:"Pago por Webpay",text:"Convenio accidentes y cirugía plástica",icon:"flat-creditCard",url:"https://www.webpay.cl/company/29421",tracking_type:"utm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-por-webpay"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-isapres-preferentes"}]},{section:"Exámenes",items:[{name:"Agendar",text:"Reserva tus exámenes",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-agendar"},{name:"Simulador",text:"Simula el copago estimado",icon:"flat-fileInvoiceDollar",url:"https://simulador.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-simulador"},{name:"Indicaciones",text:"Revisa cómo prepararte",icon:"flat-paper",url:"https://www.alemana.cl/masterweb/Frm/BuscaExamen.aspx",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-indicaciones"},{name:"Resultados",text:"Descarga informes e imágenes",icon:"flat-ticket",url:"https://exameneslab.alemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-resultados"}]},{section:"Hospitalización",items:[{name:"Preadmisión",text:"Realízala antes de tu ingreso",icon:"flat-profileOff",url:"https://m.alemana.cl/preadmision",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-preadmision"},{name:"Guía de ingreso",text:"Lo que debes tener en cuenta ",icon:"flat-listOff",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-guia-de-ingreso"},{name:"Proceso de alta",text:"Conócelo en detalle",icon:"flat-success",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/alta-medica",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-proceso-de-alta"},{name:"Estado de cuenta",text:"Regulariza tu situación",icon:"flat-fileInvoiceDollar",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/cuenta",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas"}]},{section:"Reserva de hora",items:[{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-calendarOn",url:"https://reserva.alemana.cl/"},{name:"Telemedicina",text:"Atiéndete desde cualquier lugar",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"Exámenes y procedimientos",text:"Agenda tus pruebas médicas",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"}]}],align:"start",cta:{visible:!1,size:"large",color:"gray",title:"¿Necesitas realizarte un examen o procedimiento?",text:"Tenemos más de 700 tipos de análisis disponibles para ti.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Reservar",url:""}}},{id:2,name:"Especialidades y servicios",icon:"flat-doctor",hasChildren:!0,children:[{section:"Atenciones",items:[{name:"Servicios clínicos",text:"Conoce los que tenemos",icon:"flat-tube",url:"https://www.clinicaalemana.cl/nuestros-servicios/servicios-clinicos",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-servicios-clinicos"},{name:"Especialidades",text:"Revisa las más de 60 disponibles ",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/nuestros-servicios/especialidades",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-especialidades"},{name:"Nuestros médicos",text:"Busca por área o especialidad",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/profesional"},{name:"Sucursales",text:"Busca la más cercana",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/sucursales"}]},{section:"Modalidad de atención",items:[{name:"Telemedicina",text:"Consulta de forma virtual",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Consulta para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"},{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-branchOffices",url:"https://reserva.alemana.cl/reserva/portal/busqueda",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-presencial"}]},{section:"Atención especializada",columns:2,items:[{name:"Maternidad integral",text:"Conoce nuestro servicio",icon:"flat-pregnant",url:"https://www.clinicaalemana.cl/especialidades/maternidad-y-familia/maternidad-integral",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-maternidad-integral"},{name:"Paciente regional",text:"Gestiona tu visita",icon:"flat-regionalPatient",url:"https://www.clinicaalemana.cl/paciente-regional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-regional"},{name:"Hospitalización",text:"Revisa todo el proceso",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-hospitalizacion"},{name:"Covid-19",text:"Infórmate sobre lo nuevo",icon:"flat-syringe",url:"https://www.clinicaalemana.cl/covid-19",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-covid-19"},{name:"Salud empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-salud-empresa"},{name:"Centros",text:"Busca el más cercano",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/centros",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-centros"},{name:"Paciente internacional",text:"Solicita tu atención",icon:"flat-interPatient",url:"https://www.clinicaalemana.cl/paciente-internacional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-internacional"},{name:"Programas",text:"Encuentra el mejor para ti",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/programas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-programas"}]}],align:"center",cta:{visible:!1,size:"small",color:"purple",title:"¿Necesitas un presupuesto?",text:"Puedes solicitar uno para tu parto o una hospitalización.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Solicitar",url:""}}},{id:3,name:"Seguros y convenios",icon:"flat-safety",hasChildren:!0,children:[{section:"",items:[{name:"Convenio de Accidentes",text:"Protege a tu familia",icon:"flat-safety",url:"https://www.clinicaalemana.cl/convenio-de-accidentes",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-convenio-de-accidentes"},{name:"Alemana Seguros",text:"Elige el mejor para ti",icon:"flat-safety",url:"https://www.alemanaseguros.cl",tracking_type:"utm",campaign:"clininicalamana_menu_superior"},{name:"Todo Alemana",text:"Revisa nuestros planes",icon:"flat-safety",url:"https://www.clinicaalemana.cl/todo-alemana/caracteristicas-generales",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-todo-alemana"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana"}]}],align:"center",cta:{visible:!1,size:"medium",color:"red",title:"¿Necesitas realizarte un examen?",text:"Más de 700 exámenes y procedimeintos disponibles",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Agendar ",url:""}}},{id:4,name:"Prevención y bienestar",icon:"flat-sex",hasChildren:!0,children:[{section:"Personas",items:[{name:"Chequeos y programas",text:"Encuentra la mejor opción",icon:"flat-chartOff",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/acciones-para-cuidarte",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-acciones-para-cuidarte"},{name:"Importancia de cuidarse",text:"Descubre por qué hacerlo",icon:"flat-lightbulb",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/importancia-de-cuidarse",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-importancia-de-cuidarse"},{name:"Aprende a cuidarte",text:"Revisa nuestros consejos",icon:"flat-search",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/aprender",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-aprende-a-cuidarte"}]},{section:"Empresas",items:[{name:"Salud Empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-empresas-salud-empresa"}]}],align:"end",cta:{visible:!1}},{id:5,name:"Educación de salud",icon:"flat-youtube",hasChildren:!0,children:[{section:"",items:[{name:"Todo sobre salud",text:"Revisa las principales noticias",icon:"flat-newspaper2",url:"https://www.clinicaalemana.cl/articulos/todas-las-noticias",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-todo-sobre-salud"},{name:"Banco de enfermedades",text:"Encuentra todo lo que necesitas",icon:"flat-textColor",url:"https://www.clinicaalemana.cl/banco-de-enfermedades",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-banco-de-enfermedades"},{name:"Alemana Podcast",text:"Escucha a nuestros expertos ",icon:"flat-spotify",url:"https://www.clinicaalemana.cl/centro-de-extension/podcast",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-alemana-podcast"},{name:"Charlas y talleres",text:"Aprende con nuestros especialistas",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/centro-de-extension/bienvenida-charlas-y-talleres",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-charlas-y-talleres"},{name:"Video educativos",text:"Mira nuestro contenido",icon:"flat-youtube",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA",tracking_type:"utm",campaign:"menu-superior-educación-de-salud-video-educativos"}]}],align:"end",cta:{visible:!1}}],_p=gC.head;class N5 extends f{constructor(){super(),this.showSignin=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}openSignIn(){this.showSignin=!0,this.requestUpdate()}closeSingIn(){this.showSignin=!1,this.requestUpdate()}openMenu(){const C=new CustomEvent("openMenuMobile");document.dispatchEvent(C)}updated(){const C=this.shadowRoot.querySelectorAll(".group > li");C.forEach(t=>{t.addEventListener("click",()=>{C.forEach(e=>{e.classList.remove("active")}),t.classList.add("active")})})}render(){const{isMobile:C,isTablet:t,isMacbookAir:e}=this,o=_p,a=e?"Reservar":"Reservar hora";document.addEventListener("click",r=>{r.composedPath().includes(this)||this.shadowRoot.querySelectorAll(".group > li").forEach(c=>{c.classList.remove("active")})});const l=r=>{const{icon:d,name:c,text:p,url:v,login:u}=r;return M`<li>
10708
+ `,gC={head:[{id:1,icon:"flat-info",name:"Centro de ayuda",url:"https://centrodeayuda.clinicaalemana.cl/?itm_source=header-cas&itm_medium=web&itm_campaign=centro-de-ayuda-header&_ga=2.163849791.1865825919.1676902332-1791707714.1661293851&_gl=1*11v0ttz*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NjkxNDIzNi44Ny4wLjE2NzY5MTQyMzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NjkxNDIzNi45Ny4wLjE2NzY5MTQyMzYuNjAuMC4w",hasChildren:!1},{id:2,icon:"flat-helpCenter",name:"Llamar",hasChildren:!0,children:[{name:"Mesa Central",text:"+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{name:"Reserva de horas",text:"+56 2 2910 1700",icon:"flat-calendarOn",url:"tel:+56229101700"},{name:"Rescate de emergencia",text:"+56 2 2910 9911",icon:"flat-urgency",url:"tel:+56229109911"}]},{id:3,icon:"flat-profileOff",name:"Mi Alemana Go",hasChildren:!0,children:[{name:"Iniciar sesión",login:!0,url:"https://www.clinicaalemana.cl/alemana-go-web?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-iniciar-sesion"},{name:"Crear cuenta",url:"https://miclave.clinicaalemana.cl?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-pide-tu-clave&_ga=2.98190751.1865825919.1676902332-1791707714.1661293851&_gl=1*1oaa24h*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NzA3NjU3Ni45Ny4wLjE2NzcwNzY1NzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NzA3NjU3Ni4xMDcuMC4xNjc3MDc2NTc2LjYwLjAuMA.."}]}],support:[{id:4,name:"Centro de ayuda",icon:"flat-question",url:"https://centrodeayuda.clinicaalemana.cl/"},{id:1,name:"Mesa Central <br>+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{id:2,name:"Reserva de hora <br>+56 22210 1700",icon:"flat-calendarOn",url:"tel:+56222101700"},{id:3,name:"Rescate de emergencia <br> +56 22910 9911",icon:"flat-phone",url:"tel:+56229109911"}],legals:[{id:1,name:"Información normativa",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales"},{id:2,name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"},{id:3,name:"Términos legales",url:"https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"}]},MC=[{id:1,name:"Servicios en línea",icon:"flat-medicTool",hasChildren:!0,children:[{section:"Valores y pagos",items:[{name:"Aranceles",text:"Conoce los valores",icon:"flat-search",url:"https://www.alemana.cl/wls/arancel",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-aranceles"},{name:"Presupuesto maternidad",text:"Pide tu cotización",icon:"flat-pregnant",url:"https://www.alemana.cl/pptoweb/Presupuesto/Maternidad#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-maternalidad"},{name:"Presupuesto hospitalización",text:"Solicita tu cotización",icon:"flat-medicTool",url:"https://www.alemana.cl/pptoweb/Presupuesto/Hospitalizacion#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-hospitalizacion"},{name:"Pago de cuentas",text:"Ambulatorio y hospitalización",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas"},{name:"Pago por Webpay",text:"Convenio accidentes y cirugía plástica",icon:"flat-creditCard",url:"https://www.webpay.cl/company/29421",tracking_type:"utm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-por-webpay"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-isapres-preferentes"}]},{section:"Exámenes",items:[{name:"Agendar",text:"Reserva tus exámenes",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-agendar"},{name:"Simulador",text:"Simula el copago estimado",icon:"flat-fileInvoiceDollar",url:"https://simulador.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-simulador"},{name:"Indicaciones",text:"Revisa cómo prepararte",icon:"flat-paper",url:"https://www.alemana.cl/masterweb/Frm/BuscaExamen.aspx",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-indicaciones"},{name:"Resultados",text:"Descarga informes e imágenes",icon:"flat-ticket",url:"https://exameneslab.alemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-resultados"}]},{section:"Hospitalización",items:[{name:"Preadmisión",text:"Realízala antes de tu ingreso",icon:"flat-profileOff",url:"https://m.alemana.cl/preadmision",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-preadmision"},{name:"Guía de ingreso",text:"Lo que debes tener en cuenta ",icon:"flat-listOff",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-guia-de-ingreso"},{name:"Proceso de alta",text:"Conócelo en detalle",icon:"flat-success",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/alta-medica",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-proceso-de-alta"},{name:"Estado de cuenta",text:"Revisa si ya puedes pagar",icon:"flat-fileInvoiceDollar",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/cuenta",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas"}]},{section:"Reserva de hora",items:[{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-calendarOn",url:"https://reserva.alemana.cl/reserva/portal/busqueda"},{name:"Telemedicina",text:"Atiéndete desde cualquier lugar",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"Exámenes y procedimientos",text:"Agenda tus pruebas médicas",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"}]}],align:"start",cta:{visible:!1,size:"large",color:"gray",title:"¿Necesitas realizarte un examen o procedimiento?",text:"Tenemos más de 700 tipos de análisis disponibles para ti.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Reservar",url:""}}},{id:2,name:"Especialidades y servicios",icon:"flat-doctor",hasChildren:!0,children:[{section:"Atenciones",items:[{name:"Servicios clínicos",text:"Conoce los que tenemos",icon:"flat-tube",url:"https://www.clinicaalemana.cl/nuestros-servicios/servicios-clinicos",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-servicios-clinicos"},{name:"Especialidades",text:"Revisa las más de 60 disponibles ",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/nuestros-servicios/especialidades",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-especialidades"},{name:"Nuestros médicos",text:"Busca por área o especialidad",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/profesional"},{name:"Sucursales",text:"Busca la más cercana",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/sucursales"}]},{section:"Modalidad de atención",items:[{name:"Telemedicina",text:"Consulta de forma virtual",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Consulta para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"},{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-branchOffices",url:"https://reserva.alemana.cl/reserva/portal/busqueda",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-presencial"}]},{section:"Atención especializada",columns:2,items:[{name:"Maternidad integral",text:"Conoce nuestro servicio",icon:"flat-pregnant",url:"https://www.clinicaalemana.cl/especialidades/maternidad-y-familia/maternidad-integral",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-maternidad-integral"},{name:"Paciente regional",text:"Gestiona tu visita",icon:"flat-regionalPatient",url:"https://www.clinicaalemana.cl/paciente-regional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-regional"},{name:"Hospitalización",text:"Revisa todo el proceso",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-hospitalizacion"},{name:"Covid-19",text:"Infórmate sobre lo nuevo",icon:"flat-syringe",url:"https://www.clinicaalemana.cl/covid-19",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-covid-19"},{name:"Salud empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-salud-empresa"},{name:"Centros",text:"Busca el más cercano",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/centros",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-centros"},{name:"Paciente internacional",text:"Solicita tu atención",icon:"flat-interPatient",url:"https://www.clinicaalemana.cl/paciente-internacional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-internacional"},{name:"Programas",text:"Encuentra el mejor para ti",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/programas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-programas"}]}],align:"center",cta:{visible:!1,size:"small",color:"purple",title:"¿Necesitas un presupuesto?",text:"Puedes solicitar uno para tu parto o una hospitalización.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Solicitar",url:""}}},{id:3,name:"Seguros y convenios",icon:"flat-safety",hasChildren:!0,children:[{section:"",items:[{name:"Convenio de Accidentes",text:"Protege a tu familia",icon:"flat-safety",url:"https://www.clinicaalemana.cl/convenio-de-accidentes",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-convenio-de-accidentes"},{name:"Alemana Seguros",text:"Elige el mejor para ti",icon:"flat-safety",url:"https://www.alemanaseguros.cl",tracking_type:"utm",campaign:"clininicalamana_menu_superior"},{name:"Todo Alemana",text:"Revisa nuestros planes",icon:"flat-safety",url:"https://www.clinicaalemana.cl/todo-alemana/caracteristicas-generales",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-todo-alemana"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana"}]}],align:"center",cta:{visible:!1,size:"medium",color:"red",title:"¿Necesitas realizarte un examen?",text:"Más de 700 exámenes y procedimeintos disponibles",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Agendar ",url:""}}},{id:4,name:"Prevención y bienestar",icon:"flat-sex",hasChildren:!0,children:[{section:"Personas",items:[{name:"Chequeos y programas",text:"Encuentra la mejor opción",icon:"flat-chartOff",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/acciones-para-cuidarte",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-acciones-para-cuidarte"},{name:"Importancia de cuidarse",text:"Descubre por qué hacerlo",icon:"flat-lightbulb",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/importancia-de-cuidarse",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-importancia-de-cuidarse"},{name:"Aprende a cuidarte",text:"Revisa nuestros consejos",icon:"flat-search",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/aprender",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-aprende-a-cuidarte"}]},{section:"Empresas",items:[{name:"Salud Empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-empresas-salud-empresa"}]}],align:"end",cta:{visible:!1}},{id:5,name:"Educación de salud",icon:"flat-youtube",hasChildren:!0,children:[{section:"",items:[{name:"Todo sobre salud",text:"Revisa las principales noticias",icon:"flat-newspaper2",url:"https://www.clinicaalemana.cl/articulos/todas-las-noticias",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-todo-sobre-salud"},{name:"Banco de enfermedades",text:"Encuentra todo lo que necesitas",icon:"flat-textColor",url:"https://www.clinicaalemana.cl/banco-de-enfermedades",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-banco-de-enfermedades"},{name:"Alemana Podcast",text:"Escucha a nuestros expertos ",icon:"flat-spotify",url:"https://www.clinicaalemana.cl/centro-de-extension/podcast",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-alemana-podcast"},{name:"Charlas y talleres",text:"Aprende con nuestros especialistas",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/centro-de-extension/bienvenida-charlas-y-talleres",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-charlas-y-talleres"},{name:"Video educativos",text:"Mira nuestro contenido",icon:"flat-youtube",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA",tracking_type:"utm",campaign:"menu-superior-educación-de-salud-video-educativos"}]}],align:"end",cta:{visible:!1}}],_p=gC.head;class N5 extends f{constructor(){super(),this.showSignin=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}openSignIn(){this.showSignin=!0,this.requestUpdate()}closeSingIn(){this.showSignin=!1,this.requestUpdate()}openMenu(){const C=new CustomEvent("openMenuMobile");document.dispatchEvent(C)}updated(){const C=this.shadowRoot.querySelectorAll(".group > li");C.forEach(t=>{t.addEventListener("click",()=>{C.forEach(e=>{e.classList.remove("active")}),t.classList.add("active")})})}render(){const{isMobile:C,isTablet:t,isMacbookAir:e}=this,o=_p,a=e?"Reservar":"Reservar hora";document.addEventListener("click",r=>{r.composedPath().includes(this)||this.shadowRoot.querySelectorAll(".group > li").forEach(c=>{c.classList.remove("active")})});const l=r=>{const{icon:d,name:c,text:p,url:v,login:u}=r;return M`<li>
10704
10709
  <a href="${v}">
10705
10710
  ${d?M`
10706
10711
  <div class="icon">
@@ -11154,7 +11159,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
11154
11159
  will-change: initial;
11155
11160
  }
11156
11161
  }
11157
- `,$p=MC;var R8="";let Ap=(I3=class extends f{constructor(){super(),this.showMenuMobile=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}updated(){document.addEventListener("openMenuMobile",()=>{this.showMenuMobile=!0,this.requestUpdate()}),document.addEventListener("closeMenuMobile",()=>{this.showMenuMobile=!1,this.requestUpdate()})}urlFormatter(C){let t=C.url;return C.tracking_type&&(t=`${C.url}?${C.tracking_type}_source=clinicaalemana&${C.tracking_type}_medium=web&${C.tracking_type}_campaign=${C.campaign}`),["clinicaalemana.cl"].some(o=>t.includes(o))||(t=t.match(/\?/)?t+R8:t+"?"+R8),t}firstUpdated(C){var t=document.createElement("a");t.setAttribute("href","https://reserva.alemana.cl/"),t.style="visibility:hidden",t.textContent="Alemana",document.body.append(t),t.dispatchEvent(new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window}));var e=t.href.match("_gl=.+");R8=e?"&"+e[0]:""}render(){const{showMenuMobile:C,isMobile:t,isTablet:e,isDesktop:o}=this,a=l=>{var h;return M`
11162
+ `,$p=MC;var R8="";let Ap=(I3=class extends f{constructor(){super(),this.showMenuMobile=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}updated(){document.addEventListener("openMenuMobile",()=>{this.showMenuMobile=!0,this.requestUpdate()}),document.addEventListener("closeMenuMobile",()=>{this.showMenuMobile=!1,this.requestUpdate()})}urlFormatter(C){let t=C.url;C.tracking_type&&(t=`${C.url}?${C.tracking_type}_source=clinicaalemana&${C.tracking_type}_medium=web&${C.tracking_type}_campaign=${C.campaign}`);const e=["clinicaalemana.cl"],o=["webpay","youtube","alemanaseguros"];return!e.some(a=>t.includes(a))&&!o.some(a=>t.includes(a))&&(t=t.match(/\?/)?t+R8:t+"?"+R8),t}firstUpdated(C){var t=document.createElement("a");t.setAttribute("href","https://reserva.alemana.cl/"),t.style="visibility:hidden",t.textContent="Alemana",document.body.append(t),t.dispatchEvent(new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window}));var e=t.href.match("_gl=.+");R8=e?"&"+e[0]:""}render(){const{showMenuMobile:C,isMobile:t,isTablet:e,isDesktop:o}=this,a=l=>{var h;return M`
11158
11163
  <li class="item">
11159
11164
  <div class="top">
11160
11165
  <p class="title">${l.name}</p>
@@ -6303,6 +6303,12 @@
6303
6303
  .base > slot::slotted(a) {
6304
6304
  color: currentColor;
6305
6305
  }
6306
+ :host([italic]) {
6307
+ .base, .display1, .display1 > slot::slotted(*), .display2, .display2 > slot::slotted(*), .display3, .display3 > slot::slotted(*), .headline1, .headline1 > slot::slotted(*), .headline2, .headline2 > slot::slotted(*), .headline3, .headline3 > slot::slotted(*), .headline4, .headline4 > slot::slotted(*), .headline5, .headline5 > slot::slotted(*), .button, .button > slot::slotted(*), .body1, .body1 > slot::slotted(*), .body2, .body2 > slot::slotted(*), .body1-link, .body1-link > slot::slotted(*), .body2-link, .body2-link > slot::slotted(*), .footnote1, .footnote1 > slot::slotted(*), .footnote2, .footnote2 > slot::slotted(*), .footnote1-link, .footnote1-link > slot::slotted(*), .footnote2-link, .footnote2-link > slot::slotted(*), .caption1, .caption1 > slot::slotted(*), .caption2, .caption2 > slot::slotted(*), .caption1-link, .caption1-link > slot::slotted(*), .caption2-link, .caption2-link > slot::slotted(*), .link, .link > slot::slotted(*), .base > slot::slotted(b), .base > slot::slotted(strong), .base > slot::slotted(a) {
6308
+ font-style: italic;
6309
+ // font-weight: 400;
6310
+ }
6311
+ }
6306
6312
 
6307
6313
 
6308
6314
  @media screen and (max-width: 768px) {
@@ -7126,7 +7132,6 @@
7126
7132
  </div>
7127
7133
  </div>
7128
7134
  </div>`}}f(x3,"styles",ja),f(x3,"shadowRootOptions",{...V.shadowRootOptions,mode:"open"}),f(x3,"properties",{theme:{type:String},hidden:{type:Boolean},title:{type:String},tipoDeAtencion:{type:String},modalidad:{type:String},dataTipoDeAtencion:{type:Array},dataModalidad:{type:Array},focused:{type:Boolean},home:{type:Boolean},onlyView:{type:Boolean}}),customElements.get("cas-booking-box")||customElements.define("cas-booking-box",x3);const F4=w`
7129
- @import url(https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap);
7130
7135
  * {
7131
7136
  box-sizing: border-box;
7132
7137
  }
@@ -10700,7 +10705,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
10700
10705
  width: 100%;
10701
10706
  }
10702
10707
  }
10703
- `,$0={head:[{id:1,icon:"flat-info",name:"Centro de ayuda",url:"https://centrodeayuda.clinicaalemana.cl/?itm_source=header-cas&itm_medium=web&itm_campaign=centro-de-ayuda-header&_ga=2.163849791.1865825919.1676902332-1791707714.1661293851&_gl=1*11v0ttz*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NjkxNDIzNi44Ny4wLjE2NzY5MTQyMzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NjkxNDIzNi45Ny4wLjE2NzY5MTQyMzYuNjAuMC4w",hasChildren:!1},{id:2,icon:"flat-helpCenter",name:"Llamar",hasChildren:!0,children:[{name:"Mesa Central",text:"+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{name:"Reserva de horas",text:"+56 2 2910 1700",icon:"flat-calendarOn",url:"tel:+56229101700"},{name:"Rescate de emergencia",text:"+56 2 2910 9911",icon:"flat-urgency",url:"tel:+56229109911"}]},{id:3,icon:"flat-profileOff",name:"Mi Alemana Go",hasChildren:!0,children:[{name:"Iniciar sesión",login:!0,url:"https://www.clinicaalemana.cl/alemana-go-web?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-iniciar-sesion"},{name:"Crear cuenta",url:"https://miclave.clinicaalemana.cl?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-pide-tu-clave&_ga=2.98190751.1865825919.1676902332-1791707714.1661293851&_gl=1*1oaa24h*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NzA3NjU3Ni45Ny4wLjE2NzcwNzY1NzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NzA3NjU3Ni4xMDcuMC4xNjc3MDc2NTc2LjYwLjAuMA.."}]}],support:[{id:4,name:"Centro de ayuda",icon:"flat-question",url:"https://centrodeayuda.clinicaalemana.cl/"},{id:1,name:"Mesa Central <br>+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{id:2,name:"Reserva de hora <br>+56 22210 1700",icon:"flat-calendarOn",url:"tel:+56222101700"},{id:3,name:"Rescate de emergencia <br> +56 22910 9911",icon:"flat-phone",url:"tel:+56229109911"}],legals:[{id:1,name:"Información normativa",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales"},{id:2,name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"},{id:3,name:"Términos legales",url:"https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"}]},B0=[{id:1,name:"Servicios en línea",icon:"flat-medicTool",hasChildren:!0,children:[{section:"Valores y pagos",items:[{name:"Aranceles",text:"Conoce los valores",icon:"flat-search",url:"https://www.alemana.cl/wls/arancel",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-aranceles"},{name:"Presupuesto maternidad",text:"Pide tu cotización",icon:"flat-pregnant",url:"https://www.alemana.cl/pptoweb/Presupuesto/Maternidad#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-maternalidad"},{name:"Presupuesto hospitalización",text:"Solicita tu cotización",icon:"flat-medicTool",url:"https://www.alemana.cl/pptoweb/Presupuesto/Hospitalizacion#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-hospitalizacion"},{name:"Pago de cuentas",text:"Ambulatorio y hospitalización",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas"},{name:"Pago por Webpay",text:"Convenio accidentes y cirugía plástica",icon:"flat-creditCard",url:"https://www.webpay.cl/company/29421",tracking_type:"utm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-por-webpay"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-isapres-preferentes"}]},{section:"Exámenes",items:[{name:"Agendar",text:"Reserva tus exámenes",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-agendar"},{name:"Simulador",text:"Simula el copago estimado",icon:"flat-fileInvoiceDollar",url:"https://simulador.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-simulador"},{name:"Indicaciones",text:"Revisa cómo prepararte",icon:"flat-paper",url:"https://www.alemana.cl/masterweb/Frm/BuscaExamen.aspx",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-indicaciones"},{name:"Resultados",text:"Descarga informes e imágenes",icon:"flat-ticket",url:"https://exameneslab.alemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-resultados"}]},{section:"Hospitalización",items:[{name:"Preadmisión",text:"Realízala antes de tu ingreso",icon:"flat-profileOff",url:"https://m.alemana.cl/preadmision",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-preadmision"},{name:"Guía de ingreso",text:"Lo que debes tener en cuenta ",icon:"flat-listOff",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-guia-de-ingreso"},{name:"Proceso de alta",text:"Conócelo en detalle",icon:"flat-success",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/alta-medica",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-proceso-de-alta"},{name:"Estado de cuenta",text:"Regulariza tu situación",icon:"flat-fileInvoiceDollar",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/cuenta",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas"}]},{section:"Reserva de hora",items:[{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-calendarOn",url:"https://reserva.alemana.cl/"},{name:"Telemedicina",text:"Atiéndete desde cualquier lugar",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"Exámenes y procedimientos",text:"Agenda tus pruebas médicas",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"}]}],align:"start",cta:{visible:!1,size:"large",color:"gray",title:"¿Necesitas realizarte un examen o procedimiento?",text:"Tenemos más de 700 tipos de análisis disponibles para ti.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Reservar",url:""}}},{id:2,name:"Especialidades y servicios",icon:"flat-doctor",hasChildren:!0,children:[{section:"Atenciones",items:[{name:"Servicios clínicos",text:"Conoce los que tenemos",icon:"flat-tube",url:"https://www.clinicaalemana.cl/nuestros-servicios/servicios-clinicos",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-servicios-clinicos"},{name:"Especialidades",text:"Revisa las más de 60 disponibles ",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/nuestros-servicios/especialidades",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-especialidades"},{name:"Nuestros médicos",text:"Busca por área o especialidad",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/profesional"},{name:"Sucursales",text:"Busca la más cercana",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/sucursales"}]},{section:"Modalidad de atención",items:[{name:"Telemedicina",text:"Consulta de forma virtual",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Consulta para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"},{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-branchOffices",url:"https://reserva.alemana.cl/reserva/portal/busqueda",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-presencial"}]},{section:"Atención especializada",columns:2,items:[{name:"Maternidad integral",text:"Conoce nuestro servicio",icon:"flat-pregnant",url:"https://www.clinicaalemana.cl/especialidades/maternidad-y-familia/maternidad-integral",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-maternidad-integral"},{name:"Paciente regional",text:"Gestiona tu visita",icon:"flat-regionalPatient",url:"https://www.clinicaalemana.cl/paciente-regional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-regional"},{name:"Hospitalización",text:"Revisa todo el proceso",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-hospitalizacion"},{name:"Covid-19",text:"Infórmate sobre lo nuevo",icon:"flat-syringe",url:"https://www.clinicaalemana.cl/covid-19",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-covid-19"},{name:"Salud empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-salud-empresa"},{name:"Centros",text:"Busca el más cercano",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/centros",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-centros"},{name:"Paciente internacional",text:"Solicita tu atención",icon:"flat-interPatient",url:"https://www.clinicaalemana.cl/paciente-internacional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-internacional"},{name:"Programas",text:"Encuentra el mejor para ti",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/programas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-programas"}]}],align:"center",cta:{visible:!1,size:"small",color:"purple",title:"¿Necesitas un presupuesto?",text:"Puedes solicitar uno para tu parto o una hospitalización.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Solicitar",url:""}}},{id:3,name:"Seguros y convenios",icon:"flat-safety",hasChildren:!0,children:[{section:"",items:[{name:"Convenio de Accidentes",text:"Protege a tu familia",icon:"flat-safety",url:"https://www.clinicaalemana.cl/convenio-de-accidentes",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-convenio-de-accidentes"},{name:"Alemana Seguros",text:"Elige el mejor para ti",icon:"flat-safety",url:"https://www.alemanaseguros.cl",tracking_type:"utm",campaign:"clininicalamana_menu_superior"},{name:"Todo Alemana",text:"Revisa nuestros planes",icon:"flat-safety",url:"https://www.clinicaalemana.cl/todo-alemana/caracteristicas-generales",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-todo-alemana"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana"}]}],align:"center",cta:{visible:!1,size:"medium",color:"red",title:"¿Necesitas realizarte un examen?",text:"Más de 700 exámenes y procedimeintos disponibles",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Agendar ",url:""}}},{id:4,name:"Prevención y bienestar",icon:"flat-sex",hasChildren:!0,children:[{section:"Personas",items:[{name:"Chequeos y programas",text:"Encuentra la mejor opción",icon:"flat-chartOff",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/acciones-para-cuidarte",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-acciones-para-cuidarte"},{name:"Importancia de cuidarse",text:"Descubre por qué hacerlo",icon:"flat-lightbulb",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/importancia-de-cuidarse",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-importancia-de-cuidarse"},{name:"Aprende a cuidarte",text:"Revisa nuestros consejos",icon:"flat-search",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/aprender",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-aprende-a-cuidarte"}]},{section:"Empresas",items:[{name:"Salud Empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-empresas-salud-empresa"}]}],align:"end",cta:{visible:!1}},{id:5,name:"Educación de salud",icon:"flat-youtube",hasChildren:!0,children:[{section:"",items:[{name:"Todo sobre salud",text:"Revisa las principales noticias",icon:"flat-newspaper2",url:"https://www.clinicaalemana.cl/articulos/todas-las-noticias",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-todo-sobre-salud"},{name:"Banco de enfermedades",text:"Encuentra todo lo que necesitas",icon:"flat-textColor",url:"https://www.clinicaalemana.cl/banco-de-enfermedades",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-banco-de-enfermedades"},{name:"Alemana Podcast",text:"Escucha a nuestros expertos ",icon:"flat-spotify",url:"https://www.clinicaalemana.cl/centro-de-extension/podcast",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-alemana-podcast"},{name:"Charlas y talleres",text:"Aprende con nuestros especialistas",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/centro-de-extension/bienvenida-charlas-y-talleres",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-charlas-y-talleres"},{name:"Video educativos",text:"Mira nuestro contenido",icon:"flat-youtube",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA",tracking_type:"utm",campaign:"menu-superior-educación-de-salud-video-educativos"}]}],align:"end",cta:{visible:!1}}],Bc=$0.head;class d5 extends V{constructor(){super(),this.showSignin=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}openSignIn(){this.showSignin=!0,this.requestUpdate()}closeSingIn(){this.showSignin=!1,this.requestUpdate()}openMenu(){const C=new CustomEvent("openMenuMobile");document.dispatchEvent(C)}updated(){const C=this.shadowRoot.querySelectorAll(".group > li");C.forEach(t=>{t.addEventListener("click",()=>{C.forEach(e=>{e.classList.remove("active")}),t.classList.add("active")})})}render(){const{isMobile:C,isTablet:t,isMacbookAir:e}=this,i=Bc,l=e?"Reservar":"Reservar hora";document.addEventListener("click",r=>{r.composedPath().includes(this)||this.shadowRoot.querySelectorAll(".group > li").forEach(c=>{c.classList.remove("active")})});const a=r=>{const{icon:d,name:c,text:L,url:v,login:M}=r;return u`<li>
10708
+ `,$0={head:[{id:1,icon:"flat-info",name:"Centro de ayuda",url:"https://centrodeayuda.clinicaalemana.cl/?itm_source=header-cas&itm_medium=web&itm_campaign=centro-de-ayuda-header&_ga=2.163849791.1865825919.1676902332-1791707714.1661293851&_gl=1*11v0ttz*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NjkxNDIzNi44Ny4wLjE2NzY5MTQyMzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NjkxNDIzNi45Ny4wLjE2NzY5MTQyMzYuNjAuMC4w",hasChildren:!1},{id:2,icon:"flat-helpCenter",name:"Llamar",hasChildren:!0,children:[{name:"Mesa Central",text:"+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{name:"Reserva de horas",text:"+56 2 2910 1700",icon:"flat-calendarOn",url:"tel:+56229101700"},{name:"Rescate de emergencia",text:"+56 2 2910 9911",icon:"flat-urgency",url:"tel:+56229109911"}]},{id:3,icon:"flat-profileOff",name:"Mi Alemana Go",hasChildren:!0,children:[{name:"Iniciar sesión",login:!0,url:"https://www.clinicaalemana.cl/alemana-go-web?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-iniciar-sesion"},{name:"Crear cuenta",url:"https://miclave.clinicaalemana.cl?itm_source=header-cas&itm_medium=web&itm_campaign=home-cas-pide-tu-clave&_ga=2.98190751.1865825919.1676902332-1791707714.1661293851&_gl=1*1oaa24h*_ga*MTc5MTcwNzcxNC4xNjYxMjkzODUx*_ga_PR6Y9MEXR6*MTY3NzA3NjU3Ni45Ny4wLjE2NzcwNzY1NzYuMC4wLjA.*_ga_VL9DKPYXQE*MTY3NzA3NjU3Ni4xMDcuMC4xNjc3MDc2NTc2LjYwLjAuMA.."}]}],support:[{id:4,name:"Centro de ayuda",icon:"flat-question",url:"https://centrodeayuda.clinicaalemana.cl/"},{id:1,name:"Mesa Central <br>+56 22210 1111",icon:"flat-hospital",url:"tel:+56222101111"},{id:2,name:"Reserva de hora <br>+56 22210 1700",icon:"flat-calendarOn",url:"tel:+56222101700"},{id:3,name:"Rescate de emergencia <br> +56 22910 9911",icon:"flat-phone",url:"tel:+56229109911"}],legals:[{id:1,name:"Información normativa",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales"},{id:2,name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"},{id:3,name:"Términos legales",url:"https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"}]},B0=[{id:1,name:"Servicios en línea",icon:"flat-medicTool",hasChildren:!0,children:[{section:"Valores y pagos",items:[{name:"Aranceles",text:"Conoce los valores",icon:"flat-search",url:"https://www.alemana.cl/wls/arancel",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-aranceles"},{name:"Presupuesto maternidad",text:"Pide tu cotización",icon:"flat-pregnant",url:"https://www.alemana.cl/pptoweb/Presupuesto/Maternidad#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-maternalidad"},{name:"Presupuesto hospitalización",text:"Solicita tu cotización",icon:"flat-medicTool",url:"https://www.alemana.cl/pptoweb/Presupuesto/Hospitalizacion#es",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-presupuesto-hospitalizacion"},{name:"Pago de cuentas",text:"Ambulatorio y hospitalización",icon:"flat-fileInvoiceDollar",url:"https://pagos.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-de-cuentas"},{name:"Pago por Webpay",text:"Convenio accidentes y cirugía plástica",icon:"flat-creditCard",url:"https://www.webpay.cl/company/29421",tracking_type:"utm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-pago-por-webpay"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-valores-y-pagos-isapres-preferentes"}]},{section:"Exámenes",items:[{name:"Agendar",text:"Reserva tus exámenes",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-agendar"},{name:"Simulador",text:"Simula el copago estimado",icon:"flat-fileInvoiceDollar",url:"https://simulador.clinicaalemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-simulador"},{name:"Indicaciones",text:"Revisa cómo prepararte",icon:"flat-paper",url:"https://www.alemana.cl/masterweb/Frm/BuscaExamen.aspx",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-indicaciones"},{name:"Resultados",text:"Descarga informes e imágenes",icon:"flat-ticket",url:"https://exameneslab.alemana.cl/",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-examenes-resultados"}]},{section:"Hospitalización",items:[{name:"Preadmisión",text:"Realízala antes de tu ingreso",icon:"flat-profileOff",url:"https://m.alemana.cl/preadmision",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-preadmision"},{name:"Guía de ingreso",text:"Lo que debes tener en cuenta ",icon:"flat-listOff",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-guia-de-ingreso"},{name:"Proceso de alta",text:"Conócelo en detalle",icon:"flat-success",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/alta-medica",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-proceso-de-alta"},{name:"Estado de cuenta",text:"Revisa si ya puedes pagar",icon:"flat-fileInvoiceDollar",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion/cuenta",tracking_type:"itm",campaign:"menu-superior-servicios-en-linea-hospitalizacion-pago-de-cuentas"}]},{section:"Reserva de hora",items:[{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-calendarOn",url:"https://reserva.alemana.cl/reserva/portal/busqueda"},{name:"Telemedicina",text:"Atiéndete desde cualquier lugar",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"Exámenes y procedimientos",text:"Agenda tus pruebas médicas",icon:"flat-recipe",url:"https://www.clinicaalemana.cl/examenes-y-procedimientos"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"}]}],align:"start",cta:{visible:!1,size:"large",color:"gray",title:"¿Necesitas realizarte un examen o procedimiento?",text:"Tenemos más de 700 tipos de análisis disponibles para ti.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Reservar",url:""}}},{id:2,name:"Especialidades y servicios",icon:"flat-doctor",hasChildren:!0,children:[{section:"Atenciones",items:[{name:"Servicios clínicos",text:"Conoce los que tenemos",icon:"flat-tube",url:"https://www.clinicaalemana.cl/nuestros-servicios/servicios-clinicos",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-servicios-clinicos"},{name:"Especialidades",text:"Revisa las más de 60 disponibles ",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/nuestros-servicios/especialidades",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atenciones-especialidades"},{name:"Nuestros médicos",text:"Busca por área o especialidad",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/profesional"},{name:"Sucursales",text:"Busca la más cercana",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/sucursales"}]},{section:"Modalidad de atención",items:[{name:"Telemedicina",text:"Consulta de forma virtual",icon:"flat-laptop",url:"https://www.clinicaalemana.cl/telemedicina",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-telemedicina"},{name:"TeleUrgencia",text:"Consulta para síntomas agudos",icon:"flat-teleUrgency",url:"https://www.clinicaalemana.cl/telemedicina/teleurgencia",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-teleurgencia"},{name:"A domicilio",text:"Atiéndete en tu hogar",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/servicios-clinicos/servicios-a-domicilio"},{name:"Presencial",text:"Dirígete a una sucursal",icon:"flat-branchOffices",url:"https://reserva.alemana.cl/reserva/portal/busqueda",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-modalidad-de-atencion-presencial"}]},{section:"Atención especializada",columns:2,items:[{name:"Maternidad integral",text:"Conoce nuestro servicio",icon:"flat-pregnant",url:"https://www.clinicaalemana.cl/especialidades/maternidad-y-familia/maternidad-integral",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-maternidad-integral"},{name:"Paciente regional",text:"Gestiona tu visita",icon:"flat-regionalPatient",url:"https://www.clinicaalemana.cl/paciente-regional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-regional"},{name:"Hospitalización",text:"Revisa todo el proceso",icon:"flat-urgency",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/todo-sobre-hospitalizacion",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-hospitalizacion"},{name:"Covid-19",text:"Infórmate sobre lo nuevo",icon:"flat-syringe",url:"https://www.clinicaalemana.cl/covid-19",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-covid-19"},{name:"Salud empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-salud-empresa"},{name:"Centros",text:"Busca el más cercano",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/centros",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-centros"},{name:"Paciente internacional",text:"Solicita tu atención",icon:"flat-interPatient",url:"https://www.clinicaalemana.cl/paciente-internacional",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-paciente-internacional"},{name:"Programas",text:"Encuentra el mejor para ti",icon:"flat-hospital",url:"https://www.clinicaalemana.cl/nuestros-servicios/programas",tracking_type:"itm",campaign:"menu-superior-especialidades-y-servicios-atencion-especializada-programas"}]}],align:"center",cta:{visible:!1,size:"small",color:"purple",title:"¿Necesitas un presupuesto?",text:"Puedes solicitar uno para tu parto o una hospitalización.",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Solicitar",url:""}}},{id:3,name:"Seguros y convenios",icon:"flat-safety",hasChildren:!0,children:[{section:"",items:[{name:"Convenio de Accidentes",text:"Protege a tu familia",icon:"flat-safety",url:"https://www.clinicaalemana.cl/convenio-de-accidentes",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-convenio-de-accidentes"},{name:"Alemana Seguros",text:"Elige el mejor para ti",icon:"flat-safety",url:"https://www.alemanaseguros.cl",tracking_type:"utm",campaign:"clininicalamana_menu_superior"},{name:"Todo Alemana",text:"Revisa nuestros planes",icon:"flat-safety",url:"https://www.clinicaalemana.cl/todo-alemana/caracteristicas-generales",tracking_type:"itm",campaign:"menu-superior-seguros-y-convenios-todo-alemana"},{name:"Isapres preferentes",text:"Con cobertura en la clínica",icon:"flat-plus",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/planes-de-isapres-preferentes-clinica-alemana"}]}],align:"center",cta:{visible:!1,size:"medium",color:"red",title:"¿Necesitas realizarte un examen?",text:"Más de 700 exámenes y procedimeintos disponibles",image:"https://d51h1y0hva8v.cloudfront.net/images/default-source/home/cta/cta.png?sfvrsn=17005f0b_2",button:{text:"Agendar ",url:""}}},{id:4,name:"Prevención y bienestar",icon:"flat-sex",hasChildren:!0,children:[{section:"Personas",items:[{name:"Chequeos y programas",text:"Encuentra la mejor opción",icon:"flat-chartOff",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/acciones-para-cuidarte",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-acciones-para-cuidarte"},{name:"Importancia de cuidarse",text:"Descubre por qué hacerlo",icon:"flat-lightbulb",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/importancia-de-cuidarse",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-importancia-de-cuidarse"},{name:"Aprende a cuidarte",text:"Revisa nuestros consejos",icon:"flat-search",url:"https://www.clinicaalemana.cl/prevencion-y-bienestar/aprender",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-personas-aprende-a-cuidarte"}]},{section:"Empresas",items:[{name:"Salud Empresa",text:"Cuida a tus colaboradores",icon:"flat-companyHealth",url:"https://www.clinicaalemana.cl/medicina-preventiva/salud-empresas",tracking_type:"itm",campaign:"menu-superior-prevencion-y-bienestar-empresas-salud-empresa"}]}],align:"end",cta:{visible:!1}},{id:5,name:"Educación de salud",icon:"flat-youtube",hasChildren:!0,children:[{section:"",items:[{name:"Todo sobre salud",text:"Revisa las principales noticias",icon:"flat-newspaper2",url:"https://www.clinicaalemana.cl/articulos/todas-las-noticias",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-todo-sobre-salud"},{name:"Banco de enfermedades",text:"Encuentra todo lo que necesitas",icon:"flat-textColor",url:"https://www.clinicaalemana.cl/banco-de-enfermedades",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-banco-de-enfermedades"},{name:"Alemana Podcast",text:"Escucha a nuestros expertos ",icon:"flat-spotify",url:"https://www.clinicaalemana.cl/centro-de-extension/podcast",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-alemana-podcast"},{name:"Charlas y talleres",text:"Aprende con nuestros especialistas",icon:"flat-doctor",url:"https://www.clinicaalemana.cl/centro-de-extension/bienvenida-charlas-y-talleres",tracking_type:"itm",campaign:"menu-superior-educacion-de-salud-charlas-y-talleres"},{name:"Video educativos",text:"Mira nuestro contenido",icon:"flat-youtube",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA",tracking_type:"utm",campaign:"menu-superior-educación-de-salud-video-educativos"}]}],align:"end",cta:{visible:!1}}],Bc=$0.head;class d5 extends V{constructor(){super(),this.showSignin=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}openSignIn(){this.showSignin=!0,this.requestUpdate()}closeSingIn(){this.showSignin=!1,this.requestUpdate()}openMenu(){const C=new CustomEvent("openMenuMobile");document.dispatchEvent(C)}updated(){const C=this.shadowRoot.querySelectorAll(".group > li");C.forEach(t=>{t.addEventListener("click",()=>{C.forEach(e=>{e.classList.remove("active")}),t.classList.add("active")})})}render(){const{isMobile:C,isTablet:t,isMacbookAir:e}=this,i=Bc,l=e?"Reservar":"Reservar hora";document.addEventListener("click",r=>{r.composedPath().includes(this)||this.shadowRoot.querySelectorAll(".group > li").forEach(c=>{c.classList.remove("active")})});const a=r=>{const{icon:d,name:c,text:L,url:v,login:M}=r;return u`<li>
10704
10709
  <a href="${v}">
10705
10710
  ${d?u`
10706
10711
  <div class="icon">
@@ -11154,7 +11159,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
11154
11159
  will-change: initial;
11155
11160
  }
11156
11161
  }
11157
- `,Ic=B0;var n8="";class c5 extends V{constructor(){super(),this.showMenuMobile=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}updated(){document.addEventListener("openMenuMobile",()=>{this.showMenuMobile=!0,this.requestUpdate()}),document.addEventListener("closeMenuMobile",()=>{this.showMenuMobile=!1,this.requestUpdate()})}urlFormatter(C){let t=C.url;return C.tracking_type&&(t=`${C.url}?${C.tracking_type}_source=clinicaalemana&${C.tracking_type}_medium=web&${C.tracking_type}_campaign=${C.campaign}`),["clinicaalemana.cl"].some(i=>t.includes(i))||(t=t.match(/\?/)?t+n8:t+"?"+n8),t}firstUpdated(C){var t=document.createElement("a");t.setAttribute("href","https://reserva.alemana.cl/"),t.style="visibility:hidden",t.textContent="Alemana",document.body.append(t),t.dispatchEvent(new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window}));var e=t.href.match("_gl=.+");n8=e?"&"+e[0]:""}render(){const{showMenuMobile:C,isMobile:t,isTablet:e,isDesktop:i}=this,l=a=>{var n;return u`
11162
+ `,Ic=B0;var n8="";class c5 extends V{constructor(){super(),this.showMenuMobile=!1}openBookingBox(){const C=new CustomEvent("openBookingBox");document.dispatchEvent(C)}updated(){document.addEventListener("openMenuMobile",()=>{this.showMenuMobile=!0,this.requestUpdate()}),document.addEventListener("closeMenuMobile",()=>{this.showMenuMobile=!1,this.requestUpdate()})}urlFormatter(C){let t=C.url;C.tracking_type&&(t=`${C.url}?${C.tracking_type}_source=clinicaalemana&${C.tracking_type}_medium=web&${C.tracking_type}_campaign=${C.campaign}`);const e=["clinicaalemana.cl"],i=["webpay","youtube","alemanaseguros"];return!e.some(l=>t.includes(l))&&!i.some(l=>t.includes(l))&&(t=t.match(/\?/)?t+n8:t+"?"+n8),t}firstUpdated(C){var t=document.createElement("a");t.setAttribute("href","https://reserva.alemana.cl/"),t.style="visibility:hidden",t.textContent="Alemana",document.body.append(t),t.dispatchEvent(new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window}));var e=t.href.match("_gl=.+");n8=e?"&"+e[0]:""}render(){const{showMenuMobile:C,isMobile:t,isTablet:e,isDesktop:i}=this,l=a=>{var n;return u`
11158
11163
  <li class="item">
11159
11164
  <div class="top">
11160
11165
  <p class="title">${a.name}</p>
@@ -27,7 +27,6 @@
27
27
  * Copyright 2020 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
29
  */const Ys=Symbol.for(""),Zs=a=>{if((a==null?void 0:a.r)===Ys)return a==null?void 0:a._$litStatic$},bh=new Map,Ks=a=>(t,...e)=>{const h=e.length;let i,s;const n=[],l=[];let o,r=0,d=!1;for(;r<h;){for(o=t[r];r<h&&(s=e[r],(i=Zs(s))!==void 0);)o+=i+t[++r],d=!0;r!==h&&l.push(s),n.push(o),r++}if(r===h&&n.push(t[h]),d){const c=n.join("$$lit$$");(t=bh.get(c))===void 0&&(n.raw=n,bh.set(c,t=n)),e=l}return a(t,...e)},K0=Ks(Is),yh=_`
30
- @import url(https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap);
31
30
  * {
32
31
  box-sizing: border-box;
33
32
  }
package/build/cas-text.js CHANGED
@@ -1,50 +1,50 @@
1
- (function(v,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("@eloisa-ds/base-styles")):typeof define=="function"&&define.amd?define(["exports","@eloisa-ds/base-styles"],g):(v=typeof globalThis<"u"?globalThis:v||self,g(v["cas-text"]={},v.baseStyles))})(this,function(v,g){"use strict";var ci=Object.defineProperty;var ui=(v,g,A)=>g in v?ci(v,g,{enumerable:!0,configurable:!0,writable:!0,value:A}):v[g]=A;var dt=(v,g,A)=>(ui(v,typeof g!="symbol"?g+"":g,A),A);/**
1
+ (function(g,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("@eloisa-ds/base-styles")):typeof define=="function"&&define.amd?define(["exports","@eloisa-ds/base-styles"],v):(g=typeof globalThis<"u"?globalThis:g||self,v(g["cas-text"]={},g.baseStyles))})(this,function(g,v){"use strict";var ci=Object.defineProperty;var ui=(g,v,A)=>v in g?ci(g,v,{enumerable:!0,configurable:!0,writable:!0,value:A}):g[v]=A;var at=(g,v,A)=>(ui(g,typeof v!="symbol"?v+"":v,A),A);/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const A=window,ct=A.ShadowRoot&&(A.ShadyCSS===void 0||A.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),zt=new WeakMap;let Tt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==ut)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(ct&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=zt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&zt.set(e,t))}return t}toString(){return this.cssText}};const kt=r=>new Tt(typeof r=="string"?r:r+"",void 0,ut),we=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((i,s,o)=>i+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+r[o+1],r[0]);return new Tt(e,r,ut)},be=(r,t)=>{ct?r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=A.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,r.appendChild(i)})},Mt=ct?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return kt(e)})(r):r;/**
5
+ */const A=window,ct=A.ShadowRoot&&(A.ShadyCSS===void 0||A.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),zt=new WeakMap;let kt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==ut)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(ct&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=zt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&zt.set(e,t))}return t}toString(){return this.cssText}};const Tt=l=>new kt(typeof l=="string"?l:l+"",void 0,ut),be=(l,...t)=>{const e=l.length===1?l[0]:t.reduce((i,s,o)=>i+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+l[o+1],l[0]);return new kt(e,l,ut)},we=(l,t)=>{ct?l.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=A.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,l.appendChild(i)})},Mt=ct?l=>l:l=>l instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Tt(e)})(l):l;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */var $t;const tt=window,Ut=tt.trustedTypes,xe=Ut?Ut.emptyScript:"",Pt=tt.reactiveElementPolyfillSupport,pt={toAttribute(r,t){switch(t){case Boolean:r=r?xe:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},Rt=(r,t)=>t!==r&&(t==t||r==r),ft={attribute:!0,type:String,converter:pt,reflect:!1,hasChanged:Rt},mt="finalized";let k=class 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=ft){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)||ft}static finalize(){if(this.hasOwnProperty(mt))return!1;this[mt]=!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(Mt(s))}else t!==void 0&&e.push(Mt(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 be(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=ft){var s;const o=this.constructor._$Ep(t,i);if(o!==void 0&&i.reflect===!0){const n=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:pt).toAttribute(e,i.type);this._$El=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),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 n=s.getPropertyOptions(o),d=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?n.converter:pt;this._$El=o,this[o]=d.fromAttribute(e,n.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Rt)(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){}};k[mt]=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},Pt==null||Pt({ReactiveElement:k}),(($t=tt.reactiveElementVersions)!==null&&$t!==void 0?$t:tt.reactiveElementVersions=[]).push("1.6.3");/**
9
+ */var $t;const tt=window,Ut=tt.trustedTypes,xe=Ut?Ut.emptyScript:"",Pt=tt.reactiveElementPolyfillSupport,pt={toAttribute(l,t){switch(t){case Boolean:l=l?xe:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,t){let e=l;switch(t){case Boolean:e=l!==null;break;case Number:e=l===null?null:Number(l);break;case Object:case Array:try{e=JSON.parse(l)}catch{e=null}}return e}},Rt=(l,t)=>t!==l&&(t==t||l==l),ft={attribute:!0,type:String,converter:pt,reflect:!1,hasChanged:Rt},mt="finalized";let T=class 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=ft){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)||ft}static finalize(){if(this.hasOwnProperty(mt))return!1;this[mt]=!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(Mt(s))}else t!==void 0&&e.push(Mt(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 we(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=ft){var s;const o=this.constructor._$Ep(t,i);if(o!==void 0&&i.reflect===!0){const n=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:pt).toAttribute(e,i.type);this._$El=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),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 n=s.getPropertyOptions(o),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?n.converter:pt;this._$El=o,this[o]=a.fromAttribute(e,n.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Rt)(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){}};T[mt]=!0,T.elementProperties=new Map,T.elementStyles=[],T.shadowRootOptions={mode:"open"},Pt==null||Pt({ReactiveElement:T}),(($t=tt.reactiveElementVersions)!==null&&$t!==void 0?$t:tt.reactiveElementVersions=[]).push("1.6.3");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */var _t;const et=window,M=et.trustedTypes,Ot=M?M.createPolicy("lit-html",{createHTML:r=>r}):void 0,vt="$lit$",y=`lit$${(Math.random()+"").slice(9)}$`,It="?"+y,Ee=`<${It}>`,E=document,it=()=>E.createComment(""),W=r=>r===null||typeof r!="object"&&typeof r!="function",Lt=Array.isArray,Se=r=>Lt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",gt=`[
14
- \f\r]`,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,jt=/>/g,S=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Dt=/'/g,Vt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,q=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),Zt=new WeakMap,H=E.createTreeWalker(E,129,null,!1);function qt(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ot!==void 0?Ot.createHTML(t):t}const He=(r,t)=>{const e=r.length-1,i=[];let s,o=t===2?"<svg>":"",n=Z;for(let d=0;d<e;d++){const l=r[d];let h,u,a=-1,c=0;for(;c<l.length&&(n.lastIndex=c,u=n.exec(l),u!==null);)c=n.lastIndex,n===Z?u[1]==="!--"?n=Bt:u[1]!==void 0?n=jt:u[2]!==void 0?(Wt.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=S):u[3]!==void 0&&(n=S):n===S?u[0]===">"?(n=s??Z,a=-1):u[1]===void 0?a=-2:(a=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?S:u[3]==='"'?Vt:Dt):n===Vt||n===Dt?n=S:n===Bt||n===jt?n=Z:(n=S,s=void 0);const $=n===S&&r[d+1].startsWith("/>")?" ":"";o+=n===Z?l+Ee:a>=0?(i.push(h),l.slice(0,a)+vt+l.slice(a)+y+$):l+y+(a===-2?(i.push(void 0),d):$)}return[qt(r,o+(r[e]||"<?>")+(t===2?"</svg>":"")),i]};let At=class ve{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const d=t.length-1,l=this.parts,[h,u]=He(t,e);if(this.el=ve.createElement(h,i),H.currentNode=this.el.content,e===2){const a=this.el.content,c=a.firstChild;c.remove(),a.append(...c.childNodes)}for(;(s=H.nextNode())!==null&&l.length<d;){if(s.nodeType===1){if(s.hasAttributes()){const a=[];for(const c of s.getAttributeNames())if(c.endsWith(vt)||c.startsWith(y)){const $=u[n++];if(a.push(c),$!==void 0){const x=s.getAttribute($.toLowerCase()+vt).split(y),_=/([.?@])?(.*)/.exec($);l.push({type:1,index:o,name:_[2],strings:x,ctor:_[1]==="."?Ne:_[1]==="?"?Te:_[1]==="@"?ke:st})}else l.push({type:6,index:o})}for(const c of a)s.removeAttribute(c)}if(Wt.test(s.tagName)){const a=s.textContent.split(y),c=a.length-1;if(c>0){s.textContent=M?M.emptyScript:"";for(let $=0;$<c;$++)s.append(a[$],it()),H.nextNode(),l.push({type:2,index:++o});s.append(a[c],it())}}}else if(s.nodeType===8)if(s.data===It)l.push({type:2,index:o});else{let a=-1;for(;(a=s.data.indexOf(y,a+1))!==-1;)l.push({type:7,index:o}),a+=y.length-1}o++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}};function U(r,t,e=r,i){var s,o,n,d;if(t===q)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=W(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),h===void 0?l=void 0:(l=new h(r),l._$AT(r,e,i)),i!==void 0?((n=(d=e)._$Co)!==null&&n!==void 0?n:d._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=U(r,l._$AS(r,t.values),l,i)),t}let Ce=class{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==null?void 0:t.creationScope)!==null&&e!==void 0?e:E).importNode(i,!0);H.currentNode=o;let n=H.nextNode(),d=0,l=0,h=s[0];for(;h!==void 0;){if(d===h.index){let u;h.type===2?u=new Kt(n,n.nextSibling,this,t):h.type===1?u=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(u=new Me(n,this,t)),this._$AV.push(u),h=s[++l]}d!==(h==null?void 0:h.index)&&(n=H.nextNode(),d++)}return H.currentNode=E,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++}},Kt=class ge{constructor(t,e,i,s){var o;this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s==null?void 0: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==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=U(this,t,e),W(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==q&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Se(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!==f&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(E.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=At.createElement(qt(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 n=new Ce(o,this),d=n.u(this.options);n.v(i),this.$(d),this._$AH=n}}_$AC(t){let e=Zt.get(t.strings);return e===void 0&&Zt.set(t.strings,e=new At(t)),e}T(t){Lt(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 ge(this.k(it()),this.k(it()),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))}},st=class{constructor(t,e,i,s,o){this.type=1,this._$AH=f,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=f}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(o===void 0)t=U(this,t,e,0),n=!W(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const d=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=U(this,d[i+l],e,l),h===q&&(h=this._$AH[l]),n||(n=!W(h)||h!==this._$AH[l]),h===f?t=f:t!==f&&(t+=(h??"")+o[l+1]),this._$AH[l]=h}n&&!s&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ne=class extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}};const ze=M?M.emptyScript:"";let Te=class extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==f?this.element.setAttribute(this.name,ze):this.element.removeAttribute(this.name)}},ke=class extends st{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=U(this,t,e,0))!==null&&i!==void 0?i:f)===q)return;const s=this._$AH,o=t===f&&s!==f||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==f&&(s===f||o);o&&this.element.removeEventListener(this.name,this,s),n&&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)}},Me=class{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){U(this,t)}};const Ft=et.litHtmlPolyfillSupport;Ft==null||Ft(At,Kt),((_t=et.litHtmlVersions)!==null&&_t!==void 0?_t:et.litHtmlVersions=[]).push("2.8.0");/**
13
+ */var _t;const et=window,M=et.trustedTypes,Ot=M?M.createPolicy("lit-html",{createHTML:l=>l}):void 0,gt="$lit$",y=`lit$${(Math.random()+"").slice(9)}$`,It="?"+y,Ee=`<${It}>`,E=document,it=()=>E.createComment(""),W=l=>l===null||typeof l!="object"&&typeof l!="function",Lt=Array.isArray,Se=l=>Lt(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",vt=`[
14
+ \f\r]`,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,jt=/>/g,S=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Dt=/'/g,Vt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,q=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),Zt=new WeakMap,H=E.createTreeWalker(E,129,null,!1);function qt(l,t){if(!Array.isArray(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ot!==void 0?Ot.createHTML(t):t}const He=(l,t)=>{const e=l.length-1,i=[];let s,o=t===2?"<svg>":"",n=Z;for(let a=0;a<e;a++){const r=l[a];let h,u,d=-1,c=0;for(;c<r.length&&(n.lastIndex=c,u=n.exec(r),u!==null);)c=n.lastIndex,n===Z?u[1]==="!--"?n=Bt:u[1]!==void 0?n=jt:u[2]!==void 0?(Wt.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=S):u[3]!==void 0&&(n=S):n===S?u[0]===">"?(n=s??Z,d=-1):u[1]===void 0?d=-2:(d=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?S:u[3]==='"'?Vt:Dt):n===Vt||n===Dt?n=S:n===Bt||n===jt?n=Z:(n=S,s=void 0);const $=n===S&&l[a+1].startsWith("/>")?" ":"";o+=n===Z?r+Ee:d>=0?(i.push(h),r.slice(0,d)+gt+r.slice(d)+y+$):r+y+(d===-2?(i.push(void 0),a):$)}return[qt(l,o+(l[e]||"<?>")+(t===2?"</svg>":"")),i]};let At=class ge{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const a=t.length-1,r=this.parts,[h,u]=He(t,e);if(this.el=ge.createElement(h,i),H.currentNode=this.el.content,e===2){const d=this.el.content,c=d.firstChild;c.remove(),d.append(...c.childNodes)}for(;(s=H.nextNode())!==null&&r.length<a;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const c of s.getAttributeNames())if(c.endsWith(gt)||c.startsWith(y)){const $=u[n++];if(d.push(c),$!==void 0){const x=s.getAttribute($.toLowerCase()+gt).split(y),_=/([.?@])?(.*)/.exec($);r.push({type:1,index:o,name:_[2],strings:x,ctor:_[1]==="."?Ne:_[1]==="?"?ke:_[1]==="@"?Te:st})}else r.push({type:6,index:o})}for(const c of d)s.removeAttribute(c)}if(Wt.test(s.tagName)){const d=s.textContent.split(y),c=d.length-1;if(c>0){s.textContent=M?M.emptyScript:"";for(let $=0;$<c;$++)s.append(d[$],it()),H.nextNode(),r.push({type:2,index:++o});s.append(d[c],it())}}}else if(s.nodeType===8)if(s.data===It)r.push({type:2,index:o});else{let d=-1;for(;(d=s.data.indexOf(y,d+1))!==-1;)r.push({type:7,index:o}),d+=y.length-1}o++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}};function U(l,t,e=l,i){var s,o,n,a;if(t===q)return t;let r=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=W(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==h&&((o=r==null?void 0:r._$AO)===null||o===void 0||o.call(r,!1),h===void 0?r=void 0:(r=new h(l),r._$AT(l,e,i)),i!==void 0?((n=(a=e)._$Co)!==null&&n!==void 0?n:a._$Co=[])[i]=r:e._$Cl=r),r!==void 0&&(t=U(l,r._$AS(l,t.values),r,i)),t}let Ce=class{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==null?void 0:t.creationScope)!==null&&e!==void 0?e:E).importNode(i,!0);H.currentNode=o;let n=H.nextNode(),a=0,r=0,h=s[0];for(;h!==void 0;){if(a===h.index){let u;h.type===2?u=new Kt(n,n.nextSibling,this,t):h.type===1?u=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(u=new Me(n,this,t)),this._$AV.push(u),h=s[++r]}a!==(h==null?void 0:h.index)&&(n=H.nextNode(),a++)}return H.currentNode=E,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++}},Kt=class ve{constructor(t,e,i,s){var o;this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s==null?void 0: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==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=U(this,t,e),W(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==q&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Se(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!==f&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(E.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=At.createElement(qt(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 n=new Ce(o,this),a=n.u(this.options);n.v(i),this.$(a),this._$AH=n}}_$AC(t){let e=Zt.get(t.strings);return e===void 0&&Zt.set(t.strings,e=new At(t)),e}T(t){Lt(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 ve(this.k(it()),this.k(it()),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))}},st=class{constructor(t,e,i,s,o){this.type=1,this._$AH=f,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=f}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(o===void 0)t=U(this,t,e,0),n=!W(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const a=t;let r,h;for(t=o[0],r=0;r<o.length-1;r++)h=U(this,a[i+r],e,r),h===q&&(h=this._$AH[r]),n||(n=!W(h)||h!==this._$AH[r]),h===f?t=f:t!==f&&(t+=(h??"")+o[r+1]),this._$AH[r]=h}n&&!s&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ne=class extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}};const ze=M?M.emptyScript:"";let ke=class extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==f?this.element.setAttribute(this.name,ze):this.element.removeAttribute(this.name)}},Te=class extends st{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=U(this,t,e,0))!==null&&i!==void 0?i:f)===q)return;const s=this._$AH,o=t===f&&s!==f||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==f&&(s===f||o);o&&this.element.removeEventListener(this.name,this,s),n&&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)}},Me=class{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){U(this,t)}};const Ft=et.litHtmlPolyfillSupport;Ft==null||Ft(At,Kt),((_t=et.litHtmlVersions)!==null&&_t!==void 0?_t:et.litHtmlVersions=[]).push("2.8.0");/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */var yt;const nt=window,P=nt.trustedTypes,Jt=P?P.createPolicy("lit-html",{createHTML:r=>r}):void 0,wt="$lit$",w=`lit$${(Math.random()+"").slice(9)}$`,Yt="?"+w,Ue=`<${Yt}>`,C=document,K=()=>C.createComment(""),F=r=>r===null||typeof r!="object"&&typeof r!="function",Gt=Array.isArray,Pe=r=>Gt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",bt=`[
20
- \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,Xt=/>/g,N=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
21
- \f\r"'\`<>=]|("|')|))|$)`,"g"),te=/'/g,ee=/"/g,ie=/^(?:script|style|textarea|title)$/i,Re=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),Oe=Re(1),R=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),se=new WeakMap,z=C.createTreeWalker(C,129,null,!1);function ne(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jt!==void 0?Jt.createHTML(t):t}const Ie=(r,t)=>{const e=r.length-1,i=[];let s,o=t===2?"<svg>":"",n=J;for(let d=0;d<e;d++){const l=r[d];let h,u,a=-1,c=0;for(;c<l.length&&(n.lastIndex=c,u=n.exec(l),u!==null);)c=n.lastIndex,n===J?u[1]==="!--"?n=Qt:u[1]!==void 0?n=Xt:u[2]!==void 0?(ie.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=N):u[3]!==void 0&&(n=N):n===N?u[0]===">"?(n=s??J,a=-1):u[1]===void 0?a=-2:(a=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?N:u[3]==='"'?ee:te):n===ee||n===te?n=N:n===Qt||n===Xt?n=J:(n=N,s=void 0);const $=n===N&&r[d+1].startsWith("/>")?" ":"";o+=n===J?l+Ue:a>=0?(i.push(h),l.slice(0,a)+wt+l.slice(a)+w+$):l+w+(a===-2?(i.push(void 0),d):$)}return[ne(r,o+(r[e]||"<?>")+(t===2?"</svg>":"")),i]};let xt=class Ae{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const d=t.length-1,l=this.parts,[h,u]=Ie(t,e);if(this.el=Ae.createElement(h,i),z.currentNode=this.el.content,e===2){const a=this.el.content,c=a.firstChild;c.remove(),a.append(...c.childNodes)}for(;(s=z.nextNode())!==null&&l.length<d;){if(s.nodeType===1){if(s.hasAttributes()){const a=[];for(const c of s.getAttributeNames())if(c.endsWith(wt)||c.startsWith(w)){const $=u[n++];if(a.push(c),$!==void 0){const x=s.getAttribute($.toLowerCase()+wt).split(w),_=/([.?@])?(.*)/.exec($);l.push({type:1,index:o,name:_[2],strings:x,ctor:_[1]==="."?Be:_[1]==="?"?De:_[1]==="@"?Ve:ot})}else l.push({type:6,index:o})}for(const c of a)s.removeAttribute(c)}if(ie.test(s.tagName)){const a=s.textContent.split(w),c=a.length-1;if(c>0){s.textContent=P?P.emptyScript:"";for(let $=0;$<c;$++)s.append(a[$],K()),z.nextNode(),l.push({type:2,index:++o});s.append(a[c],K())}}}else if(s.nodeType===8)if(s.data===Yt)l.push({type:2,index:o});else{let a=-1;for(;(a=s.data.indexOf(w,a+1))!==-1;)l.push({type:7,index:o}),a+=w.length-1}o++}}static createElement(t,e){const i=C.createElement("template");return i.innerHTML=t,i}};function O(r,t,e=r,i){var s,o,n,d;if(t===R)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=F(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),h===void 0?l=void 0:(l=new h(r),l._$AT(r,e,i)),i!==void 0?((n=(d=e)._$Co)!==null&&n!==void 0?n:d._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=O(r,l._$AS(r,t.values),l,i)),t}let Le=class{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==null?void 0:t.creationScope)!==null&&e!==void 0?e:C).importNode(i,!0);z.currentNode=o;let n=z.nextNode(),d=0,l=0,h=s[0];for(;h!==void 0;){if(d===h.index){let u;h.type===2?u=new Et(n,n.nextSibling,this,t):h.type===1?u=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(u=new We(n,this,t)),this._$AV.push(u),h=s[++l]}d!==(h==null?void 0:h.index)&&(n=z.nextNode(),d++)}return z.currentNode=C,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++}},Et=class ye{constructor(t,e,i,s){var o;this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s==null?void 0: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==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),F(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==R&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Pe(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!==m&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.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=xt.createElement(ne(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 n=new Le(o,this),d=n.u(this.options);n.v(i),this.$(d),this._$AH=n}}_$AC(t){let e=se.get(t.strings);return e===void 0&&se.set(t.strings,e=new xt(t)),e}T(t){Gt(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 ye(this.k(K()),this.k(K()),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))}},ot=class{constructor(t,e,i,s,o){this.type=1,this._$AH=m,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=m}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(o===void 0)t=O(this,t,e,0),n=!F(t)||t!==this._$AH&&t!==R,n&&(this._$AH=t);else{const d=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=O(this,d[i+l],e,l),h===R&&(h=this._$AH[l]),n||(n=!F(h)||h!==this._$AH[l]),h===m?t=m:t!==m&&(t+=(h??"")+o[l+1]),this._$AH[l]=h}n&&!s&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Be=class extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}};const je=P?P.emptyScript:"";let De=class extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==m?this.element.setAttribute(this.name,je):this.element.removeAttribute(this.name)}};class Ve extends ot{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=O(this,t,e,0))!==null&&i!==void 0?i:m)===R)return;const s=this._$AH,o=t===m&&s!==m||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==m&&(s===m||o);o&&this.element.removeEventListener(this.name,this,s),n&&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)}}let We=class{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){O(this,t)}};const oe=nt.litHtmlPolyfillSupport;oe==null||oe(xt,Et),((yt=nt.litHtmlVersions)!==null&&yt!==void 0?yt:nt.litHtmlVersions=[]).push("2.8.0");const Ze=(r,t,e)=>{var i,s;const o=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:t;let n=o._$litPart$;if(n===void 0){const d=(s=e==null?void 0:e.renderBefore)!==null&&s!==void 0?s:null;o._$litPart$=n=new Et(t.insertBefore(K(),d),d,void 0,e??{})}return n._$AI(r),n};/**
19
+ */var yt;const nt=window,P=nt.trustedTypes,Jt=P?P.createPolicy("lit-html",{createHTML:l=>l}):void 0,bt="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,Yt="?"+b,Ue=`<${Yt}>`,C=document,K=()=>C.createComment(""),F=l=>l===null||typeof l!="object"&&typeof l!="function",Gt=Array.isArray,Pe=l=>Gt(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",wt=`[
20
+ \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,Xt=/>/g,N=RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^
21
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),te=/'/g,ee=/"/g,ie=/^(?:script|style|textarea|title)$/i,Re=l=>(t,...e)=>({_$litType$:l,strings:t,values:e}),Oe=Re(1),R=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),se=new WeakMap,z=C.createTreeWalker(C,129,null,!1);function ne(l,t){if(!Array.isArray(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jt!==void 0?Jt.createHTML(t):t}const Ie=(l,t)=>{const e=l.length-1,i=[];let s,o=t===2?"<svg>":"",n=J;for(let a=0;a<e;a++){const r=l[a];let h,u,d=-1,c=0;for(;c<r.length&&(n.lastIndex=c,u=n.exec(r),u!==null);)c=n.lastIndex,n===J?u[1]==="!--"?n=Qt:u[1]!==void 0?n=Xt:u[2]!==void 0?(ie.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=N):u[3]!==void 0&&(n=N):n===N?u[0]===">"?(n=s??J,d=-1):u[1]===void 0?d=-2:(d=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?N:u[3]==='"'?ee:te):n===ee||n===te?n=N:n===Qt||n===Xt?n=J:(n=N,s=void 0);const $=n===N&&l[a+1].startsWith("/>")?" ":"";o+=n===J?r+Ue:d>=0?(i.push(h),r.slice(0,d)+bt+r.slice(d)+b+$):r+b+(d===-2?(i.push(void 0),a):$)}return[ne(l,o+(l[e]||"<?>")+(t===2?"</svg>":"")),i]};let xt=class Ae{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const a=t.length-1,r=this.parts,[h,u]=Ie(t,e);if(this.el=Ae.createElement(h,i),z.currentNode=this.el.content,e===2){const d=this.el.content,c=d.firstChild;c.remove(),d.append(...c.childNodes)}for(;(s=z.nextNode())!==null&&r.length<a;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const c of s.getAttributeNames())if(c.endsWith(bt)||c.startsWith(b)){const $=u[n++];if(d.push(c),$!==void 0){const x=s.getAttribute($.toLowerCase()+bt).split(b),_=/([.?@])?(.*)/.exec($);r.push({type:1,index:o,name:_[2],strings:x,ctor:_[1]==="."?Be:_[1]==="?"?De:_[1]==="@"?Ve:ot})}else r.push({type:6,index:o})}for(const c of d)s.removeAttribute(c)}if(ie.test(s.tagName)){const d=s.textContent.split(b),c=d.length-1;if(c>0){s.textContent=P?P.emptyScript:"";for(let $=0;$<c;$++)s.append(d[$],K()),z.nextNode(),r.push({type:2,index:++o});s.append(d[c],K())}}}else if(s.nodeType===8)if(s.data===Yt)r.push({type:2,index:o});else{let d=-1;for(;(d=s.data.indexOf(b,d+1))!==-1;)r.push({type:7,index:o}),d+=b.length-1}o++}}static createElement(t,e){const i=C.createElement("template");return i.innerHTML=t,i}};function O(l,t,e=l,i){var s,o,n,a;if(t===R)return t;let r=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=F(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==h&&((o=r==null?void 0:r._$AO)===null||o===void 0||o.call(r,!1),h===void 0?r=void 0:(r=new h(l),r._$AT(l,e,i)),i!==void 0?((n=(a=e)._$Co)!==null&&n!==void 0?n:a._$Co=[])[i]=r:e._$Cl=r),r!==void 0&&(t=O(l,r._$AS(l,t.values),r,i)),t}let Le=class{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==null?void 0:t.creationScope)!==null&&e!==void 0?e:C).importNode(i,!0);z.currentNode=o;let n=z.nextNode(),a=0,r=0,h=s[0];for(;h!==void 0;){if(a===h.index){let u;h.type===2?u=new Et(n,n.nextSibling,this,t):h.type===1?u=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(u=new We(n,this,t)),this._$AV.push(u),h=s[++r]}a!==(h==null?void 0:h.index)&&(n=z.nextNode(),a++)}return z.currentNode=C,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++}},Et=class ye{constructor(t,e,i,s){var o;this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s==null?void 0: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==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),F(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==R&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Pe(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!==m&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.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=xt.createElement(ne(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 n=new Le(o,this),a=n.u(this.options);n.v(i),this.$(a),this._$AH=n}}_$AC(t){let e=se.get(t.strings);return e===void 0&&se.set(t.strings,e=new xt(t)),e}T(t){Gt(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 ye(this.k(K()),this.k(K()),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))}},ot=class{constructor(t,e,i,s,o){this.type=1,this._$AH=m,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=m}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(o===void 0)t=O(this,t,e,0),n=!F(t)||t!==this._$AH&&t!==R,n&&(this._$AH=t);else{const a=t;let r,h;for(t=o[0],r=0;r<o.length-1;r++)h=O(this,a[i+r],e,r),h===R&&(h=this._$AH[r]),n||(n=!F(h)||h!==this._$AH[r]),h===m?t=m:t!==m&&(t+=(h??"")+o[r+1]),this._$AH[r]=h}n&&!s&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Be=class extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}};const je=P?P.emptyScript:"";let De=class extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==m?this.element.setAttribute(this.name,je):this.element.removeAttribute(this.name)}};class Ve extends ot{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=O(this,t,e,0))!==null&&i!==void 0?i:m)===R)return;const s=this._$AH,o=t===m&&s!==m||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==m&&(s===m||o);o&&this.element.removeEventListener(this.name,this,s),n&&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)}}let We=class{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){O(this,t)}};const oe=nt.litHtmlPolyfillSupport;oe==null||oe(xt,Et),((yt=nt.litHtmlVersions)!==null&&yt!==void 0?yt:nt.litHtmlVersions=[]).push("2.8.0");const Ze=(l,t,e)=>{var i,s;const o=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:t;let n=o._$litPart$;if(n===void 0){const a=(s=e==null?void 0:e.renderBefore)!==null&&s!==void 0?s:null;o._$litPart$=n=new Et(t.insertBefore(K(),a),a,void 0,e??{})}return n._$AI(l),n};/**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */var St,Ht;let I=class extends k{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=Ze(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 R}};I.finalized=!0,I._$litElement$=!0,(St=globalThis.litElementHydrateSupport)===null||St===void 0||St.call(globalThis,{LitElement:I});const re=globalThis.litElementPolyfillSupport;re==null||re({LitElement:I}),((Ht=globalThis.litElementVersions)!==null&&Ht!==void 0?Ht:globalThis.litElementVersions=[]).push("3.3.3");/**
25
+ */var St,Ht;let I=class extends T{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=Ze(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 R}};I.finalized=!0,I._$litElement$=!0,(St=globalThis.litElementHydrateSupport)===null||St===void 0||St.call(globalThis,{LitElement:I});const le=globalThis.litElementPolyfillSupport;le==null||le({LitElement:I}),((Ht=globalThis.litElementVersions)!==null&&Ht!==void 0?Ht:globalThis.litElementVersions=[]).push("3.3.3");/**
26
26
  * @license
27
27
  * Copyright 2017 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
- */var Ct;const rt=window,L=rt.trustedTypes,le=L?L.createPolicy("lit-html",{createHTML:r=>r}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,he="?"+b,qe=`<${he}>`,B=document,lt=(r="")=>B.createComment(r),Y=r=>r===null||typeof r!="object"&&typeof r!="function",ae=Array.isArray,Ke=r=>ae(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,de=/-->/g,ce=/>/g,T=RegExp(`>|[
29
+ */var Ct;const lt=window,L=lt.trustedTypes,re=L?L.createPolicy("lit-html",{createHTML:l=>l}):void 0,w=`lit$${(Math.random()+"").slice(9)}$`,he="?"+w,qe=`<${he}>`,B=document,rt=(l="")=>B.createComment(l),Y=l=>l===null||typeof l!="object"&&typeof l!="function",de=Array.isArray,Ke=l=>de(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ae=/-->/g,ce=/>/g,k=RegExp(`>|[
30
30
  \f\r](?:([^\\s"'>=/]+)([
31
31
  \f\r]*=[
32
32
  \f\r]*(?:[^
33
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ue=/'/g,$e=/"/g,pe=/^(?:script|style|textarea|title)$/i,j=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),fe=new WeakMap,D=B.createTreeWalker(B,129,null,!1),Fe=(r,t)=>{const e=r.length-1,i=[];let s,o=t===2?"<svg>":"",n=G;for(let l=0;l<e;l++){const h=r[l];let u,a,c=-1,$=0;for(;$<h.length&&(n.lastIndex=$,a=n.exec(h),a!==null);)$=n.lastIndex,n===G?a[1]==="!--"?n=de:a[1]!==void 0?n=ce:a[2]!==void 0?(pe.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=T):a[3]!==void 0&&(n=T):n===T?a[0]===">"?(n=s??G,c=-1):a[1]===void 0?c=-2:(c=n.lastIndex-a[2].length,u=a[1],n=a[3]===void 0?T:a[3]==='"'?$e:ue):n===$e||n===ue?n=T:n===de||n===ce?n=G:(n=T,s=void 0);const x=n===T&&r[l+1].startsWith("/>")?" ":"";o+=n===G?h+qe:c>=0?(i.push(u),h.slice(0,c)+"$lit$"+h.slice(c)+b+x):h+b+(c===-2?(i.push(void 0),l):x)}const d=o+(r[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return[le!==void 0?le.createHTML(d):d,i]};class Q{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const d=t.length-1,l=this.parts,[h,u]=Fe(t,e);if(this.el=Q.createElement(h,i),D.currentNode=this.el.content,e===2){const a=this.el.content,c=a.firstChild;c.remove(),a.append(...c.childNodes)}for(;(s=D.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(b)){const $=u[n++];if(a.push(c),$!==void 0){const x=s.getAttribute($.toLowerCase()+"$lit$").split(b),_=/([.?@])?(.*)/.exec($);l.push({type:1,index:o,name:_[2],strings:x,ctor:_[1]==="."?Ye:_[1]==="?"?Qe:_[1]==="@"?Xe:at})}else l.push({type:6,index:o})}for(const c of a)s.removeAttribute(c)}if(pe.test(s.tagName)){const a=s.textContent.split(b),c=a.length-1;if(c>0){s.textContent=L?L.emptyScript:"";for(let $=0;$<c;$++)s.append(a[$],lt()),D.nextNode(),l.push({type:2,index:++o});s.append(a[c],lt())}}}else if(s.nodeType===8)if(s.data===he)l.push({type:2,index:o});else{let a=-1;for(;(a=s.data.indexOf(b,a+1))!==-1;)l.push({type:7,index:o}),a+=b.length-1}o++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function V(r,t,e=r,i){var s,o,n,d;if(t===j)return t;let l=i!==void 0?(s=e._$Cl)===null||s===void 0?void 0:s[i]:e._$Cu;const h=Y(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),h===void 0?l=void 0:(l=new h(r),l._$AT(r,e,i)),i!==void 0?((n=(d=e)._$Cl)!==null&&n!==void 0?n:d._$Cl=[])[i]=l:e._$Cu=l),l!==void 0&&(t=V(r,l._$AS(r,t.values),l,i)),t}class Je{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:B).importNode(i,!0);D.currentNode=o;let n=D.nextNode(),d=0,l=0,h=s[0];for(;h!==void 0;){if(d===h.index){let u;h.type===2?u=new ht(n,n.nextSibling,this,t):h.type===1?u=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(u=new ti(n,this,t)),this.v.push(u),h=s[++l]}d!==(h==null?void 0:h.index)&&(n=D.nextNode(),d++)}return o}m(t){let e=0;for(const i of this.v)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ht{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._$C_=(o=s==null?void 0: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._$C_}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=V(this,t,e),Y(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==j&&this.$(t):t._$litType$!==void 0?this.T(t):t.nodeType!==void 0?this.k(t):Ke(t)?this.O(t):this.$(t)}S(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==p&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.k(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Q.createElement(s.h,this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.m(i);else{const n=new Je(o,this),d=n.p(this.options);n.m(i),this.k(d),this._$AH=n}}_$AC(t){let e=fe.get(t.strings);return e===void 0&&fe.set(t.strings,e=new Q(t)),e}O(t){ae(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 ht(this.S(lt()),this.S(lt()),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._$C_=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class at{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 n=!1;if(o===void 0)t=V(this,t,e,0),n=!Y(t)||t!==this._$AH&&t!==j,n&&(this._$AH=t);else{const d=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=V(this,d[i+l],e,l),h===j&&(h=this._$AH[l]),n||(n=!Y(h)||h!==this._$AH[l]),h===p?t=p:t!==p&&(t+=(h??"")+o[l+1]),this._$AH[l]=h}n&&!s&&this.P(t)}P(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ye extends at{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===p?void 0:t}}const Ge=L?L.emptyScript:"";class Qe extends at{constructor(){super(...arguments),this.type=4}P(t){t&&t!==p?this.element.setAttribute(this.name,Ge):this.element.removeAttribute(this.name)}}class Xe extends at{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=V(this,t,e,0))!==null&&i!==void 0?i:p)===j)return;const s=this._$AH,o=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==p&&(s===p||o);o&&this.element.removeEventListener(this.name,this,s),n&&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 ti{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){V(this,t)}}const me=rt.litHtmlPolyfillSupport;me==null||me(Q,ht),((Ct=rt.litHtmlVersions)!==null&&Ct!==void 0?Ct:rt.litHtmlVersions=[]).push("2.3.1");/**
33
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ue=/'/g,$e=/"/g,pe=/^(?:script|style|textarea|title)$/i,j=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),fe=new WeakMap,D=B.createTreeWalker(B,129,null,!1),Fe=(l,t)=>{const e=l.length-1,i=[];let s,o=t===2?"<svg>":"",n=G;for(let r=0;r<e;r++){const h=l[r];let u,d,c=-1,$=0;for(;$<h.length&&(n.lastIndex=$,d=n.exec(h),d!==null);)$=n.lastIndex,n===G?d[1]==="!--"?n=ae:d[1]!==void 0?n=ce:d[2]!==void 0?(pe.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=k):d[3]!==void 0&&(n=k):n===k?d[0]===">"?(n=s??G,c=-1):d[1]===void 0?c=-2:(c=n.lastIndex-d[2].length,u=d[1],n=d[3]===void 0?k:d[3]==='"'?$e:ue):n===$e||n===ue?n=k:n===ae||n===ce?n=G:(n=k,s=void 0);const x=n===k&&l[r+1].startsWith("/>")?" ":"";o+=n===G?h+qe:c>=0?(i.push(u),h.slice(0,c)+"$lit$"+h.slice(c)+w+x):h+w+(c===-2?(i.push(void 0),r):x)}const a=o+(l[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return[re!==void 0?re.createHTML(a):a,i]};class Q{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const a=t.length-1,r=this.parts,[h,u]=Fe(t,e);if(this.el=Q.createElement(h,i),D.currentNode=this.el.content,e===2){const d=this.el.content,c=d.firstChild;c.remove(),d.append(...c.childNodes)}for(;(s=D.nextNode())!==null&&r.length<a;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const c of s.getAttributeNames())if(c.endsWith("$lit$")||c.startsWith(w)){const $=u[n++];if(d.push(c),$!==void 0){const x=s.getAttribute($.toLowerCase()+"$lit$").split(w),_=/([.?@])?(.*)/.exec($);r.push({type:1,index:o,name:_[2],strings:x,ctor:_[1]==="."?Ye:_[1]==="?"?Qe:_[1]==="@"?Xe:dt})}else r.push({type:6,index:o})}for(const c of d)s.removeAttribute(c)}if(pe.test(s.tagName)){const d=s.textContent.split(w),c=d.length-1;if(c>0){s.textContent=L?L.emptyScript:"";for(let $=0;$<c;$++)s.append(d[$],rt()),D.nextNode(),r.push({type:2,index:++o});s.append(d[c],rt())}}}else if(s.nodeType===8)if(s.data===he)r.push({type:2,index:o});else{let d=-1;for(;(d=s.data.indexOf(w,d+1))!==-1;)r.push({type:7,index:o}),d+=w.length-1}o++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function V(l,t,e=l,i){var s,o,n,a;if(t===j)return t;let r=i!==void 0?(s=e._$Cl)===null||s===void 0?void 0:s[i]:e._$Cu;const h=Y(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==h&&((o=r==null?void 0:r._$AO)===null||o===void 0||o.call(r,!1),h===void 0?r=void 0:(r=new h(l),r._$AT(l,e,i)),i!==void 0?((n=(a=e)._$Cl)!==null&&n!==void 0?n:a._$Cl=[])[i]=r:e._$Cu=r),r!==void 0&&(t=V(l,r._$AS(l,t.values),r,i)),t}class Je{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:B).importNode(i,!0);D.currentNode=o;let n=D.nextNode(),a=0,r=0,h=s[0];for(;h!==void 0;){if(a===h.index){let u;h.type===2?u=new ht(n,n.nextSibling,this,t):h.type===1?u=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(u=new ti(n,this,t)),this.v.push(u),h=s[++r]}a!==(h==null?void 0:h.index)&&(n=D.nextNode(),a++)}return o}m(t){let e=0;for(const i of this.v)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ht{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._$C_=(o=s==null?void 0: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._$C_}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=V(this,t,e),Y(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==j&&this.$(t):t._$litType$!==void 0?this.T(t):t.nodeType!==void 0?this.k(t):Ke(t)?this.O(t):this.$(t)}S(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==p&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.k(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Q.createElement(s.h,this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.m(i);else{const n=new Je(o,this),a=n.p(this.options);n.m(i),this.k(a),this._$AH=n}}_$AC(t){let e=fe.get(t.strings);return e===void 0&&fe.set(t.strings,e=new Q(t)),e}O(t){de(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 ht(this.S(rt()),this.S(rt()),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._$C_=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class dt{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 n=!1;if(o===void 0)t=V(this,t,e,0),n=!Y(t)||t!==this._$AH&&t!==j,n&&(this._$AH=t);else{const a=t;let r,h;for(t=o[0],r=0;r<o.length-1;r++)h=V(this,a[i+r],e,r),h===j&&(h=this._$AH[r]),n||(n=!Y(h)||h!==this._$AH[r]),h===p?t=p:t!==p&&(t+=(h??"")+o[r+1]),this._$AH[r]=h}n&&!s&&this.P(t)}P(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ye extends dt{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===p?void 0:t}}const Ge=L?L.emptyScript:"";class Qe extends dt{constructor(){super(...arguments),this.type=4}P(t){t&&t!==p?this.element.setAttribute(this.name,Ge):this.element.removeAttribute(this.name)}}class Xe extends dt{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=V(this,t,e,0))!==null&&i!==void 0?i:p)===j)return;const s=this._$AH,o=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==p&&(s===p||o);o&&this.element.removeEventListener(this.name,this,s),n&&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 ti{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){V(this,t)}}const me=lt.litHtmlPolyfillSupport;me==null||me(Q,ht),((Ct=lt.litHtmlVersions)!==null&&Ct!==void 0?Ct:lt.litHtmlVersions=[]).push("2.3.1");/**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */const ei={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ii=r=>(...t)=>({_$litDirective$:r,values:t});class si{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}/**
37
+ */const ei={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ii=l=>(...t)=>({_$litDirective$:l,values:t});class si{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}/**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */class Nt extends si{constructor(t){if(super(t),this.it=p,t.type!==ei.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===p||t==null)return this._t=void 0,this.it=t;if(t===j)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Nt.directiveName="unsafeHTML",Nt.resultType=1;const ni=ii(Nt),oi={h1:"h1",display1:"h1",h2:"h2",display2:"h2",h3:"h3",display3:"h3",h4:"h4",headline1:"h4",h5:"h5",headline2:"h5",h6:"h6",headline3:"h6",headline4:"h6",headline5:"h6",p:"p",body1:"p",body2:"p",footnote1:"p",footnote2:"p",caption1:"p",caption2:"p",button:"span",link:"span",span:"span"};function ri(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var _e={exports:{}};/*!
41
+ */class Nt extends si{constructor(t){if(super(t),this.it=p,t.type!==ei.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===p||t==null)return this._t=void 0,this.it=t;if(t===j)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Nt.directiveName="unsafeHTML",Nt.resultType=1;const ni=ii(Nt),oi={h1:"h1",display1:"h1",h2:"h2",display2:"h2",h3:"h3",display3:"h3",h4:"h4",headline1:"h4",h5:"h5",headline2:"h5",h6:"h6",headline3:"h6",headline4:"h6",headline5:"h6",p:"p",body1:"p",body2:"p",footnote1:"p",footnote2:"p",caption1:"p",caption2:"p",button:"span",link:"span",span:"span"};function li(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var _e={exports:{}};/*!
42
42
  Copyright (c) 2018 Jed Watson.
43
43
  Licensed under the MIT License (MIT), see
44
44
  http://jedwatson.github.io/classnames
45
- */(function(r){(function(){var t={}.hasOwnProperty;function e(){for(var o="",n=0;n<arguments.length;n++){var d=arguments[n];d&&(o=s(o,i(d)))}return o}function i(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return e.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var n="";for(var d in o)t.call(o,d)&&o[d]&&(n=s(n,d));return n}function s(o,n){return n?o?o+" "+n:o+n:o}r.exports?(e.default=e,r.exports=e):window.classNames=e})()})(_e);var li=_e.exports;const hi=ri(li);function ai(r,t,e){const i=hi({base:!0,[r]:r,[e]:e});return{tag:oi[t||r]||"p",classNames:i}}const di=we`
45
+ */(function(l){(function(){var t={}.hasOwnProperty;function e(){for(var o="",n=0;n<arguments.length;n++){var a=arguments[n];a&&(o=s(o,i(a)))}return o}function i(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return e.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var n="";for(var a in o)t.call(o,a)&&o[a]&&(n=s(n,a));return n}function s(o,n){return n?o?o+" "+n:o+n:o}l.exports?(e.default=e,l.exports=e):window.classNames=e})()})(_e);var ri=_e.exports;const hi=li(ri);function di(l,t,e){const i=hi({base:!0,[l]:l,[e]:e});return{tag:oi[t||l]||"p",classNames:i}}const ai=be`
46
46
  .base {
47
- font-family: "${kt(g.casFontFamilyModeLight)}", system-ui, serif;
47
+ font-family: "${Tt(v.casFontFamilyModeLight)}", system-ui, serif;
48
48
  font-style: normal;
49
49
  //font-size: var(--eloisa-ds-font-size-base, 24px);
50
50
  letter-spacing: 0.0120588em;
@@ -205,6 +205,12 @@
205
205
  .base > slot::slotted(a) {
206
206
  color: currentColor;
207
207
  }
208
+ :host([italic]) {
209
+ .base, .display1, .display1 > slot::slotted(*), .display2, .display2 > slot::slotted(*), .display3, .display3 > slot::slotted(*), .headline1, .headline1 > slot::slotted(*), .headline2, .headline2 > slot::slotted(*), .headline3, .headline3 > slot::slotted(*), .headline4, .headline4 > slot::slotted(*), .headline5, .headline5 > slot::slotted(*), .button, .button > slot::slotted(*), .body1, .body1 > slot::slotted(*), .body2, .body2 > slot::slotted(*), .body1-link, .body1-link > slot::slotted(*), .body2-link, .body2-link > slot::slotted(*), .footnote1, .footnote1 > slot::slotted(*), .footnote2, .footnote2 > slot::slotted(*), .footnote1-link, .footnote1-link > slot::slotted(*), .footnote2-link, .footnote2-link > slot::slotted(*), .caption1, .caption1 > slot::slotted(*), .caption2, .caption2 > slot::slotted(*), .caption1-link, .caption1-link > slot::slotted(*), .caption2-link, .caption2-link > slot::slotted(*), .link, .link > slot::slotted(*), .base > slot::slotted(b), .base > slot::slotted(strong), .base > slot::slotted(a) {
210
+ font-style: italic;
211
+ // font-weight: 400;
212
+ }
213
+ }
208
214
 
209
215
 
210
216
  @media screen and (max-width: 768px) {
@@ -486,10 +492,10 @@
486
492
  }
487
493
  }
488
494
 
489
- `;class X extends I{constructor(){super(),this.variant="body1"}render(){const{tag:t,classNames:e}=ai(this.variant,this.component,this.mobileVariant);let i;return this.text&&this.text!==""?i=`<${t} class="${e}">
495
+ `;class X extends I{constructor(){super(),this.variant="body1"}render(){const{tag:t,classNames:e}=di(this.variant,this.component,this.mobileVariant);let i;return this.text&&this.text!==""?i=`<${t} class="${e}">
490
496
  ${this.text}
491
497
  </${t}>
492
498
  `:i=`<${t} class="${e}">
493
499
  <slot></slot>
494
500
  </${t}>
495
- `,Oe`${ni(i)}`}}dt(X,"styles",di),dt(X,"shadowRootOptions",{...I.shadowRootOptions,mode:"closed"}),dt(X,"properties",{variant:{type:String},component:{type:String},mobileVariant:{type:String},text:{type:String}}),customElements.get("cas-text")||customElements.define("cas-text",X),v.CasText=X,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
501
+ `,Oe`${ni(i)}`}}at(X,"styles",ai),at(X,"shadowRootOptions",{...I.shadowRootOptions,mode:"closed"}),at(X,"properties",{variant:{type:String},component:{type:String},mobileVariant:{type:String},text:{type:String}}),customElements.get("cas-text")||customElements.define("cas-text",X),g.CasText=X,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cas-ds-web-components",
3
3
  "description": "Web Components based on CAS DS",
4
- "version": "1.2.68",
4
+ "version": "1.2.70",
5
5
  "author": "aconejeros",
6
6
  "keywords": [
7
7
  "direflow",