PageSourceSearch

https://guyid.com/assets/PassportWorkspace-B77QuJTk.js

js guyid.com collected 2026-10-07 21:29:04 UTC 6,696 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/TrustCardGenerator-DqNs1Pf6.js","assets/index-BccCa3Y9.js","assets/index-C4AMAymi.css","assets/vendor-react-D16EOTBL.js","assets/index-B9qA2YON.js","assets/supabase-Ce82ufgI.js","assets/vendor-supabase-CArkGI0V.js","assets/growthAnalytics-CdoJteD7.js","assets/vendor-icons-lucide-C00C3xRB.js"])))=>i.map(i=>d[i]);
2import{_ as g}from"./index-BccCa3Y9.js";import{r as u,j as e,R as b}from"./vendor-react-D16EOTBL.js";import{trackGrowthEvent as c,GROWTH_EVENTS as d}from"./growthAnalytics-CdoJteD7.js";import{g as x,u as m,p as h,aI as v,y as j,e as w}from"./vendor-icons-lucide-C00C3xRB.js";const y=({profile:s,getProfileUrl:p})=>{const[t,o]=u.useState(null),i=p?.()||`${window.location?.origin}/u/${s?.username}`,a=`View my verification and vouches on GuyID: ${i}`,n=async(r,l)=>{await navigator.clipboard?.writeText(r),c(d.SHARE_COPIED,{surface:"dashboard_passport",profileId:s?.id,username:s?.username,channel:l}),o(l),window.setTimeout(()=>o(null),1800)},f=async()=>{if(!navigator.share){await n(i,"profile_link");return}try{await navigator.share({title:`${s?.display_name||s?.username}'s GuyID Trust Card`,text:"View my GuyID Trust Card.",url:i}),c(d.SHARE_STARTED,{surface:"dashboard_passport",profileId:s?.id,username:s?.username,channel:"native_share"})}catch(r){r?.name!=="AbortError"&&console.error("Trust Card sharing failed:",r)}};return e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-white/[0.045] text-zinc-400",children:e.jsx(x,{"aria-hidden":"true",size:18})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-base font-semibold text-white",children:"Share with context"}),e.jsx("p",{className:"mt-1 text-sm leading-6 text-zinc-500",children:"Send your Trust Card directly or add a clear link to a dating profile or message."})]})]}),e.jsxs("div",{className:"mt-5 grid gap-3 sm:grid-cols-[1fr_auto]",children:[e.jsxs("div",{className:"min-w-0 rounded-xl border border-white/[0.075] bg-black/20 px-4 py-3",children:[e.jsx("p",{className:"text-xs font-medium text-zinc-500",children:"Trust Card link"}),e.jsx("p",{className:"mt-1 truncate text-sm text-zinc-200",children:i})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("button",{type:"button",onClick:()=>n(i,"profile_link"),className:"inline-flex min-h-12 flex-1 items-center justify-center gap-2 rounded-xl border border-white/[0.09] px-4 text-sm font-medium text-zinc-200 transition-colors hover:bg-white/[0.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold-400 sm:flex-none",children:[t==="profile_link"?e.jsx(m,{"aria-hidden":"true",size:16}):e.jsx(h,{"aria-hidden":"true",size:16}),t==="profile_link"?"Copied":"Copy"]}),e.jsxs("button",{type:"button",onClick:f,className:"inline-flex min-h-12 flex-1 items-center justify-center gap-2 rounded-xl bg-white px-4 text-sm font-semibold text-black focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold-400 sm:flex-none",children:[e.jsx(x,{"aria-hidden":"true",size:16})," Share"]})]})]}),e.jsx("div",{className:"mt-3 rounded-xl border border-white/[0.075] bg-white/[0.025] p-4",children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-xs font-medium text-zinc-500",children:"Suggested profile line"}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-zinc-300",children:a})]}),e.jsx("button",{type:"button",onClick:()=>n(a,"profile_copy"),"aria-label":"Copy suggested profile line",className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-xl text-zinc-500 transition-colors hover:bg-white/[0.05] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold-400",children:t==="profile_copy"?e.jsx(m,{"aria-hidden":"true",size:17}):e.jsx(h,{"aria-hidden":"true",size:17})})]})}),e.jsxs("div",{className:"mt-4 flex items-start gap-2 text-xs leading-5 text-zinc-600",children:[e.jsx(v,{"aria-hidden":"true",className:"mt-0.5 shrink-0",size:14}),"Your public visibility settings control what viewers can see. Review your Trust Card before sharing."]})]})},N=b.lazy(()=>g(()=>import("./TrustCardGenerator-DqNs1Pf6.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),T=({data:s})=>e.jsxs("div",{className:"mx-auto w-full max-w-[1040px] px-3 pb-28 pt-5 sm:px-6 sm:pt-7 lg:px-8 lg:pb-12 lg:pt-10",children:[e.jsxs("header",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-zinc-500",children:"Viewer-ready trust c
2ontext"}),e.jsx("h1",{className:"mt-1 font-heading text-2xl font-semibold tracking-[-0.03em] text-white sm:text-3xl",children:"Your Trust Card"}),e.jsx("p",{className:"mt-3 max-w-2xl text-sm leading-6 text-zinc-400",children:"Review the evidence shown to viewers, choose how to share it, and keep sensitive details under your control."})]}),e.jsxs("a",{href:s?.getProfileUrl?.(),target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center justify-center gap-2 rounded-xl border border-white/[0.09] px-4 text-sm font-medium text-zinc-200 transition-colors hover:bg-white/[0.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold-400",children:[e.jsx(j,{"aria-hidden":"true",size:17})," Preview as viewer"]})]}),e.jsxs("div",{className:"mt-7 rounded-[20px] border border-white/[0.075] bg-[#151521] p-4 sm:p-6",children:[e.jsxs("div",{className:"mb-5 flex items-center gap-3",children:[e.jsx("span",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-gold-500/10 text-gold-400",children:e.jsx(w,{"aria-hidden":"true",size:19})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-base font-semibold text-white",children:"Trust Card"}),e.jsx("p",{className:"text-sm text-zinc-500",children:"A compact preview of what viewers see."})]})]}),e.jsx(u.Suspense,{fallback:e.jsx("div",{role:"status",className:"min-h-[360px] rounded-2xl bg-white/[0.025] p-6 text-sm text-zinc-500",children:"Preparing your Trust Card…"}),children:e.jsx(N,{profile:s?.profile,score:s?.displayScore,rank:s?.rank,vouchCount:s?.vouchCount,receivedVouches:s?.receivedVouches,verification:{email:s?.isEmailVerified,photo:s?.hasProfilePhoto,linkedin:s?.hasSocials,id_verified:s?.isVerified,phone:!!s?.profile?.phone_verified},memberDays:s?.daysSinceJoined,mode:"dashboard"})})]}),e.jsx("div",{className:"mt-5 rounded-[20px] border border-white/[0.075] bg-[#151521] p-4 sm:p-6",children:e.jsx(y,{profile:s?.profile,getProfileUrl:s?.getProfileUrl})})]});export{T as default};

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.