PageSourceSearch

https://leaderskills.ai/assets/firstRun-ipbN_-Vc.js

js leaderskills.ai collected 2026-10-05 14:31:26 UTC 1,674 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/conversation-persistence-CGWp55YO.js","assets/supabase-D6_1Igms.js","assets/react-router-a2OfTxpM.js"])))=>i.map(i=>d[i]);
2import{_ as l}from"./main-COtOSdW3.js";const p="VANS-06",i=["VANS-06","TILB-03","COACH-02"],a="first-run-scenario-code",f=1440*60*1e3;function y(t){try{i.includes(t)&&localStorage.setItem(a,JSON.stringify({code:t,at:Date.now()}))}catch{}}function S(){try{const t=localStorage.getItem(a);if(!t)return null;const e=JSON.parse(t),n=typeof e.code=="string"?e.code:null,r=typeof e.at=="number"?e.at:0;return!n||!i.includes(n)||Date.now()-r>f?(localStorage.removeItem(a),null):n}catch{return null}}function d(){const t=S();if(t)try{localStorage.removeItem(a)}catch{}return t}const s=t=>`first-run-seen:${t}`;function R(t){try{return localStorage.getItem(s(t))==="1"}catch{return!1}}function m(t){try{localStorage.setItem(s(t),"1")}catch{}}const o=new Set;async function _(t){if(o.has(t))return;o.add(t);const{supabase:e}=await l(async()=>{const{supabase:r}=await import("./conversation-persistence-CGWp55YO.js").then(u=>u.c);return{supabase:r}},__vite__mapDeps([0,1,2])),n=new Date().toISOString();try{await e.from("profiles").update({onboarding_completed:!0,updated_at:n}).eq("id",t),await e.from("onboarding_profiles").upsert({user_id:t,onboarding_completed:!0,updated_at:n},{onConflict:"user_id"})}catch(r){console.warn("Kunne ikke markere onboarding som utsatt:",r)}}const c=t=>`first-run-arrival:${t}`;function h(t){try{if(localStorage.getItem(c(t))==="1")return!1;localStorage.setItem(c(t),"1")}catch{}return m(t),d(),_(t),!0}export{p as F,h as c,_ as d,R as h,m,S as p,y as s,d as t};

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.