1import{r as x,j as e,L as S}from"./react-vendor-awP7x_nz.js";import{S as T}from"./SEO-P3zTuC1P.js";import{L,a as C}from"./LandingFooter-B7r-Q5J8.js";import{B as A}from"./button-CmDh8t2T.js";import{Y as E}from"./YouTubeFacade-ChR9bxmv.js";import{Y as j,a as U,b as n}from"./videos-catalog-bmLvNkUi.js";import{u as I}from"./use-youtube-feed-DxWaEmsJ.js";import{at as l,A as c,Z as g,a0 as Y,au as b,c as y,p as N,a6 as $,P as h,i as _,U as w,a5 as F}from"./icons-wiL96hwL.js";import"./markdown-DU7uB8iB.js";import"./index-C7HC6xK5.js";import"./query-BtLvoqmJ.js";import"./radix-DRTKC1MJ.js";import"./brand-sell-DE-MxQRN.js";import"./plans-CPfp6EYx.js";import"./config-DhlY5xcY.js";import"./promo-CSNWg2Z7.js";import"./client-BSZuFUg1.js";import"./supabase-CLSQ2icW.js";const V=[{key:"All",icon:h},{key:"Strategy",icon:N},{key:"Indicator",icon:_},{key:"Bot",icon:g},{key:"Automation",icon:g},{key:"Tutorial",icon:w}];function p({video:r,large:d=!1}){const[i,m]=x.useState(!1);return e.jsxs("div",{className:"group relative flex flex-col overflow-hidden rounded-2xl border border-border/60 bg-gradient-card shadow-card-elev transition-all duration-300 hover:-translate-y-1 hover:border-primary/40 hover:shadow-blue-glow",children:[e.jsx("div",{className:"relative aspect-video overflow-hidden bg-black",children:i?e.jsx("iframe",{src:`https://www.youtube.com/embed/${r.id}?autoplay=1&rel=0&modestbranding=1`,title:r.title,className:"absolute inset-0 h-full w-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:`https://i.ytimg.com/vi/${r.id}/hqdefault.jpg`,alt:r.title,className:"h-full w-full object-cover transition duration-500 group-hover:scale-105",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/80 via-transparent to-transparent"}),e.jsx("button",{onClick:()=>m(!0),className:"absolute inset-0 flex items-center justify-center","aria-label":`Play ${r.title}`,children:e.jsx("div",{className:`flex items-center justify-center rounded-full bg-primary/90 text-primary-foreground shadow-blue-glow backdrop-blur transition-all duration-300 hover:scale-110 hover:bg-primary ${d?"h-20 w-20":"h-14 w-14"}`,children:e.jsx(h,{className:`${d?"h-7 w-7":"h-5 w-5"} fill-current ml-1`})})}),e.jsx("div",{className:"absolute left-3 top-3 rounded-full border border-primary/40 bg-primary/15 px-2.5 py-1 text-[9px] font-bold uppercase tracking-[0.18em] text-primary backdrop-blur",children:r.category}),e.jsxs("div",{className:"absolute bottom-3 right-3 flex items-center gap-1 rounded-md bg-black/70 px-2 py-1 text-[10px] font-bold uppercase tracking-widest text-white backdrop-blur",children:[e.jsx(l,{className:"h-3 w-3"}),"YouTube"]})]})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-2 p-4",children:[e.jsx("h3",{className:`line-clamp-2 font-display font-bold uppercase leading-tight tracking-tight text-foreground transition-colors group-hover:text-primary ${d?"text-base":"text-sm"}`,children:r.title}),e.jsxs("div",{className:"mt-auto flex items-center justify-between gap-3 text-[10px] font-bold uppercase tracking-[0.16em] text-muted-foreground",children:[e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(l,{className:"h-3 w-3 text-destructive"}),"Trusted Signals"]}),e.jsxs("a",{href:`https://www.youtube.com/watch?v=${r.id}`,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 text-primary hover:text-primary/80",children:["Open ",e.jsx(b,{className:"h-3 w-3"})]})]})]})]})}const R=r=>[{icon:h,label:"Videos",value:`${r}+`,color:"text-primary"},{icon:w,label:"Community",value:"12K+",color:"text-success"},{icon:F,label:"Total Views",value:"500K+",color:"text-gold"},{icon:y,label:"Rating",value:"4.9",color:"text-primary"}];function se(){const[r,d]=x.useState("All"),[i,m]=x.useState(""),{videos:s,live:o}=I(),f=x.useMemo(()=>s.filter(t=>{const a=r==="All"||t.category===r,u=!i||t.title.toLowerCase().includes(i.toLowerCase());return a&&u}),[r,i,s]),v=s.find(t=>t.featured)??s[0],k=s.filter(t=>t.featured&&t.id!==v.id).slice(0,3);return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(T,{title:"TS Hunter Video Library â Live Trades, Tutorials & Strategy Reviews",description:"Watch real TS Hunter trades on XAUUSD, NAS100 and SP500. Setup tutorials, automation walkthroughs and backtests on the official Trusted Signals YouTube library.",path:"/videos",jsonLd:{"@context":"https://schema.org","@type":"ItemList",itemListElement:s.slice(0,15).map((t,a)=>({"@type":"ListItem",position:a+1,url:`https://www.youtube.com/watch?v=${t.id}`,name:t.title}))}}),e.jsx(L,{}),o.isLive&&e.jsx("section",{className:"relative border-b border-destructive/40 bg-destructive/5 pt-[calc(12px)] pb-8",children:e.jsx("div",{className:"container px-4",children:e.jsxs("div",{className:"grid gap-5 lg:grid-cols-[1.6fr_1fr] lg:items-center",children:[e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-2xl border border-destructive/40 bg-black shadow-red-glow",children:e.jsx("iframe",{src:`https://www.youtube.com/embed/${o.videoId??"live_stream"}?channel=${j}&autoplay=0&rel=0&modestbranding=1`,title:o.title??"Trusted Signals Live",className:"absolute inset-0 h-full w-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),e.jsxs("div",{children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-destructive/50 bg-destructive/15 px-3 py-1.5 text-[10.5px] font-bold uppercase tracking-[0.2em] text-destructive",children:[e.jsxs("span",{className:"relative flex h-2 w-2",children:[e.jsx("span",{className:"absolute inset-0 animate-ping rounded-full bg-destructive opacity-75"}),e.jsx("span",{className:"relative h-2 w-2 rounded-full bg-destructive"})]}),"Live Now"]}),e.jsx("h2",{className:"mt-4 font-display text-2xl leading-tight tracking-tight text-foreground sm:text-3xl",children:o.title??"Trusted Signals is streaming live"}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Jump in â live signals, trade breakdowns and Q&A happening right now."}),e.jsxs("a",{href:o.videoId?`https://www.youtube.com/watch?v=${o.videoId}`:U,target:"_blank",rel:"noreferrer",className:"mt-5 inline-flex items-center gap-2 rounded-2xl bg-gradient-red px-6 py-3.5 text-sm font-extrabold uppercase tracking-[0.18em] text-destructive-foreground shadow-red-glow transition hover:scale-[1.02]",children:[e.jsx(l,{className:"h-4 w-4"}),"Watch Live",e.jsx(c,{className:"h-4 w-4"})]})]})]})})}),e.jsxs("section",{className:"relative overflow-hidden border-b border-border pb-10 pt-[calc(16px)] md:pt-[calc(24px)] md:pb-20",children:[e.jsx("div",{className:"absolute inset-0 bg-hero-glow opacity-60"}),e.jsx("div",{className:"absolute inset-0 grid-bg opacity-30"}),e.jsx("div",{className:"container relative px-4",children:e.jsxs("div",{className:"mx-auto max-w-4xl text-center",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-destructive/40 bg-destructive/10 px-3 py-1.5 text-[10.5px] font-bold uppercase tracking-[0.2em] text-destructive",children:[e.jsxs("span",{className:"relative flex h-2 w-2",children:[e.jsx("span",{className:"absolute inset-0 animate-ping rounded-full bg-destructive opacity-75"}),e.jsx("span",{className:"relative h-2 w-2 rounded-full bg-destructive"})]}),"Official Trusted Signals YouTube"]}),e.jsxs("h1",{className:"mt-6 font-display text-4xl leading-[1.05] tracking-tight text-foreground sm:text-5xl md:text-6xl lg:text-7xl",children:["Trusted Signals"," ",e.jsx("span",{className:"text-chrome",children:"Video Library"})]}),e.jsx("p",{className:"mx-auto mt-5 max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg",children:"Every video below is from our official channel â indicator tutorials, automated bots, backtests, and live strategy breakdowns. 100% Trusted Signals, no outside content."}),e.jsxs("div",{className:"mt-8 flex flex-col items-center gap-4 sm:flex-row sm:justify-center",children:[e.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"btn-shine-auto group relative inline-flex items-center gap-2.5 overflow-hidden rounded-2xl bg-gradient-red px-7 py-4 text-sm font-extrabold uppercase tracking-[0.18em] text-destructive-foreground shadow-red-glow transition hover:scale-[1.02] active:scale-[0.98]",children:[e.jsx(l,{className:"h-5 w-5"}),"Subscribe on YouTube",e.jsx(c,{className:"h-4 w-4 transition group-hover:translate-x-0.5"})]}),e.jsxs(S,{to:"/",className:"inline-flex items-center gap-2 rounded-2xl border border-border bg-card/80 px-6 py-4 text-sm font-bold uppercase tracking-[0.16em] text-muted-foreground backdrop-blur transition hover:border-primary/40 hover:text-foreground",children:[e.jsx(g,{className:"h-4 w-4 text-primary"}),"Get TS Hunter",e.jsx(Y,{className:"h-4 w-4"})]})]}),e.jsxs("div",{className:"mt-6 inline-flex items-center gap-2 rounded-full border border-border bg-card/85 px-4 py-2 text-xs text-muted-foreground",children:[e.jsx(b,{className:"h-3 w-3"}),"youtube.com/@TrustedSignals"]})]})})]}),e.jsx("section",{className:"border-b border-border bg-card/30 py-8",children:e.jsx("div",{className:"container px-4",children:e.jsx("div",{className:"grid grid-cols-2 gap-4 md:grid-cols-4",children:R(s.length).map(t=>{const a=t.icon;return e.jsxs("div",{className:"flex flex-col items-center gap-2 rounded-2xl border border-border/60 bg-gradient-card p-5 text-center shadow-card-elev",children:[e.jsx(a,{className:`h-5 w-5 ${t.color}`}),e.jsx("div",{className:"font-display text-2xl font-black tracking-tight text-foreground sm:text-3xl",children:t.value}),e.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-muted-foreground",children:t.label})]},t.label)})})})}),e.jsxs("section",{className:"relative py-16 md:py-20",children:[e.jsx("div",{className:"absolute inset-0 bg-hero-glow opacity-40"}),e.jsxs("div",{className:"container relative px-4",children:[e.jsxs("div",{className:"mb-8",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-gold/40 bg-gold/10 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.2em] text-gold",children:[e.jsx(y,{className:"h-3 w-3"}),"Featured"]}),e.jsxs("h2",{className:"mt-4 font-display text-3xl leading-tight tracking-tight text-foreground sm:text-4xl",children:["Watch ",e.jsx("span",{className:"text-chrome",children:"First"})]})]}),e.jsxs("div",{className:"grid gap-5 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-2",children:e.jsx(p,{video:v,large:!0})}),e.jsx("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-1",children:k.map(t=>e.jsx(p,{video:t},t.id))})]})]})]}),e.jsx("section",{className:"relative border-y border-border bg-card/20 py-16 md:py-20",children:e.jsxs("div",{className:"container relative px-4",children:[e.jsxs("div",{className:"mb-8 flex flex-col items-start justify-between gap-4 sm:flex-row sm:items-end",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-primary/40 bg-primary/10 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.2em] text-primary",children:[e.jsx(N,{className:"h-3 w-3"}),"Full Library"]}),e.jsxs("h2",{className:"mt-4 font-display text-3xl leading-tight tracking-tight text-foreground sm:text-4xl",children:["All ",e.jsx("span",{className:"text-chrome",children:"Videos"})]}),e.jsxs("p",{className:"mt-2 max-w-lg text-sm text-muted-foreground",children:[s.length," videos straight from the Trusted Signals channel. Filter by topic or search by title."]})]}),e.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"group inline-flex items-center gap-2 rounded-xl border border-border bg-card/80 px-5 py-3 text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground transition hover:border-primary/40 hover:text-foreground",children:["View on YouTube",e.jsx(c,{className:"h-3.5 w-3.5 transition group-hover:translate-x-0.5"})]})]}),e.jsxs("div",{className:"mb-8 flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:V.map(t=>{const a=t.icon,u=r===t.key;return e.jsxs("button",{onClick:()=>d(t.key),className:`inline-flex items-center gap-1.5 rounded-full border px-3.5 py-1.5 text-[10px] font-bold uppercase tracking-[0.18em] transition ${u?"border-primary/60 bg-primary/15 text-primary shadow-blue-glow":"border-border bg-card/85 text-muted-foreground hover:border-primary/30 hover:text-foreground"}`,children:[e.jsx(a,{className:"h-3 w-3"}),t.key]},t.key)})}),e.jsxs("div",{className:"relative w-full md:w-72",children:[e.jsx($,{className:"pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),e.jsx("input",{type:"text",value:i,onChange:t=>m(t.target.value),placeholder:"Search videos...",className:"w-full rounded-xl border border-border bg-card/85 py-2.5 pl-10 pr-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary/50 focus:outline-none focus:ring-2 focus:ring-primary/20"})]})]}),f.length===0?e.jsx("div",{className:"rounded-2xl border border-dashed border-border/60 bg-card/20 p-12 text-center",children:e.jsx("p",{className:"text-sm font-bold uppercase tracking-[0.16em] text-muted-foreground",children:"No videos match your filters."})}):e.jsx("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:f.map(t=>e.jsx(p,{video:t},t.id))})]})}),e.jsx("section",{className:"relative py-16 md:py-20",children:e.jsxs("div",{className:"container relative px-4",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-destructive/40 bg-destructive/10 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.2em] text-destructive",children:[e.jsx(l,{className:"h-3 w-3"}),"Live Channel"]}),e.jsxs("h2",{className:"mt-4 font-display text-3xl leading-tight tracking-tight text-foreground sm:text-4xl",children:["Latest Uploads ",e.jsx("span",{className:"text-gradient-red glow-text-red",children:"Direct"})]}),e.jsx("p",{className:"mx-auto mt-2 max-w-lg text-sm text-muted-foreground",children:"The newest video from our channel â auto-updated by YouTube."})]}),e.jsx("div",{className:"mx-auto max-w-5xl overflow-hidden rounded-2xl border border-border/60 bg-gradient-card shadow-card-elev",children:e.jsx("div",{className:"relative aspect-video bg-black",children:e.jsx(E,{videoId:s[0].id,playlistChannelId:j,title:"Trusted Signals - Latest Uploads",thumbQuality:"max"})})})]})}),e.jsxs("section",{className:"relative overflow-hidden border-y border-border py-16 md:py-24",children:[e.jsx("div",{className:"absolute inset-0 bg-hero-glow opacity-70"}),e.jsx("div",{className:"absolute inset-0 grid-bg opacity-20"}),e.jsx("div",{className:"pointer-events-none absolute -left-1/4 top-0 h-96 w-96 rounded-full bg-primary/10 blur-3xl"}),e.jsx("div",{className:"pointer-events-none absolute -right-1/4 bottom-0 h-96 w-96 rounded-full bg-destructive/10 blur-3xl"}),e.jsx("div",{className:"container relative px-4",children:e.jsxs("div",{className:"mx-auto max-w-3xl rounded-3xl border border-primary/30 bg-gradient-to-br from-primary/10 via-card/80 to-background p-8 text-center shadow-blue-glow backdrop-blur md:p-12",children:[e.jsx("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-red shadow-red-glow",children:e.jsx(l,{className:"h-8 w-8 text-destructive-foreground"})}),e.jsxs("h2",{className:"font-display text-3xl leading-tight tracking-tight text-foreground sm:text-4xl",children:["Never Miss a ",e.jsx("span",{className:"text-gradient-red glow-text-red",children:"Video"})]}),e.jsx("p",{className:"mx-auto mt-4 max-w-xl text-base leading-relaxed text-muted-foreground",children:"New tutorials, indicator releases, and bot demos every week. Subscribe and turn on notifications."}),e.jsxs("div",{className:"mt-8 flex flex-col items-center gap-4 sm:flex-row sm:justify-center",children:[e.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"btn-shine-auto group relative inline-flex items-center gap-2.5 overflow-hidden rounded-2xl bg-gradient-red px-8 py-4 text-sm font-extrabold uppercase tracking-[0.18em] text
1-destructive-foreground shadow-red-glow transition hover:scale-[1.02] active:scale-[0.98]",children:[e.jsx(l,{className:"h-5 w-5"}),"Subscribe Now",e.jsx(c,{className:"h-4 w-4 transition group-hover:translate-x-0.5"})]}),e.jsxs(A,{variant:"outline",className:"h-auto gap-2 rounded-2xl border-border bg-card/80 px-6 py-4 text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground backdrop-blur transition hover:border-primary/40 hover:text-foreground",onClick:()=>navigator.clipboard.writeText(n),children:[e.jsx(b,{className:"h-4 w-4"}),"Copy Channel Link"]})]}),e.jsx("p",{className:"mt-4 text-[10px] font-bold uppercase tracking-[0.2em] text-muted-foreground",children:"Free forever · No spam · Unsubscribe anytime"})]})})]}),e.jsx(C,{})]})}export{se 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.