https://belmontvillage.com.mx/_astro/CookiesConsent.astro_astro_type_script_index_0_lang.D3n3w7Cm.js
vendor: 1,643 bytes, line 1
1const at="opt-in",ve="opt-out",rt="show--consent",ct="show--preferences",Xe="disable--interaction",Me="data-category";const X="button",W="aria-hidden",we="btn-group",N="click",ge="data-role",$e="consentModal",Ye="preferencesModal";class Bt{constructor(){this.t={mode:at,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",secure:!0,sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={ae:{},se:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}}const s=new Bt,it=(t,o)=>t.indexOf(o),T=(t,o)=>it(t,o)!==-1,De=t=>Array.isArray(t),he=t=>typeof t=="string",Re=t=>!!t&&typeof t=="object"&&!De(t),z=t=>typeof t=="function",ue=t=>Object.keys(t),lt=t=>Array.from(new Set(t)),xe=()=>document.activeElement,me=t=>t.preventDefault(),Ge=(t,o)=>t.querySelectorAll(o),d=t=>{const o=document.createElement(t);return t===X&&(o.type=t),o},v=(t,o,n)=>t.setAttribute(o,n),Oe=(t,o,n)=>{t.removeAttribute(n?"data-"+o:o)},Le=(t,o,n)=>t.getAttribute(n?"data-"+o:o),u=(t,o)=>t.appendChild(o),M=(t,o)=>t.classList.add(o),R=(t,o)=>M(t,"cm__"+o),L=(t,o)=>M(t,"pm__"+o),re=(t,o)=>t.classList.remove(o),ae=t=>{if(typeof t!="object")return t;if(t instanceof Date)return new Date(t.getTime());let o=Array.isArray(t)?[]:{};for(let n in t){let e=t[n];o[n]=ae(e)}return o},We=(t,o)=>
vendor: 9,863 bytes, line 1
1dispatchEvent(new CustomEvent(t,{detail:o})),D=(t,o,n,e)=>{t.addEventListener(o,n),e&&s.o.m.push({pe:t,ge:o,me:n})},Dt=()=>{const t=s.t.cookie.expiresAfterDays;return z(t)?t(s.o.F):t},He=(t,o)=>{const n=t||[],e=o||[];return n.filter((m=>!T(e,m))).concat(e.filter((m=>!T(n,m))))},ut=t=>{s.o.R=lt(t),s.o.F=(()=>{let o="custom";const{R:n,O:e,B:m}=s.o,f=n.length;return f===e.length?o="all":f===m.length&&(o="necessary"),o})()},dt=(t,o,n,e)=>{const m="accept-",{show:f,showPreferences:g,hide:a,hidePreferences:r,acceptCategory:i}=o,y=t||document,c=b=>Ge(y,`[data-cc="${b}"]`),p=(b,w)=>{me(b),i(w),r(),a()},h=c("show-preferencesModal"),l=c("show-consentModal"),C=c(m+"all"),k=c(m+"necessary"),_=c(m+"custom"),S=s.t.lazyHtmlGeneration;for(const b of h)v(b,"aria-haspopup","dialog"),D(b,N,(w=>{me(w),g()})),S&&(D(b,"mouseenter",(w=>{me(w),s.o.N||n(o,e)}),!0),D(b,"focus",(()=>{s.o.N||n(o,e)})));for(let b of l)v(b,"aria-haspopup","dialog"),D(b,N,(w=>{me(w),f(!0)}),!0);for(let b of C)D(b,N,(w=>{p(w,"all")}),!0);for(let b of _)D(b,N,(w=>{p(w)}),!0);for(let b of k)D(b,N,(w=>{p(w,[])}),!0)},V=(t,o)=>{t&&(o&&(t.tabIndex=-1),t.focus(),o&&t.removeAttribute("tabindex"))},ft=(t,o)=>{const n=e=>{e.target.removeEventListener("transitionend",n),e.propertyName==="opacity"&&getComputedStyle(t).opacity==="1"&&V((m=>m===1?s.ne.be:s.ne.ve)(o))};D(t,"transitionend",n)};let ze;const pt=t=>{clearTimeout(ze),t?M(s.ne.ye,Xe):ze=setTimeout((()=>{re(s.ne.ye,Xe)}),500)},It=["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5","M 3.572 13.406 L 8.281 18.115 L 20.428 5.885","M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "],ke=(t=0,o=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${o}"><path d="${It[t]}"/></svg>`,mt=t=>{const o=s.ne,n=s.o;(e=>{const m=e===o.he,f=n.i.disablePageInteraction?o.ye:m?o.Ce:o.ye;D(f,"keydown",(g=>{if(g.key!=="Tab"||!(m?n.k&&!n.A:n.A))return;const a=xe(),r=m?n.q:n.K;r.length!==0&&(g.shiftKey?a!==r[0]&&e.contains(a)||(me(g),V(r[1])):a!==r[1]&&e.contains(a)||(me(g),V(r[0])))}),!0)})(t)},Ot=["[href]",X,"input","details","[tabindex]"].map((t=>t+':not([tabindex="-1"])')).join(","),gt=t=>{const{o,ne:n}=s,e=(m,f)=>{const g=Ge(m,Ot);f[0]=g[0],f[1]=g[g.length-1]};t===1&&o.T&&e(n.he,o.q),t===2&&o.N&&e(n.we,o.K)},K=(t,o,n)=>{const{de:e,le:m,ie:f,_e:g,ue:a,fe:r}=s.ce,i=s.re;if(o){const c={modalName:o};return t===i.fe?z(r)&&r(c):t===i._e?z(g)&&g(c):(c.modal=n,z(a)&&a(c)),We(t,c)}const y={cookie:s.o.p};t===i.ie?z(f)&&f(ae(y)):t===i.le?z(m)&&m(ae(y)):(y.changedCategories=s.o.L,y.changedServices=s.o.ee,z(e)&&e(ae(y))),We(t,ae(y))},Be=(t,o)=>{try{return t()}catch(n){return!o&&console.warn("CookieConsent:",n),!1}},je=t=>{const{Y:o,ee:n,O:e,X:m,oe:f,p:g,L:a}=s.o;for(const c of e){const p=n[c]||o[c]||[];for(const h of p){const l=m[c][h];if(!l)continue;const{onAccept:C,onReject:k}=l;!l.Se&&T(o[c],h)?(l.Se=!0,z(C)&&C()):l.Se&&!T(o[c],h)&&(l.Se=!1,z(k)&&k())}}if(!s.t.manageScriptTags)return;const r=f,i=t||g.categories||[],y=(c,p)=>{if(p>=c.length)return;const h=f[p];if(h.xe)return y(c,p+1);const l=h.Me,C=h.De,k=h.Te,_=T(i,C),S=!!k&&T(o[C],k);if(!k&&!h.ke&&_||!k&&h.ke&&!_&&T(a,C)||k&&!h.ke&&S||k&&h.ke&&!S&&T(n[C]||[],k)){h.xe=!0;const b=Le(l,"type",!0);Oe(l,"type",!!b),Oe(l,Me);let w=Le(l,"src",!0);w&&Oe(l,"src",!0);const B=d("script");B.textContent=l.innerHTML;for(const{nodeName:x}of l.attributes)v(B,x,l[x]||Le(l,x));b&&(B.type=b),w?B.src=w:w=l.src;const O=!!w&&(!b||["text/javascript","module"].includes(b));if(O&&(B.onload=B.onerror=()=>{y(c,++p)}),l.replaceWith(B),O)return}y(c,++p)};y(r,0)},Se="bottom",Ee="left",ht="center",Fe="right",Ae="inline",bt="wide",yt="pm--",Pe=["middle","top",Se],Ve=[Ee,ht,Fe],Ht={box:{Ee:[bt,Ae],Ae:Pe,Ne:Ve,He:Se,Ve:Fe},cloud:{Ee:[Ae],Ae:Pe,Ne:Ve,He:Se,Ve:ht},bar:{Ee:[Ae],Ae:Pe.slice(1),Ne:[],He:Se,Ve:""}},At={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[bt],Ae:[],Ne:[Ee,Fe],He:"",Ve:Ee}},vt=t=>{const o=s.o.i.guiOptions,n=o&&o.consentModal,e=o&&o.preferencesModal;t===0&&Ke(s.ne.he,Ht,n,"cm--","box","cm"),t===1&&Ke(s.ne.we,At,e,yt,"box","pm")},Ke=(t,o,n,e,m,f)=>{t.className=f;const g=n&&n.layout,a=n&&n.position,r=n&&n.flipButtons,i=!n||n.equalWeightButtons!==!1,y=g&&g.split(" ")||[],c=y[0],p=y[1],h=c in o?c:m,l=o[h],C=T(l.Ee,p)&&p,k=a&&a.split(" ")||[],_=k[0],S=e===yt?k[0]:k[1],b=T(l.Ae,_)?_:l.He,w=T(l.Ne,S)?S:l.Ve,B=x=>{x&&M(t,e+x)};B(h),B(C),B(b),B(w),r&&B("flip");const O=f+"__btn--secondary";if(f==="cm"){const{Ie:x,Le:j}=s.ne;x&&(i?re(x,O):M(x,O)),j&&(i?re(j,O):M(j,O))}else{const{je:x}=s.ne;x&&(i?re(x,O):M(x,O))}},_e=(t,o)=>{const n=s.o,e=s.ne,{hide:m,hidePreferences:f,acceptCategory:g}=t,a=w=>{g(w),f(),m()},r=n.u&&n.u.preferencesModal;if(!r)return;const i=r.title,y=r.closeIconLabel,c=r.acceptAllBtn,p=r.acceptNecessaryBtn,h=r.savePreferencesBtn,l=r.sections||[],C=c||p||h;if(e.Fe)e.Pe=d("div"),L(e.Pe,"body");else{e.Fe=d("div"),M(e.Fe,"pm-wrapper");const w=d("div");M(w,"pm-overlay"),u(e.Fe,w),D(w,N,f),e.we=d("div"),M(e.we,"pm"),v(e.we,"role","dialog"),v(e.we,W,!0),v(e.we,"aria-modal",!0),v(e.we,"aria-labelledby","pm__title"),D(e.ye,"keydown",(B=>{B.keyCode===27&&f()}),!0),e.Oe=d("div"),L(e.Oe,"header"),e.Re=d("h2"),L(e.Re,"title"),e.Re.id="pm__title",e.Be=d(X),L(e.Be,"close-btn"),v(e.Be,"aria-label",r.closeIconLabel||""),D(e.Be,N,f),e.$e=d("span"),e.$e.innerHTML=ke(),u(e.Be,e.$e),e.Ge=d("div"),L(e.Ge,"body"),e.Je=d("div"),L(e.Je,"footer");var k=d("div");M(k,"btns");var _=d("div"),S=d("div");L(_,we),L(S,we),u(e.Je,_),u(e.Je,S),u(e.Oe,e.Re),u(e.Oe,e.Be),e.ve=d("div"),v(e.ve,"tabIndex",-1),u(e.we,e.ve),u(e.we,e.Oe),u(e.we,e.Ge),C&&u(e.we,e.Je),u(e.Fe,e.we)}let b;i&&(e.Re.innerHTML=i,y&&v(e.Be,"aria-label",y)),l.forEach(((w,B)=>{const O=w.title,x=w.description,j=w.linkedCategory,de=j&&n.P[j],ce=w.cookieTable,Z=ce&&ce.body,ee=ce&&ce.caption,q=Z&&Z.length>0,A=!!de,E=A&&n.X[j],te=Re(E)&&ue(E)||[],H=A&&(!!x||!!q||ue(E).length>0);var U=d("div");if(L(U,"section"),H||x){var J=d("div");L(J,"section-desc-wrapper")}let oe=te.length;if(H&&oe>0){const P=d("div");L(P,"section-services");for(const G of te){const I=E[G],$=I&&I.label||G,ie=d("div"),le=d("div"),be=d("div"),fe=d("div");L(ie,"service"),L(fe,"service-title"),L(le,"service-header"),L(be,"service-icon");const Q=Qe($,G,de,!0,j);fe.innerHTML=$,u(le,be),u(le,fe),u(ie,le),u(ie,Q),u(P,ie)}u(J,P)}if(O){var ne=d("div"),Y=d(A?X:"div");if(L(ne,"section-title-wrapper"),L(Y,"section-title"),Y.innerHTML=O,u(ne,Y),A){const P=d("span");P.innerHTML=ke(2,3.5),L(P,"section-arrow"),u(ne,P),U.className+="--toggle";const G=Qe(O,j,de);let I=r.serviceCounterLabel;if(oe>0&&he(I)){let $=d("span");L($,"badge"),L($,"service-counter"),v($,W,!0),v($,"data-servicecounter",oe),I&&(I=I.split("|"),I=I.length>1&&oe>1?I[1]:I[0],v($,"data-counterlabel",I)),$.innerHTML=oe+(I?" "+I:""),u(Y,$)}if(H){L(U,"section--expandable");var qe=j+"-desc";v(Y,"aria-expanded",!1),v(Y,"aria-controls",qe)}u(ne,G)}else v(Y,"role","heading"),v(Y,"aria-level","3");u(U,ne)}if(x){var Ie=d("p");L(Ie,"section-desc"),Ie.innerHTML=x,u(J,Ie)}if(H&&(v(J,W,"true"),J.id=qe,((P,G,I)=>{D(Y,N,(()=>{G.classList.contains("is-expanded")?(re(G,"is-expanded"),v(I,"aria-expanded","false"),v(P,W,"true")):(M(G,"is-expanded"),v(I,"aria-expanded","true"),v(P,W,"false"))}))})(J,U,Y),q)){const P=d("table"),G=d("thead"),I=d("tbody");if(ee){const Q=d("caption");L(Q,"table-caption"),Q.innerHTML=ee,P.appendChild(Q)}L(P,"section-table"),L(G,"table-head"),L(I,"table-body");const $=ce.headers,ie=ue($),le=e.Ue.createDocumentFragment(),be=d("tr");for(const Q of ie){const pe=$[Q],se=d("th");se.id="cc__row-"+pe+B,v(se,"scope","col"),L(se,"table-th"),se.innerHTML=pe,u(le,se)}u(be,le),u(G,be);const fe=e.Ue.createDocumentFragment();for(const Q of Z){const pe=d("tr");L(pe,"table-tr");for(const se of ie){const Je=$[se],xt=Q[se],ye=d("td"),Ue=d("div");L(ye,"table-td"),v(ye,"data-column",Je),v(ye,"headers","cc__row-"+Je+B),Ue.insertAdjacentHTML("beforeend",xt),u(ye,Ue),u(pe,ye)}u(fe,pe)}u(I,fe),u(P,G),u(P,I),u(J,P)}(H||x)&&u(U,J);const Mt=e.Pe||e.Ge;A?(b||(b=d("div"),L(b,"section-toggles")),b.appendChild(U)):b=null,u(Mt,b||U)})),c&&(e.ze||(e.ze=d(X),L(e.ze,"btn"),v(e.ze,ge,"all"),u(_,e.ze),D(e.ze,N,(()=>a("all")))),e.ze.innerHTML=c),p&&(e.je||(e.je=d(X),L(e.je,"btn"),v(e.je,ge,"necessary"),u(_,e.je),D(e.je,N,(()=>a([])))),e.je.innerHTML=p),h&&(e.qe||(e.qe=d(X),L(e.qe,"btn"),L(e.qe,"btn--secondary"),v(e.qe,ge,"save"),u(S,e.qe),D(e.qe,N,(()=>a()))),e.qe.innerHTML=h),e.Pe&&(e.we.replaceChild(e.Pe,e.Ge),e.Ge=e.Pe),vt(1),n.N||(n.N=!0,K(s.re.ue,Ye,e.we),o(t),u(e.Ce,e.Fe),mt(e.we),setTimeout((()=>M(e.Fe,"cc--anim")),100)),gt(2)};function Qe(t,o,n,e,m){const f=s.o,g=s.ne,a=d("label"),r=d("input"),i=d("span"),y=d("span"),c=d("span"),p=d("span"),h=d("span");if(p.innerHTML=ke(1,3),h.innerHTML=ke(0,3),r.type="checkbox",M(a,"section__toggle-wrapper"),M(r,"section__toggle"),M(p,"toggle__icon-on"),M(h,"toggle__icon-off"),M(i,"toggle__icon"),M(y,"toggle__icon-circle"),M(c,"toggle__label"),v(i,W,"true"),e?(M(a,"toggle-service"),v(r,Me,m),g.se[m][o]=r):g.ae[o]=r,e?(l=>{D(r,"change",(()=>{const C=g.se[l],k=g.ae[l];f.Z[l]=[];for(let _ in C){const S=C[_];S.checked&&f.Z[l].push(S.value)}k.checked=f.Z[l].length>0}))})(m):(l=>{D(r,N,(()=>{const C=g.se[l],k=r.checked;f.Z[l]=[];for(let _ in C)C[_].checked=k,k&&f.Z[l].push(_)}))})(o),r.value=o,c.textContent=t.replace(/<.*>.*<\/.*>/gm,""),u(y,h),u(y,p),u(i,y),f.D)(n.readOnly||n.enabled)&&(r.checked=!0);else if(e){const l=f.Y[m];r.checked=n.readOnly||T(l,o)}else T(f.R,o)&&(r.checked=!0);return n.readOnly&&(r.disabled=!0),u(a,r),u(a,i),u(a,c),a}const Ne=()=>{const t=d("span");return s.ne.Ke||(s.ne.Ke=t),t},wt=(t,o)=>{const n=s.o,e=s.ne,{hide:m,showPreferences:f,acceptCategory:g}=t,a=n.u&&n.u.consentModal;if(!a)return;const r=a.acceptAllBtn,i=a.acceptNecessaryBtn,y=a.showPreferencesBtn,c=a.closeIconLabel,p=a.footer,h=a.label,l=a.title,C=_=>{m(),g(_)};if(!e.Qe){e.Qe=d("div"),e.he=d("div"),e.We=d("div"),e.Xe=d("div"),e.Ye=d("div"),M(e.Qe,"cm
1-wrapper"),M(e.he,"cm"),R(e.We,"body"),R(e.Xe,"texts"),R(e.Ye,"btns"),v(e.he,"role","dialog"),v(e.he,"aria-modal","true"),v(e.he,W,"false"),v(e.he,"aria-describedby","cm__desc"),h?v(e.he,"aria-label",h):l&&v(e.he,"aria-labelledby","cm__title");const _="box",S=n.i.guiOptions,b=S&&S.consentModal,w=(b&&b.layout||_).split(" ")[0]===_;l&&c&&w&&(e.Le||(e.Le=d(X),e.Le.innerHTML=ke(),R(e.Le,"btn"),R(e.Le,"btn--close"),D(e.Le,N,(()=>{C([])})),u(e.We,e.Le)),v(e.Le,"aria-label",c)),u(e.We,e.Xe),(r||i||y)&&u(e.We,e.Ye),e.be=d("div"),v(e.be,"tabIndex",-1),u(e.he,e.be),u(e.he,e.We),u(e.Qe,e.he)}l&&(e.Ze||(e.Ze=d("h2"),e.Ze.className=e.Ze.id="cm__title",u(e.Xe,e.Ze)),e.Ze.innerHTML=l);let k=a.description;if(k&&(n.V&&(k=k.replace("{{revisionMessage}}",n.I?"":a.revisionMessage||"")),e.et||(e.et=d("p"),e.et.className=e.et.id="cm__desc",u(e.Xe,e.et)),e.et.innerHTML=k),r&&(e.tt||(e.tt=d(X),u(e.tt,Ne()),R(e.tt,"btn"),v(e.tt,ge,"all"),D(e.tt,N,(()=>{C("all")}))),e.tt.firstElementChild.innerHTML=r),i&&(e.Ie||(e.Ie=d(X),u(e.Ie,Ne()),R(e.Ie,"btn"),v(e.Ie,ge,"necessary"),D(e.Ie,N,(()=>{C([])}))),e.Ie.firstElementChild.innerHTML=i),y&&(e.ot||(e.ot=d(X),u(e.ot,Ne()),R(e.ot,"btn"),R(e.ot,"btn--secondary"),v(e.ot,ge,"show"),D(e.ot,"mouseenter",(()=>{n.N||_e(t,o)})),D(e.ot,N,f)),e.ot.firstElementChild.innerHTML=y),e.nt||(e.nt=d("div"),R(e.nt,we),r&&u(e.nt,e.tt),i&&u(e.nt,e.Ie),(r||i)&&u(e.We,e.nt),u(e.Ye,e.nt)),e.ot&&!e.st&&(e.st=d("div"),e.Ie&&e.tt?(R(e.st,we),u(e.st,e.ot),u(e.Ye,e.st)):(u(e.nt,e.ot),R(e.nt,we+"--uneven"))),p){if(!e.ct){let _=d("div"),S=d("div");e.ct=d("div"),R(_,"footer"),R(S,"links"),R(e.ct,"link-group"),u(S,e.ct),u(_,S),u(e.he,_)}e.ct.innerHTML=p}vt(0),n.T||(n.T=!0,K(s.re.ue,$e,e.he),o(t),u(e.Ce,e.Qe),mt(e.he),setTimeout((()=>M(e.Qe,"cc--anim")),100)),gt(1),dt(e.We,t,_e,o)},Ct=t=>{if(!he(t))return null;if(t in s.o._)return t;let o=t.slice(0,2);return o in s.o._?o:null},kt=()=>s.o.l||s.o.i.language.default,_t=t=>{t&&(s.o.l=t)},Pt=async t=>{const o=s.o;let n=Ct(t)?t:kt(),e=o._[n];if(he(e)?e=await(async m=>{try{return await(await fetch(m)).json()}catch(f){return console.error(f),!1}})(e):z(e)&&(e=await e()),!e)throw`Could not load translation for the '${n}' language`;return o.u=e,_t(n),!0},Nt=()=>{let t=s.o.i.language.rtl,o=s.ne.Ce;t&&o&&(De(t)||(t=[t]),T(t,s.o.l)?M(o,"cc--rtl"):re(o,"cc--rtl"))},Ce=()=>{const t=s.ne;if(t.Ce)return;t.Ce=d("div"),t.Ce.id="cc-main",t.Ce.setAttribute("data-nosnippet",""),Nt();let o=s.o.i.root;o&&he(o)&&(o=document.querySelector(o)),(o||t.Ue.body).appendChild(t.Ce)},Rt=t=>Be((()=>localStorage.removeItem(t))),et=(t,o)=>{if(o instanceof RegExp)return t.filter((n=>o.test(n)));{const n=it(t,o);return n>-1?[t[n]]:[]}},jt=t=>{const{hostname:o,protocol:n}=location,{name:e,path:m,domain:f,sameSite:g,useLocalStorage:a,secure:r}=s.t.cookie,i=864e5*Dt(),y=new Date;y.setTime(y.getTime()+i),s.o.p.expirationTime=y.getTime();const c=JSON.stringify(s.o.p);let p=e+"="+encodeURIComponent(c)+(i!==0?"; expires="+y.toUTCString():"")+"; Path="+m+"; SameSite="+g;T(o,".")&&(p+="; Domain="+f),r&&n==="https:"&&(p+="; Secure"),a?((h,l)=>{Be((()=>localStorage.setItem(h,l)))})(e,c):document.cookie=p,s.o.p},tt=(t,o,n)=>{if(t.length===0)return;const e=n||s.t.cookie.domain,m=o||s.t.cookie.path,f=e.slice(0,4)==="www.",g=f&&e.substring(4),a=(r,i)=>{i&&i.slice(0,1)!=="."&&(i="."+i),document.cookie=r+"=; path="+m+(i?"; domain="+i:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(const r of t)a(r,n),n||a(r,e),f&&a(r,g)},Et=t=>{const o=s.t.cookie.name,n=s.t.cookie.useLocalStorage;return((m,f)=>{let g;return g=Be((()=>JSON.parse(f?m:decodeURIComponent(m))),!0)||{},g})(n?(e=o,Be((()=>localStorage.getItem(e)))||""):$t(o),n);var e},$t=(t,o)=>{const n=document.cookie.match("(^|;)\\s*"+t+"\\s*=\\s*([^;]+)");return n?n.pop():""},Yt=t=>{const o=document.cookie.split(/;\s*/),n=[];for(const e of o){let m=e.split("=")[0];n.push(m)}return n},Gt=(t,o=[])=>{((n,e)=>{const{O:m,R:f,B:g,N:a,Z:r,$:i,X:y}=s.o;let c=[];if(n){De(n)?c.push(...n):he(n)&&(c=n==="all"?m:[n]);for(const p of m)r[p]=T(c,p)?ue(y[p]):[]}else c=[...f,...i],a&&(c=(()=>{const p=s.ne.ae;if(!p)return[];let h=[];for(let l in p)p[l].checked&&h.push(l);return h})());c=c.filter((p=>!T(m,p)||!T(e,p))),c.push(...g),ut(c)})(t,o),(()=>{const n=s.o,{Z:e,B:m,Y:f,X:g,O:a}=n,r=a;n.te=ae(f);
vendor: 4,348 bytes, line 1
1for(const i of r){const y=g[i],c=ue(y),p=e[i]&&e[i].length>0,h=T(m,i);if(c.length!==0){if(f[i]=[],h)f[i].push(...c);else if(p){const l=e[i];f[i].push(...l)}else f[i]=n.Z[i];f[i]=lt(f[i])}}})(),(()=>{const n=s.o;n.L=s.t.mode===ve&&n.D?He(n.$,n.R):He(n.R,n.p.categories);let e=n.L.length>0,m=!1;for(const r of n.O)n.ee[r]=He(n.Y[r],n.te[r]),n.ee[r].length>0&&(m=!0);const f=s.ne.ae;for(const r in f)f[r].checked=T(n.R,r);for(const r of n.O){const i=s.ne.se[r],y=n.Y[r];for(const c in i)i[c].checked=T(y,c)}n.C||(n.C=new Date),n.M||(n.M=("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,(r=>(r^crypto.getRandomValues(new Uint8Array(1))[0]&15>>r/4).toString(16)))),n.p={categories:ae(n.R),revision:s.t.revision,data:n.h,consentTimestamp:n.C.toISOString(),consentId:n.M,services:ae(n.Y),languageCode:s.o.l},n.S&&(n.p.lastConsentTimestamp=n.S.toISOString());let g=!1;const a=e||m;(n.D||a)&&(n.D&&(n.D=!1,g=!0),n.S=n.S?new Date:n.C,n.p.lastConsentTimestamp=n.S.toISOString(),jt(),s.t.autoClearCookies&&(g||a)&&(r=>{const i=s.o,y=Yt(),c=(p=>{const h=s.o;return(p?h.O:h.L).filter((l=>{const C=h.P[l];return!!C&&!C.readOnly&&!!C.autoClear}))})(r);for(const p in i.ee)for(const h of i.ee[p]){const l=i.X[p][h].cookies;if(!T(i.Y[p],h)&&l)for(const C of l){const k=et(y,C.name);tt(k,C.path,C.domain)}}for(const p of c){const h=i.P[p].autoClear,l=h&&h.cookies||[],C=T(i.L,p),k=!T(i.R,p),_=C&&k;if(r?k:_){h.reloadPage&&_&&(i.j=!0);for(const S of l){const b=et(y,S.name);tt(b,S.path,S.domain)}}}})(g),je()),g&&(K(s.re.ie),K(s.re.le),s.t.mode===at)||(a&&K(s.re.de),n.j&&(n.j=!1,location.reload()))})()},Ft=t=>{const o=s.o.D?[]:s.o.R;return T(o,t)},Zt=(t,o)=>{const n=s.o.D?[]:s.o.Y[o]||[];return T(n,t)},Lt=t=>{const{ne:o,o:n}=s;if(!n.k){if(!n.T){if(!t)return;wt(Ze,Ce)}n.k=!0,n.J=xe(),n.v&&pt(!0),ft(o.he,1),M(o.ye,rt),v(o.he,W,"false"),setTimeout((()=>{V(s.ne.be)}),100),K(s.re.fe,$e)}},qt=()=>{const{ne:t,o,re:n}=s;o.k&&(o.k=!1,o.v&&pt(),V(t.Ke,!0),re(t.ye,rt),v(t.he,W,"true"),V(o.J),o.J=null,K(n._e,$e))},Jt=()=>{const t=s.o;t.A||(t.N||_e(Ze,Ce),t.A=!0,t.k?t.U=xe():t.J=xe(),ft(s.ne.we,2),M(s.ne.ye,ct),v(s.ne.we,W,"false"),setTimeout((()=>{V(s.ne.ve)}),100),K(s.re.fe,Ye))},Ut=()=>{const t=s.o;t.A&&(t.A=!1,(()=>{const o=St(),n=s.o.P,e=s.ne.ae,m=s.ne.se,f=g=>T(s.o.$,g);for(const g in e){const a=!!n[g].readOnly;e[g].checked=a||(o?Ft(g):f(g));for(const r in m[g])m[g][r].checked=a||(o?Zt(r,g):f(g))}})(),V(s.ne.$e,!0),re(s.ne.ye,ct),v(s.ne.we,W,"true"),t.k?(V(t.U),t.U=null):(V(t.J),t.J=null),K(s.re._e,Ye))};var Ze={show:Lt,hide:qt,showPreferences:Jt,hidePreferences:Ut,acceptCategory:Gt};const St=()=>!s.o.D,ot=async t=>{const{o,t:n,re:e}=s,m=window;if(!m._ccRun){if(m._ccRun=!0,(a=>{const{ne:r,t:i,o:y}=s,c=i,p=y,{cookie:h}=c,l=s.ce,C=a.cookie,k=a.categories,_=ue(k)||[],S=navigator,b=document;r.Ue=b,r.ye=b.documentElement,h.domain=location.hostname,p.i=a,p.P=k,p.O=_,p._=a.language.translations,p.v=!!a.disablePageInteraction,l.ie=a.onFirstConsent,l.le=a.onConsent,l.de=a.onChange,l._e=a.onModalHide,l.fe=a.onModalShow,l.ue=a.onModalReady;const{mode:w,autoShow:B,lazyHtmlGeneration:O,autoClearCookies:x,revision:j,manageScriptTags:de,hideFromBots:ce}=a;w===ve&&(c.mode=w),typeof x=="boolean"&&(c.autoClearCookies=x),typeof de=="boolean"&&(c.manageScriptTags=de),typeof j=="number"&&j>=0&&(c.revision=j,p.V=!0),typeof B=="boolean"&&(c.autoShow=B),typeof O=="boolean"&&(c.lazyHtmlGeneration=O),ce===!1&&(c.hideFromBots=!1),c.hideFromBots===!0&&S&&(p.G=S.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(S.userAgent)||S.webdriver),Re(C)&&(c.cookie={...h,...C}),c.autoClearCookies,p.V,c.manageScriptTags,(Z=>{const{P:ee,X:q,Y:A,Z:E,B:te}=s.o;for(let H of Z){const U=ee[H],J=U.services||{},oe=Re(J)&&ue(J)||[];q[H]={},A[H]=[],E[H]=[],U.readOnly&&(te.push(H),A[H]=oe),s.ne.se[H]={};for(let ne of oe){const Y=J[ne];Y.Se=!1,q[H][ne]=Y}}})(_),(()=>{if(!s.t.manageScriptTags)return;const Z=s.o,ee=Ge(document,"script["+Me+"]");for(const q of ee){let A=Le(q,Me),E=q.dataset.service||"",te=!1;if(A&&A.charAt(0)==="!"&&(A=A.slice(1),te=!0),E.charAt(0)==="!"&&(E=E.slice(1),te=!0),T(Z.O,A)&&(Z.oe.push({Me:q,xe:!1,ke:te,De:A,Te:E}),E)){const H=Z.X[A];H[E]||(H[E]={Se:!1})}}})(),_t((()=>{const Z=s.o.i.language.autoDetect;if(Z){const ee={browser:navigator.language,document:document.documentElement.lang},q=Ct(ee[Z]);if(q)return q}return kt()})())})(t),o.G)return;(()=>
1{const a=s.o,r=s.t,i=Et(),{categories:y,services:c,consentId:p,consentTimestamp:h,lastConsentTimestamp:l,data:C,revision:k}=i,_=De(y);a.p=i,a.M=p;const S=!!p&&he(p);a.C=h,a.C&&(a.C=new Date(h)),a.S=l,a.S&&(a.S=new Date(l)),a.h=C!==void 0?C:null,a.V&&S&&k!==r.revision&&(a.I=!1),a.D=!(S&&a.I&&a.C&&a.S&&_),r.cookie.useLocalStorage&&!a.D&&(a.D=new Date().getTime()>(i.expirationTime||0),a.D&&Rt(r.cookie.name)),a.D,(()=>{const b=s.o;for(const w of b.O){const B=b.P[w];if(B.readOnly||B.enabled){b.$.push(w);const O=b.X[w]||{};for(let x in O)b.Z[w].push(x),b.i.mode===ve&&b.Y[w].push(x)}}})(),a.D?r.mode===ve&&(a.R=[...a.$]):(a.Y={...a.Y,...c},a.Z={...a.Y},ut([...a.B,...y]))})();const g=St();if(!await Pt())return!1;if(dt(null,f=Ze,_e,Ce),s.o.D&&wt(f,Ce),s.t.lazyHtmlGeneration||_e(f,Ce),n.autoShow&&!g&&Lt(!0),g)return je(),K(e.le);n.mode===ve&&je(o.$)}var f},Xt="[email protected]",F=t=>{const{slug:o="...",label:n="...",...e}=t;return{slug:o,label:n,...e}};F({slug:"assisted",label:"Assisted Living",route:"/assisted-living"}),F({slug:"circle",label:"Circle of Friends<sup>®</sup>",route:"/circle-of-friends"}),F({slug:"memory",label:"Memory Care",route:"/memory-care"}),F({slug:"sensory",label:"Memory Care Sensory",route:"/memory-care-sensory"}),F({slug:"vive",label:"Cómo se vive en Belmont",route:"/como-se-vive-en-belmont"}),F({slug:"suites",label:"Suites",route:"/suites"}),F({slug:"profesional",label:"Hospitalidad de Excelencia",route:"/hospitalidad-de-excelencia"}),F({slug:"sobre",label:"Sobre Belmont",route:"/sobre-belmont"}),F({slug:"galeria",label:"GalerÃa",route:"/galeria"}),F({slug:"eventos",label:"Eventos",route:"/eventos"}),F({slug:"solicitud",label:"Solicitud de información",route:"/contacto"}),F({slug:"bolsa",label:"Bolsa de Trabajo",route:"/bolsa-de-trabajo"}),F({slug:"faq",label:"Preguntas Frecuentes",route:"/preguntas-frecuentes"});const Te={mx:"es-mx"},Wt={defaultLocale:Te.mx},zt=`mailto:${Xt}`,Vt=t=>{const{translations:o}=t;return o?{consentModal:{title:o?.consentTitle,description:o?.consentDescription,acceptAllBtn:o.acceptAllBtn,acceptNecessaryBtn:o.rejectAllBtn,showPreferencesBtn:o.showPreferencesBtn,footer:""},preferencesModal:{title:o.preferences,acceptAllBtn:o.acceptAllBtn,acceptNecessaryBtn:o.rejectAllBtn,savePreferencesBtn:o.savePreferencesBtn,closeIconLabel:o.closeModal,serviceCounterLabel:o.serviceCounterLabel,sections:[{title:o.cookieUsage,description:o?.cookieUsageDescription}
1,{linkedCategory:"necessary",title:`${o.strictlyNecessaryCookies} <span class="pm__badge">${o.alwaysEnabled}</span>`,description:o?.strictlyNecessaryCookiesDescription},{linkedCategory:"analytics",title:o.analyticsCookies,description:o?.analyticsCookiesDescription},{title:o.moreInformation,description:`${o.forAnyQuestionsAboutOptionsAndCookies} <a class="cc__link" href="${zt}">${o.contactUs}</a>.`}]}}:void 0},Kt=t=>{const o={};for(const n in Te)if(Te.hasOwnProperty(n)){const e=Te[n];o[e]=Vt(t)}return o},nt=t=>({disablePageInteraction:!0,guiOptions:{consentModal:{layout:"box inline",position:"bottom center",flipButtons:!0,equalWeightButtons:!1},preferencesModal:{layout:"box",equalWeightButtons:!1,flipButtons:!0}},categories:{necessary:{readOnly:!0},functionality:{enabled:!1,readOnly:!1},analytics:{enabled:!1,readOnly:!1,services:{gtag:{label:'<a href="https://marketingplatform.google.com/about/analytics/terms/us/" target="_blank">Google Analytics</a>',onAccept:()=>{typeof window.gtag=="function"&&window.gtag("consent","update",{ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",analytics_storage:"granted"})},onReject:()=>{},cookies:[{name:/^_ga/},{name:/^_gcl/},{name:/^_fbp/}]}}}},language:{default:Wt.defaultLocale,autoDetect:"document",translations:Kt(t)}});let st=!1;const Tt=()=>{if(!st&&window.scrollY>50){st=!0;const t=document.getElementById("cookies-consent-translations");if(!t)ot(nt({}));else{const o=JSON.parse(t.dataset.consentTranslations||"{}");o.cookiesConsentTranslations,ot(nt({translations:{...o}}))}window.removeEventListener("scroll",Tt)}};window.addEventListener("scroll",Tt);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.