cas-ds-web-components 1.2.128 → 1.2.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cas-ds-web-components.js +2 -2
- package/build/cas-footer.js +21 -21
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(F,x1){typeof exports=="object"&&typeof module<"u"?x1(exports):typeof define=="function"&&define.amd?define(["exports"],x1):(F=typeof globalThis<"u"?globalThis:F||self,x1(F["all-components"]={}))})(this,function(F){"use strict";var uH=Object.defineProperty;var MH=(F,x1,J2)=>x1 in F?uH(F,x1,{enumerable:!0,configurable:!0,writable:!0,value:J2}):F[x1]=J2;var H=(F,x1,J2)=>(MH(F,typeof x1!="symbol"?x1+"":x1,J2),J2);var o6,io;(()=>{const e=document.createElement("link");e.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap"),e.setAttribute("rel","stylesheet"),document.head.appendChild(e)})();const T4={name:"@eloisa-ds/all-components",version:"1.0.
|
|
1
|
+
(function(F,x1){typeof exports=="object"&&typeof module<"u"?x1(exports):typeof define=="function"&&define.amd?define(["exports"],x1):(F=typeof globalThis<"u"?globalThis:F||self,x1(F["all-components"]={}))})(this,function(F){"use strict";var uH=Object.defineProperty;var MH=(F,x1,J2)=>x1 in F?uH(F,x1,{enumerable:!0,configurable:!0,writable:!0,value:J2}):F[x1]=J2;var H=(F,x1,J2)=>(MH(F,typeof x1!="symbol"?x1+"":x1,J2),J2);var o6,io;(()=>{const e=document.createElement("link");e.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap"),e.setAttribute("rel","stylesheet"),document.head.appendChild(e)})();const T4={name:"@eloisa-ds/all-components",version:"1.0.131",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
|
|
@@ -12853,7 +12853,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
12853
12853
|
text-decoration: none;
|
|
12854
12854
|
}
|
|
12855
12855
|
}
|
|
12856
|
-
`,Ue=[{section:"Nosotros",items:[{name:"Nuestra clínica",url:"https://www.clinicaalemana.cl/nuestra-clinica/bienvenida"},{name:"
|
|
12856
|
+
`,Ue=[{section:"Nosotros",items:[{name:"Nuestra clínica",url:"https://www.clinicaalemana.cl/nuestra-clinica/bienvenida"},{name:"Indicadores clínicos",url:"https://www.clinicaalemana.cl/nuestra-clinica/indicadores-clinicos"},{name:"Sostenibilidad",url:"https://www.clinicaalemana.cl/sostenibilidad/home"},{name:"Sitios relacionados",url:"https://www.clinicaalemana.cl/nuestra-clinica/sitios-web-relacionados"}]},{section:"Información legal",items:[{name:"Política de privacidad",url:"https://www.clinicaalemana.cl/privacidad-y-terminos/politica-de-privacidad"},{name:"Términos y condiciones",url:"https://www.clinicaalemana.cl/privacidad-y-terminos/alemana"},{name:"Reglamento interno de funcionamiento",url:"https://www.clinicaalemana.cl/reglamento-interno-de-funcionamiento"},{name:"Leyes y normativas",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/Leyes_y_normativas"}]},{section:"Información de interés",items:[{name:"Pago y cuentas",url:"https://centrodeayuda.clinicaalemana.cl/pagos_y_cuentas"},{name:"Documentos de salud",url:"https://centrodeayuda.clinicaalemana.cl/documentos_de_salud"},{name:"Salud digital",url:"https://www.clinicaalemana.cl/salud-digital"},{name:"Servicios y atenciones",url:"https://centrodeayuda.clinicaalemana.cl/servicios_y_atenciones"},{name:"Información para pacientes",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/documentos-de-descarga"}]},{section:"Dónde estamos",items:[{name:"Clínicas",url:"https://www.clinicaalemana.cl/sucursales/clinicas"},{name:"Centros médicos",url:"https://www.clinicaalemana.cl/sucursales/centros-medicos"},{name:"Tomas de muestras",url:"https://www.clinicaalemana.cl/sucursales/toma-de-muestras"}]},{section:"Te ayudamos",items:[{name:"Mesa Central <br>+56 2 2210 1111",url:"tel:+56222101111",icon:"flat-phone"},{name:"Reserva de hora <br>+56 2 2910 1700",url:"tel:+56229101700",icon:"flat-phone"},{name:"Rescate de emergencia <br>+56 2 2910 9911",url:"tel:+56229109911",icon:"flat-phone"},{name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"}]}],Zu=[{name:"instagram",icon:"flat-instagram",url:"https://www.instagram.com/clinicaalemanadesantiago/"},{name:"linkedin",icon:"flat-linkedin",url:"https://www.linkedin.com/company/clinica-alemana-de-santiago"},{name:"x",icon:"flat-x",url:"https://twitter.com/clinicaalemana"},{name:"facebook",icon:"flat-facebook",url:"https://www.facebook.com/Clinicaalemanadesantiago/"},{name:"spotify",icon:"flat-spotifySolid",url:"https://open.spotify.com/user/8001v856hnvkpq7ytrik14qlg"},{name:"youtube",icon:"flat-youtubeSolid",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA"}];class D5 extends y{constructor(){super()}updated(){const C=this.shadowRoot.querySelectorAll("section");C.forEach(t=>{const i=t.querySelector(".top"),o=t.querySelector(".list");i.addEventListener("click",()=>{C.forEach(a=>{a.querySelector(".list").classList.remove("active"),a.querySelector("cas-icon").classList.remove("active")}),o.classList.toggle("active"),i.querySelector("cas-icon").classList.toggle("active")})})}render(){const C=t=>{const{section:i,items:o}=t;return w`<section>
|
|
12857
12857
|
<div class="top">
|
|
12858
12858
|
<cas-text variant="headline3">${i}</cas-text>
|
|
12859
12859
|
<cas-icon name="flat-chevronDown" size="20"></cas-icon>
|
package/build/cas-footer.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(g,_){typeof exports=="object"&&typeof module<"u"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(g=typeof globalThis<"u"?globalThis:g||self,_(g["cas-footer"]={}))})(this,function(g){"use strict";var Ci=Object.defineProperty;var yi=(g,_,x)=>_ in g?Ci(g,_,{enumerable:!0,configurable:!0,writable:!0,value:x}):g[_]=x;var f=(g,_,x)=>(yi(g,typeof _!="symbol"?_+"":_,x),x);/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/var be;const _=window,x=_.ShadowRoot&&(_.ShadyCSS===void 0||_.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,
|
|
5
|
+
*/var be;const _=window,x=_.ShadowRoot&&(_.ShadyCSS===void 0||_.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),Rt=new WeakMap;let Ut=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==mt)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(x&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&Rt.set(e,t))}return t}toString(){return this.cssText}};const q=o=>new Ut(typeof o=="string"?o:o+"",void 0,mt),_t=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((i,s,r)=>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)+o[r+1],o[0]);return new Ut(e,o,mt)},Me=(o,t)=>{x?o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=_.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,o.appendChild(i)})},Pt=x?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return q(e)})(o):o;/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/var At;const ot=window,Ot=ot.trustedTypes,Te=Ot?Ot.emptyScript:"",Ft=ot.reactiveElementPolyfillSupport,
|
|
9
|
+
*/var At;const ot=window,Ot=ot.trustedTypes,Te=Ot?Ot.emptyScript:"",Ft=ot.reactiveElementPolyfillSupport,ft={toAttribute(o,t){switch(t){case Boolean:o=o?Te:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},It=(o,t)=>t!==o&&(t==t||o==o),gt={attribute:!0,type:String,converter:ft,reflect:!1,hasChanged:It},Ct="finalized";let R=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=gt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const r=this[t];this[e]=s,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||gt}static finalize(){if(this.hasOwnProperty(Ct))return!1;this[Ct]=!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(Pt(s))}else t!==void 0&&e.push(Pt(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 Me(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=gt){var s;const r=this.constructor._$Ep(t,i);if(r!==void 0&&i.reflect===!0){const n=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:ft).toAttribute(e,i.type);this._$El=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,r=s._$Ev.get(t);if(r!==void 0&&this._$El!==r){const n=s.getPropertyOptions(r),c=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?n.converter:ft;this._$El=r,this[r]=c.fromAttribute(e,n.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||It)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,r)=>this[r]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var r;return(r=s.hostUpdate)===null||r===void 0?void 0:r.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};R[Ct]=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},Ft==null||Ft({ReactiveElement:R}),((At=ot.reactiveElementVersions)!==null&&At!==void 0?At:ot.reactiveElementVersions=[]).push("1.6.3");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/var yt;const rt=window,
|
|
13
|
+
*/var yt;const rt=window,U=rt.trustedTypes,Zt=U?U.createPolicy("lit-html",{createHTML:o=>o}):void 0,xt="$lit$",w=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+w,ke=`<${jt}>`,E=document,lt=()=>E.createComment(""),Y=o=>o===null||typeof o!="object"&&typeof o!="function",Dt=Array.isArray,Le=o=>Dt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",wt=`[
|
|
14
14
|
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,zt=/>/g,N=RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,qt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,qt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,Ve=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Re=Ve(1),K=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),Jt=new WeakMap,M=E.createTreeWalker(E,129,null,!1);function Kt(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zt!==void 0?Zt.createHTML(t):t}const Ue=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":"",n=J;for(let c=0;c<e;c++){const l=o[c];let a,d,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,d=n.exec(l),d!==null);)p=n.lastIndex,n===J?d[1]==="!--"?n=Bt:d[1]!==void 0?n=zt:d[2]!==void 0?(Yt.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=N):d[3]!==void 0&&(n=N):n===N?d[0]===">"?(n=s??J,h=-1):d[1]===void 0?h=-2:(h=n.lastIndex-d[2].length,a=d[1],n=d[3]===void 0?N:d[3]==='"'?qt:Wt):n===qt||n===Wt?n=N:n===Bt||n===zt?n=J:(n=N,s=void 0);const u=n===N&&o[c+1].startsWith("/>")?" ":"";r+=n===J?l+ke:h>=0?(i.push(a),l.slice(0,h)+xt+l.slice(h)+w+u):l+w+(h===-2?(i.push(void 0),c):u)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":"")),i]};let bt=class He{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const c=t.length-1,l=this.parts,[a,d]=Ue(t,e);if(this.el=He.createElement(a,i),M.currentNode=this.el.content,e===2){const h=this.el.content,p=h.firstChild;p.remove(),h.append(...p.childNodes)}for(;(s=M.nextNode())!==null&&l.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const h=[];for(const p of s.getAttributeNames())if(p.endsWith(xt)||p.startsWith(w)){const u=d[n++];if(h.push(p),u!==void 0){const S=s.getAttribute(u.toLowerCase()+xt).split(w),A=/([.?@])?(.*)/.exec(u);l.push({type:1,index:r,name:A[2],strings:S,ctor:A[1]==="."?Oe:A[1]==="?"?Ie:A[1]==="@"?Ze:at})}else l.push({type:6,index:r})}for(const p of h)s.removeAttribute(p)}if(Yt.test(s.tagName)){const h=s.textContent.split(w),p=h.length-1;if(p>0){s.textContent=U?U.emptyScript:"";for(let u=0;u<p;u++)s.append(h[u],lt()),M.nextNode(),l.push({type:2,index:++r});s.append(h[p],lt())}}}else if(s.nodeType===8)if(s.data===jt)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(w,h+1))!==-1;)l.push({type:7,index:r}),h+=w.length-1}r++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}};function P(o,t,e=o,i){var s,r,n,c;if(t===K)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const a=Y(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==a&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),a===void 0?l=void 0:(l=new a(o),l._$AT(o,e,i)),i!==void 0?((n=(c=e)._$Co)!==null&&n!==void 0?n:c._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=P(o,l._$AS(o,t.values),l,i)),t}let Pe=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,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:E).importNode(i,!0);M.currentNode=r;let n=M.nextNode(),c=0,l=0,a=s[0];for(;a!==void 0;){if(c===a.index){let d;a.type===2?d=new Qt(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new je(n,this,t)),this._$AV.push(d),a=s[++l]}c!==(a==null?void 0:a.index)&&(n=M.nextNode(),c++)}return M.currentNode=E,r}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++}},Qt=class Se{constructor(t,e,i,s){var r;this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(r=s==null?void 0:s.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$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=P(this,t,e),Y(t)?t===v||t==null||t===""?(this._$AH!==v&&this._$AR(),this._$AH=v):t!==this._$AH&&t!==K&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Le(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!==v&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.$(E.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=bt.createElement(Kt(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.v(i);else{const n=new Pe(r,this),c=n.u(this.options);n.v(i),this.$(c),this._$AH=n}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new bt(t)),e}T(t){Dt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new Se(this.k(lt()),this.k(lt()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},at=class{constructor(t,e,i,s,r){this.type=1,this._$AH=v,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=v}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=P(this,t,e,0),n=!Y(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const c=t;let l,a;for(t=r[0],l=0;l<r.length-1;l++)a=P(this,c[i+l],e,l),a===K&&(a=this._$AH[l]),n||(n=!Y(a)||a!==this._$AH[l]),a===v?t=v:t!==v&&(t+=(a??"")+r[l+1]),this._$AH[l]=a}n&&!s&&this.j(t)}j(t){t===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Oe=class extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===v?void 0:t}};const Fe=U?U.emptyScript:"";let Ie=class extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==v?this.element.setAttribute(this.name,Fe):this.element.removeAttribute(this.name)}},Ze=class extends at{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var i;if((t=(i=P(this,t,e,0))!==null&&i!==void 0?i:v)===K)return;const s=this._$AH,r=t===v&&s!==v||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==v&&(s===v||r);r&&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)}},je=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){P(this,t)}};const Gt=rt.litHtmlPolyfillSupport;Gt==null||Gt(bt,Qt),((yt=rt.litHtmlVersions)!==null&&yt!==void 0?yt:rt.litHtmlVersions=[]).push("2.8.0");/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/var Ht;const
|
|
20
|
-
\f\r]`,X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ie=/-->/g,se=/>/g,
|
|
21
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ne=/'/g,oe=/"/g,re=/^(?:script|style|textarea|title)$/i,F=Symbol.for("lit-noChange"),
|
|
19
|
+
*/var Ht;const ht=window,O=ht.trustedTypes,Xt=O?O.createPolicy("lit-html",{createHTML:o=>o}):void 0,St="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,te="?"+b,De=`<${te}>`,T=document,Q=()=>T.createComment(""),G=o=>o===null||typeof o!="object"&&typeof o!="function",ee=Array.isArray,Be=o=>ee(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Et=`[
|
|
20
|
+
\f\r]`,X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ie=/-->/g,se=/>/g,k=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
|
|
21
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ne=/'/g,oe=/"/g,re=/^(?:script|style|textarea|title)$/i,F=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),le=new WeakMap,L=T.createTreeWalker(T,129,null,!1);function ae(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xt!==void 0?Xt.createHTML(t):t}const ze=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":"",n=X;for(let c=0;c<e;c++){const l=o[c];let a,d,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,d=n.exec(l),d!==null);)p=n.lastIndex,n===X?d[1]==="!--"?n=ie:d[1]!==void 0?n=se:d[2]!==void 0?(re.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=k):d[3]!==void 0&&(n=k):n===k?d[0]===">"?(n=s??X,h=-1):d[1]===void 0?h=-2:(h=n.lastIndex-d[2].length,a=d[1],n=d[3]===void 0?k:d[3]==='"'?oe:ne):n===oe||n===ne?n=k:n===ie||n===se?n=X:(n=k,s=void 0);const u=n===k&&o[c+1].startsWith("/>")?" ":"";r+=n===X?l+De:h>=0?(i.push(a),l.slice(0,h)+St+l.slice(h)+b+u):l+b+(h===-2?(i.push(void 0),c):u)}return[ae(o,r+(o[e]||"<?>")+(t===2?"</svg>":"")),i]};let Nt=class Ee{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const c=t.length-1,l=this.parts,[a,d]=ze(t,e);if(this.el=Ee.createElement(a,i),L.currentNode=this.el.content,e===2){const h=this.el.content,p=h.firstChild;p.remove(),h.append(...p.childNodes)}for(;(s=L.nextNode())!==null&&l.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const h=[];for(const p of s.getAttributeNames())if(p.endsWith(St)||p.startsWith(b)){const u=d[n++];if(h.push(p),u!==void 0){const S=s.getAttribute(u.toLowerCase()+St).split(b),A=/([.?@])?(.*)/.exec(u);l.push({type:1,index:r,name:A[2],strings:S,ctor:A[1]==="."?qe:A[1]==="?"?Je:A[1]==="@"?Ke:ct})}else l.push({type:6,index:r})}for(const p of h)s.removeAttribute(p)}if(re.test(s.tagName)){const h=s.textContent.split(b),p=h.length-1;if(p>0){s.textContent=O?O.emptyScript:"";for(let u=0;u<p;u++)s.append(h[u],Q()),L.nextNode(),l.push({type:2,index:++r});s.append(h[p],Q())}}}else if(s.nodeType===8)if(s.data===te)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(b,h+1))!==-1;)l.push({type:7,index:r}),h+=b.length-1}r++}}static createElement(t,e){const i=T.createElement("template");return i.innerHTML=t,i}};function I(o,t,e=o,i){var s,r,n,c;if(t===F)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const a=G(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==a&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),a===void 0?l=void 0:(l=new a(o),l._$AT(o,e,i)),i!==void 0?((n=(c=e)._$Co)!==null&&n!==void 0?n:c._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=I(o,l._$AS(o,t.values),l,i)),t}let We=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,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:T).importNode(i,!0);L.currentNode=r;let n=L.nextNode(),c=0,l=0,a=s[0];for(;a!==void 0;){if(c===a.index){let d;a.type===2?d=new Mt(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new Qe(n,this,t)),this._$AV.push(d),a=s[++l]}c!==(a==null?void 0:a.index)&&(n=L.nextNode(),c++)}return L.currentNode=T,r}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++}},Mt=class Ne{constructor(t,e,i,s){var r;this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(r=s==null?void 0:s.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$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=I(this,t,e),G(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==F&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Be(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&&G(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Nt.createElement(ae(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.v(i);else{const n=new We(r,this),c=n.u(this.options);n.v(i),this.$(c),this._$AH=n}}_$AC(t){let e=le.get(t.strings);return e===void 0&&le.set(t.strings,e=new Nt(t)),e}T(t){ee(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new Ne(this.k(Q()),this.k(Q()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},ct=class{constructor(t,e,i,s,r){this.type=1,this._$AH=m,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=m}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=I(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==F,n&&(this._$AH=t);else{const c=t;let l,a;for(t=r[0],l=0;l<r.length-1;l++)a=I(this,c[i+l],e,l),a===F&&(a=this._$AH[l]),n||(n=!G(a)||a!==this._$AH[l]),a===m?t=m:t!==m&&(t+=(a??"")+r[l+1]),this._$AH[l]=a}n&&!s&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},qe=class extends ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}};const Ye=O?O.emptyScript:"";let Je=class extends ct{constructor(){super(...arguments),this.type=4}j(t){t&&t!==m?this.element.setAttribute(this.name,Ye):this.element.removeAttribute(this.name)}};class Ke extends ct{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var i;if((t=(i=I(this,t,e,0))!==null&&i!==void 0?i:m)===F)return;const s=this._$AH,r=t===m&&s!==m||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==m&&(s===m||r);r&&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 Qe=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){I(this,t)}};const he=ht.litHtmlPolyfillSupport;he==null||he(Nt,Mt),((Ht=ht.litHtmlVersions)!==null&&Ht!==void 0?Ht:ht.litHtmlVersions=[]).push("2.8.0");const Ge=(o,t,e)=>{var i,s;const r=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:t;let n=r._$litPart$;if(n===void 0){const c=(s=e==null?void 0:e.renderBefore)!==null&&s!==void 0?s:null;r._$litPart$=n=new Mt(t.insertBefore(Q(),c),c,void 0,e??{})}return n._$AI(o),n};/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/var Tt,
|
|
25
|
+
*/var Tt,kt;let y=class extends R{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=Ge(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 F}};y.finalized=!0,y._$litElement$=!0,(Tt=globalThis.litElementHydrateSupport)===null||Tt===void 0||Tt.call(globalThis,{LitElement:y});const ce=globalThis.litElementPolyfillSupport;ce==null||ce({LitElement:y}),((kt=globalThis.litElementVersions)!==null&&kt!==void 0?kt:globalThis.litElementVersions=[]).push("3.3.3");/**
|
|
26
26
|
* @license
|
|
27
27
|
* Copyright 2020 Google LLC
|
|
28
28
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
-
*/const Xe=Symbol.for(""),ti=o=>{if((o==null?void 0:o.r)===Xe)return o==null?void 0:o._$litStatic$},de=new Map,ei=o=>(t,...e)=>{const i=e.length;let s,r;const n=[],
|
|
29
|
+
*/const Xe=Symbol.for(""),ti=o=>{if((o==null?void 0:o.r)===Xe)return o==null?void 0:o._$litStatic$},de=new Map,ei=o=>(t,...e)=>{const i=e.length;let s,r;const n=[],c=[];let l,a=0,d=!1;for(;a<i;){for(l=t[a];a<i&&(r=e[a],(s=ti(r))!==void 0);)l+=s+t[++a],d=!0;a!==i&&c.push(r),n.push(l),a++}if(a===i&&n.push(t[i]),d){const h=n.join("$$lit$$");(t=de.get(h))===void 0&&(n.raw=n,de.set(h,t=n)),e=c}return o(t,...e)},C=ei(Re),dt={mobile:"767px",tablet:"1023px",desktop:"1440px"},ii=_t`
|
|
30
30
|
:host {
|
|
31
31
|
background-color: #364855;
|
|
32
32
|
display: flex;
|
|
@@ -163,23 +163,23 @@
|
|
|
163
163
|
text-decoration: none;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
`,pe=[{section:"Nosotros",items:[{name:"Nuestra clínica",url:"https://www.clinicaalemana.cl/nuestra-clinica/bienvenida"},{name:"
|
|
166
|
+
`,pe=[{section:"Nosotros",items:[{name:"Nuestra clínica",url:"https://www.clinicaalemana.cl/nuestra-clinica/bienvenida"},{name:"Indicadores clínicos",url:"https://www.clinicaalemana.cl/nuestra-clinica/indicadores-clinicos"},{name:"Sostenibilidad",url:"https://www.clinicaalemana.cl/sostenibilidad/home"},{name:"Sitios relacionados",url:"https://www.clinicaalemana.cl/nuestra-clinica/sitios-web-relacionados"}]},{section:"Información legal",items:[{name:"Política de privacidad",url:"https://www.clinicaalemana.cl/privacidad-y-terminos/politica-de-privacidad"},{name:"Términos y condiciones",url:"https://www.clinicaalemana.cl/privacidad-y-terminos/alemana"},{name:"Reglamento interno de funcionamiento",url:"https://www.clinicaalemana.cl/reglamento-interno-de-funcionamiento"},{name:"Leyes y normativas",url:"https://centrodeayuda.clinicaalemana.cl/terminos_legales/Leyes_y_normativas"}]},{section:"Información de interés",items:[{name:"Pago y cuentas",url:"https://centrodeayuda.clinicaalemana.cl/pagos_y_cuentas"},{name:"Documentos de salud",url:"https://centrodeayuda.clinicaalemana.cl/documentos_de_salud"},{name:"Salud digital",url:"https://www.clinicaalemana.cl/salud-digital"},{name:"Servicios y atenciones",url:"https://centrodeayuda.clinicaalemana.cl/servicios_y_atenciones"},{name:"Información para pacientes",url:"https://www.clinicaalemana.cl/informacion-para-pacientes/documentos-de-descarga"}]},{section:"Dónde estamos",items:[{name:"Clínicas",url:"https://www.clinicaalemana.cl/sucursales/clinicas"},{name:"Centros médicos",url:"https://www.clinicaalemana.cl/sucursales/centros-medicos"},{name:"Tomas de muestras",url:"https://www.clinicaalemana.cl/sucursales/toma-de-muestras"}]},{section:"Te ayudamos",items:[{name:"Mesa Central <br>+56 2 2210 1111",url:"tel:+56222101111",icon:"flat-phone"},{name:"Reserva de hora <br>+56 2 2910 1700",url:"tel:+56229101700",icon:"flat-phone"},{name:"Rescate de emergencia <br>+56 2 2910 9911",url:"tel:+56229109911",icon:"flat-phone"},{name:"Reclamos y denuncias",url:"https://centrodeayuda.clinicaalemana.cl/reclamos_y_denuncias"}]}],ni=[{name:"instagram",icon:"flat-instagram",url:"https://www.instagram.com/clinicaalemanadesantiago/"},{name:"linkedin",icon:"flat-linkedin",url:"https://www.linkedin.com/company/clinica-alemana-de-santiago"},{name:"x",icon:"flat-x",url:"https://twitter.com/clinicaalemana"},{name:"facebook",icon:"flat-facebook",url:"https://www.facebook.com/Clinicaalemanadesantiago/"},{name:"spotify",icon:"flat-spotifySolid",url:"https://open.spotify.com/user/8001v856hnvkpq7ytrik14qlg"},{name:"youtube",icon:"flat-youtubeSolid",url:"https://www.youtube.com/channel/UCVTx7AHcRM8auQ68PLDwrjA"}];/**
|
|
167
167
|
* @license
|
|
168
168
|
* Copyright 2017 Google LLC
|
|
169
169
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
170
|
-
*/var
|
|
170
|
+
*/var Lt;const pt=window,Z=pt.trustedTypes,ue=Z?Z.createPolicy("lit-html",{createHTML:o=>o}):void 0,H=`lit$${(Math.random()+"").slice(9)}$`,$e="?"+H,oi=`<${$e}>`,j=document,ut=(o="")=>j.createComment(o),tt=o=>o===null||typeof o!="object"&&typeof o!="function",ve=Array.isArray,ri=o=>ve(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",et=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,me=/-->/g,_e=/>/g,V=RegExp(`>|[
|
|
171
171
|
\f\r](?:([^\\s"'>=/]+)([
|
|
172
172
|
\f\r]*=[
|
|
173
173
|
\f\r]*(?:[^
|
|
174
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ae=/'/g,
|
|
174
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ae=/'/g,fe=/"/g,ge=/^(?:script|style|textarea|title)$/i,D=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Ce=new WeakMap,B=j.createTreeWalker(j,129,null,!1),li=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":"",n=et;for(let l=0;l<e;l++){const a=o[l];let d,h,p=-1,u=0;for(;u<a.length&&(n.lastIndex=u,h=n.exec(a),h!==null);)u=n.lastIndex,n===et?h[1]==="!--"?n=me:h[1]!==void 0?n=_e:h[2]!==void 0?(ge.test(h[2])&&(s=RegExp("</"+h[2],"g")),n=V):h[3]!==void 0&&(n=V):n===V?h[0]===">"?(n=s??et,p=-1):h[1]===void 0?p=-2:(p=n.lastIndex-h[2].length,d=h[1],n=h[3]===void 0?V:h[3]==='"'?fe:Ae):n===fe||n===Ae?n=V:n===me||n===_e?n=et:(n=V,s=void 0);const S=n===V&&o[l+1].startsWith("/>")?" ":"";r+=n===et?a+oi:p>=0?(i.push(d),a.slice(0,p)+"$lit$"+a.slice(p)+H+S):a+H+(p===-2?(i.push(void 0),l):S)}const c=r+(o[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return[ue!==void 0?ue.createHTML(c):c,i]};class it{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const c=t.length-1,l=this.parts,[a,d]=li(t,e);if(this.el=it.createElement(a,i),B.currentNode=this.el.content,e===2){const h=this.el.content,p=h.firstChild;p.remove(),h.append(...p.childNodes)}for(;(s=B.nextNode())!==null&&l.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const h=[];for(const p of s.getAttributeNames())if(p.endsWith("$lit$")||p.startsWith(H)){const u=d[n++];if(h.push(p),u!==void 0){const S=s.getAttribute(u.toLowerCase()+"$lit$").split(H),A=/([.?@])?(.*)/.exec(u);l.push({type:1,index:r,name:A[2],strings:S,ctor:A[1]==="."?hi:A[1]==="?"?di:A[1]==="@"?pi:vt})}else l.push({type:6,index:r})}for(const p of h)s.removeAttribute(p)}if(ge.test(s.tagName)){const h=s.textContent.split(H),p=h.length-1;if(p>0){s.textContent=Z?Z.emptyScript:"";for(let u=0;u<p;u++)s.append(h[u],ut()),B.nextNode(),l.push({type:2,index:++r});s.append(h[p],ut())}}}else if(s.nodeType===8)if(s.data===$e)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(H,h+1))!==-1;)l.push({type:7,index:r}),h+=H.length-1}r++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function z(o,t,e=o,i){var s,r,n,c;if(t===D)return t;let l=i!==void 0?(s=e._$Cl)===null||s===void 0?void 0:s[i]:e._$Cu;const a=tt(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==a&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),a===void 0?l=void 0:(l=new a(o),l._$AT(o,e,i)),i!==void 0?((n=(c=e)._$Cl)!==null&&n!==void 0?n:c._$Cl=[])[i]=l:e._$Cu=l),l!==void 0&&(t=z(o,l._$AS(o,t.values),l,i)),t}class ai{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,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:j).importNode(i,!0);B.currentNode=r;let n=B.nextNode(),c=0,l=0,a=s[0];for(;a!==void 0;){if(c===a.index){let d;a.type===2?d=new $t(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new ui(n,this,t)),this.v.push(d),a=s[++l]}c!==(a==null?void 0:a.index)&&(n=B.nextNode(),c++)}return r}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 $t{constructor(t,e,i,s){var r;this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$C_=(r=s==null?void 0:s.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$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=z(this,t,e),tt(t)?t===$||t==null||t===""?(this._$AH!==$&&this._$AR(),this._$AH=$):t!==this._$AH&&t!==D&&this.$(t):t._$litType$!==void 0?this.T(t):t.nodeType!==void 0?this.k(t):ri(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!==$&&tt(this._$AH)?this._$AA.nextSibling.data=t:this.k(j.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=it.createElement(s.h,this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.m(i);else{const n=new ai(r,this),c=n.p(this.options);n.m(i),this.k(c),this._$AH=n}}_$AC(t){let e=Ce.get(t.strings);return e===void 0&&Ce.set(t.strings,e=new it(t)),e}O(t){ve(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new $t(this.S(ut()),this.S(ut()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$C_=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class vt{constructor(t,e,i,s,r){this.type=1,this._$AH=$,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=$}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=z(this,t,e,0),n=!tt(t)||t!==this._$AH&&t!==D,n&&(this._$AH=t);else{const c=t;let l,a;for(t=r[0],l=0;l<r.length-1;l++)a=z(this,c[i+l],e,l),a===D&&(a=this._$AH[l]),n||(n=!tt(a)||a!==this._$AH[l]),a===$?t=$:t!==$&&(t+=(a??"")+r[l+1]),this._$AH[l]=a}n&&!s&&this.P(t)}P(t){t===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class hi extends vt{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===$?void 0:t}}const ci=Z?Z.emptyScript:"";class di extends vt{constructor(){super(...arguments),this.type=4}P(t){t&&t!==$?this.element.setAttribute(this.name,ci):this.element.removeAttribute(this.name)}}class pi extends vt{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var i;if((t=(i=z(this,t,e,0))!==null&&i!==void 0?i:$)===D)return;const s=this._$AH,r=t===$&&s!==$||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==$&&(s===$||r);r&&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 ui{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){z(this,t)}}const ye=pt.litHtmlPolyfillSupport;ye==null||ye(it,$t),((Lt=pt.litHtmlVersions)!==null&&Lt!==void 0?Lt:pt.litHtmlVersions=[]).push("2.3.1");/**
|
|
175
175
|
* @license
|
|
176
176
|
* Copyright 2017 Google LLC
|
|
177
177
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
178
|
-
*/const $i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},
|
|
178
|
+
*/const $i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},vi=o=>(...t)=>({_$litDirective$:o,values:t});class mi{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)}}/**
|
|
179
179
|
* @license
|
|
180
180
|
* Copyright 2017 Google LLC
|
|
181
181
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
182
|
-
*/class
|
|
182
|
+
*/class Vt extends mi{constructor(t){if(super(t),this.it=$,t.type!==$i.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===$||t==null)return this._t=void 0,this.it=t;if(t===D)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:[]}}}Vt.directiveName="unsafeHTML",Vt.resultType=1;const _i=vi(Vt);class st extends y{constructor(){super()}updated(){const t=this.shadowRoot.querySelectorAll("section");t.forEach(e=>{const i=e.querySelector(".top"),s=e.querySelector(".list");i.addEventListener("click",()=>{t.forEach(r=>{r.querySelector(".list").classList.remove("active"),r.querySelector("cas-icon").classList.remove("active")}),s.classList.toggle("active"),i.querySelector("cas-icon").classList.toggle("active")})})}render(){const t=e=>{const{section:i,items:s}=e;return C`<section>
|
|
183
183
|
<div class="top">
|
|
184
184
|
<cas-text variant="headline3">${i}</cas-text>
|
|
185
185
|
<cas-icon name="flat-chevronDown" size="20"></cas-icon>
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
${pe.map(e=>t(e))}
|
|
199
199
|
</div>
|
|
200
200
|
</div>
|
|
201
|
-
`}}
|
|
201
|
+
`}}f(st,"formAssociated",!0),f(st,"styles",si),f(st,"shadowRootOptions",{...y.shadowRootOptions,mode:"open"}),f(st,"properties",{theme:{type:String}});const Ai=_t`
|
|
202
202
|
.wrapped {
|
|
203
203
|
display: flex;
|
|
204
204
|
justify-content: center;
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
width: 100%;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
`,
|
|
290
|
+
`,fi=((be=pe[4])==null?void 0:be.items)??[];function gi(o){var t=document.createElement("div");return t.innerHTML=o,t.textContent||t.innerText||""}class nt extends y{handleYear(){return new Date().getFullYear()}render(){if(this.variant==="phone")return C`<div class="wrapped" data-theme=${this.theme} variant=${this.variant}>
|
|
291
291
|
<div class="inner-wrapped">
|
|
292
292
|
<a
|
|
293
293
|
class="logo"
|
|
@@ -302,9 +302,9 @@
|
|
|
302
302
|
<cas-text variant="footnote2"><a href="https://www.clinicaalemana.cl/terminos-y-condiciones/alemana"><b>Términos y condiciones</b></a> de uso de canales digitales de Clínica Alemana. </cas-text>
|
|
303
303
|
</div>
|
|
304
304
|
<div class="right">
|
|
305
|
-
${
|
|
305
|
+
${fi.map(e=>{const{name:i,url:s,icon:r}=e;return C`
|
|
306
306
|
<a href=${s} title=${i}>
|
|
307
|
-
<cas-text variant="caption1">${
|
|
307
|
+
<cas-text variant="caption1">${gi(i)}</cas-text>
|
|
308
308
|
</a>
|
|
309
309
|
`})}
|
|
310
310
|
</div>
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
<cas-text variant="caption2">© ${this.handleYear()}, Clínica Alemana</cas-text>
|
|
331
331
|
</div>
|
|
332
332
|
</div>
|
|
333
|
-
`}}
|
|
333
|
+
`}}f(nt,"formAssociated",!0),f(nt,"styles",Ai),f(nt,"shadowRootOptions",{...y.shadowRootOptions,mode:"open"}),f(nt,"properties",{theme:{type:String},variant:{type:String}});const xe={light:{color:"#FFFFFF",secondColor:"#FFFFFF"},dark:{color:"#FFFFFF",secondColor:"#FFFFFF"}},we=({color:o})=>C`
|
|
334
334
|
<svg width="192" height="49" viewBox="0 0 192 49" fill="${o}" xmlns="http://www.w3.org/2000/svg">
|
|
335
335
|
<path d="M35.8136 12.9128C35.5209 12.9128 35.2233 12.9272 34.9402 12.9512C32.2769 13.148 29.748 14.276 27.8045 16.1384C27.7469 16.196 27.6846 16.2536 27.6174 16.316C26.2306 17.708 25.2276 19.4168 24.695 21.2792L19.9538 16.4024H19.9586L19.7427 16.1864C18.4518 14.9288 17.8376 13.172 18.0487 11.372C18.3559 8.7608 20.4769 6.6584 23.097 6.3752C25.9954 6.0584 28.6731 7.9448 29.3305 10.7672C29.3737 10.9496 29.5753 11.0504 29.7432 10.9688C31.3124 10.244 32.9823 9.8024 34.7147 9.6632C34.897 9.6488 35.0218 9.476 34.9786 9.2984C33.7021 4.1192 29.0858 0.5 23.7448 0.5C17.3577 0.5 12.1655 5.6936 12.1655 12.0776C12.1655 12.3704 12.1751 12.6536 12.1991 12.932C12.0264 12.9224 11.8488 12.9176 11.6761 12.9176C5.29377 12.9176 0.101562 18.116 0.101562 24.5C0.101562 30.884 5.29377 36.0776 11.6761 36.0776C11.9688 36.0776 12.2615 36.0632 12.5494 36.0392C15.8221 35.7992 18.8501 34.1624 20.8512 31.5512C20.9424 31.436 20.9328 31.268 20.8272 31.1624L17.0986 27.332C16.9642 27.1928 16.7291 27.2216 16.6283 27.3896C16.374 27.8216 16.0717 28.2104 15.7262 28.556C14.6417 29.6408 13.202 30.2264 11.6569 30.236C8.63847 30.2312 6.07116 27.7784 5.9368 24.7688C5.86002 23.0456 6.52704 21.4232 7.80829 20.252C8.69606 19.4408 9.82855 18.9272 11.0234 18.7976C12.7558 18.6104 14.4353 19.1864 15.6686 20.3864C15.755 20.468 15.8365 20.5544 15.9133 20.636L27.2383 32.2856L27.9869 33.068C28.0972 33.1832 28.2076 33.3176 28.3132 33.4568C29.2201 34.652 29.6184 36.1448 29.4313 37.6568C29.1098 40.2488 26.9935 42.3416 24.3974 42.6248C21.523 42.9416 18.8453 41.0744 18.1687 38.2808C18.1255 38.0984 17.9288 38.0024 17.756 38.0792C16.1868 38.7848 14.5121 39.212 12.7702 39.3416C12.5878 39.356 12.4582 39.5288 12.5062 39.7064C13.8019 44.9624 18.4614 48.5 23.7544 48.5C24.3543 48.5 24.9589 48.4568 25.5731 48.3608C31.4611 47.4632 35.7704 41.9816 35.2953 36.068C35.4681 36.0776 35.6456 36.0824 35.8184 36.0824H38.2657C38.4385 36.0824 38.5776 35.9432 38.5776 35.7704V30.548C38.5776 30.3752 38.4385 30.236 38.2657 30.236H35.8184C34.3116 30.236 32.8864 29.6552 31.8163 28.6136L31.5715 28.3592C30.6118 27.2984 30.0791 25.9304 30.0791 24.5C30.0791 22.964 30.6742 21.524 31.7587 20.4392C32.8432 19.3592 34.278 18.764 35.804 18.7592C38.9663 18.7544 41.5576 21.4376 41.5576 24.6008V28.2392C41.5576 31.3016 44.0386 33.7832 47.1002 33.7832H47.3977V24.5C47.3977 18.1112 42.2055 12.9176 35.8232 12.9176L35.8136 12.9128Z"/>
|
|
336
336
|
<path d="M66.2237 40.3113H58.6945C58.6129 40.3113 58.5361 40.3641 58.5122 40.4409L57.3509 43.8729C57.3221 43.9497 57.2501 44.0025 57.1685 44.0025H52.1874C52.0819 44.0025 52.0099 43.8969 52.0435 43.8009L59.4911 23.2041C59.5199 23.1273 59.5919 23.0745 59.6734 23.0745H65.3023C65.3839 23.0745 65.4559 23.1273 65.4847 23.2041L72.9323 43.8009C72.9659 43.9017 72.8939 44.0025 72.7883 44.0025H67.7497C67.6681 44.0025 67.5913 43.9497 67.5673 43.8729L66.406 40.4409C66.3772 40.3641 66.3053 40.3113 66.2237 40.3113ZM62.3511 29.0409L59.947 36.2217C59.923 36.2985 59.9758 36.3753 60.0573 36.3753H64.8896C64.9712 36.3753 65.024 36.2985 65 36.2217L62.5719 29.0409C62.5383 28.9353 62.3847 28.9353 62.3511 29.0409Z" />
|
|
@@ -359,4 +359,4 @@
|
|
|
359
359
|
${this.variant==="home"?C`<cas-new-footer-taxonomy theme=${this.theme}></cas-new-footer-taxonomy>`:null}
|
|
360
360
|
<cas-new-footer-bottom variant=${this.variant} theme=${this.theme}></cas-new-footer-bottom>
|
|
361
361
|
</div>
|
|
362
|
-
`}}
|
|
362
|
+
`}}f(W,"formAssociated",!0),f(W,"styles",ii),f(W,"shadowRootOptions",{...y.shadowRootOptions,mode:"open"}),f(W,"properties",{darkMode:{type:String},variant:{type:String},type:{type:String}}),customElements.get("cas-footer")||customElements.define("cas-footer",W),customElements.get("cas-new-footer-taxonomy")||customElements.define("cas-new-footer-taxonomy",st),customElements.get("cas-new-footer-bottom")||customElements.define("cas-new-footer-bottom",nt),g.CasFooter=W,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|