(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{2898:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(2265),o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=(e,t)=>{let n=(0,s.forwardRef)(({color:n="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:c,children:l,...d},u)=>(0,s.createElement)("svg",{ref:u,...o,width:a,height:a,stroke:n,strokeWidth:c?24*Number(r)/Number(a):r,className:`lucide lucide-${i(e)}`,...d},[...t.map(([e,t])=>(0,s.createElement)(e,t)),...(Array.isArray(l)?l:[l])||[]]));return n.displayName=`${e}`,n}},4897:function(e,t,n){Promise.resolve().then(n.bind(n,2380)),Promise.resolve().then(n.t.bind(n,82,23)),Promise.resolve().then(n.t.bind(n,6455,23)),Promise.resolve().then(n.t.bind(n,2853,23))},2380:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var c,a=n(4670),s=n(7437),i=n(2265),o=n(2898);let r=(0,o.Z)("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"}]]),l=(0,o.Z)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),d=(0,o.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),u=(0,o.Z)("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]);c=function(){var e,t,h=(0,a._)((0,i.useState)(!1),2),f=h[0],n=h[1],o=(0,a._)((0,i.useState)(!1),2),c=o[0],m=o[1];return(0,i.useEffect)(function(){localStorage.getItem("cookie-consent")||n(!0)},[]),t=function(){localStorage.setItem("cookie-consent","accepted"),n(!1)},e=function(){localStorage.setItem("cookie-consent","declined"),n(!1)},f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"fixed inset-0 bg-black/50 z-50",onClick:e}),(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-50 bg-background border-t border-border shadow-2xl",children:(0,s.jsxs)("div",{className:"container-custom py-6",children:[(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row items-start lg:items-center gap-4",children:[(0,s.jsxs)("div",{className:"flex items-start gap-4 flex-1",children:[(0,s.jsx)("div",{className:"w-10 h-10 bg-primary/10 rounded-lg flex items-center justify-center flex-shrink-0",children:(0,s.jsx)(r,{className:"text-primary",size:20})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-text-primary mb-2",children:"We use cookies to enhance your experience"}),(0,s.jsxs)("p",{className:"text-text-secondary text-sm leading-relaxed",children:["We use essential cookies to make our site work. We'd also like to use analytics cookies to help us improve our site by collecting information on how you use it.",(0,s.jsx)("a",{href:"/cookies",className:"text-primary hover:text-primary-light underline ml-1","aria-label":"Learn about our cookie policy and data usage",children:"View cookie policy"})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 flex-shrink-0",children:[(0,s.jsxs)("button",{onClick:function(){m(!c)},className:"flex items-center justify-center gap-2 px-4 py-2 text-text-secondary hover:text-text-primary transition-colors text-sm",children:[(0,s.jsx)(l,{size:16}),(0,s.jsx)("span",{children:"Settings"})]}),(0,s.jsx)("button",{onClick:e,className:"px-6 py-2 border border-border text-text-secondary hover:text-text-primary transition-colors rounded-lg text-sm",children:"Decline"}),(0,s.jsx)("button",{onClick:t,className:"px-6 py-2 bg-primary text-background font-medium rounded-lg hover:bg-primary-dark transition-colors text-sm",children:"Accept All"})]}),(0,s.jsx)("button",{onClick:e,className:"lg:hidden p-2 text-text-secondary hover:text-text-primary transition-colors","aria-label":"Decline cookies and close banner",title:"Decline cookies and close banner",type:"button",children:(0,s.jsx)(d,{size:20,"aria-hidden":"true"})})]}),c&&(0,s.jsxs)("div",{className:"mt-6 pt-6 border-t border-border",children:[(0,s.jsxs)("div",{className:"grid md:grid-cols-2 gap-6",children:[(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 bg-green-500/10 rounded-lg flex items-center justify-center",children:(0,s.jsx)(u,{className:"text-green-500",size:16})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"font-semibold text-text-primary",children:"Essential Cookies"}),(0,s.jsx)("p",{className:"text-sm text-text-secondary",children:"Always active - Required for the website to function properly"})]}),(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)("div",{className:"w-6 h-6 bg-green-500 rounded flex items-center justify-center",children:(0,s.jsx)("div",{className:"w-2 h-2 bg-white rounded-full"})})})]})}),(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 bg-primary/10 rounded-lg flex items-center justify-center",children:(0,s.jsx)(r,{className:"text-primary",size:16})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"font-semibold text-text-primary",children:"Analytics Cookies"}),(0,s.jsx)("p",{className:"text-sm text-text-secondary",children:"Help us understand how visitors interact with our website"})]}),(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsxs)("label",{className:"relative inline-flex items-center cursor-pointer",children:[(0,s.jsx)("input",{type:"checkbox",className:"sr-only peer",defaultChecked:!0}),(0,s.jsx)("div",{className:"w-11 h-6 bg-border peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"})]})})]})})]}),(0,s.jsxs)("div",{className:"mt-6 flex flex-col sm:flex-row gap-3",children:[(0,s.jsx)("button",{onClick:t,className:"px-6 py-2 bg-primary text-background font-medium rounded-lg hover:bg-primary-dark transition-colors",children:"Accept All Cookies"}),(0,s.jsx)("button",{onClick:e,className:"px-6 py-2 border border-border text-text-secondary hover:text-text-primary transition-colors rounded-lg",children:"Accept Essential Only"})]})]})]})})]}):null}},622:function(e,t,n){"use strict";var l=n(2265),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,r=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var s,i={},l=null,d=null;for(s in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,s)&&!c.hasOwnProperty(s)&&(i[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===i[s]&&(i[s]=t[s]);return{$$typeof:o,type:e,key:l,ref:d,props:i,_owner:r.current}}t.Fragment=i,t.jsx=s,t.jsxs=s},7437:function(e,t,n){"use strict";e.exports=n(622)}},function(e){e.O(0,[532,971,472,744],function(){return e(e.s=4897)}),_N_E=e.O()}])