1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7031],{9790:function(e,t,r){Promise.resolve().then(r.bind(r,4993)),Promise.resolve().then(r.bind(r,6777)),Promise.resolve().then(r.bind(r,6512))},4993:function(e,t){"use strict";t.default=()=>null},8184:function(e,t,r){"use strict";r.d(t,{m:function(){return c}});var a=r(7437),n=r(7648),s=r(1197),i=r(2023),l=r(8997),o=r(6858),d=r(2869);let c=e=>{let{className:t=""}=e;return(0,a.jsxs)("div",{className:"w-full max-w-4xl mx-auto my-6 relative overflow-hidden rounded-2xl border border-amber-500/30 bg-gradient-to-r from-amber-500/10 via-card to-rose-500/10 p-5 sm:p-6 shadow-lg backdrop-blur-xl ".concat(t),children:[(0,a.jsx)("div",{className:"absolute -top-16 -right-16 w-48 h-48 bg-amber-500/15 rounded-full blur-2xl pointer-events-none"}),(0,a.jsx)("div",{className:"absolute -bottom-16 -left-16 w-48 h-48 bg-rose-500/10 rounded-full blur-2xl pointer-events-none"}),(0,a.jsxs)("div",{className:"relative z-10 flex flex-col sm:flex-row items-center justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3.5 text-left flex-1",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-xl bg-amber-500/15 border border-amber-500/30 flex items-center justify-center shrink-0 mt-0.5",children:(0,a.jsx)(s.Z,{className:"w-5 h-5 text-amber-600 dark:text-amber-400 animate-pulse"})}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full bg-amber-500/15 border border-amber-500/25 text-amber-600 dark:text-amber-400 text-[11px] font-bold",children:[(0,a.jsx)(i.Z,{className:"w-3 h-3"})," Community Powered"]}),(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 text-[11px] font-semibold text-rose-500",children:[(0,a.jsx)(l.Z,{className:"w-3 h-3 fill-rose-500/20"})," 100% Free Forever"]})]}),(0,a.jsx)("h4",{className:"text-base font-bold text-foreground leading-snug",children:"Enjoying TubeTool's free AI insights? â"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground leading-relaxed max-w-xl",children:"We don't charge monthly fees like TubeBuddy or VidIQ. Help us keep server infrastructure free for every creator."})]})]}),(0,a.jsx)("div",{className:"w-full sm:w-auto shrink-0 pt-2 sm:pt-0",children:(0,a.jsx)(n.default,{href:"/our-mission",className:"w-full sm:w-auto block",children:(0,a.jsxs)(d.z,{className:"w-full sm:w-auto bg-gradient-to-r from-red-500 via-amber-500 to-amber-600 hover:from-red-600 hover:to-amber-500 text-white font-bold text-xs h-10 px-5 rounded-xl shadow-md hover:shadow-lg shadow-amber-500/20 transition-all flex items-center justify-center gap-2 group",children:[(0,a.jsx)("span",{children:"Support Our Mission"}),(0,a.jsx)(o.Z,{className:"w-3.5 h-3.5 group-hover:translate-x-1 transition-transform"})]})})})]})]})}},6777:function(e,t,r){"use strict";r.d(t,{DescriptionGeneratorForm:function(){return S}});var a=r(7437),n=r(2265),s=r(4438),i=r(9235);let l=(0,r(9205).Z)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);var o=r(8867),d=r(8313),c=r.n(d),u=r(2869),f=r(5186),h=r(6815),m=r(3647),p=r(2405),x=r(6818),g=e=>{let{onGenerate:t,title:r,isPending:i}=e,[l,o]=(0,n.useState)(""),[d,c]=(0,n.useState)(""),[g,b]=(0,n.useState)(""),[v,j]=(0,n.useState)("");return(0,a.jsxs)("div",{className:"w-full flex flex-col gap-2.5 items-center pt-4 md:pt-10",children:[(0,a.jsx)("h1",{className:"text-2xl font-semibold text-center bg-gradient-to-tr from-black/90 via-black/90 to-primary-foreground text-transparent bg-clip-text dark:from-primary-foreground dark:via-primary-foreground dark:to-dark mb-2",children:r}),(0,a.jsxs)("div",{className:"w-full flex gap-4 flex-col items-center",children:[(0,a.jsxs)("div",{className:"w-full flex gap-1 flex-col",children:[(0,a.jsx)(h._,{htmlFor:"keyword",children:"Enter Keywords"}),(0,a.jsx)(f.I,{id:"keyword",type:"text",placeholder:"Enter keywords (comma separated)",className:"w-full",autoFocus:!0,value:l,onCh
1ange:e=>o(e.target.value)})]}),(0,a.jsxs)("div",{className:"w-full flex gap-1 flex-col",children:[(0,a.jsx)(h._,{htmlFor:"script",children:"Enter Script"}),(0,a.jsx)(x.g,{id:"script",placeholder:"Enter video script",className:"w-full",value:v,rows:5,onChange:e=>j(e.target.value)})]}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row items-center gap-4",children:[(0,a.jsxs)("div",{className:"w-full flex gap-1 flex-col",children:[(0,a.jsx)(h._,{htmlFor:"video-category",children:"Select Video Category"}),(0,a.jsxs)(m.Ph,{value:d,onValueChange:e=>c(e),children:[(0,a.jsx)(m.i4,{className:"w-full",children:(0,a.jsx)(m.ki,{id:"video-category",placeholder:"Video category"})}),(0,a.jsx)(m.Bw,{children:p.th.map(e=>(0,a.jsx)(m.Ql,{value:e.value,children:e.label},e.value))})]})]}),(0,a.jsxs)("div",{className:"w-full flex gap-1 flex-col",children:[(0,a.jsx)(h._,{htmlFor:"output-language",children:"Select Output Language"}),(0,a.jsxs)(m.Ph,{value:g,onValueChange:e=>b(e),children:[(0,a.jsx)(m.i4,{className:"w-full",children:(0,a.jsx)(m.ki,{id:"output-language",placeholder:"Output language"})}),(0,a.jsx)(m.Bw,{children:p.eq.map(e=>(0,a.jsx)(m.Ql,{value:e.value,children:e.label},e.value))})]})]})]}),(0,a.jsxs)("div",{className:"w-full flex items-center justify-end gap-2",children:[(0,a.jsx)(u.z,{variant:"outline",disabled:!l&&!d&&!g&&!v,onClick:()=>{o(""),c(""),b(""),j("")},children:"Reset"}),(0,a.jsx)(u.z,{disabled:!l||!d||!g||!v||i,onClick:()=>{if(!l||!d||!g||!v){s.toast.error("Please fill all the fields");return}t(l,v,d,g)},children:"Generate"})]})]})]})},b=r(1828),v=r(6512),j=r(6488),w=r(8184),y=r(8010),N=r(4508),k=r(5341),_=r(3019),C=r(9180);let S=()=>{let e=(0,k.TL)(),t=(0,C.x)(),{channelVideosList:r,currentChannel:d}=(0,k.CG)(e=>e.channel),[p,S]=(0,n.useTransition)(),[T,z]=(0,n.useState)(""),[E,R]=(0,n.useState)(""),[F,I]=(0,n.useState)(""),[P,L]=(0,n.useState)([]),[V,Z]=(0,n.useState)(""),[M,B]=(0,n.useState)(!1),[G,Q]=(0,n.useState)([{time:"",description:""}]),[A,D]=(0,n.useState)(""),[H,O]=(0,n.useState)("_____"),[U,W]=(0,n.useState)([]),[q,Y]=(0,n.use
1State)([]),[K,$]=(0,n.useState)(""),J=(e,t,r)=>{let a=[...G];a[e][t]=r,Q(a)},X=e=>{Q(G.filter((t,r)=>r!==e))},ee=()=>{let e="none"===H?"":"\n\n".concat(H,"\n\n"),t="".concat(T).concat(e);return(M&&G.length>0&&(t+=e?"Timestamps:\n":"\n\nTimestamps:\n",G.forEach(e=>{let{time:r,description:a}=e;r&&a&&(t+="".concat(r," - ").concat(a,"\n"))}),t+=e||"\n\n"),P.length>0&&(t+=e?"Follow me on:\n":"\n\nFollow me on:\n",P.forEach(e=>{t+="".concat(e,"\n")}),t+=e||"\n\n"),q.length>0&&(t+=e?"Watch my latest video:\n":"\n\nWatch my latest video:\n",q.forEach(e=>{t+="\n".concat(e.title," - ").concat(e.link,"\n")}),t+=e||"\n\n"),V&&(t+="Check out our sponsor: ".concat(V)+(e||"\n\n")),A&&(t+="".concat(A).concat(e)),t.trim()===H||""===t.trim())?"Generate or add additional information to see the preview here.":t.trim()},et=async()=>{try{let{data:t}=await y.Z.get("/channel/details?filterKey=videos");e((0,_.MM)(t.channelDetails)),W(t.channelDetails)}catch(e){console.error("Error getting videos list:",e),W([])}};return(0,n.useEffect)(()=>{t&&d&&0===r.length?et():W(r)},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"w-full flex flex-col gap-2.5",children:[(0,a.jsx)(g,{onGenerate:(e,t,r,a)=>{S(async()=>{let n={script:t,tags:e.split(",").map(e=>e.trim()),language:a,genre:r,alphabet:"Hinglish"===a?"ltn":""},l=s.toast.loading("Generating description...");try{let e=await y.Z.post("/ai/generate-description",{data:n});z(e.data.data.description),(0,i.Z)({particleCount:100,spread:70,origin:{y:.6}}),s.toast.success("Description generated successfully.",{id:l})}catch(e){s.toast.error("Something went wrong. Please try again later.",{id:l}),console.error("Error generating title:",e)}})},title:"Description Generator Tool",isPending:p}),(0,a.jsxs)("div",{className:"space-y-2.5",children:[(0,a.jsx)(j.H,{wrapperClass:"justify-start border-0 border-transparent",children:(0,a.jsx)("h2",{className:"text-base font-semibold",children:"Add Additional Information"})}),(0,a.jsxs)("div",{className:"w-full flex items-end space-x-2",children:[(0,a.jsxs)("div",{className:"w-1/2",children:[(0,a.jsx)(h._,{htmlFor:"platform",children:"Platform"}),(0,a.jsx)(f.I,{id:"platform",value:E,onChange:e=>R(e.target.value),placeholder:"eg Twitter, Instagram, etc.",list:"platforms"}),(0,a.jsxs)("datalist",{id:"platforms",children:[(0,a.jsx)("option",{value:"Twitter"}),(0,a.jsx)("option",{value:"Instagram"}),(0,a.jsx)("option",{value:"Facebook"}),(0,a.jsx)("option",{value:"LinkedIn"}),(0,a.jsx)("option",{value:"YouTube"}),(0,a.jsx)("option",{value:"TikTok"}),(0,a.jsx)("option",{value:"Twitch"}),(0,a.jsx)("option",{value:"Patreon"}),(0,a.jsx)("option",{value:"Buy Me a Coffee"})]})]}),(0,a.jsxs)("div",{className:"w-1/2",children:[(0,a.jsx)(h._,{htmlFor:"link",children:"Link"}),(0,a.jsx)(f.I,{id:"link",value:F,onChange:e=>I(e.target.value),placeholder:"Enter your link"})]}),(0,a.jsx)("div",{className:"w-fit",children:(0,a.jsx)(u.z,{onClick:()=>{if(!E||!F){s.toast.error("Please fill all the fields");return}L([...P,"".concat(E,": ").concat(F)]),R(""),I("")},children:"Add"})})]}),(0,a.jsx)("div",{className:"space-y-2",children:P.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)("p",{children:e}),(0,a.jsx)(u.z,{onClick:()=>L(P.filter((e,r)=>r!==t)),size:"icon",variant:"ghost",className:"p-1 h-6 w-6",children:(0,a.jsx)(l,{className:"w-1.5 h-1.5 text-primary"})})]},t))}),(0,a.jsx)(v.Separator,{className:"mt-4"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h._,{htmlFor:"affiliate-link",children:"Affiliate Link"}),(0,a.jsx)(f.I,{id:"affiliate-link",value:V,onChange:e=>Z(e.target.value),placeholder:"Enter your affiliate link"})]}),(0,a.jsxs)("div",{className:"w-full grid grid-cols-12 gap-2",children:[(0,a.jsxs)("div",{className:"col-span-10",children:[(0,a.jsx)(h._,{htmlFor:"video-link",children:"Video Link"}),(0,a.jsxs)(m.Ph,{value:K,onValueChange:e=>$(e),children:[(0,a.jsx)(m.i4,{id:"video-link",children:(0,a.jsx)(m.ki,{placeholder:"Select a video link"})}),(0,a.jsxs)(m.Bw,{children:[(0,a.jsx)(m.Ql,{value:"tubetool_none_value",className:"italic",children:"None"}),U.map((e,t)=>(0,a.jsx)(m.Ql,{value:e.title,children:e.title},t))]})]})]}),(0,a.jsx)("div",{className:"w-full flex items-end justify-end col-span-2",children:(0,a.jsx)(u.z,{onClick:()=>{let e=U.find(e=>e.title===K);e&&(Y([...q,e]),W(U.filter(e=>e.title!==K))),$("tubetool_none_value")},disabled:"tubetool_none_value"===K||""===K,children:"Add"})})]}),q.length>0&&(0,a.jsx)("div",{className:"space-y-2",children:q.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)("p",{children:e.title}),(0,a.jsx)(u.z,{onClick:()=>{W([...U,e]),Y(q.filter((e,r)=>r!==t))},size:"icon",variant:"ghost",className:"p-1 h-6 w-6",children:(0,a.jsx)(l,{className:"w-1.5 h-1.5 text-primary"})})]},t))}),(0,a.jsx)(v.Separator,{className:"mt-3.5"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h._,{htmlFor:"business-info",children:"Business Information"}),(0,a.jsx)(x.g,{id:"business-info",value:A,onChange:e=>D(e.target.value),placeholder:"Enter your business information",rows:4})]}),(0,a.jsx)(v.Separator,{className:"mt-3.5"}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(b.r,{id:"include-timestamps",checked:M,onCheckedChange:B}),(0,a.jsx)(h._,{htmlFor:"include-timestamps",children:"Include Timestamps"})]}),M&&(0,a.jsxs)("div",{className:"space-y-2",children:[G.map((e,t)=>(0,a.jsxs)("div",{className:"flex space-x-2",children:[(0,a.jsx)(f.I,{value:e.time,onChange:e=>J(t,"time",e.target.value),placeholder:"Time (e.g., 0:30)"}),(0,a.jsx)(f.I,{value:e.description,onChange:e=>J(t,"description",e.target.value),placeholder:"Description"}),(0,a.jsx)(u.z,{onClick:()=>X(t),size:"icon",variant:"ghost",className:"w-fit px-2.5",children:(0,a.jsx)(l,{className:"w-4 h-4 text-primary"})})]},t)),(0,a.jsx)(u.z,{onClick:()=>{Q([...G,{time:"",description:""}])},children:"Add Timestamp"})]}),(0,a.jsx)(v.Separator,{className:"mt-3.5"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h._,{htmlFor:"section-separator",children:"Section Separator"}),(0,a.jsxs)(m.Ph,{value:H,onValueChange:O,children:[(0,a.jsx)(m.i4,{id:"section-separator",children:(0,a.jsx)(m.ki,{placeholder:"Select a separator"})}),(0,a.jsxs)(m.Bw,{children:[(0,a.jsx)(m.Ql,{value:"none",className:"italic",children:"None"}),(0,a.jsx)(m.Ql,{value:"-----",children:"Dashes (---)"}),(0,a.jsx)(m.Ql,{value:"*****",children:"Asterisks (***)"}),(0,a.jsx)(m.Ql,{value:"_____",children:"Underscores (___)"}),(0,a.jsx)(m.Ql,{value:"#####",children:"Hash marks (###)"}),(0,a.jsx)(m.Ql,{value:"=====",children:"Equal signs (===)"})]})]})]})]})]}),(0,a.jsxs)("div",{className:"w-full rounded-md border px-4 py-2 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold bg-gradient-to-tr from-black/90 via-black/90 to-primary-foreground text-transparent bg-clip-text dark:from-primary-foreground dark:via-primary-foreground dark:to-dark mb-2",children:"Preview"}),(0,a.jsx)(u.z,{onClick:()=>{navigator.clipboard.writeText(ee()).then(()=>{s.toast.success("Description copied to clipboard.")})},variant:"ghost",size:"icon",className:"p-1 h-8 w-8",children:(0,a.jsx)(o.Z,{})})]}),(0,a.jsx)("pre",{className:(0,N.cn)("whitespace-pre-wrap text-sm font-normal bg-gray-50 dark:bg-background p-4 rounded",c().className),children:ee()}),T&&(0,a.jsx)(w.m,{className:"mt-6"})]})]})})}},2869:function(e,t,r){"use strict";r.d(t,{z:function(){return d}});var a=r(7437),n=r(2265),s=r(7053),i=r(535),l=r(4508);let o=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},effect:{expandIcon:"group gap-0 relative",ringHover:"transition-all duration-300 hover:ring-2 hover:ring-primary/90 hover:ring-offset-2",shine:"before:animate-shine relative overflow-hidden before:absolute before:inset-0 before:rounded-[inherit] before:bg-[linear-gradient(45deg,transparent_25%,rgba(255,255,255,0.5)_50%,transparent_75%,transparent_100%)] before:bg-[length:250%_250%,100%_100%] before:bg-no-repeat background-position_0s_ease",shineHover:"relative overflow-hidden before:absolute before:inset-0 before:rounded-[inherit] before:bg-[linear-gradient(45deg,transparent_25%,rgba(255,255,255,0.5)_50%,transparent_75%,transparent_100%)] before:bg-[length:250%_250%,100%_100%] before:bg-[position:200%_0,0_0] before:bg-no-repeat before:transition-[background-position_0s_ease] hover:before:bg-[position:-100%_0,0_0] before:duration-1000",gooeyRight:"relative z-0 overflow-hidden transition-all duration-500 before:absolute before:inset-0 before:-z-10 before:translate-x-[150%] before:translate-y-[150%] before:scale-[2.5] before:rounded-[100%] before:bg-gradient-to-r from-white/40 before:transition-transform before:duration-1000 hover:before:translate-x-[0%] hover:before:translate-y-[0%]",gooeyLeft:"relative z-0 overflow-hidden transition-all duration-500 after:absolute after:inset-0 after:-z-10 after:translate-x-[-150%] after:translate-y-[150%] after:scale-[2.5] after:rounded-[100%] after:bg-gradient-to-l from-white/40 after:transition-transform after:duration-1000 hover:after:translate-x-[0%] hover:after:translate-y-[0%]",underline:"relative !no-underline after:absolute after:bg-primary after:bottom-2 after:h-[1px] after:w-2/3 after:origin-bottom-left after:scale-x-100 hover:after:origin-bottom-right hover:after:scale-x-0 after:transition-transform after:ease-in-out after:duration-300",hoverUnderline:"relative !no-underline after:absolute after:bg-primary after:bottom-2 after:h-[1px] after:w-2/3 after:origin-bottom-right after:scale-x-0 hover:after:origin-bottom-left hover:after:scale-x-100 after:transition-transform after:ease-in-out after:duration-300"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>
1{let{className:r,variant:n,effect:i,size:d,icon:c,iconPlacement:u,asChild:f=!1,...h}=e,m=f?s.g7:"button";return(0,a.jsxs)(m,{className:(0,l.cn)(o({variant:n,effect:i,size:d,className:r})),ref:t,...h,children:[c&&"left"===u&&("expandIcon"===i?(0,a.jsx)("div",{className:"w-0 translate-x-[0%] pr-0 opacity-0 transition-all duration-200 group-hover:w-5 group-hover:translate-x-100 group-hover:pr-2 group-hover:opacity-100",children:(0,a.jsx)(c,{})}):(0,a.jsx)(c,{})),(0,a.jsx)(s.A4,{children:h.children}),c&&"right"===u&&("expandIcon"===i?(0,a.jsx)("div",{className:"w-0 translate-x-[100%] pl-0 opacity-0 transition-all duration-200 group-hover:w-5 group-hover:translate-x-0 group-hover:pl-2 group-hover:opacity-100",children:(0,a.jsx)(c,{})}):(0,a.jsx)(c,{}))]})});d.displayName="Button"},5186:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var a=r(7437),n=r(2265),s=r(4508);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,a.jsx)("input",{type:n,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},6815:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(7437),n=r(2265),s=r(6394),i=r(535),l=r(4508);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.f,{ref:t,className:(0,l.cn)(o(),r),...n})});d.displayName=s.f.displayName},3647:function(e,t,r){"use strict";r.d(t,{Bw:function(){return h},Ph:function(){return o},Ql:function(){return m},i4:function(){return c},ki:function(){return d}});var a=r(7437),n=r(2265),s=r(653),i=r(7265),l=r(4508);let o=i.fC;i.ZA;let d=i.B4,c=n.forwardRef((e,t)=>{let{className:r,children:n,...o}=e;return(0,a.jsxs)(i.xz,{ref:t,className:(0,l.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...o,children:[n,(0,a.jsx)(i.JO,{asChild:!0,children:(0,a.jsx)(s.jnn,{className:"h-4 w-4 opacity-50"})})]})});c.displayName=i.xz.displayName;let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.u_,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...n,children:(0,a.jsx)(s.g8U,{})})});u.displayName=i.u_.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.$G,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...n,children:(0,a.jsx)(s.v4q,{})})});f.displayName=i.$G.displayName;let h=n.forwardRef((e,t)=>{let{className:r,children:n,position:s="popper",...o}=e;return(0,a.jsx)(i.h_,{children:(0,a.jsxs)(i.VY,{ref:t,className:(0,l.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:s,...o,children:[(0,a.jsx)(u,{}),(0,a.jsx)(i.l_,{className:(0,l.cn)("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n}),(0,a.jsx)(f,{})]})})});h.displayName=i.VY.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r),...n})}).displayName=i.__.displayName;let m=n.forwardRef((e,t)=>
1{let{className:r,children:n,...o}=e;return(0,a.jsxs)(i.ck,{ref:t,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...o,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(i.wU,{children:(0,a.jsx)(s.nQG,{className:"h-4 w-4"})})}),(0,a.jsx)(i.eT,{children:n})]})});m.displayName=i.ck.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",r),...n})}).displayName=i.Z0.displayName},6512:function(e,t,r){"use strict";r.d(t,{Separator:function(){return l}});var a=r(7437),n=r(2265),s=r(5156),i=r(4508);let l=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:l=!0,...o}=e;return(0,a.jsx)(s.f,{ref:t,decorative:l,orientation:n,className:(0,i.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...o})});l.displayName=s.f.displayName},1828:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var a=r(7437),n=r(2265),s=r(721),i=r(4508);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.fC,{className:(0,i.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...n,ref:t,children:(0,a.jsx)(s.bU,{className:(0,i.cn)("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});l.displayName=s.fC.displayName},6818:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var a=r(7437),n=r(2265),s=r(4508);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...n})});i.displayName="Textarea"},6488:function(e,t,r){"use strict";r.d(t,{H:function(){return n}});var a=r(7437);let n=e=>{let{children:t}=e;return(0,a.jsx)(a.Fragment,{children:t})}},9180:function(e,t,r){"use strict";r.d(t,{U:function(){return n},x:function(){return a}});let a=()=>({firstName:"Creator"}),n=()=>"free"},5341:function(e,t,r){"use strict";r.d(t,{CG:function(){return s},TL:function(){return n}});var a=r(386);let n=a.I0.withTypes(),s=a.v9.withTypes();a.oR.withTypes()},8010:function(e,t,r){"use strict";let a=r(5657).Z.create({baseURL:"/api"});t.Z=a},3019:function(e,t,r){"use strict";r.d(t,{MM:function(){return l}});let a=(0,r(1455).oM)({name:"channel",initialState:{channelList:[],channelStats:{},currentChannel:null,channelVideosList:[]},reducers:{setChannelList:(e,t)=>{e.channelList=t.payload},setChannelStats:(e,t)=>{e.channelStats=t.payload},setCurrentChannel:(e,t)=>{e.currentChannel=t.payload},setChannelVideosList:(e,t)=>{e.channelVideosList=t.payload}}}),{setChannelList:n,setChannelStats:s,setCurrentChannel:i,setChannelVideosList:l}=a.actions;t.ZP=a.reducer},8313:function(e){e.exports={style:{fontFamily:"'__GeistSans_8adcd2', '__GeistSans_Fallback_8adcd2'"},className:"__className_8adcd2",variable:"__variable_8adcd2"}},721:function(e,t,r){"use strict";r.d(t,{bU:function(){return w},fC:function(){return j}});var a=r(2265),n=r(6741),s=r(8575),i=r(3966),l=r(5037),o=r(420),d=r(6840),c=r(7437),u=Object.defineProperty,f=(e,t)=>u(e,"name",{value:t,configurable:!0}),h="Switch",[m,p]=(0,i.b)(h),[x,g]=m(h);function b(e){let{__scopeSwitch:t,checked:r,children:n,defaultChecked:s,disabled:i,form:o,name:d,onCheckedChange:u,required:f,value:m="on",internal_do_not_use_render:p}=e,[g,b]=(0,l.T)({prop:r,defaultProp:null!=s&&s,onChange:u,caller:h}),[v,j]=a.useState(null),[w,y]=a.useState(null),k=a.useRef(!1),[_,C]=a.useReducer(e=>e+1,0),S=!v||!!o||!!v.closest("form"),T={checked:g,setChecked:b,disabled:i,control:v,setControl:j,name:d,form:o,value:m,hasConsumerStoppedPropagationRef:k,userInteractionCount:_,onUserInteraction:C,required:f,defaultChecked:s,isFormControl:S,bubbleInput:w,setBubbleInput:y};return(0,c.jsx)(x,{scope:t,...T,children:N(p)?p(T):n})}f(b,"SwitchProvider");var v=a.forwardRef(f(function(e,t){let{__scopeSwitch:r,onClick:i,...l}
1=e,{control:o,form:u,value:h,disabled:m,checked:p,required:x,setControl:b,setChecked:v,hasConsumerStoppedPropagationRef:j,onUserInteraction:w,isFormControl:y,bubbleInput:N}=g("SwitchTrigger",r),_=(0,s.e)(t,b),C=a.useRef(p);return a.useEffect(()=>{let e=u?null==o?void 0:o.ownerDocument.getElementById(u):null==o?void 0:o.form;if(e instanceof HTMLFormElement){let t=f(()=>v(C.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[o,u,v]),(0,c.jsx)(d.WV.button,{type:"button",role:"switch","aria-checked":p,"aria-required":x,"data-state":k(p),"data-disabled":m?"":void 0,disabled:m,value:h,...l,ref:_,onClick:(0,n.Mj)(i,e=>{w(),v(e=>!e),N&&y&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})})},"SwitchTrigger")),j=a.forwardRef(f(function(e,t){let{__scopeSwitch:r,name:a,checked:n,defaultChecked:s,required:i,disabled:l,value:o,onCheckedChange:d,form:u,...f}=e;return(0,c.jsx)(b,{__scopeSwitch:r,checked:n,defaultChecked:s,disabled:l,required:i,onCheckedChange:d,name:a,form:u,value:o,internal_do_not_use_render:e=>{let{isFormControl:a}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(v,{...f,ref:t,__scopeSwitch:r}),a&&(0,c.jsx)(y,{__scopeSwitch:r})]})}})},"Switch")),w=a.forwardRef(f(function(e,t){let{__scopeSwitch:r,...a}=e,n=g("SwitchThumb",r);return(0,c.jsx)(d.WV.span,{"data-state":k(n.checked),"data-disabled":n.disabled?"":void 0,...a,ref:t})},"SwitchThumb")),y=a.forwardRef(f(function(e,t){let{__scopeSwitch:r,onClick:i,...l}=e,{control:u,hasConsumerStoppedPropagationRef:f,userInteractionCount:h,checked:m,defaultChecked:p,required:x,disabled:b,name:v,value:j,form:w,bubbleInput:y,setBubbleInput:N}=g("SwitchBubbleInput",r),k=(0,s.e)(t,N),_=(0,o.t)(u),C=a.useRef(!1),S=a.useRef(m),T=a.useRef(h);a.useEffect(()=>{if(!y)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=h!==T.current;T.current=h;let r=S.current!==m;S.current=m;let a=!(t&&f.current);if(r&&e){C.current=!t;let r=new Event("click",{bubbles:a});e.call(y,m),y.dispatchEvent(r),C.current=!1}}
1,[y,m,f,h]);let z=a.useRef(m);return(0,c.jsx)(d.WV.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=p?p:z.current,required:x,disabled:b,name:v,value:j,form:w,...l,tabIndex:-1,ref:k,onClick:(0,n.Mj)(i,e=>{C.current&&e.stopPropagation()}),style:{...l.style,..._,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function N(e){return"function"==typeof e}function k(e){return e?"checked":"unchecked"}f(N,"isFunction"),f(k,"getState")}},function(e){e.O(0,[262,8310,7600,2972,4438,7038,7091,4094,6354,8068,9121,1513,327,2519,4508,2971,2117,1744],function(){return e(e.s=9790)}),_N_E=e.O()}]);
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.