PageSourceSearch

https://metaratings.by/_next/static/chunks/pages/tags/[slug]-189326d0ed750bd8.js

js metaratings.by collected 2026-10-02 06:30:20 UTC 25,612 bytes, 222 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25041,69616],{457:(e,a,t)=>{"use strict";t.d(a,{P:()=>m,A:()=>h});var i=t(60072),s=t(68502),n=t(86419),r=t.n(n),o=t(98281),l=t(83055),c=t(30914),d=t(68804),_=t(65059),p=t(70639),u=t.n(p);let g=({categories:e,selected:a,clickHandler:t=()=>null,appearance:s="link",size:n})=>{let{project:p}=(0,l.Ay)(),{isBtnScrollLeftShown:g,isBtnScrollRightShown:m,scrollToLeft:h,scrollToRight:x,tabScrollRef:T,parentRef:L}=(0,c.r)(),{itemRef:f,isSelected:b}=(0,o.E)(a);return(0,i.jsxs)("div",{className:r()(u().tabsHead,u().tabsHeadWithIcon,{[u().isSport]:"sport"===p}),ref:L,children:[g&&(0,i.jsx)("button",{className:u().tabsPrevCenter,onClick:h,children:(0,i.jsx)(_.I,{icon:"arrow"})}),(0,i.jsx)("div",{className:r()(u().tabsHeadWithIconScroll,{[u().small]:"small"===n,[u().justifyStart]:4>=(e?.length||0)}),ref:T,children:e?.map((e,a)=>"link"===s?(0,i.jsxs)(d.N,{href:e.url,className:r()(u().tabsHeadWithIconLink,{[u().selected]:b(e),[u().small]:"small"===n}),onClick:a=>t(a,e),parentRef:b(e)?f:void 0,children:[e.icon&&(0,i.jsx)("span",{className:u().tabsHeadWithIconLinkIcon,children:(0,i.jsx)(_.I,{icon:e.icon,size:24})}),e.menu_name||e.name]},a):(0,i.jsxs)("button",{className:r()(u().tabsHeadWithIconLink,{[u().selected]:b(e),[u().small]:"small"===n}),onClick:a=>t(a,e),children:[e.icon&&(0,i.jsx)("span",{className:u().tabsHeadWithIconLinkIcon,children:(0,i.jsx)(_.I,{icon:e.icon,size:24})}),e.menu_name||e.name]},a))}),m&&(0,i.jsx)("button",{className:u().tabsNextCenter,onClick:x,children:(0,i.jsx)(_.I,{icon:"arrow"})})]})},m=({categories:e,selected:a,className:t,clickHandler:n=()=>null,appearance:r="link",size:o="default"})=>{let l=e?.some(e=>!!e.icon),c={categories:e,clickHandler:n,selected:a,appearance:r,size:o};return l?(0,i.jsx)(g,{...c}):(0,i.jsx)(s.B,{className:t,...c})},h=m},2800:(e,a,t)=>{"use strict";t.d(a,{A:()=>c});var i=t(96857),s=t.n(i),n=t(11137),r=t.n(n),o=t(7524),l=t.n(o);let c=(e,a)=>(s().extend(l()),s().extend(r()),(a?s()(e).tz(a):s()(e)).format("YYYY-MM-DD HH:mm"))},5023:(e,a,t)=>{"use strict";t.d(a,{b:()=>s});var i,s=((i={}).ROW="row",i.COLUMN="column",i)},7727:(e,a,t)=>{"use strict";t.d(a,{i:()=>p});var i=t(96857),s=t.n(i),n=t(67328),r=t.n(n),o=t(11137),l=t.n(o),c=t(7524),d=t.n(c);t(909),t(15192),t(17528),t(24998),t(39412);let _={en:"en-gb","uz-Latn":"uz-latn","uz-Cyrl":"uz"},p=(e,a="datetime",t,i="ru")=>{if(!e)return"";s().extend(d()),s().extend(l()),s().extend(r());let n=s()(e).tz(t),o=_[i]??i,c=["es","pt"].includes(i),p=[];return("date"===a||"datetime"===a)&&p.push(n.locale(o).format("L")),("time"===a||"datetime"===a)&&p.push(n.locale(o).format("LT")),"dateString"===a&&p.push(n.locale(o).format(`D ${c?"[de] ":""}MMMM`)),"dateStringYear"===a&&p.push(n.locale(o).format(`D ${c?"[de] ":""}MMMM YYYY`)),p.join(" ")}},22203:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});var i=t(60004),s=t(10983),n=t(66646);let r={currentPage:1,lastPage:1};function o(e,a,t,l,c=[],d=!0,_="cache-first",p){let u={items:e?.data||[],paginatorInfo:e?.paginatorInfo||r},[{items:g,paginatorInfo:m},h]=(0,i.useState)(u),[x,T]=(0,i.useState)(!1),L=(0,s.useRouter)();(0,i.useEffect)(()=>{h(u)},c);let f=(e,i,s=!1,o)=>{let c=p??(0,n.A5)();T(!0),c.query({query:a,variables:{...t,page:e,first:o??t.first},fetchPolicy:_}).then(({data:e})=>{let a=l(e);s?(h({items:[...g||[],...a?.data||[]],paginatorInfo:a?.paginatorInfo||r}),d&&L.replace(i,void 0,{shallow:!0})):(h({items:a?.data||[],paginatorInfo:a?.paginatorInfo||r}),d&&L.replace(i,void 0,{shallow:!0,scroll:!0})),T(!1)})};return{items:g,paginatorInfo:m,isLoading:x,onPageChanged:(e,a="",t)=>f(e,a,!1,t),onLoadMore:(e,a="")=>f(e,a,!0),setItems:h}}},22827:e=>{e.exports={pagination:"Pagination_pagination__MspWw",isLoading:"Pagination_isLoading__eLhDF",paginationMore:"Pagination_paginationMore__QXkc2",paginationMoreLight:"Pagination_paginationMoreLight__Ls_2u",rotatePath:"Pagination_rotatePath__dAUPA",paginationMoreOrange:"Pagination_paginationMoreOrange__IWhae",paginationList:"Pagination_paginationList__Lhvt1",paginationItem:"Pagination_paginationItem__YiBlI",iconLoader:"Pagination_iconLoader__AfY4T",isSelect:"Pagination_isSelect__eF2OX",paginationLink:"Pagination_paginationLink__mijw7",paginationItemDisabled:"Pagination_paginationItemDisabled___UihK",paginationDots:"Pagination_paginationDots__9vP9j",paginationDotsItem:"Pagination_paginationDotsItem__8CqcA",showMobile:"Pagination_showMobile__2mbmE",invertedIcon:"Pagination_invertedIcon__mfdfS",arrowButton:"Pagination_arrowButton__eH8Pg",row:"Pagination_row__Jz11Q",purpleButton:"Pagination_purpleButton__sZdJ1",purpleMore:"Pagination_purpleMore__WD31o",purpleLink:"Pagination_purpleLink__BNWAH",selectedPurpleLink:"Pagination_selectedPurpleLink__he3oD",purpleVariant:"Pagination_purpleVariant__1RW5n",purplePagination:"Pagination_purplePagination__bK_Di",orangeVariant:"Pagination_orangeVariant__QWugA",orangeLink:"Pagination_orangeLink__DjiDk"}},25471:e=>{e.exports={tagsElements:"TagPostsList_tagsElements__z9Je0",tagElement:"TagPostsList_tagElement__JSYa3",card:"TagPostsList_card__5q_Q6",cardTags:"TagPostsList_cardTags__MYyd8",cardInfo:"TagPostsList_cardInfo__LKwYO",cardTitle:"TagPostsList_cardTitle__vScRn",cardSubTitle:"TagPostsList_cardSubTitle__e9PdS",cardTime:"TagPostsList_cardTime__aJZMF"}},48265:e=>{e.exports={loader:"Loader_loader__CeRtl",loaderIcon:"Loader_loaderIcon__kc2_n",rotatePath:"Loader_rotatePath__wUXCo"}},50709:e=>{e.exports={TipsBox:"TipsList_TipsBox___jUgx",hasFragment:"TipsList_hasFragment__2tet_",TipsBoxMoreIcon:"TipsList_TipsBoxMoreIcon__G_uws",TipsBoxVersus:"TipsList_TipsBoxVersus__HBXuJ",TipsBoxOther:"TipsList_TipsBoxOther__M32dY",TipsBoxDetail:"TipsList_TipsBoxDetail__On9Wk",TipsBoxOdds:"TipsList_TipsBoxOdds__jLgkL",TipsBoxTime:"TipsList_TipsBoxTime__p8U2w",TipsBoxImg:"TipsList_TipsBoxImg__c_U52",hasPlaceholder:"TipsList_hasPlaceholder__45D_4",hasLoading:"TipsList_hasLoading__y2Y0q",TipsBoxTeam:"TipsList_TipsBoxTeam__Jc_pB",TipsBoxPlus:"TipsList_TipsBoxPlus__G1_Hw",TipsBoxDate:"TipsList_TipsBoxDate__ZW4Q5",TipsBoxClock:"TipsList_TipsBoxClock__qCJyW",TipsBoxTitle:"TipsList_TipsBoxTitle__c8YUz",TipsBoxTools:"TipsList_TipsBoxTools__5TQSs",TipsBoxTag:"TipsList_TipsBoxTag__8YT8R",TipsBoxLast:"TipsList_TipsBoxLast__Xp1pJ",TipsBoxMore:"TipsList_TipsBoxMore__WHYjc",TipsBoxMoreText:"TipsList_TipsBoxMoreText__LIc6K",TipsPrimary:"TipsList_TipsPrimary__vjkJV",TipsPrimaryBg:"TipsList_TipsPrimaryBg__chcCp",TipsGreen:"TipsList_TipsGreen__U2E2o",TipsGreenBg:"TipsList_TipsGreenBg__pEAMU",TipsLive:"TipsList_TipsLive__G3rdx",TipsList:"TipsList_TipsList__uE_y9",TipsListTitle:"TipsList_TipsListTitle__RVO_g",commItem:"TipsList_commItem__QN9Ra"}},55518:(e,a,t)=>{"use strict";t.d(a,{DG:()=>r,PA:()=>c,WF:()=>n,cK:()=>l,uV:()=>o});var i=t(96857),s=t.n(i);let n=(e,a=new Date)=>{let t=s()(e);return s()(a).diff(t)>=0},r=(e,a,t=new Date)=>{let i=s()(e),n=s()(a),r=s()(t);return r.diff(i)>=0&&n.diff(r)>=0},o=(e,a=new Date)=>{let t=s()(e);return s()(a).diff(t)>0},l=(e,a=new Date,t)=>{let i=s()(e),n=s()(a);return i.isSame(n,t)},c=(e,a)=>s()(e).isSame(s()().subtract(1,"day"),a)},59529:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tags/[slug]",function(){return t(74004)}])},59624:(e,a,t)=>{"use strict";t.d(a,{A:()=>p});var i=t(60072),s=t(76316),n=t.n(s),r=t(10983),o=t(96470),l=t(8752
10),c=t(64617),d=t(15941);let _=({section:e,id_post:a,id_author:t,content_language:i,path:s})=>((0,d.E)(()=>{let n=(0,o.Ks)({section:e,id_post:a,id_author:t,content_language:i},s);return()=>(0,o.OD)(n)},[e,a,t,i,s]),null),p=({section:e,id_post:a,id_author:t,path:s})=>{let d=(0,r.useRouter)(),p=(0,l.z2)(e)?(0,o.L$)(e):(0,o.n6)(d.asPath),u={section:p};(0,l.z2)(a)&&(u.id_post=a),(0,l.z2)(t)&&(u.id_author=t);let g=(0,c.Pn)(d.locale);(0,l.z2)(g)&&(u.content_language=g);let m=`
2        (function () {
3            if (window.__customPagePushed) return;
4
5            const user_id = window.localStorage.getItem('user_id'),
6                authorId = '${u?.id_author}',
7                postId = '${u?.id_post}';
8
9            window.pageAnalytics=${JSON.stringify(u)};
10
11            if (!window.dataLayer) {
12                window.dataLayer = []
13            }
14
15            let customPageData = {
16               section: '${u.section}'
17            };
18${(0,l.z2)(g)?`            customPageData.content_language = '${g}';`:""}
19            window.id_author = authorId !== "undefined" ? authorId : undefined;
20            window.id_post = postId !== "undefined" ? postId : undefined;
21
22            if (authorId !== "undefined") {
23                customPageData.id_author = authorId;
24            }
25
26            if (postId !== "undefined") {
27                customPageData.id_post = postId;
28            }
29
30            window.dataLayer.push({
31                 event: 'custom_page',
32                 ...customPageData
33            });
34
35            window.__customPagePushed = true;
36
37            if(user_id && !window.isLoginEventSent) {
38                window.dataLayer.push({
39                     event: 'login',
40                     user_id: user_id,
41                })
42                window.isLoginEventSent = true;
43            }
44        })()
45    `;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n(),{children:(0,i.jsx)("script",{type:"text/javascript",id:"pageAnalytics",dangerouslySetInnerHTML:{__html:m}})}),(0,i.jsx)(_,{section:p,id_post:u.id_post,id_author:u.id_author,content_language:u.content_language,path:s})]})}},63079:(e,a,t)=>{"use strict";t.d(a,{A:()=>I});var i=t(60072),s=t(60004),n=t(53647),r=t(86419),o=t.n(r),l=t(96857),c=t.n(l),d=t(52294),_=t.n(d),p=t(10366),u=t(7727),g=t(28659),m=t(2800),h=t(55518),x=t(87520);let T=(e,a=2)=>{for(e=e.toString();e.length<a;)e="0"+e;return e};var L=t(83055),f=t(2255),b=t(68804),P=t(65059),w=t(50709),j=t.n(w);let I=({tips:e,className:a,defaultCategory:t,target:r="_self"})=>{let l,d,w;c().extend(_());let[I,v]=(0,n.useIntersection)({rootMargin:"0px"}),{t:N}=(0,p.Bd)("layout"),{serverTimezone:y,lang:k}=(0,L.Ym)(),B={mma:N("MartialArts"),cyber:N("Cybersport")},M=(0,L.Ay)().code;(0,x.Ie)(t)&&(t=B[M]);let[C,S]=(0,s.useState)(null),D=(0,g.A)(e.start_date||e.publication_date||new Date),A=e.end_date?(0,g.A)(e.end_date):c()(D).add(90,"minute").toDate(),$=(0,h.uV)(A),H=!$&&(0,h.DG)(D,A),W=null;if(!$&&!H&&null!==C){let e=c()(D),a=c()(C);W=c().duration(e.diff(a))}return(0,s.useEffect)(()=>{S(new Date().getTime())},[]),(0,s.useEffect)(()=>{if(!$&&v){let e=setInterval(()=>{S(new Date().getTime())},1e3);return()=>{clearInterval(e)}}},[v]),(0,i.jsxs)("div",{ref:e=>I(e),className:o()(j().TipsBox,"tipsItem",a,{[j().TipsLive]:H&&!$,[j().TipsPrimary]:"primary"===e.highlight,[j().TipsGreen]:"green"===e.highlight}),children:[(0,i.jsxs)("div",{className:j().TipsBoxVersus,children:[(0,i.jsx)(f._,{className:j().TipsBoxTeam,src:e.team_home?.preview||"/images/placeholders/team.svg",alt:e.team_home?.name||e.preview_name||e.name,width:40,height:40,layout:"fixed"}),(0,i.jsxs)("div",{className:j().TipsBoxDetail,children:[(0,i.jsxs)("div",{className:j().TipsBoxOdds,children:[N("For"),": ",e.type_coefficient??e.coefficient]}),(0,i.jsxs)("time",{dateTime:(0,m.A)(D,y),className:j().TipsBoxTime,children:[(0,i.jsx)("div",{className:j().TipsBoxDate,children:(0,u.i)(D,"date",y,k)}),(0,i.jsx)("div",{className:j().TipsBoxClock,children:(0,u.i)(D,"time",y,k)})]})]}),(0,i.jsx)(f._,{className:j().TipsBoxTeam,src:e.team_away?.preview||"/images/placeholders/team.svg",alt:e.team_away?.name||e.preview_name||e.name,width:40,height:40,layout:"fixed"})]}),(0,i.jsx)(b.N,{href:e.url,className:j().TipsBoxTitle,target:r,children:e.preview_name||e.name}),(0,i.jsxs)("div",{className:j().TipsBoxTools,children:[(0,i.jsx)("div",{className:j().TipsBoxTag,children:e.main_category?.name||t}),(0,i.jsxs)("div",{className:j().TipsBoxLast,children:[$&&(0,i.jsx)("span",{children:N("Ended")}),H&&(0,i.jsx)("span",{children:"Live"}),!$&&!H&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(P.I,{icon:"clock",size:10}),(0,i.jsx)("span",{suppressHydrationWarning:!0,children:(l=0,d=0,w=0,(0,x.Ie)(W)||(l=Math.floor(W.asHours()),d=W.minutes(),w=W.seconds()),`${T(l)}:${T(d)}:${T(w)}`)})]})]})]})]})}},68502:(e,a,t)=>{"use strict";t.d(a,{B:()=>u});
45var i=t(60072),s=t(86419),n=t.n(s),r=t(87520),o=t(98281),l=t(68804),c=t(65059),d=t(70639),_=t.n(d),p=t(30914);let u=({categories:e,selected:a,className:t,clickHandler:s=()=>null,appearance:d="link"})=>{let{isBtnScrollLeftShown:u,isBtnScrollRightShown:g,scrollToLeft:m,scrollToRight:h,tabScrollRef:x,parentRef:T}=(0,p.r)(),{itemRef:L,isSelected:f}=(0,o.E)(a);return(0,i.jsxs)("div",{className:n()("tabs",_().tabsHead,t),ref:T,children:[u&&(0,i.jsx)("button",{className:_().tabsPrev,onClick:m,children:(0,i.jsx)(c.I,{icon:"arrow",size:10})}),(0,i.jsx)("div",{className:_().tabsScroll,ref:x,children:e?.map((e,a)=>"link"!==d||(0,r.Ie)(e.url)?(0,i.jsx)("button",{className:n()(_().tabsItem,{[_().isSelect]:f(e)}),onClick:a=>s(a,e),children:e.name},a):(0,i.jsx)(l.N,{href:e.url,className:n()(_().tabsItem,{[_().isSelect]:f(e)}),onClick:a=>s(a,e),parentRef:f(e)?L:void 0,children:e.name},a))}),g&&(0,i.jsx)("button",{className:_().tabsNext,onClick:h,children:(0,i.jsx)(c.I,{icon:"arrow",size:10})})]})}},69616:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Loader:()=>c,default:()=>d});var i=t(60072),s=t(86419),n=t.n(s),r=t(65059),o=t(48265),l=t.n(o);let c=({className:e="",size:a=50})=>(0,i.jsx)("div",{className:n()(l().loader,e),children:(0,i.jsx)(r.I,{icon:"loader",size:a,className:l().loaderIcon})}),d=c},70639:e=>{e.exports={tabsHead:"CategoriesList_tabsHead__pj_lF Tabs_tabsHead__3Bb6D",tabsScroll:"CategoriesList_tabsScroll__Y20TJ Tabs_tabsScroll__smv5F",tabsNext:"CategoriesList_tabsNext__vhPrB Tabs_tabsNext__KfyYP",tabsNextCenter:"CategoriesList_tabsNextCenter__UJAX_ Tabs_tabsNext__KfyYP",tabsPrev:"CategoriesList_tabsPrev__XMMoH Tabs_tabsPrev__c2x1Q",tabsPrevCenter:"CategoriesList_tabsPrevCenter__TlWBc Tabs_tabsPrev__c2x1Q",tabsItem:"CategoriesList_tabsItem__lj2Xl Tabs_tabsItem___YqNN",isSelect:"CategoriesList_isSelect__4KN1A",tabsHeadWithIcon:"CategoriesList_tabsHeadWithIcon__yVbBY",isSport:"CategoriesList_isSport__KhAag",tabsHeadWithIconScroll:"CategoriesList_tabsHeadWithIconScroll__7wDy5",small:"CategoriesList_small__QcpFW",tabsHeadWithIconLink:"CategoriesList_tabsHeadWithIconLink__5WOVC",tabsHeadWithIconLinkIcon:"CategoriesList_tabsHeadWithIconLinkIcon__aQWeP",selected:"CategoriesList_selected__atUt_",forecastTab:"CategoriesList_forecastTab__RKZrV"}},73750:(e,a,t)=>{"use strict";t.d(a,{y:()=>r});var i=t(60072),s=t(21115);let n=t.n(s)()(()=>Promise.all([t.e(51136),t.e(53084)]).then(t.bind(t,53084)).then(e=>
45e.RetargetingBannerModule),{loadableGenerated:{webpack:()=>[53084]},ssr:!1}),r=({hasStickyPanel:e=!1}={})=>(0,i.jsx)(n,{hasStickyPanel:e})},74004:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSP:()=>z,default:()=>Y});var i=t(60072),s=t(60004),n=t(76316),r=t.n(n),o=t(53556),l=t(10366),c=t(87520),d=t(40546),_=t(4394);(0,d.J1)`
46    query TagPage($bannersTypes: [String]! $slug: String!) {
47        ${_.$}
48
49        tag(slug: $slug) {
50            id
51            name
52            h1
53            title
54            description
55            canonicalUrl
56            url
57            edit_url
58            slug
59            tabs
60            breadcrumbs {
61                name
62                link
63                seoName
64            }
65            hreflang {
66                href
67                lang
68            }
69        }
70    }
71`;let p=(0,d.J1)`
72  query TagPosts($page: Int!, $tag: ID!) {
73    posts: announces(
74      tag: $tag
75      resources: ["articles_blog", "tips", "news"]
76      first: 21
77      page: $page
78      pagination: PAGINATE
79    ) {
80      data {
81        __typename
82        ... on Tips {
83          id
84          name
85          publication_date
86          start_date
87          end_date
88          url
89          coefficient
90          team_home {
91            id
92            name
93            preview
94          }
95          team_away {
96            id
97            name
98            preview
99          }
100          main_category {
101            id
102            name
103          }
104          event {
105            teamHome {
106              id
107              name
108              preview
109            }
110            teamAway {
111              id
112              name
113              preview
114            }
115          }
116        }
117
118        ... on News {
119          id
120          name
121          publication_date
122          url
123        }
124
125        ... on Article {
126          id
127          name
128          publication_date
129          url
130        }
131      }
132      paginatorInfo {
133        currentPage
134        lastPage
135      }
136    }
137  }
138`,u=(0,d.J1)`
139  query TagPageNews($slug: String!, $page: Int!) {
140    tag(slug: $slug) {
141      id
142      name
143      slug
144      url
145
146      news(first: 21, page: $page) {
147        data {
148          id
149          name
150          publication_date
151          url
152        }
153        paginatorInfo {
154          currentPage
155          lastPage
156        }
157      }
158    }
159  }
160`,g=(0,d.J1)`
161  query TagPageTips($slug: String!, $page: Int!) {
162    tag(slug: $slug) {
163      id
164      name
165      slug
166      url
167
168      tips(first: 21, page: $page) {
169        data {
170          id
171          name
172          preview_name
173          publication_date
174          start_date
175          end_date
176          url
177          coefficient
178          team_home {
179            id
180            name
181            preview
182          }
183          team_away {
184            id
185            name
186            preview
187          }
188          main_category {
189            id
190            name
191          }
192        }
193        paginatorInfo {
194          currentPage
195          lastPage
196        }
197      }
198    }
199  }
200`,m=(0,d.J1)`
201  query TagPageArticles($slug: String!, $page: Int!) {
202    tag(slug: $slug) {
203      id
204      name
205      slug
206      url
207
208      articles(type: "blog", first: 21, page: $page) {
209        data {
210          id
211          name
212          publication_date
213          url
214        }
215        paginatorInfo {
216          currentPage
217          lastPage
218        }
219      }
220    }
221  }
222`,h=e=>{if((0,c.Ie)(e))return p;switch(e){case"news":return u;case"tips":return g;default:return m}},x=(e,a)=>{let t={data:[],paginatorInfo:{currentPage:1,lastPage:1}};switch(a){case"tips":return e?.tips||t;case"news":return e?.news||t;default:return e?.articles||t}};var T=t(22203),L=t(66639),f=t(18532),b=t(69616),P=t(59624),w=t(457),j=t(83537),I=t(86419),v=t.n(I),N=t(7727),y=t(83055),k=t(68804),B=t(63079),M=t(25471),C=t.n(M);let S=({posts:e})=>(0,i.jsx)("div",{className:v()(C().tagsElements),children:e.map(e=>(0,i.jsx)(D,{post:e},e.__typename+"-"+e.id))}),D=({post:e})=>{switch(e.__typename){case"Tips":return(0,i.jsx)("div",{className:C().tagElement,children:(0,i.jsx)(B.A,{tips:e})});case"News":case"Article":return(0,i.jsx)(A,{post:e});default:return null}},A=({post:e})=>{let{t:a}=(0,l.Bd)("layout"),{serverTimezone:t,lang:s}=(0,y.Ym)();return(0,i.jsx)("div",{className:C().tagElement,children:(0,i.jsxs)("article",{className:C().card,children:[(0,i.jsx)("ul",{className:C().cardTags,children:(0,i.jsx)("li",{children:a("Article"===e.__typename?"Article":"OneNews")})}),(0,i.jsxs)("div",{className:C().cardInfo,children:[(0,i.jsx)(k.N,{href:e.url,className:C().cardTitle,target:"_blank",children:e.name}),"Article"===e.__typename&&e.annonce&&(0,i.jsx)("div",{className:C().cardSubTitle,children:e.annonce})]}),(0,i.jsx)("div",{className:C().cardTime,children:(0,N.i)(e.publication_date,"datetime",t,s
222)})]})})};var $=t(89563),H=t(73750);let W=["zenit-sankt-peterburg","spartak-moskva"],E=({tag:e,posts:a,type:t})=>{let n,[d,_]=(0,s.useState)(t),[p,u]=(0,s.useState)(!1),{t:g}=(0,l.Bd)("layout"),m=t?{slug:e.slug}:{tag:e.id,slug:e.slug},{items:I,paginatorInfo:v,setItems:N,...y}=(0,T.A)(a,h(d),m,e=>d?x(e.tag,d):e.posts,[d],!1),[k]=(0,o._)(h(d),{fetchPolicy:"network-only"});if((0,c.Ie)(e))return(0,i.jsx)(L.M,{});let B=async(a,t)=>{a.preventDefault();let i=t.url,s=i?{slug:e.slug,page:1}:{tag:e.id,page:1};_(i),u(!0);try{let e=await k({query:h(i),variables:s}),a=i?x(e.data.tag,i):e.data.posts;N({items:a.data,paginatorInfo:a.paginatorInfo})}catch(e){console.error(e)}finally{u(!1)}},M=(n=[{id:"0",name:g("all"),url:"",selected:!d}],(0,c.z2)(e.tabs)&&(e.tabs.includes("tips")&&n.push({id:"1",name:g("Tips"),url:"tips",selected:"tips"===d,icon:""}),e.tabs.includes("news")&&n.push({id:"2",name:g("News"),url:"news",selected:"news"===d}),e.tabs.includes("articles")&&n.push({id:"3",name:g("ArticlesAndAnalytics"),url:"articles",selected:"articles"===d})),n),C=W.includes(e.slug??"");return(0,i.jsxs)($.P,{h1:e.h1,title:e.title,description:e.description,canonicalUrl:e.canonicalUrl,hreflang:e.hreflang,editUrl:e.edit_url,breadcrumbs:e.breadcrumbs??[{name:g("Tags"),link:"/tags/"}],showAside:!1,children:[(0,i.jsx)(r(),{children:(0,i.jsx)("meta",{name:"robots",content:C?"index, follow":"noindex, follow"})}),(0,i.jsx)(f.t,{children:(0,i.jsx)(w.P,{categories:M,clickHandler:B,appearance:"button"})}),(0,i.jsx)(f.t,{children:(0,c.z2)(I)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S,{posts:I}),(0,i.jsx)(j.dK,{...v,...y,showMore:!0,showPages:!1,allowLinks:!1,saveQuery:["type"]}),p&&(0,i.jsx)(b.default,{})]})}),(0,i.jsx)(f.t,{children:(0,i.jsx)(H.y,{})}),(0,i.jsx)(P.A,{})]})};var z=!0;let Y=e=>(0,i.jsx)(E,{...e})},83537:(e,a,t)=>{"use strict";t.d(a,{Ay:()=>P,dK:()=>f});var i=t(60072),s=t(60004),n=t(17698),r=t.n(n),o=t(10983),l=t(86419),c=t.n(l),d=t(10366),_=t(87520),p=t(67508),u=t(78628),g=t(97794),m=t(24783),h=t(65059),x=t(22827),T=t.n(x),L=t(5023);let f=({currentPage:e,lastPage:a,neighbours:t=1,showPages:n=!0,showMore:r=!1,showMoreTitle:l,onPageChanged:x,onLoadMore:f=x,saveQuery:P=[],allowLinks:w=!0,className:j,isLoading:I=!1,variant:v="dark",loadMoreAnalytics:N,direction:y=L.b.COLUMN})=>{let k=(0,o.useRouter)(),B=(0,m.a)(),{t:M}=(0,d.Bd)("layout"),{page:C}=k.query,S=k.asPath,D=()=>B?0:t,A=(0,g.Mf)({form_action:"click",place:"button",name_click:M("MoreReviews"),section:p.A?"":window?.pageAnalytics?.section}),$=(e,a,t=!1)=>{e.preventDefault();let i=H(a);t&&f?(f(a,i),(0,_.z2)(N)&&A(N)):x?x(a,i):k.push(i)},H=e=>{let a=k.asPath.replace(/\/page-(\d+)\//,"/").split("?")[0],t={};if(!(0,_.Ie)(P))for(let e in k.query)"page"!==e&&-1!==P.indexOf(e)&&(t[e]=k.query[e]);let i=Number(e);return(i>1&&!Number.isNaN(i)&&(t.page=i.toString()),0===Object.keys(t).length)?a:a+"?"+Object.keys(t).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(t[e])).join("&")},W="orange"===v,E="purple"===v,z=e<=1,Y=e>=a,O=z&&!W,R=Y&&!W,U=(0,i.jsx)(h.I,{icon:"loader",size:25,className:T().iconLoader}),J=Number(C)||1;return((0,s.useEffect)(()=>{e!==J&&x?.(J,S)},[S,J]),1===a)?null:(0,i.jsxs)("div",{className:c()(T().pagination,j,{[T().isLoading]:I,[T().row]:y===L.b.ROW,[T().purplePagination]:E}),children:[r&&e<a&&(0,i.jsxs)(b,{href:H(e+1),allowLinks:w,className:c()(T().paginationMore,"loadMore",{[T().paginationMoreLight]:"light"===v,[T().paginationMoreOrange]:W,[T().purpleButton]:E,[T().purpleMore]:E}),onClick:a=>$(a,e+1,!0),children:[(0,i.jsx)("span",{children:l||M("LoadMore")}),I&&U]}),n&&(0,i.jsxs)("ul",{className:c()(T().paginationList,"show-mobile",{[T().orangeVariant]:W,[T().purpleVariant]:E}),children:[!O&&(0,i.jsx)("li",{className:c()(T().paginationItem,{[T().paginationItemDisabled]:I||z}),children:(0,i.jsx)(b,{href:H(e-1),allowLinks:w&&!z,className:c()({[T().paginationLink]:!W,[T().orangeLink]:W,[T().disabled]:z,[T().purpleButton]:E,[T().purpleLink]:E}),onClick:a=>$(a,e-1),children:W||E?(0,i.jsx)("div",{className:T().arrowButton,children:(0,i.jsx)(h.I,{icon:"arrow",size:10,className:T().invertedIcon})}):M("PREV")})}),(()=>{var t;let i,s,n,r=2*D()+3;if(a<=r)return(0,u.A)(1,a);let o=(i=[1],s=e>a-2,n=e<=2,s&&!B||n&&B?i.push(2):n&&i.push(2,3),i),l=e>2&&e<=a-2?(0,u.A)(e-D(),e+D()):[],c=(t=o.length+l.length,(0,u.A)(a-(r-t-1),a)),d=Math.max(2,e-D()),_=Math.min(a-1,e+D()),p=a-_>1,g=[];return g.push(...o),d>
2222&&g.push("..."),g.push(...l),p&&g.push("..."),g.push(...c),g})().map((t,s)=>"..."===t?(0,i.jsx)("li",{className:T().paginationItem,children:(0,i.jsx)("div",{className:T().paginationDots,children:Array.from({length:3}).map((e,a)=>(0,i.jsx)("span",{className:T().paginationDotsItem},a))})},`${t}-${s}}`):t===e?(0,i.jsx)("li",{className:c()(T().paginationItem,T().isSelect,{[T().paginationItemDisabled]:I||Y}),children:(0,i.jsx)("span",{className:c()({[T().paginationLink]:!W,[T().orangeLink]:W,[T().purpleButton]:E,[T().purpleLink]:E,[T().selectedPurpleLink]:E}),children:I&&e===a&&!W?U:t})},`${t}-${s}}`):(0,i.jsx)("li",{className:c()(T().paginationItem,{[T().paginationItemDisabled]:I,[T().purpleButton]:E}),children:(0,i.jsx)(b,{href:H(+t),allowLinks:w,className:c()({[T().paginationLink]:!W,[T().purpleButton]:E,[T().purpleLink]:E,[T().orangeLink]:W}),onClick:e=>$(e,+t),children:t})},`${t}-${s}}`)),!R&&(0,i.jsx)("li",{className:c()(T().paginationItem,{[T().paginationItemDisabled]:I||Y}),children:(0,i.jsx)(b,{href:H(e+1),allowLinks:w&&!Y,className:c()({[T().paginationLink]:!W,[T().orangeLink]:W,[T().disabled]:Y,[T().purpleButton]:E,[T().purpleLink]:E}),onClick:a=>$(a,e+1),children:W||E?(0,i.jsx)("div",{className:T().arrowButton,children:(0,i.jsx)(h.I,{icon:"arrow",size:10})}):M("NEXT")})})]})]})},b=({href:e,allowLinks:a,children:t,...s})=>a?(0,i.jsx)(r(),{href:e,...s,children:t}):(0,i.jsx)("button",{type:"button",...s,children:t}),P=f},98281:(e,a,t)=>{"use strict";t.d(a,{E:()=>n});var i=t(60004),s=t(10983);let n=e=>{let a=(0,i.useRef)(null),t=(0,s.useRouter)();return{itemRef:a,isSelected:a=>"boolean"==typeof a.selected?a.selected:e?a.id===e||a.url===e:(t.basePath+t.asPath).includes(a.url)}}}},e=>{e.O(0,[72668,77953,34386,17698,50539,41647,90636,46593,38792],()=>e(e.s=59529)),_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.