PageSourceSearch

https://polymarketscan.org/assets/CookiePolicyPage-B2BI1wHP.js

js polymarketscan.org collected 2026-10-04 13:19:26 UTC 8,511 bytes, 1 lines download raw bytes

1import{x as f,y as x,a as g,B as i,j as e,H as p}from"./index-EOagY1xL.js";import{u as w}from"./SEO-CAUtX4mQ.js";import{L as k}from"./Layout-CbGqocRH.js";function A(){const{isAuthenticated:n,walletAddress:d,getAuthToken:u,isConnecting:h}=f();return x({queryKey:["price-alerts",n?d:null],enabled:!h,refetchInterval:6e4,refetchIntervalInBackground:!0,refetchOnWindowFocus:!0,queryFn:async()=>{var l;const{data:t}=await i.auth.getUser(),a=((l=t.user)==null?void 0:l.id)??null;let s=[];if(a){const{data:c,error:o}=await i.from("price_alerts").select("*").eq("user_id",a).order("created_at",{ascending:!1});if(o)throw o;s=c||[]}if(n&&!d){if(h)throw new Error("Wallet not ready");return s}let r=[];if(n&&d){let c=await u();if(c||(await new Promise(o=>setTimeout(o,250)),c=await u()),c){const{data:o,error:m}=await i.functions.invoke("price-alerts-wallet",{headers:{Authorization:`Bearer ${c}`},body:{action:"list"}});if(m)throw m;r=(o==null?void 0:o.alerts)||[]}else if(!a)throw new Error("Auth token not ready")}return[...s,...r].filter((c,o,m)=>o===m.findIndex(y=>y.id===c.id)).sort((c,o)=>new Date(o.created_at).getTime()-new Date(c.created_at).getTime())},retry:(t,a)=>{const s=a instanceof Error?a.message:String(a);return s.includes("Wallet not ready")||s.includes("Auth token not ready")?t<6:t<1},retryDelay:t=>Math.min(250*2**t,2e3)})}function N(){const n=g(),{isAuthenticated:d,walletAddress:u,getAuthToken:h}=f();return w({mutationFn:async t=>{const{data:a}=await i.auth.getUser(),s={market_id:t.market_id||null,market_slug:t.market_slug||null,market_question:t.market_question||null,outcome:t.outcome,token_id:String(t.token_id||"").trim(),above_threshold:t.above_threshold??null,below_threshold:t.below_threshold??null,notify_in_app:t.notify_in_app,notify_x:t.notify_x,x_handle:t.notify_x&&(t.x_handle||"").trim().replace(/^@/,"")||null,notify_sms:t.notify_sms,sms_to:t.notify_sms&&(t.sms_to||"").trim()||null,notify_telegram:t.notify_telegram||!1,active:!0};if(a.user){const{error:r}=await i.from("price_alerts").insert({user_id:a.user.id,wallet_address:null,...s});if(r)throw r;return}if(d&&u){const r=await h();if(!r)throw new Error("Not authenticated");const{error:l}=await i.functions.invoke("price-alerts-wallet",{headers:{Authorization:`Bearer ${r}`},body:{action:"create",payload:s}});if(l)throw l;return}throw new Error("Not authenticated")},onSuccess:async()=>{await n.invalidateQueries({queryKey:["price-alerts"]}),await n.refetchQueries({queryKey:["price-alerts"]})}})}function P(){const n=g(),{isAuthenticated:d,walletAddress:u,getAuthToken:h}=f();return w({mutationFn:async({id:t,active:a})=>{const{data:s}=await i.auth.getUser();if(s.user){const r=a?{active:!0,triggered_at:null,last_state:null}:{active:!1},{error:l}=await i.from("price_alerts").update(r).eq("id",t);if(l)throw l;return}if(d&&u){const r=await h();if(!r)throw new Error("Not authenticated");const{error:l}=await i.functions.invoke("price-alerts-wallet",{headers:{Authorization:`Bearer ${r}`},body:{action:"toggle",id:t,active:a}});if(l)throw l;return}throw new Error("Not authenticated")},onSuccess:()=>{n.invalidateQueries({queryKey:["price-alerts"]}),n.refetchQueries({queryKey:["price-alerts"]})}})}function T(){const n=g(),{isAuthenticated:d,walletAddress:u,getAuthToken:h}=f();return w({mutationFn:async t=>{const{data:a}=await i.auth.getUser();if(a.user){const{error:s}=await i.from("price_alerts").delete().eq("id",t);if(s)throw s;return}if(d&&u){const s=await h();if(!s)throw new Error("Not authenticated");const{error:r}=await i.functions.invoke("price-alerts-wallet",{headers:{Authorization:`Bearer ${s}`},body:{action:"delete",id:t}});if(r)throw r;return}throw new Error("Not authenticated")},onSuccess:()=>{n.invalidateQueries({queryKey:["price-alerts"]})}})}const j=()=>e.jsxs(k,{children:[e.jsxs(p,{children:[e.jsx("title",{children:"Cookie Policy | PolymarketScan"}),e.jsx("meta",{name:"description",content:"Cookie Policy for PolymarketScan - which cookies, local storage and analytics tags the site uses, and how to control them."})]}),e.jsxs("div",{className:"container mx-auto px-4 py-12 max-w-4xl",children:[e.jsx("h1",{className:"text-3xl font-bold mb-8",children:"Cookie Policy"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Last updated: October 1, 2026"}
1),e.jsxs("div",{className:"space-y-8 text-foreground/90",children:[e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"1. What These Technologies Are"}),e.jsxs("p",{children:["Cookies are small text files a website stores on your device. Local storage and session storage do a similar job inside your browser. Tags and pixels are small scripts from analytics and advertising providers that report how a page is used. This policy explains which of these polymarketscan.org uses. Our"," ",e.jsx("a",{href:"/privacy",className:"underline underline-offset-2 hover:text-foreground",children:"Privacy Policy"})," ","explains what data they collect and who receives it."]})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"2. What We Use"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium mb-1",children:"Essential and functional storage"}),e.jsx("p",{className:"text-muted-foreground",children:"Local and session storage for your sign-in and wallet connection state, theme and other preferences, co-pilot conversation IDs, referral codes and orders waiting for confirmation. Privy, our sign-in provider, uses cookies or local storage to keep you signed in. The site needs these to work."})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium mb-1",children:"Our own analytics"}),e.jsx("p",{className:"text-muted-foreground",children:"A random session identifier in local storage (a new one starts after 30 minutes of inactivity), which lets us count page views, sessions and time on site."})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium mb-1",children:"Third-party analytics and advertising"}),e.jsx("p",{className:"text-muted-foreground mb-2",children:"A few seconds after a page loads, or on your first click, scroll or keypress, we load tags that set the
1ir own cookies:"}),e.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-muted-foreground",children:[e.jsx("li",{children:"Google Analytics 4 and Google Tag Manager, to measure how the site is used."}),e.jsx("li",{children:"Google Ads conversion tracking, to measure our ad campaigns."}),e.jsx("li",{children:"Microsoft Clarity, for heatmaps and session replays that show how pages are used."}),e.jsx("li",{children:"Reddit Pixel, to measure our Reddit ad campaigns."})]}),e.jsx("p",{className:"text-muted-foreground mt-2",children:"These tags are not loaded on development servers or in automated browsers. Each provider handles the data under its own privacy policy."})]})]})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"3. Managing Cookies"}),e.jsx("p",{className:"mb-3",children:"You can control cookies and similar technologies yourself:"}),e.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[e.jsx("li",{children:"Block or delete cookies and site data in your browser settings."}),e.jsx("li",{children:"Use private browsing, built-in tracking protection or a tracker-blocking extension; the site keeps working without the analytics and advertising tags."}),e.jsx("li",{children:"Install Google's Analytics opt-out browser add-on (tools.google.com/dlpage/gaoptout)."}),e.jsx("li",{children:"Adjust ad personalization in your Google and Reddit account settings."})]}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:"Blocking essential storage c
1an sign you out or reset your preferences."})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"4. Updates to This Policy"}),e.jsx("p",{children:"We update this Cookie Policy when the technologies we use change, and change the date at the top when we do."})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"5. Contact Us"}),e.jsxs("p",{children:["Questions about our use of cookies: email [email protected] or use our"," ",e.jsx("a",{href:"/contact",className:"underline underline-offset-2 hover:text-foreground",children:"contact page"}),"."]})]})]})]})]}),q=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));export{q as C,A as a,N as b,P as c,T as u};

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.