PageSourceSearch

https://autori.sokoj.rs/assets/PrivacyPolicyView-DNzMvrnn.js

js sokoj.rs collected 2026-09-24 18:50:11 UTC 2,838 bytes, 1 lines download raw bytes

1import{e as B,f as V,aL as S,v as A,w as N,c as D,g as x,D as F,o as i,h as e,l as c,a as s,p as j,j as E,t as o,n as t,i as d,F as y,G as h,k as I,bM as L,b4 as T,b5 as U,r as p}from"./index-WcvvX9BQ.js";import{_ as z}from"./AuthPageLayout-BBLXKG1Q.js";import{_ as G}from"./Card-mR_HFg6Z.js";import{_ as M}from"./PageHeading-YkTbTk3i.js";import"./HelpButton-DqtOP_HV.js";const O={class:"w-full max-w-3xl flex flex-col items-center gap-3"},R={class:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between"},q={class:"flex flex-col gap-8"},H={class:"flex flex-col gap-1"},ee={__name:"PrivacyPolicyView",setup(J){const _=F(),{t:a}=B(),{theme:m}=V(),r=S(),f=A(r.isAllowed("functional"));N(()=>r.consent,()=>{f.value=r.isAllowed("functional")},{deep:!0});const b=l=>{f.value=!!l,r.save({functional:!!l})},k=()=>{if(window.history.length>1){_.back();return}_.push({name:"login"})},w=["intro","collectedData","lawfulBasis","purposes","access","protection","retention","communication","cookies"],P=p(()=>w.map(l=>({id:l,title:a(`privacyPolicy.sections.${l}.title`),paragraphs:a(`privacyPolicy.sections.${l}.paragraphs`)}))),g=p(()=>m.value==="dark"?"text-white":"text-slate-900"),n=p(()=>m.value==="dark"?"text-blue-100/90":"text-slate-700"),v=p(()=>m.value==="dark"?"border-white/10":"border-slate-200");return(l,K)=>(i(),D(z,null,{default:x(()=>[e("div",O,[c(G,{class:"w-full max-h-[85vh] overflow-y-auto p-6 sm:p-8"},{default:x(()=>[e("header",R,[c(M,{title:s(a)("privacyPolicy.title"),subtitle:s(a)("privacyPolicy.subtitle")},null,8,["title","subtitle"]),c(s(j),{type:"button",unstyled:"",class:"shrink-0",onClick:k},{default:x(()=>[E(o(s(a)("privacyPolicy.back")),1)]),_:1})]),e("div",{class:t(["border-t pt-6",v.value])},[e("p",{class:t(["text-sm leading-relaxed",n.value])},o(s(a)("privacyPolicy.lead")),3)],2),e("article",q,[(i(!0),d(y,null,h(P.value,u=>(i(),d("section",{key:u.id,class:"flex flex-col gap-3"},[e("h2",{class:t(["text-lg font-semibold leading-snug",g.value])},o(u.title),3),Array.isArray(u.paragraphs)?(i(!0),d(y,{key:0},h(u.paragraphs,(C,$)=>(i(),d("p",{key:$,class:t(["text-sm leading-relaxed",n.value])},o(C),3))),128)):I("",!0)]))),128))]),e("section",{id:"cookie-settings",class:t(["border-t pt-6 flex flex-col gap-4",v.value])},[e("header",H,[e("h2",{class:t(["text-lg font-semibold leading-snug",g.value])},o(s(a)("privacyPolicy.cookieSettings.title")),3),e("p",{class:t(["text-sm leading-relaxed",n.value])},o(s(a)("privacyPolicy.cookieSettings.description")),3)]),c(L,{"model-value":f.value,"onUpdate:modelValue":b},null,8,["model-value"])],2),e("footer",{class:t(["border-t pt-4",v.value])},[e("p",{class:t(["text-xs leading-relaxed text-center",n.value])},o(s(a)("privacyPolicy.adoptedOn")),3)],2),c(T,{variant:"login",compact:""})]),_:1}),c(U,{variant:"login"})])]),_:1}))}};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.