PageSourceSearch

https://dorotgardens.com/102-0ce1e4db92ff6ce68fdc.js

js dorotgardens.com collected 2026-09-26 04:45:01 UTC 7,998 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_hello_world=self.webpackChunkgatsby_starter_hello_world||[]).push([[102],{102:function(e,t,a){a.r(t);var l=a(5299),n=a(2532);t.default=()=>{const{0:e,1:t}=(0,l.useState)(!1),{0:s,1:o}=(0,l.useState)({performance:!1,functional:!1,targeting:!1}),{0:c,1:r}=(0,l.useState)({strictly:!1,performance:!1,functional:!1,targeting:!1});(0,l.useEffect)((()=>{const e={performance:"true"===localStorage.getItem("performanceConsent"),functional:"true"===localStorage.getItem("functionalConsent"),targeting:"true"===localStorage.getItem("targetingConsent")};o(e)}),[]);const i=e=>{const t={...s,[e]:!s[e]};o(t),localStorage.setItem(`${e}Consent`,!s[e])},m=e=>{r((t=>({...t,[e]:!t[e]})))},f=()=>{o({performance:!1,functional:!1,targeting:!1}),localStorage.setItem("performanceConsent",!1),localStorage.setItem("functionalConsent",!1),localStorage.setItem("targetingConsent",!1),t(!1)};return l.default.createElement("div",{className:"print:hidden"},l.default.createElement("div",{className:(e?"z-40":"z-50")+" fixed bottom-0 flex items-end p-2.5 pb-3 justify-start"},l.default.createElement("span",{className:"cursor-pointer",onClick:()=>{e||t(!0)}},l.default.createElement(n.S,{src:"../images/cookies.webp",alt:"Cookies",__imageData:a(9356)}))),l.default.createElement("div",{className:(e?"fixed z-50 no-scroll":"hidden")+" inset-0 flex items-center justify-center"},l.default.createElement("div",{className:"bg-white cookies overflow-auto lg:h-5/6"},l.default.createElement("div",{className:"p-1 lg:p-3 w-full flex justify-end"},l.default.createElement("span",{onClick:f,className:"font-bold text-gray-700 text-_2432 cursor-pointer"},"x")),l.default.createElement("hr",null),l.default.createElement("div",{className:"bg-white pt-1 lg:pt-6 p-6 pb-0 min-w-xs lg:max-w-xl w-full"},l.default.createElement("h2",{className:"text-_1625 font-semibold mb-4 font-goldplay"},"Privacy Preference Centre"),l.default.createElement("div",{className:""},l.default.createElement("p",{className:"text-_1212 lg:text-_1620 mb-1 font-goldplay font-semibold text-gray-800"},"When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.")),l.default.createElement("div",{className:"mb-4"},l.default.createElement("button",{className:"text-blue-500 text-_1212 lg:text-_1625 mb-2"},"More information")),l.default.createElement("div",{className:"mb-4"},l.default.createElement("h2",{className:"text-sm lg:text-lg font-semibold mb-4 font-goldplay"},"Manage Consent Preferences")),l.default.createElement("div",{className:"mb-6"},l.default.createElement("div",{className:"cookies-always"},l.default.createElement("div",{className:"flex items-center p-2 justify-between"},l.default.createElement("div",{className:"flex gap-2 items-center",onClick:()=>m("strictly")},l.default.createElement("span",{className:"text-_1832 font-black text-gray-800 cursor-pointer"},c.strictly?"-":"+"),l.default.createElement("span",{className:"text-_1212 lg:text-_1625 font-semibold cursor-pointer"},"Strictly Necessary Cookies")),l.default.createElement("span",{className:"text-_1212 lg:text-_1625 font-semibold text-blue-500"},"Always Active")),c.strictly&&l.default.createElement("div",{className:"pl-4 pb-4 text-_1212 lg:text-_1418 text-gray-600"},"Description about Performance Cookies.")),l.default.createElement("div",{className:"cookies-list p-2"},l.default.createElement("div",{className:"flex items-center justify-between"},l.default.createElement("div",{className:"flex gap-2 items-center",onClick:()=>m("performance")},l.default.createElement("span",{className:"text-_1832 font-black text-gray-800 cursor-pointer"},c.performance?"-":"+"),l.default.createElement("span",{className:"text-_1212 lg:text-_1625 font-semibold cursor-pointer"},"Performance Cookies")),l.default.createElement("label",{className:"switch"},l.default.createElement("input",{type:"checkbox",checked:s.performance,onChange:()=>i("performance")}),l.default.createElement("span",{className:"slider round"}))),c.performance&&l.default.createElement("div",{className:"p-2 text-_1212 lg:text-_1418 text-gray-600"},"Description about Performance Cookies.")),l.default.createElement("div",{className:"cookies-list p-2"},l.default.createElement("div",{className:"flex items-center justify-between"},l.default.createElement("div",{className:"flex gap-2 items-center",onClick:()=>m("functional")},l.default.createElement("span",{className:"text-_1832 font-black text-gray-800 cursor-pointer"},c.functional?"-":"+"),l.default.createElement("span",{className:"text-_1212 lg:text-_1625 font-semibold cursor-pointer"},"Functional Cookies")),l.default.createElement("label",{className:"switch"},l.default.createElement("input",{type:"checkbox",checked:s.functional,onCh
1ange:()=>i("functional")}),l.default.createElement("span",{className:"slider round"}))),c.functional&&l.default.createElement("div",{className:"p-2 text-_1212 lg:text-_1418 text-gray-600"},"Description about Functional Cookies.")),l.default.createElement("div",{className:"cookies-list p-2"},l.default.createElement("div",{className:"flex items-center justify-between"},l.default.createElement("div",{className:"flex gap-2 items-center",onClick:()=>m("targeting")},l.default.createElement("span",{className:"text-_1832 font-black text-gray-800 cursor-pointer"},c.targeting?"-":"+"),l.default.createElement("span",{className:"text-_1212 lg:text-_1625 font-semibold cursor-pointer"},"Targeting Cookies")),l.default.createElement("label",{className:"switch"},l.default.createElement("input",{type:"checkbox",checked:s.targeting,onChange:()=>i("targeting")}),l.default.createElement("span",{className:"slider round"}))),c.targeting&&l.default.createElement("div",{className:"p-2 text-_1212 lg:text-_1418 text-gray-600"},"Description about Targeting Cookies.")))),l.default.createElement("hr",null),l.default.createElement("div",{className:"p-3"},l.default.createElement("div",{className:"flex justify-end space-x-4 font-goldplay"},l.default.createElement("button",{onClick:f,className:"bg-blue-500 text-_1212 lg:text-_1625 text-white font-semibold py-2 px-4"},"Reject All"),l.default.createElement("button",{onClick:()=>{localStorage.setItem("performanceConsent",s.performance),localStorage.setItem("functionalConsent",s.functional),localStorage.setItem("targetingConsent",s.targeting),console.log("Confirmed choices:",
1s),t(!1)},className:"bg-blue-500 text-_1212 lg:text-_1625 text-white font-semibold py-2 px-4"},"Confirm My Choices"))))))}},9356:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/webp;base64,UklGRn4BAABXRUJQVlA4WAoAAAAQAAAAEwAAEQAAQUxQSI4AAAABgGJt27Lo+3F3d1gCe6C72yqonjgkMmQO0Ym2BCfSXcZdPpvZQURMAPhfhdPMpWD7h7vHu03VTKLtf3whDxEGIx994e8jmMoX6d6MsF6IvqqIzBf5hgvVKO7NUIPiyQWVKY5qyPNONmYg0ZLoMw2Q3meSKQ/Fyr7hZg6AZWJbxEtTD0iV8Xq7lXOzwN8DVlA4IMoAAACwBACdASoUABIAPlEkj0WjoiEUBAA4BQS0gAIgz4oHsAc6SPAFuXeKgH/tiNwwAP7w31+2Fnwr4H6+KbfiNQ49iOX2J/aUwIF4GFS9lQo58VW0fUgs765hbgjn80QtxunEuHB98tEecPkodFaUGOXpxJbkcmffGRa6yitpM4zQfijhVioEIQ0z8uEPYk/5umiv+nt5vbMRUoOPbugl3X/7EVsegoNKBDRB1G/ujPZ3//8M5IDqw6dQ3t8Q2ExvrSa3pgSD5/4YQAAA"},"images":{"fallback":{"src":"/static/fbf5ba29c27c017b293d0faf63c883a2/ea41e/cookies.webp","srcSet":"/static/fbf5ba29c27c017b293d0faf63c883a2/ea41e/cookies.webp 67w","sizes":"(min-width: 67px) 67px, 100vw"},"sources":[]},"width":67,"height":60}')}}]);
2//# sourceMappingURL=102-0ce1e4db92ff6ce68fdc.js.map

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.