PageSourceSearch

https://csgo.com.hk/_next/static/chunks/pages/authors/[[...search]]-c9a1f921d98bc1f3.js

js csgo.com.hk collected 2026-10-02 22:25:33 UTC 6,218 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3595],{1609:(e,n,s)=>{"use strict";s.r(n),s.d(n,{__N_SSG:()=>N,default:()=>j});var r=s(37876),t=s(56042),a=s(97009),l=s(14232),o=s(66453),i=s(72733),d=s(89099),u=s(60927),c=s(13217),m=s(78248),h=s(27344),g=s(83216),x=s(57860),f=s(66266);let p=l.forwardRef(function(e,n){let{title:s,titleId:r,...t}=e;return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},t),s?l.createElement("title",{id:r},s):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}),v=e=>{var n,s,l,h,v,N,j,y,b,w,I,$,_,k;let A=(0,d.useRouter)(),M=null==(s=e.data)||null==(n=s.users)?void 0:n.nodes,S=null==(h=e.data)||null==(l=h.users)?void 0:l.pageInfo,E=(null==(v=A.query.search)?void 0:v[0])||"",F=(0,f.A)(),[C,L]=(0,m._)((0,t.J1)(" \n      query queryGetUsersBySearchOnSearchPage(\n        $first: Int\n        $search: String\n        $after: String\n      ) {\n        users(first: $first, after: $after, where: { search: $search }) {\n          nodes {\n            ...NcmazFcUserFullFields\n          }\n          pageInfo {\n            endCursor\n            hasNextPage\n          }\n        }\n      }\n    "),{notifyOnNetworkStatusChange:!0,context:{fetchOptions:{method:"GET"}},variables:{search:E,first:a.ht},onError:e=>{(0,x.A)(e)}}),P=M||[],q=null==S?void 0:S.hasNextPage,U=!1;return L.called&&(P=[...M||[],...(null==($=L.data)||null==(I=$.users)?void 0:I.nodes)||[]],q=L.loading||(null==(k=L.data)||null==(_=k.users)?void 0:_.pageInfo.hasNextPage)||!1,U=L.loading),(0,r.jsx)(g.A,{headerMenuItems:(null==(j=e.data)||null==(N=j.primaryMenuItems)?void 0:N.nodes)||[],footerMenuItems:(null==(b=e.data)||null==(y=b.footerMenuItems)?void 0:y.nodes)||[],pageFeaturedImageUrl:null,pageTitle:F.Authors,generalSettings:null==(w=e.data)?void 0:w.generalSettings,children:(0,r.jsx)("div",{className:"nc-PageExploreAuthors",children:(0,r.jsx)("div",{className:"container space-y-16 py-10 sm:space-y-20 lg:space-y-28 lg:pb-28 lg:pt-20",children:(0,r.jsxs)("div",{className:"space-y-14",children:[(0,r.jsxs)("header",{children:[(0,r.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-neutral-500",children:[(0,r.jsx)(p,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"",children:F.Explore})]}),(0,r.jsx)("h1",{className:"block text-2xl font-semibold capitalize sm:text-3xl lg:text-4xl",children:F.Authors})]}),(0,r.jsxs)("main",{children:[P.length||U?(0,r.jsx)("div",{className:"mt-8 grid grid-cols-2 gap-4 sm:gap-6 md:gap-8 lg:mt-12 lg:grid-cols-3 xl:grid-cols-5",children:(P||[]).map(e=>{var n;return(null==(n=e.capabilities)?void 0:n.includes("editor"))?(0,r.jsx)(u.A,{author:e},(0,c.D)(e).databaseId):null})}):(0,r.jsx)(i.A,{}),q?(0,r.jsx)("div",{className:"mt-12 flex justify-center lg:mt-14",children:(0,r.jsx)(o.A,{disabled:U||!(null==P?void 0:P.length),loading:U,onClick:()=>{var e,n;if(!L.called)return C({variables:{search:E,after:null==S?void 0:S.endCursor}});L.fetchMore({variables:{search:E,after:null==(n=L.data)||null==(e=n.users)?void 0:e.pageInfo.endCursor},updateQuery:(e,n)=>{var s,r,t,a;let{fetchMoreResult:l}=n;return l&&(null==(s=l.users)?void 0:s.nodes)?{...e,users:{...e.users,nodes:[...(null==(r=e.users)?void 0:r.nodes)||[],...(null==(t=l.users)?void 0:t.nodes)||[]],pageInfo:null==(a=l.users)?void 0:a.pageInfo}}:e}})},children:F["Show me more"]})}):null]})]})})})})};v.variables=e=>{var n;let{params:s}=e;return{search:(null==s||null==(n=s.search)?void 0:n[0])||"",first:a.ht,headerLocation:h.j,footerLocation:h.G}},v.query=(0,t.J1)('\n  query AuthorsPageQueryGetUsersBySearch ( $first: Int,  $search: String = "", $after: String, $headerLocation: MenuLocationEnum!, $footerLocation: MenuLocationEnum! )  {\n    users(first: $first, after: $after, where: {search: $search}) {\n        nodes {\n             ...NcmazFcUserFullFields\n			 capabilities\n        }\n        pageInfo {\n          endCursor\n          hasNextPage\n        }\n    }\n   # common query for all page \n   generalSettings {\n      ...NcgeneralSettingsFieldsFragment\n    }\n    primaryMenuItems: menuItems(where: { location:  $headerLocation  }, first: 80) {\n      nodes {\n        ...NcPrimaryMenuFieldsFragment\n      }\n    }\n    footerMenuItems: menuItems(where: { location:  $footerLocation  }, first: 50) {\n      nodes {\n        ...NcFooterMenuFieldsFragment\n      }\n    }\n    # end common query\n  }\n');var N=!0;let j=v},43768:(e,n,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/authors/[[...search]]",function(){return s(1609)}])},60927:(e,n,s)=>{"use strict";s.d(n,{A:()=>d});var r=s(37876),t=s(34438),a=s(3143),l=s(48230),o=s.n(l),i=s(13217);let d=e=>{let{className:n="",author:s}=e,{databaseId:l,featuredImageMeta:d,name:u,uri:c,ncUserMeta:m}=(0,i.D)(s);return(0,r.jsxs)(o(),{href:c,className:"nc-CardAuthorBox flex flex-col items-center justify-center rounded-3xl bg-neutral-100/70 px-3 py-5 text-center sm:px-6 sm:py-7 dark:bg-neutral-900 ".concat(n),children:[(0,r.jsx)(a.A,{sizeClass:"w-20 h-20 text-xl",radiu
1s:"rounded-full",imgUrl:(null==d?void 0:d.sourceUrl)||"",userName:u}),(0,r.jsxs)("div",{className:"mt-3",children:[(0,r.jsx)("h2",{className:"text-sm font-medium sm:text-base",children:(0,r.jsx)("span",{className:"line-clamp-1",children:u})}),(0,r.jsx)("span",{className:"mt-1 block text-sm text-neutral-500 dark:text-neutral-400",children:null==m?void 0:m.ncBio})]}),(0,r.jsx)("div",{className:"mt-4 flex items-center justify-center rounded-full bg-neutral-200/70 px-4 py-2 text-xs font-medium leading-none dark:bg-neutral-800",children:(0,r.jsx)(t.A,{className:"h-5 w-5 text-yellow-600"})})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=43768)),_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.