1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,644711,e=>{"use strict";var t=e.i(518643),s=e.i(141080),a=e.i(114702);let r=s.forwardRef(({className:e,...s},r)=>(0,t.jsx)("div",{ref:r,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",e),...s}));r.displayName="Card";let i=s.forwardRef(({className:e,...s},r)=>(0,t.jsx)("div",{ref:r,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",e),...s}));i.displayName="CardHeader";let l=s.forwardRef(({className:e,...s},r)=>(0,t.jsx)("h3",{ref:r,className:(0,a.cn)("font-semibold leading-none tracking-tight",e),...s}));l.displayName="CardTitle";let n=s.forwardRef(({className:e,...s},r)=>(0,t.jsx)("p",{ref:r,className:(0,a.cn)("text-sm text-muted-foreground",e),...s}));n.displayName="CardDescription";let c=s.forwardRef(({className:e,...s},r)=>(0,t.jsx)("div",{ref:r,className:(0,a.cn)("p-6 pt-0",e),...s}));c.displayName="CardContent";let d=s.forwardRef(({className:e,...s},r)=>(0,t.jsx)("div",{ref:r,className:(0,a.cn)("flex items-center p-6 pt-0",e),...s}));d.displayName="CardFooter",e.s(["Card",()=>r,"CardContent",()=>c,"CardDescription",()=>n,"CardFooter",()=>d,"CardHeader",()=>i,"CardTitle",()=>l])},511855,e=>{"use strict";let t=(0,e.i(87371).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],511855)},620021,e=>{"use strict";let t=(0,e.i(87371).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",()=>t],620021)},640144,e=>{"use strict";let t=(0,e.i(87371).default)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);e.s(["Gift",()=>t],640144)},336226,e=>{"use strict";var t=e.i(5662);let s=(0,t.createServerReference)("00d00582f4b34d83456c1783623b65b4dc454a80c3",t.callServer,void 0,t.findSourceMapURL,"getWallet");e.s(["getWallet",()=>s])},401098,e=>{"use strict";let t=(0,e.i(87371).default)("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);e.s(["Wallet",()=>t],401098)},160183,e=>{"use strict";var t=e.i(518643),s=e.i(141080),a=e.i(284512);function r({url:e,ads:r}){let{play:i,setPortalNode:l}=(0,a.usePlayer)(),n=(0,s.useRef)(null);return(0,s.useEffect)(()=>(i({url:e,ads:r}),n.current&&l(n.current),()=>{l(null)}),[e,r,i,l]),(0,t.jsx)("div",{ref:n,id:"live-player-container",className:"w-full aspect-video bg-black rounded-xl overflow-hidden shadow-2xl ring-1 ring-white/10"})}e.s(["LivePlayerController",()=>r])},461628,e=>{"use strict";var t=e.i(518643),s=e.i(782143),a=e.i(644711),r=e.i(620021);function i(){let{setChatOpen:e}=(0,s.useChat)();return(0,t.jsx)(a.Card,{className:"bg-zinc-900/50 border-white/10 hover:bg-zinc-900/80 transition-colors cursor-pointer group",onClick:()=>e(!0),children:(0,t.jsxs)(a.CardContent,{className:"p-6 flex items-center gap-4",children:[(0,t.jsx)("div",{className:"p-3 rounded-full bg-secondary/10 text-secondary group-hover:scale-110 transition-transform",children:(0,t.jsx)(r.MessageCircle,{className:"w-6 h-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-bold text-white",children:"Live Chat"}),(0,t.jsx)("p",{className:"text-sm text-zinc-400",children:"Join the conversation"})]})]})})}e.s(["LiveChatTrigger",()=>i])},350928,e=>{"use strict";var t=e.i(518643),s=e.i(141080),a=e.i(621033),r=e.i(5662);let i=(0,r.createServerReference)("00e27ffcae85430bf6dcabc2b1a4166d8293e07aaa",r.callServer,void 0,r.findSourceMapURL,"getGifts"),l=(0,r.createServerReference)("70025777d694428ed94e8de3514458cb3a21aa658e",r.callServer,void 0,r.findSourceMapURL,"sendGift");var n=e.i(336226),c=e.i(6851),d=e.i(387329),o=e.i(640144),u=e.i(511855),f=e.i(401098),h=e.i(110484),x=e.i(363702),m=e.i(157999);function p({programName:e="Live Show",hostName:r="Live DJ"}){let{isSignedIn:p}
1=(0,a.useUser)(),[v,g]=(0,s.useState)([]),[b,y]=(0,s.useState)(0),[N,j]=(0,s.useState)(!0),[w,C]=(0,s.useState)(null),R=(0,m.useRouter)();(0,s.useEffect)(()=>{!async function(){try{let[e,t]=await Promise.all([i(),(0,n.getWallet)()]);g(e),y(t?.balance||0)}catch(e){console.error(e)}finally{j(!1)}}()},[]);let k=async t=>{if(!p){x.toast.error("Login Required",{description:"Please login to send gifts."}),R.push("/sign-in");return}if(b<t.cost)return void x.toast.error("Insufficient Funds",{description:"Please top up your wallet to send this gift."});C(t.id);try{let s=await l(t.id,e,r);s.success&&(y(s.balance),x.toast.success("Gift Sent!",{description:`You sent a ${t.name} to ${r}.`}))}catch(e){x.toast.error("Error",{description:e.message||"Failed to send gift"})}finally{C(null)}};return N?null:(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-zinc-400",children:[(0,t.jsx)(o.Gift,{className:"w-4 h-4 text-primary"}),(0,t.jsx)("span",{className:"font-medium text-white",children:"Send a Gift"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 px-3 py-1 rounded-full bg-zinc-800 border border-zinc-700",children:[(0,t.jsx)(f.Wallet,{className:"w-3 h-3 text-green-400"}),(0,t.jsxs)("span",{className:"font-bold text-green-400",children:["$",b.toFixed(2)]})]}),(0,t.jsxs)(c.Button,{variant:"ghost",size:"sm",className:"h-7 text-xs text-zinc-400 hover:text-white",onClick:()=>{if(!p){x.toast.error("Login Required",{description:"Please login to add funds."}),R.push("/sign-in");return}R.push("/dashboard?tab=wallet")},children:[(0,t.jsx)(u.Plus,{className:"w-3 h-3 mr-1"})," Add Funds"]})]})]}),(0,t.jsxs)("div",{className:"flex gap-3 overflow-x-auto pb-4 scrollbar-hide",children:[v.map(e=>(0,t.jsxs)("button",{onClick:()=>k(e),disabled:!!w,className:"group relative flex flex-col items-center flex-shrink-0 w-24 p-3 rounded-xl bg-zinc-900/50 border border-white/5 hover:border-primary/50 hover:bg-zinc-800/80 transition-all active:scale-95 disabled:opacity-50 disabled:pointer-events-none",children:[(0,t.jsx)("div",{className:"relative w-12 h-12 mb-2 transition-transform group-hover:scale-110",children:(0,t.jsx)(h.default,{src:e.iconUrl,alt:e.name,fill:!0,className:"object-contain",unoptimized:!0})}),(0,t.jsx)("span",{className:"text-xs font-medium text-zinc-300 group-hover:text-white truncate w-full text-center",children:e.name}),(0,t.jsx)("div",{className:"mt-1 px-2 py-0.5 rounded-full bg-zinc-950/50 border border-white/5",children:(0,t.jsxs)("span",{className:"text-[10px] font-bold text-primary",children:["$",e.cost.toFixed(2)]})}),w===e.id&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-xl",children:(0,t.jsx)(d.Loader2,{className:"w-6 h-6 animate-spin text-white"})})]},e.id)),0===v.length&&(0,t.jsx)("div",{className:"text-sm text-zinc-500 italic py-4",children:"No gifts available right now."})]})]})}e.s(["GiftBar",()=>p],350928)}]);
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.