PageSourceSearch

https://www.allsquaregolf.com/_next/static/chunks/pages/golf-users/[slug]/top-world-87483f12c0897ae8.js

js allsquaregolf.com collected 2026-10-01 10:33:57 UTC 4,464 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7431],{33974:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/golf-users/[slug]/top-world",function(){return r(21805)}])},21805:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return q}});var s=r(85893),u=r(67294),o=r(41664),t=r(66839),l=r(24487),a=r(20168),i=r(21192),d=r(4803),c=r(89502),f=r(50459),p=r(50974),h=r(20469),g=r(88880),b=r(53800),j=r(6388),x=r(11163),w=r(25073),v=r(11812),y=r(97926),C=r(57067),m=r(57941),P=r(63357),O=r(67576);function N(){var e,n,r=(e=["\n  query getUserTopWorldClub($slug: String) {\n    user(slug: $slug) {\n      id\n\n      topCoursesPlayedInWorldCount\n      topCoursesPlayedInWorld {\n        pageInfo {\n          endCursor\n          hasNextPage\n        }\n        edges {\n          node {\n            ...clubOnMap\n          }\n        }\n      }\n    }\n\n    countries {\n      edges {\n        node {\n          ...countryForMap\n        }\n      }\n    }\n  }\n\n  ","\n  ","\n"],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return N=function(){return r},r}var W=(0,P.Ps)(N(),O.U,O.m),_=function(e){var n=(0,j.aM)(W,{variables:{slug:e.user.slug}}),r=n.data;return n.loading?null:(0,s.jsx)(y.n,{handleRef:e.handleRef,size:"fullscreen",children:(0,s.jsx)(C.y,{clubs:(0,m.F)(r.user.topCoursesPlayedInWorld),countries:(0,m.F)(r.countries)})})},I=r(9008),k=function(e){return(0,s.jsxs)("div",{className:e.className,children:[(0,s.jsx)(I.default,{children:(0,s.jsx)("meta",{name:"robots",content:"noindex"},"robots")}),(0,s.jsx)("div",{className:"user-show-empty-title",children:"No club from the top 100 world played yet..."})]})},T=r(47044);function R(){var e,n,r=(e=["\n  query($slug: String) {\n    user(slug: $slug) {\n      id\n      fullname\n      slug\n      private\n      currentUserRelationship {\n        id\n        fullState\n      }\n      avatar {\n        id\n        uris {\n          large\n        }\n      }\n\n      topCoursesPlayedInWorldCount\n      topCoursesPlayedInWorld(orderBy: { fieldName: top100world, ordering: ASC }) {\n        pageInfo {\n          endCursor\n          hasNextPage\n        }\n        edges {\n          node {\n            ...defaultClubActionnableCard\n          }\n        }\n      }\n    }\n  }\n\n  ","\n"],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return R=function(){return r},r}var E=(0,P.Ps)(R(),T.c);function S(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function U(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},s=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),s.forEach((function(n){S(e,n,r[n])}))}return e}var q=function(){var e,n=(0,x.useRouter)(),r=(0,l.xJ)(),y=r.isCurrentUser,C=r.currentUser,m=r.isLogged,P=(0,j.aM)(E,{variables:{slug:n.query.slug}}),O=P.loading,N=P.data;if(O)return null;if(!(null===N||void 0===N?void 0:N.user)||1===(null===(e=N.user)||void 0===e?void 0:e.id))throw new w.q(404);if((0,v.h)(N.user,C,m))throw new w.q(403,"This user turns its account into private");var W=N.user,I=W.topCoursesPlayedInWorldCount||y(W),T=y(W)?"You":W.fullname,R=u.useCallback((function(e){return(0,s.jsx)(_,{user:W,handleRef:e})}),[W]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.u,U({},p.M.TOPWORLD(W))),(0,s.jsx)(a.$,{className:"web-on-flex",url:(0,t.userDefault)()}),(0,s.jsxs)(i.c,{className:"user-show-sub-layout",children:[(0,s.jsx)(h.c,{user:W,page:"topworld"}),(0,s.jsxs)(c.V,{className:"user-show-sub-section",children:[(0,s.jsxs)(b.k,{mapRender:R,title:"Top 100 Courses",user:W,children:[(0,s.jsxs)("span",{children:[(0,s.jsx)(o.default,{href:(0,t.showUser)(W.slug),children:(0,s.jsx)("a",{className:"user-show-sub-link",children:T})})," played"," "]}),(0,s.jsxs)("span",{children:[W.topCoursesPlayedInWorldCount," of the "]}),(0,s.jsx)(o.default,{href:(0,t.showWorldTop)(),children:(0,s.jsx)("a",{className:"user-show-sub-link",children:"Top 100 Courses in the World"})})]}),!I&&(0,s.jsx)(k,{}),I&&(0,s.jsx)(g.n,{paginable:W.topCoursesPlayedInWorld,user:W})]})]}),(0,s.jsx)(d.x,{})]})}}}
1,function(e){e.O(0,[3145,7569,323,8455,5753,9774,2888,179],(function(){return n=33974,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.