1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6963],{40980:(e,t,s)=>{s.d(t,{cn:()=>i});var r=s(29722),a=s(622);function i(...e){return(0,a.QP)((0,r.$)(e))}},56963:(e,t,s)=>{s.r(t),s.d(t,{CookieConsent:()=>p});var r=s(95155),a=s(12115),i=s(98500),n=s.n(i),l=s(40980);let o=(0,s(78340).A)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);var c=s(33210),d=s(66088),m=s(94514),x=s(80642),h=s(37051);let y=[{id:"necessary",name:"Essential",description:"Required for core functionality",required:!0},{id:"analytics",name:"Analytics",description:"Help us improve our website",required:!1},{id:"marketing",name:"Marketing",description:"Personalized advertisements",required:!1}];function p(){let[e,t]=(0,a.useState)(!1),[s,i]=(0,a.useState)(!1),[p,u]=(0,a.useState)({necessary:!0,analytics:!1,marketing:!1});(0,a.useEffect)(()=>{if(!localStorage.getItem("cookie-consent")){let e=setTimeout(()=>t(!0),1500);return()=>clearTimeout(e)}},[]);let g=(e,s)=>{let r={type:e,preferences:s||p,timestamp:new Date().toISOString()};localStorage.setItem("cookie-consent",JSON.stringify(r)),t(!1)},f=()=>{let e={necessary:!0,analytics:!1,marketing:!1};u(e),g("necessary",e)};return(0,r.jsx)(x.N,{children:e&&(0,r.jsx)(h.P.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.95},transition:{duration:.3,ease:"easeOut"},className:"fixed bottom-4 left-4 right-4 sm:left-auto sm:right-4 sm:max-w-[380px] z-[9999]",children:(0,r.jsxs)("div",{className:"bg-white rounded-2xl shadow-[0_8px_40px_rgba(0,0,0,0.12)] border border-gray-100 overflow-hidden",children:[(0,r.jsxs)("div",{className:"px-5 pt-5 pb-4",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-primary to-primary/80 flex items-center justify-center shadow-sm",children:(0,r.jsx)(o,{className:"w-5 h-5 text-white"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"font-semibold text-gray-900 text-[15px]",children:"Cookie Settings"}),(0,r.jsx)("p",{className:"text-xs text-gray-500",children:"Manage your preferences"})]})]}),(0,r.jsx)("button",{onClick:f,className:"p-1.5 hover:bg-gray-100 rounded-lg transition-colors","aria-label":"Close",children:(0,r.jsx)(c.A,{className:"w-4 h-4 text-gray-400"})})]}),(0,r.jsxs)("p",{className:"text-[13px] text-gray-600 mt-4 leading-relaxed",children:["We use cookies to enhance your experience."," ",(0,r.jsx)(n(),{href:"/privacy-policy",className:"text-primary hover:underline font-medium",children:"Learn more"})]}),(0,r.jsxs)("button",{onClick:()=>i(!s),className:"flex items-center gap-1.5 mt-3 text-xs font-medium text-gray-500 hover:text-gray-700 transition-colors",children:[(0,r.jsx)(d.A,{className:(0,l.cn)("w-3.5 h-3.5 transition-transform",s&&"rotate-180")}),s?"Hide options":"Customize"]}),(0,r.jsx)(x.N,{children:s&&(0,r.jsx)(h.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:(0,r.jsx)("div",{className:"mt-4 space-y-2",children:y.map(e=>(0,r.jsx)("button",{onClick:()=>{var t;"necessary"!==(t=e.id)&&u(e=>({...e,[t]:!e[t]}))},disabled:e.required,className:(0,l.cn)("w-full flex items-center justify-between p-3 rounded-xl border transition-all text-left",p[e.id]?"bg-primary/5 border-primary/20":"bg-gray-50 border-gray-100 hover:border-gray-200",e.required&&"cursor-default"),children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:(0,l.cn)("w-5 h-5 rounded-md flex items-center justify-center transition-colors",p[e.id]?"bg-primary":"bg-gray-200"),children:p[e.id]&&(0,r.jsx)(m.A,{className:"w-3 h-3 text-white"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-900",children:e.name}),e.required&&(0,r.jsx)("span",{className:"ml-1.5 text-[10px] text-gray-400",children:"(Required)"})]})]})},e.id))})})})]}),(0,r.jsx)("div",{className:"px-5 pb-5 pt-2 flex gap-2",children:s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{onClick:f,className:"flex-1 px-4 py-2.5 text-sm font-medium text-gray-600 hover:text-gray-800 bg-gray-100 hover:bg-gray-200 rounded-xl transition-colors",children:"Decline"}),(0,r.jsx)("button",{onClick:()=>{g("selection",p)},className:"flex-1 px-4 py-2.5 text-sm font-semibold text-white bg-primary hover:bg-primary/90 rounded-xl transition-colors shadow-sm",children:"Save"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{onClick:f,className:"flex-1 px-4 py-2.5 text-sm font-medium text-gray-600 hover:text-gray-800 bg-gray-100 hover:bg-gray-200 rounded-xl transition-colors",children:"Essential only"}),(0,r.jsx)("button",{onClick:()=>{let e={necessary:!0,analytics:!0,marketing:!0};u(e),g("all",e)},className:"flex-1 px-4 py-2.5 text-sm font-semibold text-white bg-primary hover:bg-primary/90 rounded-xl transition-colors shadow-sm",children:"Accept all"})]})})]})})})}},66088:(e,t,s)=>{s.d(t,{A:()=>r});let r=(0,s(78340).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},94514:(e,t,s)=>{s.d(t,{A:()=>r});let r=(0,s(78340).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])}}]);
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.