PageSourceSearch

https://m.heartcosmos.com/assets/index-I9Xed6Ba.js

js heartcosmos.com collected 2026-10-05 22:50:54 UTC 7,465 bytes, 1 lines download raw bytes

1import{d as R,u as V,o as O,x as U,e as t,f as s,h as a,j as d,w as u,k as r,R as c,n as G,m as f,l,p as w,F as g,r as y,y as z,v as b,q as I,_ as T}from"./index-D2dFyI5k.js";import{l as W,a as A,s as j}from"./legalContent-Ds5uSMl7.js";const P={class:"guardian-homepage"},Y={class:"shell nav-shell"},q={class:"nav-actions"},K=["aria-label","aria-expanded"],Q={class:"menu-button-icon","aria-hidden":"true"},J={id:"top",class:"legal-main"},X={class:"shell"},Z={class:"legal-article"},ee={class:"eyebrow legal-eyebrow"},ae={class:"display-lg legal-title",id:"legal-title"},te={key:0},se={class:"text-gold"},ne={key:0,class:"legal-updated"},oe={class:"legal-sections"},le=["aria-labelledby"],ie=["id"],re={key:0,class:"legal-section-index"},de={class:"legal-body"},ue={key:0},ce={key:1},ve={key:2,class:"legal-defs"},pe={key:3,class:"legal-email"},fe=["href"],ge={key:4,class:"legal-note"},me={key:5,class:"legal-signature"},he={key:0},_e=["href"],ke={class:"site-footer"},ye={class:"shell"},be={class:"footer-main"},we={class:"footer-links","aria-label":"Footer navigation"},xe={class:"footer-bottom"},Ce={class:"footer-legal-links","aria-label":"Legal"},Ee={key:0,class:"footer-legal-separator","aria-hidden":"true"},Le=R({__name:"index",props:{doc:{}},setup(B){const M=B,S=V(),L=b(()=>S.params.lang==="zh"?"zh":"en"),v=b(()=>`/${L.value}/guardian-homepage`),k=b(()=>A[M.doc]??A["privacy-policy"]),D=b(()=>k.value.sections.map((p,e)=>({...p,...j(p.heading),anchor:`legal-section-${e+1}`}))),C=b(()=>k.value.title.split(" ")),$=b(()=>C.value.length>1?C.value.slice(0,-1).join(" "):""),F=b(()=>C.value[C.value.length-1]??""),N=I(!1),m=I(!1),h=p=>{m.value=p},E=()=>{N.value=window.scrollY>8},x=[];return O(()=>{document.documentElement.classList.add("guardian-homepage-active"),x.push(()=>document.documentElement.classList.remove("guardian-homepage-active")),E(),window.addEventListener("scroll",E,{passive:!0}),x.push(()=>window.removeEventListener("scroll",E));const p=_=>{m.value&&!(_.target instanceof Node&&document.getElementById("site-header")?.contains(_.target))&&h(!1)},e=_=>{_.key!=="Escape"||!m.value||(h(!1),document.getElementById("menu-button")?.focus())},n=window.matchMedia("(min-width: 1081px)"),o=_=>{_.matches&&h(!1)};document.addEventListener("click",p),document.addEventListener("keydown",e),n.addEventListener("change",o),x.push(()=>{document.removeEventListener("click",p),document.removeEventListener("keydown",e),n.removeEventListener("change",o)})}),U(()=>{x.forEach(p=>p()),x.length=0}),(p,e)=>(t(),s("div",P,[a("header",{id:"site-header",class:G(["guardian-header",{"is-scrolled":N.value,"menu-open":m.value}])},[d(r(c),{class:"announce-bar",to:{path:v.value,hash:"#portraits"}},{default:u(()=>[...e[6]||(e[6]=[a("span",{class:"announce-copy"},"🎁 For Our First 100 Guests: We’re creating your personal Guardian Angel Moment as a complimentary gift.",-1),a("span",{class:"announce-cta"},"Claim Yours →",-1)])]),_:1},8,["to"]),a("div",Y,[d(r(c),{class:"brand",to:v.value,"aria-label":"Guardian home",onClick:e[0]||(e[0]=n=>h(!1))},{default:u(()=>[...e[7]||(e[7]=[a("span",{class:"brand-name"},"GUARDIAN",-1),a("span",{class:"brand-subtitle"},"Stories of strength and protection",-1)])]),_:1},8,["to"]),a("nav",{id:"nav-links",class:G(["nav-links",{"is-open":m.value}]),"aria-label":"Main navigation"},[d(r(c),{to:v.value,onClick:e[1]||(e[1]=n=>h(!1))},{default:u(()=>[...e[8]||(e[8]=[f("Home",-1)])]),_:1},8,["to"]),d(r(c),{to:{path:v.value,hash:"#portraits"},onClick:e[2]||(e[2]=n=>h(!1))},{default:u(()=>[...e[9]||(e[9]=[f("Guardian Moments",-1)])]),_:1},8,["to"]),d(r(c),{to:{path:v.value,hash:"#how-it-works"},onClick:e[3]||(e[3]=n=>h(!1))},{default:u(()=>[...e[10]||(e[10]=[f("How It Works",-1)])]),_:1},8,["to"])],2),a("div",q,[d(r(c),{class:"button button-primary button-small nav-action-button",to:{path:v.value,hash:"#portraits"},onClick:e[4]||(e[4]=n=>h(!1))},{default:u(()=>[...e[11]||(e[11]=[f("Choose Moment",-1)])]),_:1},8,["to"]),a("button",{id:"menu-button",class:"menu-button",type:"button","aria-label":m.value?"Close navigation":"Open navigation","aria-expanded":m.value?"true":"false","aria-controls":"nav-links",onClick:e[5]||(e[5]=n=>h(!m.value))},[a("span",Q,l(m.value?"×":"☰"),1)],8,K)])])],2),a("main",J,[a("div",X,[a("article",Z,[d(r(c),{class:"legal-back",to:v.value},{default:u(()=>[...e[12]||(e[12]=[f("← Back to Guardian",-1)])]),_:1},8,["to"]),a("p",ee,l(k.value.eyebrow),1),a("h1",ae,[f(l($.value),1),$.value?(t(),s("span",te)):w("",!0),a("span",se,l(F.value),1)]),k.value.updated?(t(),s("p",ne,"Last Updated: "+l(k.value.updated),1)):w("",!0),(t(!0),s(g,null,y(k.value.lede,n=>(t(),s("p",{key:n,class:"legal-lede"},l(n),1))),128)),a("div",oe,[(t(!0),s(g,null,y(D.value,n=>(t(),s("section",{key:n.anchor,class:"legal-section","aria-labelledby":n.anch
1or},[a("h2",{id:n.anchor,class:"legal-section-title"},[n.index?(t(),s("span",re,l(n.index),1)):w("",!0),a("span",null,l(n.title),1)],8,ie),a("div",de,[(t(!0),s(g,null,y(n.blocks,(o,_)=>(t(),s(g,{key:_},[o.kind==="text"?(t(),s("p",ue,l(o.text),1)):o.kind==="list"?(t(),s("ul",ce,[(t(!0),s(g,null,y(o.items,i=>(t(),s("li",{key:i},l(i),1))),128))])):o.kind==="defs"?(t(),s("dl",ve,[(t(!0),s(g,null,y(o.items,i=>(t(),s("div",{key:i.label,class:"legal-def"},[a("dt",null,l(i.label),1),a("dd",null,l(i.text),1)]))),128))])):o.kind==="email"?(t(),s("p",pe,[a("a",{href:`mailto:${o.text}`},l(o.text),9,fe)])):o.kind==="note"?(t(),s("p",ge,l(o.text),1)):o.kind==="signature"?(t(),s("div",me,[(t(!0),s(g,null,y(o.lines,(i,H)=>(t(),s("span",{key:i,class:"legal-signature-line"},[H?(t(),s("br",he)):w("",!0),i.includes("@")?(t(),s("a",{key:1,href:`mailto:${i}`},l(i),9,_e)):(t(),s(g,{key:2},[f(l(i),1)],64))]))),128))])):w("",!0)],64))),128))])],8,le))),128))])])])]),a("footer",ke,[a("div",ye,[a("div",be,[d(r(c),{class:"brand",to:v.value},{default:u(()=>[...e[13]||(e[13]=[a("span",{class:"brand-name"},"GUARDIAN",-1),a("span",{class:"brand-subtitle"},"Personal moments of protection, comfort, and connection.",-1)])]),_:1},8,["to"]),a("nav",we,[d(r(c),{to:v.value},{default:u(()=>[...e[14]||(e[14]=[f("Home",-1)])]),_:1},8,["to"]),d(r(c),{to:{path:v.value,hash:"#portraits"}},{default:u(()=>[...e[15]||(e[15]=[f("Guardian Moments",-1)])]),_:1},8,["to"])]),e[16]||(e[16]=z('<div class="social-links" aria-label="Social media" data-v-f88df654><a href="https://www.instagram.com/ai_guardiangods/" target="_blank" rel="noopener noreferrer" aria-label="Instagram" data-v-f88df654><i class="iconfont icon-instagram1" aria-hidden="true" data-v-f88df654></i></a><a href="https://www.tiktok.com/@archangelmichael.ai" target="_blank" rel="noopener noreferrer" aria-label="TikTok" data-v-f88df654><i class="iconfont icon-tiktok1" aria-hidden="true" data-v-f88df654></i></a><a href="https://www.facebook.com/HeartCosmosEnergy" target="_blank" rel="noopener noreferrer" aria-label="Facebook" data-v-f88df654><i class="iconfont icon-facebook1" aria-hidden="true" data-v-f88df654></i></a></div>',1))]),a("div",xe,[e[17]||(e[17]=a("span",{class:"footer-legal"},"© 2026 Guardian. All rights reserved.",-1)),a("nav",Ce,[(t(!0),s(g,null,y(r(W),(n,o)=>(t(),s(g,{key:n.slug},[o?(t(),s("span",Ee,"·")):w("",!0),d(r(c),{to:`/${L.value}/guardian-homepage/${n.slug}`,"aria-current":n.slug===k.value.slug?"page":void 0},{default:u(()=>[f(l(n.label),1)]),_:2},1032,["to","aria-current"])],64))),128))])])])])]))}}),Ge=T(Le,[["__scopeId","data-v-f88df654"]]);export{Ge as default};

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.