PageSourceSearch

https://ffai-tib.lovable.app/assets/tib-C3b6U0lU.js

js ffai-tib.lovable.app collected 2026-10-03 03:31:23 UTC 5,303 bytes, 8 lines download raw bytes

1import{c as n,r as t,j as e,m as d,L as s,X as c,n as m,B as x}from"./index-CWHMBte_.js";import{F as p}from"./file-text-CatqSpC2.js";import{C as u}from"./compass-Cdd5N5vC.js";const h=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],b=n("layers",h),g=[{to:"/how-to-use",label:"How to use TIB",icon:p},{to:"/help",label:"Help Center",icon:m},{to:"/knowledge",label:"Knowledge Hub",icon:x},{to:"/build-stages",label:"Build Stages",icon:b},{to:"/floors",label:"Tour My Floors",icon:u}];function w(){const o="https://www.youtube.com/embed/2RjPumkfFnk",[l,r]=t.useState(!1);return t.useEffect(()=>{try{window.sessionStorage.getItem("tib:justOnboarded")==="1"&&(r(!0),window.sessionStorage.removeItem("tib:justOnboarded"))}catch{}},[]),e.jsxs("div",{className:"relative min-h-[calc(100vh-4rem)] overflow-hidden px-6 py-12",children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10",style:{background:"radial-gradient(800px 500px at 50% 30%, color-mix(in oklab, var(--primary) 25%, transparent), transparent 70%)"}}),e.jsxs("header",{className:"text-center mb-10",children:[e.jsx("div",{className:"font-display text-[11px] tracking-[0.35em] text-primary glow-text",children:"WELCOME TO"}),e.jsxs("h1",{className:"mt-2 font-display text-4xl md:text-5xl tracking-[0.12em] text-foreground",children:["THE INTERNAL BRAIN",e.jsx("sup",{className:"ml-1 text-[0.35em] tracking-normal align-super text-primary",children:"TM"})]}),e.jsx("p",{className:"mt-3 max-w-2xl mx-auto text-sm text-muted-foreground",children:"The intelligence layer of your business. Step through the portal to meet your TIB."})]}),l&&e.jsx("div",{className:"mx-auto mb-8 max-w-2xl",children:e.jsxs("div",{className:"relative flex items-start gap-4 p-5 rounded-xl glass-strong border border-primary/50 shadow-[0_0_40px_-10px_var(--glow)]",children:[e.jsx("img",{src:d,alt:"Mr FFAI",className:"h-14 w-14 rounded-full border border-primary/60 object-cover shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"font-display text-[10px] tracking-[0.3em] uppercase text-primary mb-1",children:"Mr FFAI"}),e.jsxs("p",{className:"text-sm text-foreground leading-relaxed",children:["Welcome to my part of this world. Here you can learn about how to use this system. Start by watching the explainer video, then look around a bit before you go to the"," ",e.jsx(s,{to:"/",className:"text-primary underline underline-offset-2 hover:text-primary/80",children:"command center"}),"."]})]}),e.jsx("button",{type:"button",onClick:()=>r(!1),"aria-label":"Dismiss welcome message",className:"text-muted-foreground hover:text-foreground transition shrink-0",children:e.jsx(c,{className:"h-4 w-4"})})]})}),e.jsxs("div",{className:"relative mx-auto mb-8 aspect-square w-full max-w-[480px]",children:[e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, var(--primary), transparent 25%, var(--primary) 50%, transparent 75%, var(--primary))",animation:"tibPortalSpin 14s linear infinite",filter:"blur(2px)",opacity:.85}}),e.jsx("div",{"aria-hidden":!0,className:"absolute inset-3 rounded-full",style:{background:"conic-gradient(from 180deg, color-mix(in oklab, var(--primary) 70%, transparent), transparent 40%, color-mix(in oklab, var(--primary) 50%, transparent) 70%, transparent)",animation:"tibPortalSpinReverse 22s linear infinite",filter:"blur(1px)",opacity:.7}}),e.jsx("div",{"aria-hidden":!0,className:"absolute inset-8 rounded-full",style:{background:"radial-gradient(closest-side, color-mix(in oklab, var(--primary) 35%, transparent), transparent 70%)",animation:"tibPortalPulse 4s ease-in-out infinite"}}),e.jsx("div",{className:"absolute inset-[8%] rounded-full overflow-hidden glass-strong border border-primary/40 shadow-[0_0_60px_-10px_var(--glow)]",children:e.jsx("iframe",{className:"w-full h-full",src:o,allow:"autoplay; encrypted-media",allowFullScreen:!0,title:"Mr FFAI explainer"})})]}),e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsx("div",{className:"text-center mb-4 font-display text-[10px] tracking-[0.3em] text-muted-foreground",children:"DIVE DEEPER"}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 ga
1p-3",children:g.map(a=>{const i=a.icon;return e.jsxs(s,{to:a.to,className:"group flex flex-col items-center justify-center gap-2 p-4 rounded-lg glass border border-border/60 hover:border-primary/60 hover:glow-edge transition",children:[e.jsx(i,{className:"h-5 w-5 text-primary"}),e.jsx("span",{className:"text-xs tracking-[0.15em] uppercase text-foreground/90 text-center",children:a.label})]},a.label)})})]}),e.jsx("style",{children:`
2        @keyframes tibPortalSpin { to { transform: rotate(360deg); } }
3        @keyframes tibPortalSpinReverse { to { transform: rotate(-360deg); } }
4        @keyframes tibPortalPulse {
5          0%, 100% { opacity: 0.55; transform: scale(0.98); }
6          50% { opacity: 1; transform: scale(1.04); }
7        }
8      `})]})}export{w as component};

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.