PageSourceSearch

https://www.zeekrlife.com/global/_nuxt/ifM4jMGU.js

js zeekrlife.com collected 2026-10-09 23:03:00 UTC 2,769 bytes, 1 lines download raw bytes

1import j from"./CkGwtbmo.js";import E from"./BQ1HFAUe.js";import{d as F,aw as M,$ as P,j as T,ax as V,y as D,ag as G,a0 as x,o as g,b as w,A as m,k as o,I as v,e as d,l as k,S as N,c as I,F as J,B as Q,ay as U,az as q,m as H,Q as K,a4 as W,O as X,V as Y}from"./iSnk-KOH.js";const Z={class:"title"},$={class:"logo"},ee={class:"text body5"},te={class:"settings-wrapper"},se={class:"category-title"},oe={class:"title body5"},ae={class:"category-content body6"},de=F({__name:"Customise",emits:["close"],setup(ne,{expose:S,emit:R}){const{$ga:p}=M(),b=P(),i=T(()=>{var t;return(t=b==null?void 0:b.data)==null?void 0:t.cookiesSettings}),_=V("$cookies"),z=R,r=D(!1),B=t=>{var u;const e=(u=i.value)==null?void 0:u.categories.map((a,f)=>{const{id:s,checked:l}=a;let n=null;return a.disabled?n=l:n=t??l,{id:s,accepted:n}}),{accepted:c}=e.find(a=>a.id==="analytics_cookies");return c?p==null||p.install():p==null||p.uninstall(),JSON.stringify(e)},L=(t,e)=>{i.value.categories[t].checked=e},h=t=>{_==null||_.set("CookiesPrompt",B(t),"180d"),r.value=!1,z("close")};G(r,t=>{var c;const e=_==null?void 0:_.get("CookiesPrompt");t&&e&&((c=i.value)==null||c.categories.forEach(u=>{const a=(e==null?void 0:e.find(f=>u.id===f.id))??{};u.checked=a==null?void 0:a.accepted}))});const A=({record:t,children:e,transformedMeta:c})=>{switch(t.__typename){case"NavigationRecord":return H(W,{class:"link",to:`${K(t)}`},e);default:return null}},C=[X(Y,({adapter:{renderNode:t},children:e,key:c})=>t("p",{key:c,class:"mb-12"},[...e]))];return S({open:()=>{r.value=!0},handleSelect:h}),(t,e)=>{const c=j,u=x("z-switch"),a=E,f=x("z-modal");return g(),w(f,{visible:d(r),"onUpdate:visible":e[4]||(e[4]=s=>q(r)?r.value=s:null),closable:!1,destroyOnClose:!0,maskClosable:!1,class:"customise"},{title:m(()=>{var s;return[o("div",Z,v((s=d(i))==null?void 0:s.title),1),o("div",$,[k(c,{fill:"black"})]),o("div",{class:"close",onClick:e[0]||(e[0]=l=>r.value=!1)})]}),footer:m(()=>{var s,l;return[o("button",{class:"button dark",onClick:e[2]||(e[2]=n=>h(!0))},v((s=d(i))==null?void 0:s.accept),1),o("button",{class:"button",onClick:e[3]||(e[3]=n=>h())},v((l=d(i))==null?void 0:l.confirm),1)]}),default:m(()=>{var s,l;return[o("div",ee,[k(d(N),{data:(s=d(i))==null?void 0:s.content,customNodeRules:C,renderLinkToRecord:A},null,8,["data"])]),o("div",te,[(g(!0),I(J,null,Q((l=d(i))==null?void 0:l.categories,(n,y)=>(g(),w(a,{key:y},{header:m(()=>[o("div",se,[o("div",oe,v(n.name),1),o("div",{class:"switch",onClick:e[1]||(e[1]=U(()=>{},["stop"]))},[k(u,{checked:n.checked,disabled:n.disabled,onChange:O=>L(y,O)},null,8,["checked","disabled","onChange"])])])]),default:m(()=>[o("div",ae,[k(d(N),{data:n.content,customNodeRules:C},null,8,["data"])])]),_:2},1024))),128))])]}),_:1},8,["visible"])}}});export{de as _};

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.