PageSourceSearch

https://xeenon.xyz/_next/static/chunks/pages/video/[id]-b5f537f2c6242abe.js

js xeenon.xyz collected 2026-09-24 10:42:44 UTC 11,021 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8d7c41ca-ef44-4f03-9089-002ef7fc18a3",e._sentryDebugIdIdentifier="sentry-dbid-8d7c41ca-ef44-4f03-9089-002ef7fc18a3")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4781],{86779:(e,i,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/video/[id]",function(){return s(31452)}])},21885:(e,i,s)=>{"use strict";s.d(i,{x:()=>l});var t=s(31085),d=s(53373),n=s.n(d),a=s(39343),r=s.n(a);let l=e=>{let{title:i,className:s,children:d}=e;return(0,t.jsxs)("div",{className:n()(r().grid,{[r()["with-title"]]:i},s),"data-sentry-component":"Grid","data-sentry-source-file":"grid.tsx",children:[i||null,d]})}},90570:(e,i,s)=>{"use strict";s.d(i,{O:()=>a});var t=s(59206),d=s(17076),n=s(14041);let a=e=>{let{enabled:i=!0,staleTime:s,...a}=e,r=(0,t.q)({enabled:i,staleTime:null!=s?s:12e4,initialPageParam:0,queryKey:["videos",a],queryFn:async i=>{var s,t;let{pageParam:n=0}=i;console.log({pageParam:n});let r=await d.A.videos.$get({query:{category:a.category,subcategory:a.subcategory,limit:null===(s=a.limit)||void 0===s?void 0:s.toString(),skip:(n*(null!==(t=e.limit)&&void 0!==t?t:12)).toString(),user:a.user,relativeToVideoId:a.relativeToVideoId,source:a.source,q:a.q,liked:a.liked}});if(!r.ok)throw Error("Failed to fetch videos");return await r.json()},getNextPageParam:(i,s)=>{var t;let d=null!==(t=e.limit)&&void 0!==t?t:12;return i.length===d?s.length:void 0}}),l=(0,n.useMemo)(()=>{var e;return null===(e=r.data)||void 0===e?void 0:e.pages.flatMap(e=>e)},[r.data]);return{...r,videos:l}}},31452:(e,i,s)=>{"use strict";s.r(i),s.d(i,{__N_SSP:()=>er,default:()=>el});var t,d=s(31085),n=s(14041),a=s(53373),r=s.n(a),l=s(54612),o=s.n(l),c=s(3954),u=s(38881),_=s(74705),x=s(21885),m=s(10140),h=s(66475),p=s(5514),v=s(49335),y=s.n(v),g=s(42350),f=s(26798),j=s(37958),b=s(95993),w=s(76630),N=s(56325),k=s(3760),S=s(9065),C=s(10018),E=s(40774),I=s(67173),V=s(55285),T=s(98778),z=s(87020),A=s(26493),W=s(73718),B=s(47290),O=s(18573),q=s(37454),D=s(6479),P=s(93264);function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var t in s)({}).hasOwnProperty.call(s,t)&&(e[t]=s[t])}return e}).apply(null,arguments)}var L=function(e){return n.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),t||(t=n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m1.666 5.833 6.804 4.763c.551.386.827.579 1.126.653.265.066.542.066.806 0 .3-.074.576-.267 1.127-.653l6.804-4.763M5.666 16.667h8.667c1.4 0 2.1 0 2.635-.273a2.5 2.5 0 0 0 1.092-1.092c.273-.535.273-1.235.273-2.635V7.333c0-1.4 0-2.1-.273-2.635a2.5 2.5 0 0 0-1.092-1.092c-.535-.273-1.235-.273-2.635-.273H5.666c-1.4 0-2.1 0-2.635.273a2.5 2.5 0 0 0-1.093 1.092c-.272.535-.272 1.235-.272 2.635v5.334c0 1.4 0 2.1.272 2.635a2.5 2.5 0 0 0 1.093 1.092c.535.273 1.235.273 2.635.273"})))},M=s(35643),R=s(31242),K=s(71978),J=s(90403),U=s(34966),X=s(34747),F=s.n(X),Z=s(88184),$=s(17076),G=s(94709),Q=s(53971),Y=s(90570),ee=s(40746),ei=s(35223),es=s(62476),et=s(70517),ed=s(84330);let en=e=>{var i,s,t,n,a;let{data:l,isFetched:_}=(0,ei.I)({queryKey:["video",null===(i=e.video)||void 0===i?void 0:i._id],queryFn:async()=>{var i,s;return(await $.A.videos[":videoId"].$get({param:{videoId:null!==(s=null===(i=e.video)||void 0===i?void 0:i._id)&&void 0!==s?s:""}})).json()},initialData:e.video,enabled:!!(null===(s=e.video)||void 0===s?void 0:s._id),refetchOnWindowFocus:!0,refetchInterval:12e4}),{videos:m=[],isFetchingNextPage:h,hasNextPage:p,fetchNextPage:v}=(0,Y.O)({relativeToVideoId:null==l?void 0:l._id,user:null==l?void 0:l.user._id,limit:8,enabled:!!l});return _&&!l?(0,d.jsx)(G.default,{}):l?(0,d.jsxs)("main",{className:r()(y().main,{[y()["no-vods"]]:(null==m?void 0:m.length)===0}),"data-sentry-component":"HydratedVideoView","data-sentry-source-file":"[id].tsx",children:[(0,d.jsx)(c.bV,{title:l.headline,description:l.description,openGraph:{type:"video.other",title:l.headline,description:l.description?o()(l.description):"Explore ".concat(null!==(a=null===(t=l.user)||void 0===t?void 0:t.displayName)&&void 0!==a?a:null===(n=l.user)||void 0===n?void 0:n.address," on Xeenon."),images:[{url:l.thumbnail?l.thumbnail:"".concat("https://xeenon.xyz","/images/default-og-image.jpg")}]},"data-sentry-element":"NextSeo","data-sentry-source-file":"[id].tsx"}),(0,d.jsx)(c.WR,{name:l.headline,description:l.description,thumbnailUrls:[l.thumbnail?l.thumbnail:"".concat("https://xeenon.xyz","/images/default-og-image.jpg")],duration:(0,u.lK)({seconds:l.durationSeconds}),uploadDate:l.createdAt,publication:{isLiveBroadcast:!1},contentUrl:"".concat("https://xeenon.xyz","/video/").concat(l._id),"data-sentry-element":"VideoJsonLd","data-sentry-source-file":"[id].tsx"}),(0,d.jsx)("div",{className:y().player,children:(0,d.jsx)(Q.L,{content:l,fillParent:!0,"data-sentry-element":"VideoPlayer","data-sentry-source-file":"[id].tsx"})}),(0,d.jsx)(ea,{video:l,"data-sentry-element":"VodSummary","data-sentry-source-file":"[id].tsx"}),(0,d.jsx)("div",{className:y().related,children:m.length>0&&(0,d.jsxs)("div",{className:y().vods,children:[(0,d.jsx)(x.x,{className:r()(y().grid),children:m.map(e=>(0,d.jsx)(f.u,{...e},e._id))}),p&&!h&&(0,d.jsx)(k.e,{onClick:()=>{v()}}),h&&(0,d.jsx)(k.e,{busy:!0})]})}),(0,d.jsx)("div",{className:y().comments,children:(0,d.jsx)(b.H,{modelId:l._id,modelType:"Content","data-sentry-element":"Comments","data-sentry-source-file":"[id].tsx"})})]}):(0,d.jsx)(es.E,{})},ea=e=>{var i,s,t;let{video:a}=e,{user:r}=(0,Z.A)(),l=(0,R.useRouter)(),[o,c]=n.useState(!1),u=(0,ed.f)(e=>e.setContext),x=()=>{r&&a&&u({model:a._id,modelType:"Video",recipient:v})},v=a.user,{user:f}=(0,et.Jd)(null!==(s=null==v?void 0:v._id)&&void 0!==s?s:""),b=(0,E.A)({base:!1,md:!0});if(!v)return null;let{tags:k=[],description:H,createdAt:X,headline:$,subcategory:G,views:Q=0}=a,Y=!!H||!!(null==k?void 0:k.length);return(0,d.jsxs)("div",{className:y().summary,"data-sentry-component":"VodSummary","data-sentry-source-file":"[id].tsx",children:[(0,d.jsx)("div",{className:y().header,children:(0,d.jsx)("h1",{className:y().headline,children:$})}),(0,d.jsx)("div",{className:y().profile,children:(0,d.jsxs)("div",{className:y().profileWrapper,children:[(0,d.jsx)(I.a,{width:{base:"100%",md:"fit-content"},"data-sentry-element":"Box","data-sentry-source-file":"[id].tsx",children:(0,d.jsx)(m.Ix,{user:v,size:44,copyAddressAction:!0,href:"/".concat(v.address),details:"dropdown","data-sentry-element":"StreamingProfile","data-sentry-source-file":"[id].tsx"})}),(null==r?void 0:r.address)!==v.address&&(0,d.jsxs)(V.s,{align:"center",gap:"8px",width:{base:"100%",md:"fit-content"},children:[(0,d.jsx)(I.a,{className:y().subscribeButton,children:(0,d.jsx)(S.W,{_id:v._id,displayName:(0,C.Nc)(v)})}),f&&(0,d.jsx)(T.m,{placement:"top",label:"Subscribe",shouldWrapChildren:!0,children:(0,d.jsx)(K.s_,{toUser:f,hideCtaOnMobile:!1,hideCta:b,padding:"9px",w:"100%"})}),(0,d.jsx)(T.m,{placement:"top",label:"Send tip",children:(0,d.jsx)(z.$,{variant:"ghost",px:"10px",display:{base:"none",md:"inline-flex"},onClick:()=>x(),children:(0,d.jsx)(I.a,{as:M.h,viewBox:"0 0 24 24",boxSize:"20px"})})}),(0,d.jsxs)(A.W,{size:"sm",placement:"bottom-end",children:[(0,d.jsx)(W.I,{display:{base:"inline-flex",md:"none"},p:"10px",sx:{"> span":{display:"inline-flex"}},children:(0,d.jsx)(I.a,{as:J.h,boxSize:"20px"})}),(0,d.jsxs)(B.c,{minW:"180px",children:[(0,d.jsx)(O.D,{onClick:()=>x(),children:(0,d.jsxs)(q.z,{spacing:"8px",children:[(0,d.jsx)(I.a,{as:U.h,viewBox:"0 0 28 28",boxSize:"20px"}),(0,d.jsx)(D.E,{children:"Tip"})]})}),(0,d.jsx)(O.D,{onClick:()=>l.push("/messages?chat=".concat(v.address)),children:(0,d.jsxs)(q.z,{spacing:"8px",children:[(0,d.jsx)(I.a,{as:L}),(0,d.jsx)(D.E,{children:"Message"})]})}),(0,d.jsx)(O.D,{onClick:()=>{(0,g.u)("SHARE_STREAM"),c(!0)},children:(0,d.jsxs)(q.z,{spacing:"8px",children:[(0,d.jsx)("img",{src:"/images/sh
1are.svg",alt:"Share"}),(0,d.jsx)(D.E,{children:"Share"})]})})]})]})]})]})}),(0,d.jsxs)("div",{className:y().actions,children:[(0,d.jsx)(I.a,{display:{base:"none",md:"block"},"data-sentry-element":"Box","data-sentry-source-file":"[id].tsx",children:(0,d.jsxs)(z.$,{variant:"ghost",onClick:()=>c(!0),"data-sentry-element":"ChakraButton","data-sentry-source-file":"[id].tsx",children:[(0,d.jsx)("img",{src:"/images/share.svg",alt:"Share"}),(0,d.jsx)("span",{className:y()["hidden-mobile"],children:"Share"})]})}),(0,d.jsx)(j.O,{className:y().likes,model:a,modelType:"Content",groupButtons:!0,isUnlimited:!1,"data-sentry-element":"Like","data-sentry-source-file":"[id].tsx"})]}),(0,d.jsxs)("div",{className:y().content,children:[(0,d.jsx)(_.x,{className:y().stats,views:Q,publishedAt:X,"data-sentry-element":"VodCardStats","data-sentry-source-file":"[id].tsx"}),!!G&&(0,d.jsx)(F(),{passHref:!0,href:"/subcategory/".concat(G.slug),children:(0,d.jsxs)(q.z,{spacing:"8px",cursor:"pointer",children:[(0,d.jsx)(P._,{src:null==G?void 0:G.image,alt:null==G?void 0:G.name,borderRadius:"4px",width:"48px",height:"32px",objectFit:"cover"}),(0,d.jsxs)(V.s,{flexDir:"column",children:[(0,d.jsx)(D.E,{color:"whiteA.60",fontWeight:"400",size:"sm",children:"Category"}),(0,d.jsx)(D.E,{fontWeight:"600",children:null==G?void 0:G.name})]})]})}),Y&&(0,d.jsxs)("div",{className:y().description,children:[H&&(0,d.jsx)(w.A,{children:(0,d.jsx)(N.o,{markdown:H})}),(null==k?void 0:k.length)>0&&(0,d.jsx)(p.n,{tags:k,longTags:!0})]})]}),o&&(0,d.jsx)(h.R,{isOpen:o,close:()=>{c(!1)},streamTitle:a.headline||"Not Available",type:"VOD",mediaId:a._id,thumbnailUrl:null!==(t=a.thumbnail)&&void 0!==t?t:null===(i=a.user)||void 0===i?void 0:i.bannerImage})]})};var er=!0;let el=e=>(0,d.jsx)(ee.f,{state:e.dehydratedState,"data-sentry-element":"HydrationBoundary","data-sentry-component":"VideoView","data-sentry-source-file":"[id].tsx",children:(0,d.jsx)(en,{video:e.video,"data-sentry-element":"HydratedVideoView","data-sentry-source-file":"[id].tsx"})})},39343:e=>{e.exports={grid:"grid_grid__T_BH0","with-title":"grid_with-title__E6qYZ"}},49335:e=>{e.exports={main:"_id__main__YQ3pv","no-vods":"_id__no-vods__aZRGx",related:"_id__related__y8iiX",player:"_id__player__KgnUZ",summary:"_id__summary__Liqrf",header:"_id__header__pAlkQ",headline:"_id__headline__Ny3ty","nft-popup":"_id__nft-popup__Zglai",profile:"_id__profile__CJoci",profileWrapper:"_id__profileWrapper__TzrgR",actions:"_id__actions__gJK_y",content:"_id__content__pMIX7",description:"_id__description__HW3mN",stats:"_id__stats__dbsbJ",comments:"_id__comments__K2kn7","hidden-mobile":"_id__hidden-mobile__p7mtI",subscribeButton:"_id__subscribeButton___gjhm",vods:"_id__vods__X60Zg",grid:"_id__grid__KLqEM",likes:"_id__likes__r_ztJ"}}},e=>{var i=i=>e(e.s=i);e.O(0,[5626,916,1405,7887,636,6593,8792],()=>i(86779)),_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.