PageSourceSearch

https://fosapp.manus.space/assets/WhiteLabelExperience-S-5KfhQ7.js

js fosapp.manus.space collected 2026-10-03 05:02:38 UTC 27,181 bytes, 11 lines download raw bytes

1import{b as I,k as N,j as e,r as g,t as w,H as O}from"./index-Df9RYwwb.js";import{D as _}from"./Discover-DbC__rXI.js";import $ from"./Dashboard-14XsLE0E.js";import{S as T}from"./StatsOverview-Cg2CUXGC.js";import{u as P,L as z}from"./LocationPrefixSuggestions-B6Dw1XnD.js";import{b as R,r as U,g as A,s as V,a as q,u as D,T as F}from"./TagPrefixSuggestions-DwSIMXCf.js";import{S as M}from"./sparkles-PwsV9uoO.js";import{M as Q}from"./map-pin-C9LxFi9l.js";import{E as C}from"./external-link-BPMXaBTv.js";import{S as B}from"./search-5QUQvdxV.js";import{C as K}from"./chart-column-7Byr5vKa.js";import{X as Y}from"./x-Dpi4zoMf.js";import"./NavBar-BEECYtTm.js";import"./chevron-down-CzIExFpo.js";import"./shield-dAkSLspn.js";import"./chevron-right-CmwEWmvE.js";import"./eye-DgAiWYHS.js";import"./zap-Cg0BoZGP.js";import"./DiscoverHeatmap-qb34SSLw.js";import"./dialog-CCm092Hq.js";import"./index--YHQQRNx.js";import"./Combination-Dr1zqeqq.js";import"./chevron-up-B2lIdkjk.js";import"./circle-play-Q53e1y8q.js";import"./DateRangeDisclosure-DLE5D268.js";import"./calendar-LrEnunnA.js";import"./chevron-left-BVx9scjN.js";import"./popover-D6r58Odq.js";import"./PublicShareButton-CJtGct3S.js";/**
2 * @license lucide-react v0.453.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const Z=I("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
7 * @license lucide-react v0.453.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const X=I("SquarePlay",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 8 6 4-6 4Z",key:"f1r3lt"}]]);function L(r,i){const t=new URLSearchParams(i);return`${r}&${t.toString()}`}function G({baseUrl:r}){const[,i]=N(),[t,n]=g.useState(""),{data:l=[]}=w.public.regionSightingCounts.useQuery(void 0,{staleTime:300*1e3,refetchOnWindowFocus:!1}),{data:d=[]}=w.discover.getTagCounts.useQuery(void 0,{staleTime:300*1e3,refetchOnWindowFocus:!1}),{data:a=[]}=w.discover.listAliases.useQuery(void 0,{staleTime:300*1e3,refetchOnWindowFocus:!1}),m=g.useMemo(()=>l.map(s=>s.region),[l]),b=g.useMemo(()=>R(d,a),[a,d]),o=g.useCallback(s=>{const c=s.trim();if(!c)return"";const f=U(c,m);if(f)return f;const v=A(`location: ${c}`,{location:m},["location"])?.results??[];return v.length===1?v[0]:""},[m]),W=g.useCallback((s,c,f)=>{const v=V(s,["location","tag"]),y=q(s,"location"),E=f??o(y),h={mode:"sightings",subjects:"sasquatch",sort:"desc"};v&&(h.q=v),E&&(h.region=E),c?.kind==="tone"&&(h.tone=c.value),c?.kind==="behavior"&&(h.behavior=c.value),i(L(r,h))},[r,i,o]),p=P({value:t,regions:m,onValueChange:n,onSelect:({region:s,remainingQuery:c})=>W(c,void 0,s)}),x=D({value:t,options:b,onValueChange:n,onSelect:(s,c)=>W(c,s)}),u=g.useCallback(s=>{p.rootRef.current=s,x.rootRef.current=s},[p.rootRef,x.rootRef]),j=s=>{s.preventDefault();const c=t.trim();c&&W(c)};return e.jsxs("form",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:80",onSubmit:j,className:"mx-auto w-full max-w-2xl","aria-describedby":"channel-home-search-destination",children:[e.jsx("label",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:81",htmlFor:"channel-home-search",className:"sr-only",children:"Search this channel’s encounter archive"}),e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:82",ref:u,className:"relative",children:[e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:83",className:"flex items-center gap-2 rounded-2xl border border-[#f6c84d]/55 bg-[#080808]/90 px-2 py-2 shadow-2xl backdrop-blur-sm sm:px-3",children:[e.jsx(B,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:84","aria-hidden":"true",className:"ml-2 size-4 shrink-0 text-[#f6c84d]"}),e.jsx("input",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:85",id:"channel-home-search",value:t,onChange:s=>{x.handleInputChange(s.target.value),p.handleInputChange(s.target.value)},onKeyDown:s=>{x.handleInputKeyDown(s)||p.handleInputKeyDown(s)},type:"search",enterKeyHint:"search",autoComplete:"off","aria-expanded":x.isOpen||p.isOpen,"aria-controls":x.isOpen?"channel-home-tag-prefixes":p.isOpen?"channel-home-location-prefixes":void 0,placeholder:"Search this channel… or use tag: / location:",className:"min-w-0 flex-1 bg-transparent px-1 py-2 text-sm text-[#f4efe5] outline-none placeholder:text-[#b8b0a3]/80 sm:text-base"}),e.jsx("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:101",type:"submit",className:"shrink-0 rounded-lg bg-[#f6c84d] px-3 py-2 text-xs font-bold tracking-wide text-[#15110a] transition hover:bg-[#ffdc78] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f6c84d] focus-visible:ring-offset-2 focus-visible:ring-offset-[#080808] sm:px-5 sm:text-sm",children:"Search"})]}),x.isOpen&&e.jsx(F,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:103",suggestions:x.suggestions,activeIndex:x.activeIndex,onSelect:x.select,listboxId:"channel-home-tag-prefixes"}),p.isOpen&&e.jsx(z,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:104",autocomplete:p.autocomplete,activeIndex:p.activeIndex,onSelect:p.select,listboxId:"channel-home-location-prefixes"})]}),e.jsxs("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:106",id:"channel-home-search-destination",className:"mt-2 text-center text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-white/60 sm:text-xs",children:["Search opens this channel’s ",e.jsx("span",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:106",className:"text-[#f6c84d]",children:"Sightings"})," results. This channel is fixed for this white-label page."]})]})}function J({channelId:r,baseUrl:i}){const[,t]=N(),{data:n}=w.public.recentSightingTitles.useQuery({channelId:r},{staleTime:300*1e3,refetchOnWindowFocus:!1}),l=g.useMemo(()=>n&&n.length>0?[...n,...n]:[],[n]);return l.length===0?null:e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:118",className:"relative my-2 overflow-hidden border-y border-white/[0.06] py-2",children:[e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:119",className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-12 bg-gradient-to-r from-[#07090c] to-transparent"}),e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:120",className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-12 bg-gradient-to-l from-[#07090c] to-transparent"}),e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:121",className:"flex w-max items-center whitespace-nowrap motion-safe:animate-[marquee_180s_linear_infinite]",children:l.map((d,a)=>e.jsxs("span",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:123",className:"inline-flex items-center",children:[e.jsx("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:124",type:"button",onClick:()=>t(L(i,{mode:"sightings",sightingId:String(d.sightingId)})),className:"text-xs font-medium text-[#ae8bff]/90 transition hover:text-[#d3bfff] hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#ae8bff]",children:d.description.length>92?`${d.description.slice(0,90)}…`:d.description}),e.jsx("span",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:125","aria-hidden":"true",className:"mx-3 text-[0.6rem] text-[#ae8bff]/40",children:"✦"})]},`${d.sightingId}-${a}`))})]})}function ee({channelId:r,baseUrl:i}){const[,t]=N(),{data:n,isLoading:l}=w.public.recentVideos.useQuery({channelId:r},{staleTime:300*1e3,refetchOnWindowFocus:!1}),d=n?.slice(0,3)??[];return e.jsxs("section",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:139",className:"mx-auto max-w-screen-xl px-4 pb-12 sm:px-6",children:[e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:140",className:"mb-4 flex items-end justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:140",children:[e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:140",className:"text-[0.62rem] font-black uppercase tracking-[0.2em] text-[#f6c84d]",children:"Channel ar
11chive"}),e.jsx("h2",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:140",className:"mt-1 text-xl font-black tracking-tight text-white sm:text-2xl",children:"New this week"})]}),e.jsx("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:140",type:"button",onClick:()=>t(L(i,{mode:"videos",sort:"desc"})),className:"shrink-0 text-xs font-bold text-[#f6c84d] underline underline-offset-4 hover:text-[#ffdc78]",children:"View all videos"})]}),l?e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"grid gap-4 sm:grid-cols-3",children:[1,2,3].map(a=>e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"h-56 animate-pulse rounded-xl border border-white/10 bg-white/[0.035]"},a))}):d.length>0?e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"grid gap-4 sm:grid-cols-3",children:d.map(a=>e.jsxs("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",type:"button",onClick:()=>t(L(i,{mode:"videos",videoId:a.videoId})),className:"group overflow-hidden rounded-xl border border-white/10 bg-white/[0.035] text-left transition hover:-translate-y-0.5 hover:border-[#f6c84d]/45 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f6c84d] focus-visible:ring-offset-2 focus-visible:ring-offset-[#07090c]",children:[e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"aspect-video overflow-hidden bg-white/[0.05]",children:a.thumbnailUrl?e.jsx("img",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",src:a.thumbnailUrl,alt:"",className:"h-full w-full object-cover transition duration-200 group-hover:scale-[1.025]"}):null}),e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"p-3",children:[e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"line-clamp-2 text-sm font-bold leading-snug text-white",children:a.title}),e.jsxs("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"mt-2 text-xs text-white/60",children:[e.jsxs("span",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"text-[#ae8bff]",children:[a.sightingCount," sightings"]}),e.jsx("span",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"mx-1.5 text-white/20",children:"•"}),e.jsxs("span",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"text-[#62b5ff]",children:[a.behaviorCount," behaviors"]})]})]})]},a.videoId))}):e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"rounded-xl border border-dashed border-white/15 bg-white/[0.025] px-5 py-8 text-center",children:[e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"font-bold text-white/80",children:"No newly catalogued videos in this seven-day window."}),e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",className:"mt-1 text-sm text-white/50",children:"The complete channel archive remains available to explore."}),e.jsx("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:141",type:"button",onClick:()=>t(L(i,{mode:"videos",sort:"desc"})),className:"mt-4 rounded-md border border-[#f6c84d]/50 px-4 py-2 text-sm font-bold text-[#f6c84d] hover:bg-[#f6c84d]/10",children:"Browse channel archive"})]})]})}function te({channelId:r,channelName:i,heroImage:t,heroImageOpacity:n,logoImage:l,welcomeTitle:d,welcomeMessage:a,baseUrl:m,onExit:b}){const[,o]=N();return e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:149",className:"min-h-screen bg-[#07090c] text-white",children:[e.jsxs("section",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:150",className:"relative isolate overflow-hidden border-b border-white/[0.06] bg-[#07090c] px-4 sm:px-6",children:[t?e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:151",className:"absolute inset-0 -z-20 bg-cover bg-center",style:{backgroundImage:`url(${t})`,opacity:n/100}}):e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:151",className:"absolute inset-0 -z-20 bg-[radial-gradient(circle_at_50%_20%,rgba(246,200,77,0.2),transparent_44%),#090b0e]"}),e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:152",className:"absolute inset-0 -z-10 bg-[linear-gradient(180deg,rgba(7,9,12,0.48)_0%,rgba(7,9,12,0.64)_58%,rgba(7,9,12,0.82)_100%)]"}),e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:153",className:"relative z-10 mx-auto max-w-screen-xl pb-9 pt-10 text-center sm:pb-12 sm:pt-14",children:e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:154",className:"mx-auto flex max-w-3xl flex-col items-center",children:[e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:155",className:"flex items-center gap-3",children:[e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:155",className:"flex size-12 items-center justify-center overflow-hidden rounded-full border border-[#f6c84d]/55 bg-[#07090c] shadow-xl",children:l?e.jsx("img",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:155",src:l,alt:`${i} logo`,className:"h-full w-full object-cover"}):e.jsx(M,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:155","aria-hidden":"true",className:"size-5 text-[#f6c84d]"})}),e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:155",className:"text-[0.62rem] font-black uppercase tracking-[0.2em] text-[#f6c84d]",children:"S.E.I. channel experience"})]}),e.jsxs("h1",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:156",className:"mt-5 max-w-4xl text-3xl font-black uppercase italic leading-[0.95] tracking-tight text-white sm:text-5xl lg:text-6xl",children:["Discover ",i," encounters"]}
11),e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:157",className:"mt-4 max-w-3xl text-sm font-semibold uppercase italic leading-relaxed tracking-[0.08em] text-white/70 sm:text-base",children:a}),e.jsx("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:158",className:"mt-7 w-full",children:e.jsx(G,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:158",baseUrl:m})})]})})]}),e.jsxs("section",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:162",className:"border-b border-white/[0.06] bg-[#07090c] px-4 pt-1 sm:px-6",children:[e.jsx(T,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:162",compact:!0,compactWeeklyContext:!0,fullWidth:!0,filter:{channelId:r},scopedBaseUrl:m,showChannels:!1,showToneSnapshot:!0}),e.jsx(J,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:162",channelId:r,baseUrl:m})]}),e.jsx(ee,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:163",channelId:r,baseUrl:m}),e.jsx("section",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",className:"border-t border-white/[0.08] bg-[#0b1014] py-7",children:e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",className:"mx-auto flex max-w-screen-xl flex-col items-center justify-between gap-4 px-4 text-center sm:flex-row sm:px-6 sm:text-left",children:[e.jsx("p",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",className:"text-sm text-white/65",children:"Explore this channel’s videos, encounters, map, and analytics inside the S.E.I. research archive."}),e.jsxs("div",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",className:"flex items-center gap-3",children:[e.jsxs("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",type:"button",onClick:()=>o(L(m,{mode:"heatmap"})),className:"inline-flex items-center gap-2 text-sm font-bold text-white/75 hover:text-[#f6c84d]",children:[e.jsx(Q,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",className:"size-4"})," Channel map"]}),e.jsxs("button",{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",type:"button",onClick:b,className:"inline-flex items-center gap-2 rounded-md border border-white/20 px-3 py-2 text-xs font-bold text-white/75 hover:border-[#f6c84d]/55 hover:text-[#f6c84d]",children:[e.jsx(C,{"data-loc":"client/src/components/WhiteLabelChannelHome.tsx:165",className:"size-3.5"})," Main S.E.I."]})]})]})})]})}const ae="UCYQighAgmq5dEFesvVYSZMQ";function S(r,i,t){const n=new URLSearchParams(r);return n.set("channelId",i),n.delete("section"),n.delete("mode"),n.delete("videoId"),n.delete("sightingId"),t==="analytics"?n.set("section","analytics"):t!=="home"&&n.set("mode",t),`/SEI/whitelabel?${n.toString()}`}function Me(){const r=O(),[,i]=N(),t=g.useMemo(()=>new URLSearchParams(r),[r]),n=t.get("channel"),l=t.get("channelId")||(n?.startsWith("UC")?n:ae),a=t.get("section")==="analytics"?"analytics":t.get("mode")==="sightings"?"sightings":t.get("mode")==="heatmap"?"heatmap":t.get("mode")==="videos"?"videos":"home",[m,b]=g.useState(!1),{data:o,isLoading:W,isError:p}=w.directory.getChannel.useQuery({channelId:l});if(W)return e.jsx("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:44",className:"min-h-screen bg-[#07090c] text-white grid place-items-center",children:"Loading channel experience…"});if(p||!o)return e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:45",className:"min-h-screen bg-[#07090c] px-6 py-24 text-center text-white",children:[e.jsx("h1",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:45",className:"text-2xl font-black",children:"Channel experience unavailable"}),e.jsx("p",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:45",className:"mx-auto mt-3 max-w-xl text-white/60",children:"This white-label link needs a valid S.E.I. channel identifier."}),e.jsx("a",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:45",href:"/SEI",className:"mt-6 inline-flex rounded-md border border-[#f5c842]/45 px-4 py-2 font-bold text-[#f5c842]",children:"Open S.E.I."})]});const x=[{id:"home",label:"Home",icon:M},{id:"videos",label:"Videos",icon:X},{id:"sightings",label:"Sightings",icon:C},{id:"heatmap",label:"Map",icon:Z},{id:"analytics",label:"Analytics",icon:K}],u=o.whiteLabel,j=u?.heroImageUrl||o.featuredVideoThumbnailUrl||o.thumbnailUrl,s=u?.heroImageOpacity??30,c=!!u?.heroImageUrl,f=u?.logoUrl||o.thumbnailUrl,v=u?.welcomeTitle||o.channelName,y=u?.welcomeMessage||"Sasquatch Encounter Intelligence, focused exclusively on this channel’s archive.",E=()=>
11{window.open("https://thefaceofsasquatch.com/SEI","_blank","noopener,noreferrer"),b(!1)};return e.jsxs("main",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:67",className:"min-h-screen bg-[#07090c] text-white",children:[a!=="home"&&e.jsxs("header",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:68",className:"relative isolate overflow-hidden border-b border-white/10 bg-[#0b1014]",children:[j&&e.jsx("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:69",className:`absolute inset-0 -z-20 bg-cover bg-center ${c?"opacity-45 sm:left-auto sm:w-[48%] sm:opacity-90":"opacity-[0.14] blur-[2px]"}`,style:{backgroundImage:`url(${j})`}}),e.jsx("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:70",className:`absolute inset-0 -z-10 ${c?"bg-[linear-gradient(90deg,rgba(5,8,12,0.98)_0%,rgba(5,8,12,0.94)_42%,rgba(5,8,12,0.18)_100%)]":"bg-[radial-gradient(circle_at_18%_10%,rgba(245,200,66,0.22),transparent_36%),linear-gradient(110deg,rgba(5,8,12,0.98),rgba(5,8,12,0.74))]"}`}),e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:73",className:`mx-auto flex max-w-screen-2xl items-center gap-4 px-4 py-5 sm:px-6 ${c?"sm:min-h-44 sm:py-7":""}`,children:[f&&e.jsx("img",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:74",src:f,alt:`${o.channelName} logo`,className:"h-14 w-14 rounded-full border border-white/20 bg-black/30 object-cover shadow-lg sm:h-16 sm:w-16"}),e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:75",className:"min-w-0 flex-1",children:[e.jsx("p",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:75",className:"text-[0.62rem] font-black uppercase tracking-[0.22em] text-[#f5c842]",children:"S.E.I. channel experience"}),e.jsx("h1",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:75",className:"mt-1 truncate text-xl font-black tracking-tight text-white sm:text-3xl",children:v}),e.jsx("p",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:75",className:"mt-1 max-w-3xl text-sm leading-relaxed text-white/80",children:y}),c&&e.jsx("p",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:75",className:"mt-3 text-[0.62rem] font-black uppercase tracking-[0.14em] text-white/55",children:"Custom channel hero"})]}),e.jsxs("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:76",type:"button",onClick:()=>b(!0),className:"hidden shrink-0 items-center gap-2 rounded-md border border-white/20 bg-black/25 px-3 py-2 text-xs font-bold text-white/80 transition hover:border-[#f5c842]/60 hover:text-[#f5c842] sm:inline-flex",children:[e.jsx(C,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:76",className:"h-3.5 w-3.5"})," Main S.E.I."]})]}),e.jsx("nav",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:78","aria-label":`${o.channelName} experience navigation`,className:"border-t border-white/10 bg-black/20",children:e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:78",className:"mx-auto flex max-w-screen-2xl gap-1 overflow-x-auto px-3 py-2 sm:px-5",children:[x.map(h=>{const k=h.icon,H=h.id===a;return e.jsxs("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:78",type:"button",onClick:()=>i(S(t,l,h.id)),className:`inline-flex shrink-0 items-center gap-2 rounded-md px-3 py-2 text-sm font-bold transition ${H?"bg-[#f5c842] text-[#1c1604]":"text-white/65 hover:bg-white/[0.06] hover:text-[#f5c842]"}`,children:[e.jsx(k,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:78",className:"h-4 w-4"}),h.label]},h.id)}),e.jsxs("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:78",type:"button",onClick:()=>b(!0),className:"ml-auto inline-flex shrink-0 items-center gap-2 rounded-md px-3 py-2 text-sm font-bold text-white/65 hover:text-[#f5c842] sm:hidden",children:[e.jsx(C,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:78",className:"h-4 w-4"})," Exit"]})]})})]}),a==="home"&&e.jsx("nav",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:80","aria-label":`${o.channelName} experience navigation`,className:"border-b border-white/10 bg-[#0b1014]",children:e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:80",className:"mx-auto flex max-w-screen-2xl gap-1 overflow-x-auto px-3 py-2 sm:px-5",children:[x.map(h=>{const k=h.icon,H=h.id===a;return e.jsxs("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:80",type:"button",onClick:()=>i(S(t,l,h.id)),className:`inline-flex shrink-0 items-center gap-2 rounded-md px-3 py-2 text-sm font-bold transition ${H?"bg-[#f5c842] text-[#1c1604]":"text-white/65 hover:bg-white/[0.06] hover:text-[#f5c842]"}`,children:[e.jsx(k,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:80",className:"h-4 w-4"}),h.label]},h.id)}),e.jsxs("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:80",type:"button",onClick:()=>b(!0),className:"ml-auto inline-flex shrink-0 items-center gap-2 rounded-md px-3 py-2 text-sm font-bold text-white/65 hover:text-[#f5c842] sm:hidden",children:[e.jsx(C,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:80",className:"h-4 w-4"})," Exit"]})]})}),e.jsxs("section",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:82",className:"white-label-page-wrapper",children:[e.jsx("style",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:82",children:".white-label-page-wrapper nav.sticky { display: none !important; }"}),a==="home"?e.jsx(te,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:82",channelId:l,channelName:o.channelName,heroImage:j,heroImageOpacity:s,logoImage:f,wel
11comeTitle:v,welcomeMessage:y,baseUrl:`/SEI/whitelabel?channelId=${encodeURIComponent(l)}`,onExit:()=>b(!0)}):a==="analytics"?e.jsx($,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:82",lockedChannelId:l,lockedChannelName:o.channelName,whiteLabelBaseUrl:`/SEI/whitelabel?channelId=${encodeURIComponent(l)}`}):e.jsx(_,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:82",lockedChannelId:l,lockedChannelName:o.channelName,initialMode:a,suppressWelcomeModal:!0},`${l}-${a}`)]}),m&&e.jsx("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",role:"dialog","aria-modal":"true","aria-labelledby":"white-label-exit-title",className:"fixed inset-0 z-[100] grid place-items-center bg-black/75 px-4",children:e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",className:"w-full max-w-md rounded-xl border border-white/15 bg-[#101419] p-6 shadow-2xl",children:[e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",children:[e.jsx("p",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",className:"text-[0.65rem] font-black uppercase tracking-[0.18em] text-[#f5c842]",children:"Leaving channel experience"}),e.jsx("h2",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",id:"white-label-exit-title",className:"mt-2 text-xl font-black text-white",children:"Open main S.E.I.?"})]}),e.jsx("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",type:"button",onClick:()=>b(!1),"aria-label":"Close exit dialog",className:"rounded p-1 text-white/60 hover:text-white",children:e.jsx(Y,{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",className:"h-5 w-5"})})]}),e.jsxs("p",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",className:"mt-4 text-sm leading-relaxed text-white/65",children:["You are leaving the ",o.channelName," S.E.I. experience. The full S.E.I. site will open in a new tab and this channel experience will remain open."]}),e.jsxs("div",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",className:"mt-6 flex justify-end gap-3",children:[e.jsx("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",type:"button",onClick:()=>b(!1),className:"rounded-md px-4 py-2 text-sm font-bold text-white/70 hover:text-white",children:"Stay here"}),e.jsx("button",{"data-loc":"client/src/pages/WhiteLabelExperience.tsx:84",type:"button",onClick:E,className:"rounded-md bg-[#f5c842] px-4 py-2 text-sm font-black text-[#1c1604] hover:bg-[#ffe17e]",children:"Open Main S.E.I."})]})]})})]})}export{Me 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.