PageSourceSearch

https://www.tubenxt.com/assets/Long-f0feWfIC.js

js tubenxt.com collected 2026-10-02 01:46:59 UTC 1,777 bytes, 1 lines download raw bytes

1import{j as e}from"./index-BivhYt2x.js";import{l as r,c as s,u as n,b as i}from"./vendor-uAoOi1mV.js";import{u as a,V as t}from"./ChannelVideoQueries-BiyPDeXb.js";import"./skeleton-DfSOhuFO.js";import"./useInfiniteQuery-Dx3-CfVF.js";function o(){const{channelid:o,setActiveTab:d,videoSortBy:l,searchTitle:c,setLoading:h}=r(),x=s(),p=n(),{data:f,fetchNextPage:m,hasNextPage:u,isFetchingNextPage:v,isFetching:j,isPending:g,isError:b,error:y}=a({channelId:o,videoType:1,sortBy:l,searchTitle:c});i.useEffect(()=>(h(j),()=>{h(!1)}),[j,h]);const N=(null==f?void 0:f.pages.flatMap(e=>e))??[];return i.useEffect(()=>{x.pathname.includes("shorts")&&p("shorts",{replace:!0}),d("videos")},[x.pathname,p,d]),b?e.jsx("div",{className:"flex justify-center py-10",children:"Failed to load videos."}):e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx(t,{videoList:N,loading:g,loadMore:v,cssClass:"w-[305px] h-[172px]",videoType:1}),N.length>0&&u&&e.jsx("div",{onClick:()=>{v||m()},className:"\r\n            my-3\r\n            px-6\r\n            py-2\r\n            border-1\r\n            border-blue-600\r\n            bg-white\r\n            text-black\r\n            rounded-full\r\n            cursor-pointer\r\n            relative\r\n          ",children:v?e.jsxs("div",{className:"flex flex-row gap-3",children:[e.jsx("div",{className:"inset-0 bg-white/50 z-40",children:e.jsx("div",{className:"\r\n                    w-6\r\n                    h-6\r\n                    border-4\r\n                    border-blue-500\r\n                    border-t-transparent\r\n                    rounded-full\r\n                    animate-spin\r\n                  "})}),e.jsx("div",{children:"Loading"})]}):e.jsx("div",{children:"Load more"})})]})}export{o 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.