1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="00bbd158-f762-4b2d-9873-f958b94d8e19",e._sentryDebugIdIdentifier="sentry-dbid-00bbd158-f762-4b2d-9873-f958b94d8e19")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{30409:function(e,t,r){Promise.resolve().then(r.bind(r,14888)),Promise.resolve().then(r.bind(r,98087)),Promise.resolve().then(r.bind(r,47239)),Promise.resolve().then(r.t.bind(r,88003,23)),Promise.resolve().then(r.t.bind(r,90408,23)),Promise.resolve().then(r.bind(r,86753)),Promise.resolve().then(r.bind(r,78677)),Promise.resolve().then(r.bind(r,39554)),Promise.resolve().then(r.bind(r,5958)),Promise.resolve().then(r.bind(r,73310))},99376:function(e,t,r){"use strict";r.r(t);var n=r(35475),i={};for(var o in n)"default"!==o&&(i[o]=(function(e){return n[e]}).bind(0,o));r.d(t,i)},86753:function(e,t,r){"use strict";var n=r(57437),i=r(13786),o=r(99376),a=r(2265),c=r(80605),l=r(84539);t.default=e=>{let{gaId:t}=e,[r,u]=(0,a.useState)(!1),s=(0,o.usePathname)();(0,o.useSearchParams)();let{data:f,status:d}=(0,c.useSession)();(0,a.useEffect)(()=>{let e=()=>{window.gtag?(u(!0),console.log("Google Analytics loaded")):setTimeout(e,100)};e()},[]),(0,a.useEffect)(()=>{r&&window.gtag&&window.gtag("config",t,{page_path:s})},[s,r,t]),(0,a.useEffect)(()=>{r&&window.gtag&&"loading"!==d&&(null==f?void 0:f.user)&&"authenticated"===d&&g()},[f,d,r,t]);let g=()=>{try{(0,l.j7)()&&(0,l.uv)(t)}catch(e){console.error("Error restoring traffic source:",e)}};return t?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.GoogleAnalytics,{gaId:t})}):null}},78677:function(e,t,r){"use strict";var n=r(2265),i=r(99376);t.default=()=>{let e=(0,i.usePathname)(),t=(0,i.useSearchParams)(),r=(0,n.useRef)(null),o=(0,n.useRef)(!0);return(0,n.useEffect)(()=>{let n=o.current;if(o.current=!1,!n&&e===r.current)return;let i=n?null:r.current;(async()=>{try{let r=(null==t?void 0:t.toString())?"?".concat(t.toString()):"";await fetch("/api/analytics/pageview",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e,search:r,referrer:document.referrer||null,previousPath:i})})}catch(e){console.error("PageView tracking error:",e)}})(),r.current=e},[e,t]),null}},39554:function(e,t,r){"use strict";r.d(t,{default:function(){return s}});var n=r(2265),i=r(80605),o=r(84539);let a=e=>{if("undefined"==typeof document)return null;let t="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===t.length){var r;return(null===(r=t.pop())||void 0===r?void 0:r.split(";").shift())||null}return null},c=e=>{"undefined"!=typeof document&&(document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;"))},l=()=>{try{let e={utm_source:a("traffic_utm_source"),utm_medium:a("traffic_utm_medium"),utm_campaign:a("traffic_utm_campaign"),utm_content:a("traffic_utm_content"),utm_term:a("traffic_utm_term"),referrer:a("traffic_referrer"),landing_page:a("traffic_landing_page"),saved_at:a("traffic_saved_at")};if(Object.values(e).some(e=>null!==e)&&e.saved_at){let t=parseInt(e.saved_at);if(Date.now()-t<864e5)return Object.entries(e).forEach(e=>{let[t,r]=e;if(r){let e=t.replace("utm_","original_traffic_");"referrer"===t?localStorage.setItem("original_referrer",r):"landing_page"===t?localStorage.setItem("original_landing_page",r):"saved_at"===t?localStorage.setItem("traffic_saved_at",r):localStorage.setItem(e,r)}}),console.log("Traffic data restored from cookies to localStorage:",e),u(),e;u()}return null}catch(e){return console.error("Error restoring traffic from cookies:",e),null}},u=()=>{["traffic_utm_source","traffic_utm_medium","traffic_utm_campaign","traffic_utm_content","traffic_utm_term","traffic_referrer","traffic_landing_page","traffic_saved_at"].forEach(e=>{c(e)}),console.log("Traffic cookies cleared")};var s=e=>{let{gaId:t}=e,{data:r,status:u}=(0,i.useSession)();(0,n.useEffect)(()=>
1{l()||(0,o.T2)()},[]),(0,n.useEffect)(()=>{"authenticated"===u&&(null==r?void 0:r.user)&&window.gtag&&t&&setTimeout(()=>{(0,o.j7)()&&(0,o.uv)(t);{let e=a("sv_signup_method");e&&c("sv_signup_method");let t=e||s(r),n=(()=>{try{return"1"===sessionStorage.getItem("sv_auth_event_sent")}catch{return!1}})();if(e||!n){(0,o.jO)(e?"sign_up":"login",{method:t,user_id:r.user.id,event_category:"Authentication",event_label:"".concat(e?"Sign up":"Login"," via ").concat(t),value:1});try{sessionStorage.setItem("sv_auth_event_sent","1")}catch{}}}},1e3)},[u,r,t]);let s=e=>{var t,r;let n=(null==e?void 0:e.provider)||(null==e?void 0:null===(t=e.user)||void 0===t?void 0:t.provider);if(n)return"credentials"===n?"email":n;let i=null==e?void 0:null===(r=e.user)||void 0===r?void 0:r.email;return(null==i?void 0:i.includes("@gmail.com"))?"google":(null==i?void 0:i.includes("@facebook.com"))?"facebook":"unknown"};return null}},5958:function(e,t,r){"use strict";var n=r(57437),i=r(99376),o=r(48667),a=r(2265),c=r(67862);t.default=()=>{let[e,t]=(0,a.useState)(!1),r=(0,i.usePathname)();return(0,a.useEffect)(()=>{e&&c.LV()},[r,e]),(0,n.jsx)("div",{children:(0,n.jsx)(o.default,{id:"fb-pixel",src:"/scripts/pixel.js",strategy:"afterInteractive",onLoad:()=>t(!0),"data-pixel-id":c.ng})})}},67862:function(e,t,r){"use strict";r.d(t,{B:function(){return o},LV:function(){return i},ng:function(){return n}});let n="327565997117913",i=()=>{var e;"function"==typeof(null===(e=window)||void 0===e?void 0:e.fbq)&&window.fbq("track","PageView")},o=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"function"==typeof(null===(t=window)||void 0===t?void 0:t.fbq)&&window.fbq("track",e,r)}},73310:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var n=r(57437),i=r(80605);function o(e){let{children:t}=e;return(0,n.jsx)(i.SessionProvider,{refetchInterval:30,refetchOnWindowFocus:!1,children:t})}},84539:function(e,t,r){"use strict";r.d(t,{T2:function(){return i},j7:function(){return o},jO:function(){return l},uv:function(){return u}});let n={ORIGINAL_SOURCE:"original_traffic_source",ORIGINAL_MEDIUM:"original_traffic_medium",ORIGINAL_CAMPAIGN:"original_traffic_campaign",ORIGINAL_CONTENT:"original_traffic_content",ORIGINAL_TERM:"original_traffic_term",ORIGINAL_REFERRER:"original_referrer",ORIGINAL_LANDING_PAGE:"original_landing_page",TRAFFIC_SAVED_AT:"traffic_saved_at"},i=()=>{try{let e,t;let r=localStorage.getItem(n.TRAFFIC_SAVED_AT);if(r&&Date.now()-parseInt(r)<864e5){console.log("Traffic source already saved and still valid");return}let i=new URLSearchParams(window.location.search),o=document.referrer,a=i.get("utm_source"),l=i.get("utm_medium"),u=i.get("utm_campaign"),s=i.get("utm_content"),f=i.get("utm_term");if(a)e=a,t=l||"utm";else if(o){let r=c(o);e=r.source,t=r.medium}else e="(direct)",t="(none)";let d={[n.ORIGINAL_SOURCE]:e,[n.ORIGINAL_MEDIUM]:t,[n.ORIGINAL_CAMPAIGN]:u||"(not set)",[n.ORIGINAL_CONTENT]:s||"(not set)",[n.ORIGINAL_TERM]:f||"(not set)",[n.ORIGINAL_REFERRER]:o||"(direct)",[n.ORIGINAL_LANDING_PAGE]:window.location.href,[n.TRAFFIC_SAVED_AT]:Date.now().toString()};return Object.entries(d).forEach(e=>{let[t,r]=e;localStorage.setItem(t,r)}),console.log("Original traffic source saved:",d),d}catch(e){console.error("Error saving original traffic source:",e)}},o=()=>{try{let e=localStorage.getItem(n.TRAFFIC_SAVED_AT);if(!e||Date.now()-parseInt(e)>864e5)return a(),null;return{source:localStorage.getItem(n.ORIGINAL_SOURCE),medium:localStorage.getItem(n.ORIGINAL_MEDIUM),campaign:localStorage.getItem(n.ORIGINAL_CAMPAIGN),content:localStorage.getItem(n.ORIGINAL_CONTENT),term:localStorage.getItem(n.ORIGINAL_TERM),referrer:localStorage.getItem(n.ORIGINAL_REFERRER),landingPage:localStorage.getItem(n.ORIGINAL_LANDING_PAGE),savedAt:e}}catch(e){return console.error("Error getting original traffic source:",e),null}},a=()=>{try{Object.values(n).forEach(e=>{localStorage.removeItem(e)}),console.log("Original traffic source cleared")}catch(e){console.error("Error clearing original traffic source:",e)}},c=e=>{if(!e)return{source:"(direct)",medium:"(none)"};try{let t=new URL(e).hostname.toLowerCase();if(t.includes("google."))return{source:"google",medium:"organic"};if(t.includes("bing."))return{source:"bing",medium:"organic"};if(t.includes("yandex."))return{source:"yandex",medium:"organic"};if(t.includes("duckduckgo."))return{source:"duckduckgo",medium:"organic"};if(t.includes("facebook."))return{source:"facebook",medium:"social"};if(t.includes("instagram."))return{source:"instagram",medium:"social"};if(t.includes("twitter.")||t.includes("t.co"))return{source:"twitter",medium:"social"};if(t.includes("linkedin."))return{source:"linkedin",medium:"social"};if(t.includes("youtube."))return{source:"youtube",medium:"social"};if(t.includes("tiktok."))return{source:"tiktok",medium:"social"};if(t.includes("telegram."))return{source:"telegram",medium:"social"};if(t.includes("pinterest."))return{source:"pinterest",medium:"social"};return{source:t,medium:"referral"}}catch(e){return console.error("Error parsing referrer:",e),{source:"referral",medium:"referral"}}},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"restored_attribution",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let r=o();if(!window.gtag){console.log("gtag not available");return}window.gtag("event",e,{campaign_source:(null==r?void 0:r.source)||"(direct)",campaign_medium:(null==r?void 0:r.medium)||"(none)",campaign_name:(null==r?void 0:r.campaign)||"(not set)",campaign_content:(null==r?void 0:r.content)||"(not set)",campaign_term:(null==r?void 0:r.term)||"(not set)",page_referrer:(null==r?void 0:r.referrer)||"(direct)",page_location:(null==r?void 0:r.landingPage)||window.location.href,...t})}catch(e){console.error("Error sending traffic attribution event:",e)}},u=e=>
1{try{let t=o();if(!t||!window.gtag)return;window.gtag("config",e,{custom_map:{dimension1:t.source,dimension2:t.medium,dimension3:t.campaign,dimension4:t.referrer}})}catch(e){console.error("Error setting traffic attribution parameters:",e)}}},90408:function(e){e.exports={style:{fontFamily:"'__Inter_a24f4e', '__Inter_Fallback_a24f4e'",fontStyle:"normal"},className:"__className_a24f4e"}}},function(e){e.O(0,[4720,605,3786,2971,2318,1744],function(){return e(e.s=30409)}),_N_E=e.O()}]);
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.