PageSourceSearch

https://rainfactory.ai/assets/CookieSettings-CwZy0-dk.js

js rainfactory.ai collected 2026-10-05 14:39:07 UTC 4,867 bytes, 2 lines download raw bytes

1import{a as m,j as e}from"./ui-vendor-Pu0cN9S7.js";import{C as x,r as f,s as k,t as j,b as p,J as o,a9 as i,aa as c,d as l,ab as y,ac as g}from"./index-DVqYXXq7.js";function v(){const[s,r]=m.useState({necessary:!0,functional:!0,analytics:!0,marketing:!1}),t=n=>{n!=="necessary"&&r(d=>({...d,[n]:!d[n]}))},a=()=>{y({title:"Cookie preferences saved",description:"Your cookie preferences have been updated.",action:e.jsx(g,{altText:"Dismiss",children:"Dismiss"})})},h=()=>{r({necessary:!0,functional:!0,analytics:!0,marketing:!0}),setTimeout(()=>{a()},100)},u=()=>{r({necessary:!0,functional:!1,analytics:!1,marketing:!1}),setTimeout(()=>{a()},100)};return e.jsxs("div",{className:"container mx-auto px-4 py-16 max-w-3xl",children:[e.jsx("h1",{className:"text-4xl font-bold mb-8",children:"Cookie Settings"}),e.jsxs(x,{className:"mb-8",children:[e.jsxs(f,{children:[e.jsx(k,{children:"Manage Cookie Preferences"}),e.jsx(j,{children:"We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic. Please select which types of cookies you are willing to allow while browsing our site."})]}),e.jsxs(p,{children:[e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"necessary",className:"text-base font-medium",children:"Necessary Cookies"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"These cookies are essential for the website to function properly and cannot be disabled."})]}),e.jsx(i,{id:"necessary",checked:s.necessary,onCheckedChange:()=>t("necessary"),disabled:!0})]}),e.jsx(c,{}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"functional",className:"text-base font-medium",children:"Functional Cookies"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"These cookies enable personalized features and functionality, such as remembering your preferences."})]}),e.jsx(i,{id:"functional",checked:s.functional,onCheckedChange:()=>t("functional")})]}),e.jsx(c,{}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"analytics",className:"text-base font-medium",children:"Analytics Cookies"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"These cookies collect information about how you use our website, helping us improve its performance."})]}),e.jsx(i,{id:"analytics",checked:s.analytics,onCheckedChange:()=>t("analytics")})]}),e.jsx(c,{}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"marketing",className:"text-base font-medium",children:"Marketing Cookies"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"These cookies help us deliver more relevant advertisements and track their effectiveness."})]}),e.jsx(i,{id:"marketing",checked:s.marketing,onCheckedChange:()=>t("marketing")})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-4 mt-8",children:[e.jsx(l,{variant:"default",onClick:a,children:"Save Preferences"}),e.jsx(l,{variant:"outline",onClick:h,children:"Accept All"}),e.jsx(l,{variant:"outline",onClick:u,children:"Reject Non-Essential"})]})]})]}),e.jsxs("div",{className:"prose prose-lg dark:prose-invert max-w-none",children:[e.jsx("h2",{children:"Cookie Policy"}),e.jsx("p",{children:"This Cookie Policy explains how Rainfactory AI uses cookies and similar technologies to recognize you when you visit our website. It explains what these technologies are and why we use them, as well as your rights to control our use of them."}),e.jsx("h3",{children:"What are cookies?"}),e.jsx("p",{children:"Cookies are small data files that are placed on your computer or mobile device when you visit a website. Cookies are widely used by website owners in order to make their websites work, or to work more efficiently, as well as to provide reporting information."}),e.jsx("h3",{children:"Why do we use cookies?"}),e.jsx("p",{children:'We use first party and third party cookies for several reasons. Some cookies are required for technical reasons in order for our Websites to operate, and we refer to these as "essential" or "necessary" cookies. Other 
1cookies also enable us to track and target the interests of our users to enhance the experience on our Websites. Third parties serve cookies through our Websites for advertising, analytics and other purposes.'}),e.jsx("h3",{children:"How can you control cookies?"}),e.jsx("p",{children:"You have the right to decide whether to accept or reject cookies. You can exercise your cookie rights by setting your preferences in the Cookie Consent Tool we provide on our website, or by using the controls above."})]})]})}export{v as default};
2//# sourceMappingURL=CookieSettings-CwZy0-dk.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.