1import{u as _,_ as x}from"./BS2Gu9TI.js";import{u as g,d as f,y as h,v as y,P as k,J as i,Q as l,I as C,a8 as v,D as o,U as t,X as d,G as b,V as n,T as w}from"./CDzwh3o2.js";import{_ as N}from"./DlAUqK2U.js";const I={key:0,class:"fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-gray-200 shadow-lg"},B={class:"max-w-7xl mx-auto px-4 py-4 sm:px-6 lg:px-8"},S={class:"flex flex-col sm:flex-row items-center justify-between gap-4"},T={class:"text-sm text-gray-600 text-center sm:text-left"},V={class:"flex gap-3 shrink-0"},c="callfay_cookie_consent",E=g({__name:"CookieConsent",setup(M){const{locale:r}=_(),s=f(!1),a=h(()=>{const e=r.value==="zh-CN"||r.value==="zh-TW";return{message:e?"æä»¬ä½¿ç¨ Cookie æ¥æåæ¨çæµè§ä½éªãç»§ç»ä½¿ç¨æ¬ç½ç«å³è¡¨ç¤ºæ¨åææä»¬ç Cookie æ¿çã":"We use cookies to enhance your browsing experience. By continuing to use this site, you agree to our cookie policy.",accept:e?"æ¥å":"Accept",decline:e?"æç»":"Decline",learnMore:e?"äºè§£æ´å¤":"Learn More"}});y(()=>{localStorage.getItem(c)||(s.value=!0)});const m=()=>{localStorage.setItem(c,"accepted"),s.value=!1},u=()=>{localStorage.setItem(c,"declined"),s.value=!1};return(e,O)=>{const p=x;return i(),k(w,{name:"slide-up"},{default:l(()=>[o(s)?(i(),C("div",I,[t("div",B,[t("div",S,[t("p",T,[d(n(o(a).message)+" ",1),b(p,{to:"/privacy",class:"text-primary hover:underline font-medium"},{default:l(()=>[d(n(o(a).learnMore),1)]),_:1})]),t("div",V,[t("button",{onClick:u,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-lg hover:bg-gray-200 transition-colors"},n(o(a).decline),1),t("button",{onClick:m,class:"px-4 py-2 text-sm font-medium text-white bg-primary rounded-lg hover:bg-primary/90 transition-colors"},n(o(a).accept),1)])])])])):v("",!0)]),_:1})}}}),K=Object.assign(N(E,[["__scopeId","data-v-2a79a50a"]]),{__name:"CookieConsent"});export{K 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.