PageSourceSearch

https://ok4u.club/_next/static/chunks/pages/[city]/rating-c86b5b71960cf41a.js

js ok4u.club collected 2026-10-07 18:07:47 UTC 11,135 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7052],{62705:function(e,n,t){var a=t(55639).Symbol;e.exports=a},44239:function(e,n,t){var a=t(62705),r=t(89607),s=t(2333),c=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?r(e):s(e)}},22545:function(e){e.exports=function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a}},27561:function(e,n,t){var a=t(67990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(r,""):e}},54290:function(e,n,t){var a=t(6557);e.exports=function(e){return"function"==typeof e?e:a}},31957:function(e,n,t){var a="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g;e.exports=a},89607:function(e,n,t){var a=t(62705),r=Object.prototype,s=r.hasOwnProperty,c=r.toString,l=a?a.toStringTag:void 0;e.exports=function(e){var n=s.call(e,l),t=e[l];try{e[l]=void 0;var a=!0}catch(e){}var r=c.call(e);return a&&(n?e[l]=t:delete e[l]),r}},2333:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},55639:function(e,n,t){var a=t(31957),r="object"==typeof self&&self&&self.Object===Object&&self,s=a||r||Function("return this")();e.exports=s},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},6557:function(e){e.exports=function(e){return e}},13218:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},75793:function(e,n,t){var a=t(44239),r=t(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==a(e)}},98913:function(e,n,t){var a=t(22545),r=t(54290),s=t(40554),c=Math.min;e.exports=function(e,n){if((e=s(e))<1||e>9007199254740991)return[];var t=4294967295,l=c(e,4294967295);n=r(n),e-=4294967295;for(var i=a(l,n);++t<e;)n(t);return i}},18601:function(e,n,t){var a=t(14841),r=1/0;e.exports=function(e){return e?(e=a(e))===r||e===-r?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},40554:function(e,n,t){var a=t(18601);e.exports=function(e){var n=a(e),t=n%1;return n==n?t?n-t:n:0}},14841:function(e,n,t){var a=t(27561),r=t(13218),s=t(75793),c=0/0,l=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return c;if(r(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=r(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var t=i.test(e);return t||o.test(e)?u(e.slice(2),t?2:8):l.test(e)?c:+e}},86525:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[city]/rating",function(){return t(18567)}])},77317:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var a=t(85893),r=t(98913),s=t.n(r);function c(e){let{page:n,activePage:t,makeHref:r,onPageSelect:s,params:c}=e;return(0,a.jsx)("li",{className:"page-item"+(n==t?" active":""),children:(0,a.jsx)("a",{href:r(n,c),className:"page-link",onClick:e=>{e.preventDefault(),s(n,c)},children:n})})}function l(e){let{page:n,numPages:t,className:r,makeHref:l,onPageSelect:i,params:o}=e;return t<2?null:(0,a.jsx)("ul",{className:"paginator "+(r||""),children:s()(t,e=>(0,a.jsx)(c,{page:e+1,activePage:n,makeHref:l,onPageSelect:i,params:o},e))})}},74238:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var a=t(85893);function r(e){let{change:n,className:t}=e;return n?(0,a.jsxs)("span",{className:t+" "+t+(n>0?"--up":"--down"),children:[n>0&&"+",n]}):null}},86435:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var a=t(85893),r=t(50613);function s(e){let{player:n,className:t}=e,{city:s}=(0,r.h)();return(null==n?void 0:n.clan)?(0,a.jsx)("a",{href:"/".concat(s.slug,"/clans/").concat(n.clan.id,"/"),className:t,children:n.clan.name}):null}},1203:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var a=t(85893),r=t(41664),s=t.n(r),c=t(18810),l=t(65264),i=t(74238),o=t(43657),u=t(6916),p=t(86435);function d(e){let{rating:n,place:t,showPeerRating:r,showPlaceChange:d,showLevel:m,showEloRating:x,showWinsPercentage:h,showExperiencePerGame:f,sortedColumnsMap:_}=e,j=_||{};return(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"players-table__body-index",children:t||n.place}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"players-table__participant",children:[(0,a.jsx)(c.Z,{player:n.player,size:56,className:"players-table__participant__avatar"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(s(),{href:n.player.url,className:"players-table__participant__name",children:n.player.name}),m&&(0,a.jsx)(o.Z,{rating:n}),d&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)(i.Z,{change:n.place_change,className:"place-change"})]}),(0,a.jsx)(p.Z,{player:n.player,className:"d-block small"}),(0,a.jsx)("div",{className:"players-table__participant__description",children:n.player.description})]})]})}),x&&(0,a.jsx)("td",{className:j.elo_rating?"sorted":null,children:n.elo_rating}),r&&(0,a.jsx)("td",{className:j.peer_rating?"sorted":null,children:(0,a.jsx)(u.Z,{player:n.player})}),(0,a.jsx)("td",{className:j.num_games?"sorted":null,children:(0,a.jsx)("span",{children:n.num_games})}),(0,a.jsx)("td",{className:j.num_wins?"sorted":null,children:(0,a.jsx)("span",{children:n.num_wins})}),h&&(0,a.jsx)("td",{className:j.wins_percentage?"sorted":null,children:(0,a.jsxs)("span",{children:[parseInt(n.wins_percentage),"%"]})}),(0,a.jsx)("td",{className:"active"+(j.experience_gained?" sorted":"")+(j.rating3?" sorted":""),children:(0,a.jsx)("span",{children:parseInt(n.points||0)||n.experience_gained||n.rating3})}),f&&(0,a.jsx)("td",{className:j.experience_per_game?"sorted":null,children:(0,a.jsx)("span",{children:n.experience_per_game})}),n.participations&&(0,a.jsx)("td",{children:(0,a.jsx)("div",{className:"tournament-stats tournament-stats--desktop",children:n.participations.map((e,n)=>(0,a.jsx)(l.Z,{stats:e},"".concat(n,"-").concat(e.url)))})})]})}},95946:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var a=t(85893),r=t(67294),s=t(41664),c=t.n(s),l=t(18810),i=t(65264),o=t(74238),u=t(43657),p=t(86435);function d(e){let{rating:n,place:t,showLevel:s,showPlaceChange:d,showWinsPercentage:m,hideDescription:x}=e,[h,f]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-2",children:(0,a.jsx)(l.Z,{player:n.player,size:36,className:"tournament__participants__avatar"})}),(0,a.jsxs)("div",{className:"col-10",children:[(0,a.jsxs)("div",{className:"tournament__participants__title",children:[(0,a.jsxs)("p",{children:[(0,a.jsxs)("span",{children:[t||n.place,"."]}),(0,a.jsx)(c(),{href:n.player.url,className:"tournament__participants__name",children:n.player.name}),s&&(0,a.jsx)(u.Z,{rating:n}),d&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)(o.Z,{change:n.place_change,className:"place-change"})]})]}),(0,a.jsx)("div",{children:parseInt(n.points||0)||n.experience_per_game||n.experience_gained})]}),!x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.Z,{player:n.player,className:"d-block mt-n1 mb-1"}),(0,a.jsx)("div",{className:"tournament__participants__info",children:n.player.description})]}),(0,a.jsxs)("a",{href:n.player.url,onClick:e=>{e.preventDefault(),f(e=>!e)},className:"tournament__participants__stats-link"+(h?" active":""),children:[n.num_wins," побед из ",n.num_games," игр",m&&(0,a.jsxs)(a.Fragment,{children:[" (",parseInt(n.wins_percentage),"%)"]})]})]})]}),(0,a.jsx)("div",{className:"tournament__participants__stats"+(h?" showed":""),children:(0,a.jsx)("div",{className:"col-12 tournament-stats tournament-stats--mobile",children:n.participations.map((e,n)=>(0,a.jsx)(i.Z,{stats:e},"".concat(n,"-").concat(e.url)))})})]})}},65264:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var a=t(85893),r=t(41664),s=t.n(r);function c(e){let{stats:n}=e;return(0,a.jsxs)("div",{className:"tournament-stats__cell"+(n.is_best?" tournament-stats__cell--active":"")+(n.is_rated?" tournament-stats__cell--highlighted":""),children:[(0,a.jsx)("div",{children:parseInt(n.points||0)||n.experience_gained}),(0,a.jsxs)(s(),{href:n.url,children:[n.date,n.place?" (#".concat(n.place,")"):""]})]})}},6916:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var a=t(85893);function r(e){let{player:n,ratingsUrl:t,noDecoration:r,className:s,asBlock:c}=e;return n&&n.peer_rating_avg?(0,a.jsx)(a.Fragment,{children:n.peer_rating_num?(0,a.jsxs)("span",{className:"player-rating"+(c?" player-rating--block":"")+(r?" player-rating--no-decoration":"")+(s?" "+s:""),children:[n.peer_rating_avg,(0,a.jsxs)("span",{className:"player-rating__num-rates",children:["(",(0,a.jsx)("span",{className:"player-rating__num-rates--num",children:t?(0,a.jsx)("a",{href:t,children:n.peer_rating_num}):n.peer_rating_num}),")"]})]}):""}):null}},43657:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});
1var a=t(85893),r=t(2605);function s(e){let{rating:n}=e;return(0,r.PD)()?null:(0,a.jsxs)("span",{className:"player-level",children:[" ",n.level&&n.level!=n.player.level?(0,a.jsxs)(a.Fragment,{children:["[",n.level,"] (",(0,a.jsx)("span",{className:"player-level--current",children:n.player.level}),")"]}):(0,a.jsxs)(a.Fragment,{children:["[",n.player.level,"]"]})]})}},18567:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return p},default:function(){return d}});var a=t(85893),r=t(11163),s=t(16318),c=t(77317),l=t(95946),i=t(1203);function o(e){let{playerRatings:n}=e;return(0,a.jsx)("div",{className:"tournament__participants",children:n.map(e=>(0,a.jsx)(l.Z,{rating:e,showLevel:!0,showPlaceChange:!0},e.place))})}function u(e){let{playerRatings:n}=e;return(0,a.jsxs)("table",{className:"players-table players-table--tournament",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"players-table__head-index",children:"#"}),(0,a.jsx)("th",{}),(0,a.jsx)("th",{children:"Игры"}),(0,a.jsx)("th",{children:"Побед"}),(0,a.jsx)("th",{className:"active",children:"Очки"}),(0,a.jsx)("th",{className:"players-table__head-points",children:"Очки за последние 12 игр"})]})}),(0,a.jsx)("tbody",{children:n.map(e=>(0,a.jsx)(i.Z,{rating:e,showLevel:!0,showPlaceChange:!0},e.place))})]})}var p=!0;function d(e){let{layoutProps:n,currentCity:t,player_ratings:l,page:i,num_pages:p}=e,d=(0,r.useRouter)(),m=e=>e>1?"/".concat(t.slug,"/rating/?page=").concat(e):"/".concat(t.slug,"/rating/"),x=e=>{d.push(m(e))};return(0,a.jsx)(s.Z,{pageClass:"page-tournament",menuPath:"/rating/",...n,children:(0,a.jsxs)("div",{className:"container-fluid",children:[(0,a.jsx)("h2",{className:"mt-3 mb-3 text-center",children:"Рейтинг игроков"}),(0,a.jsx)(c.Z,{page:i,numPages:p,makeHref:m,onPageSelect:x,className:"my-3"}),l.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"tournament d-mobile-only",children:(0,a.jsx)(o,{playerRatings:l})}),(0,a.jsx)("div",{className:"tournament d-desktop-only",children:(0,a.jsx)(u,{playerRatings:l})})]}),(0,a.jsx)(c.Z,{page:i,numPages:p,makeHref:m,onPageSelect:x,className:"my-4"})]})})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=86525)}),_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.