1import{D as _,r as g,u as t,o as i,c as n,b as e,t as l,l as w,w as m,m as b,e as k}from"./app-eHacUajv.js";import{u as C}from"./consent-DRHcYphK.js";import{u as j}from"./i18n-DiJuqdZO.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V=["aria-label"],D={class:"gl-cookie-card w-full max-w-lg rounded-t-2xl border border-[var(--gl-line)] bg-gradient-to-b from-[var(--gl-panel)] to-[var(--gl-bg-2)] p-6 shadow-[0_-10px_60px_rgba(216,182,79,0.15)] sm:rounded-2xl sm:p-7 sm:shadow-[0_20px_80px_rgba(0,0,0,0.6),0_0_40px_rgba(216,182,79,0.12)]"},U={class:"flex items-start gap-4"},N={class:"gl-kicker text-[0.7rem]"},z={class:"gl-heading mt-0.5 text-lg text-white"},A={class:"mt-4 text-sm leading-relaxed text-[var(--gl-text-2)]"},G=["href"],P={key:0,class:"mt-5 space-y-2.5"},T={class:"flex items-center justify-between gap-4 rounded-xl border border-[var(--gl-line-soft)] bg-[var(--gl-gold-wash)] px-4 py-3"},E={class:"text-sm font-semibold text-white"},I={class:"text-xs text-[var(--gl-text-3)]"},M={class:"text-xs font-semibold uppercase tracking-wide text-[var(--gl-gold)]"},S={class:"flex cursor-pointer items-center justify-between gap-4 rounded-xl border border-[var(--gl-line-soft)] px-4 py-3 transition hover:border-[var(--gl-line)]"},$={class:"text-sm font-semibold text-white"},q={class:"text-xs text-[var(--gl-text-3)]"},F={class:"flex cursor-pointer items-center justify-between gap-4 rounded-xl border border-[var(--gl-line-soft)] px-4 py-3 transition hover:border-[var(--gl-line)]"},H={class:"text-sm font-semibold text-white"},J={class:"text-xs text-[var(--gl-text-3)]"},K={class:"mt-5 grid grid-cols-2 gap-3"},L={class:"mt-3 text-center"},O={__name:"GlCookieBanner",setup(Q){const{state:r,acceptAll:x,rejectAll:u,save:v}=C(),s=j(),h=!!_().props.marketing?.cookieBanner,f=_().props.marketing?.cookiePolicyUrl??"/ochrana-osobnich-udaju",c=g(!1),d=g(r.analytics),p=g(r.marketing),y=()=>v({analytics:d.value,marketing:p.value});return(R,o)=>t(h)&&!t(r).decided?(i(),n("div",{key:0,class:"fixed inset-0 z-[70] flex items-end justify-center bg-black/60 p-0 backdrop-blur-[2px] sm:items-center sm:p-6",role:"dialog","aria-modal":"true","aria-label":t(s)("cookies_title")},[e("div",D,[e("div",U,[o[5]||(o[5]=e("div",{class:"grid h-12 w-12 shrink-0 place-items-center rounded-full border border-[var(--gl-gold-edge)] bg-[var(--gl-gold-wash)] text-2xl","aria-hidden":"true"},"ðª",-1)),e("div",null,[e("p",N,l(t(s)("gl_cookies_kicker")),1),e("h2",z,l(t(s)("gl_cookies_title")),1)])]),e("p",A,[w(l(t(s)("gl_cookies_text"))+" ",1),e("a",{href:t(f),target:"_blank",rel:"noopener",class:"whitespace-nowrap text-[var(--gl-gold)] underline underline-offset-2 transition hover:text-[var(--gl-gold-light)]"},l(t(s)("cookies_policy_link")),9,G)]),c.value?(i(),n("div",P,[e("div",T,[e("div",null,[e("p",E,l(t(s)("cookies_necessary")),1),e("p",I,l(t(s)("cookies_necessary_text")),1)]),e("span",M,l(t(s)("gl_cookies_always")),1)]),e("label",S,[e("div",null,[e("p",$,l(t(s)("cookies_analytics")),1),e("p",q,l(t(s)("cookies_analytics_text")),1)]),m(e("input",{"onUpdate:modelValue":o[0]||(o[0]=a=>d.value=a),type:"checkbox",class:"peer sr-only"},null,512),[[b,d.value]]),o[6]||(o[6]=e("span",{class:"gl-switch","aria-hidden":"true"},null,-1))]),e("label",F,[e("div",null,[e("p",H,l(t(s)("cookies_marketing")),1),e("p",J,l(t(s)("cookies_marketing_text")),1)]),m(e("input",{"onUpdate:modelValue":o[1]||(o[1]=a=>p.value=a),type:"checkbox",class:"peer sr-only"},null,512),[[b,p.value]]),o[7]||(o[7]=e("span",{class:"gl-switch","aria-hidden":"true"},null,-1))])])):k("",!0),e("div",K,[e("button",{type:"button",class:"gl-btn gl-btn-gold-solid px-5 py-3 text-sm uppercase tracking-wide",onClick:o[2]||(o[2]=(...a)=>t(x)&&t(x)(...a))},l(t(s)("cookies_accept_all")),1),e("button",{type:"button",class:"gl-btn gl-btn-gold px-5 py-3 text-sm uppercase tracking-wide",onClick:o[3]||(o[3]=(...a)=>t(u)&&t(u)(...a))},l(t(s)("cookies_reject")),1)]),e("div",L,[c.value?(i(),n("button",{key:0,type:"button",class:"text-sm font-medium text-[var(--gl-text-2)] underline underline-offset-4 transition hover:text-white",onClick:y},l(t(s)("gl_cookies_save")),1)):(i(),n("button",{key:1,type:"button",class:"text-sm font-medium text-[var(--gl-text-3)] underline underline-offset-4 transition hover:text-white",onClick:o[4]||(o[4]=a=>c.value=!0)},l(t(s)("gl_cookies_customize")),1))])])],8,V)):k("",!0)}},ee=B(O,[["__scopeId","data-v-cc51ac5d"]]);export{ee 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.