1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d8c0f9e6-daf7-5346-9e09-f77a3b5dd536")}catch(e){}}(); 3var e=/^user_[a-zA-Z0-9]{8,}$/,t=`__WHOP_SESSION_USER_ID__`;function n(t){return typeof t==`string`&&e.test(t)}var r=null,i=()=>({userId:null});function a(){if(typeof document>`u`)return i();if(r)return r;let e=s();return r={userId:e===void 0?o():e},r}function o(){if(typeof document>`u`)return null;let e=document.cookie.match(/(?:^|;\s*)whop-core\.user-id=([^;]+)/),t=null;try{t=e?decodeURIComponent(e[1]):null}catch{return null}return n(t)?t:null}function s(){let e=window[t];return e===null?null:n(e)?e:void 0}function c(e){return`window.${t}=${JSON.stringify(n(e)?e:null)}`}function l(){r=null,typeof window<`u`&&delete window[t]}function u(e){typeof window>`u`||(r={userId:n(e)?e:null},window[t]=r.userId)}export{u as a,c as i,o as n,l as r,a as t}; 4//# debugId=d8c0f9e6-daf7-5346-9e09-f77a3b5dd536
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.