1try{!function(){var 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]="57996a24-9424-46ef-beb8-f2754cd3b96c",e._sentryDebugIdIdentifier="sentry-dbid-57996a24-9424-46ef-beb8-f2754cd3b96c")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9634],{7844:(e,t,n)=>{n.d(t,{DH:()=>a,NQ:()=>d,T8:()=>o,gN:()=>u,j8:()=>c,n$:()=>l,zE:()=>i});var r=n(75153),l=function(e){return e.Client="client",e.Server="server",e}({}),o=function(e){return e.Auth="auth",e.UserInfo="userInfo",e.Experiments="experiments",e.Referral="referral",e}({}),a=function(e){return e.UserId="userId",e.Email="email",e.Country="country",e.CountryCode="countryCode",e.EverPaid="everPaid",e.FirstName="firstName",e.LastName="lastName",e._Eih="_eih",e.DeviceId="deviceId",e.UserActivity="user_activity",e.IpAddress="ipAddress",e.City="city",e.Region="region",e.UtmParameters="utmParameters",e.TrackingData="td",e.Fbclid="fbclid",e.GCLID="gclid",e.Twclid="twclid",e.Ttclid="ttclid",e.LiFatId="li_fat_id",e}({}),i=function(e){return e.ReferralCode="referralCode",e.ReferralSource="referralSource",e}({});let c={auth:{names:["at","dev_at","stg_at","rt","dev_rt","stg_rt"],httpOnly:!0,secure:!0,sameSite:"none",scope:"server",maxAge:(0,r.Y)(7,r.y.Day),domain:".magicstudio.com"},userInfo:{names:["userId","email","country","countryCode","everPaid","firstName","lastName","_eih","deviceId","user_activity","ipAddress","city","region","utmParameters","td","fbclid","gclid","twclid","ttclid","li_fat_id"],httpOnly:!1,secure:!0,sameSite:"lax",scope:"client",maxAge:(0,r.Y)(1,r.y.Year)},experiments:{names:["exp_cohorts"],httpOnly:!1,secure:!1,sameSite:"lax",scope:"client",maxAge:(0,r.Y)(30,r.y.Day)},referral:{names:["referralCode","referralSource"],httpOnly:!1,secure:!0,sameSite:"lax",scope:"client",maxAge:(0,r.Y)(30,r.y.Day)}};function u(e){return!c.auth.names.includes(e),e}function d(e){let t=e.replace(/^(dev_|stg_)/,"");for(let[n,r]of Object.entries(c))if(r.names.includes(t)||r.names.includes(e))return n;throw Error("Unknown cookie type for cookie: ".concat(e))}},38445:(e,t,n)=>{n.d(t,{My:()=>u,UM:()=>c,deleteCookieValue:()=>d,p6:()=>s});var r=n(76334),l=n(55424),o=n(7844),a=n(57589);let i={get(e){var t;return null!=(t=l.A.get(e))?t:null},set(e,t){var n,r,i,c,u,d;let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=(0,o.NQ)(e),m=o.j8[f];if(m.httpOnly||m.scope===o.n$.Server)return void console.warn('Cannot set cookie "'.concat(e,'" from client: it is marked as httpOnly or server-only'));let g=null!=(n=s.maxAge)?n:m.maxAge,y=null!=(i=null!=(r=s.domain)?r:m.domain)?i:(0,a.L)(window.location.hostname),h={path:null!=(c=s.path)?c:"/",domain:y,secure:null!=(u=s.secure)?u:m.secure,sameSite:null!=(d=s.sameSite)?d:m.sameSite};void 0!==g&&(h.expires=g/86400),l.A.set(e,t,h)},delete(e){var t,n,r;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=(0,o.NQ)(e),u=o.j8[c];if(u.httpOnly||u.scope===o.n$.Server)return void console.warn('Cannot delete cookie "'.concat(e,'" from client: it is marked as httpOnly or server-only'));let d=null!=(n=null!=(t=i.domain)?t:u.domain)?n:(0,a.L)(window.location.hostname),s={path:null!=(r=i.path)?r:"/",domain:d};l.A.remove(e,s)}};function c(e){let t=(0,o.gN)(e);return i.get(t)}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,o.gN)(e);i.set(r,t,n)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,o.gN)(e);i.delete(n,t)}function s(){let[e,t]=(0,r.J0)(!1);(0,r.vJ)(()=>{t(!0)},[]);let n=(0,r.hb)(t=>{if(!e)return null;let n=(0,o.gN)(t);return i.get(n)},[e]),l=(0,r.hb)(t=>{if(!e||"undefined"==typeof document)return null;let n=t.exec(document.cookie);if(null!==n){var r;let e=null!=(r=n[1])?r:n[0];return e.length>0?e:null}return null},[e]),a=(0,r.hb)((t,n,r)=>{if(!e)return;let l=(0,o.gN)(t);i.set(l,n,null!=r?r:{})},[e]),c=(0,r.hb)((t,n)=>{if(!e)return;let r=(0,o.gN)(t);i.delete(r,null!=n?n:{})},[e]),u=(0,r.hb)(e=>{let t=n(e);return null!==t&&t.length>0},[n]);return{getCookie:n,getCookieByPattern:l,setCookie:a,deleteCookie:c,hasCookie:u,isClient:e}}}
1,57589:(e,t,n)=>{n.d(t,{L:()=>o});let r=[".vercel.app",".localhost"],l=["localhost"],o=e=>{if(0===e.length)return;let t=e.split(":")[0];if(!t||l.includes(t)||r.some(e=>t.endsWith(e)))return;let n=t.split(".");if(!(n.length<2))return".".concat(n.slice(-2).join("."))}},75153:(e,t,n)=>{n.d(t,{Y:()=>l,y:()=>r});var r=function(e){return e.Second="second",e.Minute="minute",e.Hour="hour",e.Day="day",e.Week="week",e.Month="month",e.Year="year",e}({});function l(e,t){return e*function(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}}(t)}},76334:(e,t,n)=>{n.d(t,{J0:()=>r.useState,hb:()=>r.useCallback,vJ:()=>r.useEffect});var r=n(78849)},79634:(e,t,n)=>{n.d(t,{IP:()=>w,dH:()=>b,i8:()=>h,iy:()=>_,ks:()=>g,q9:()=>v,sN:()=>p,z9:()=>y});var r=n(5637),l=n(7844),o=n(38445),a=n(78036),i=n(75153);let c="browser-storage",u=null,d={},s={};function f(e){try{return window.localStorage.getItem(e)}catch(t){return(0,a.vV)(t,{component:c,action:"safeGetLocalStorage",metadata:{context:"localStorage access denied to get value",key:e}}),null}}function m(e){try{window.localStorage.removeItem(e)}catch(t){(0,a.vV)(t,{component:c,action:"safeRemoveLocalStorage",metadata:{context:"localStorage access denied to remove value",key:e}})}}function g(e){if(void 0!==e)for(let[t,n]of[["userId",e.id],["email",e.email],["everPaid",e.ever_paid],["firstName",e.first_name],["lastName",e.last_name]]){let e;void 0!==(e="string"==typeof n&&n.length>0?n:"boolean"==typeof n?String(n):void 0)&&((0,o.My)(t,e,{maxAge:31536e3}),d[t]=e)}}function y(){let e={};for(let r of["userId","email","countryCode","country","everPaid","firstName","lastName"]){var t,n;let l=d[r],a=(0,o.UM)(r),i=f(r),c=null!=(n=null!=(t=null!=l?l:a)?t:i)?n:null;null!==c&&c.length>0&&(e[r]=c)}return e}function h(){let{userId:e}=y();if(void 0!==e&&e.length>0)return e}function v(e){void 0!==e&&0!==e.length&&(0,o.My)("td",e,{maxAge:31536e3})}function p(){for(let e of["userId","email","countryCode","country","everPaid","firstName","lastName"])m(e),(0,o.deleteCookieValue)(e,{path:"/"});for(let e of l.j8[l.T8.UserInfo].names)(0,o.deleteCookieValue)(e,{path:"/"});m("deviceId"),u=null,d={},s={},m("td")}function w(){let e=new URLSearchParams(window.location.search).get("deviceId");if(null!==e&&e.length>0)return u=e,I(e),e;if(null!==u)return I(u),u;let t=(0,o.UM)("deviceId");if(null!==t&&t.length>0)return u=t,I(t),t;let n=f("deviceId");if(null!==n&&n.length>0)return u=n,I(n),n;let l=(0,r.A)();return u=l,I(l),l}function I(e){(0,o.My)("deviceId",e,{maxAge:(0,i.Y)(1,i.y.Year)});var t="deviceId";try{window.localStorage.setItem(t,e)}catch(e){(0,a.vV)(e,{component:c,action:"safeSetLocalStorage",metadata:{context:"localStorage access denied to set value",key:t}})}}function b(e){if(void 0!==e)for(let[t,n]of[["ipAddress",e.ip_address],["countryCode",e.country_code],["country",e.country],["city",e.city],["region",e.region]])null!=n&&n.length>0&&((0,o.My)(t,n,{maxAge:31536e3}),s[t]=n)}function _(){let e={};for(let n of["ipAddress","countryCode","country","city","region"]){var t;let r=s[n],l=(0,o.UM)(n),a=null!=(t=null!=r?r:l)?t:null;null!==a&&a.length>0&&(e[n]=a)}return e}}}]);
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.