PageSourceSearch

https://easypay.ua/5356.346a03692f0edbaf.js

js easypay.ua collected 2026-10-01 12:19:33 UTC 7,032 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkweb_front_end_angular_cli=self.webpackChunkweb_front_end_angular_cli||[]).push([[5356],{85356:(j,h,t)=>{t.r(h),t.d(h,{HorseRatingComponent:()=>K});var _=t(85240),n=t(12481),g=t(75797),u=t(60316),M=t(93683),P=t(36647),v=t(70271),d=t(98764),x=t(2435),E=t(89475),O=t(1775),C=t(82195),R=t(34487),f=t(67696),D=t(61777),T=t(68010),I=t(13703),A=t(48503),L=t(68121),$=t(26751),y=t(49074),W=t(29223);function b(o,a){1&o&&n.nrm(0,"div",6)}function U(o,a){if(1&o&&(n.nVh(0,b,1,0,"div",6),n.j41(1,"div",7),n.EFF(2),n.k0s(),n.j41(3,"div",8),n.EFF(4),n.nI1(5,"formatNickPhone"),n.k0s(),n.j41(6,"div",9),n.EFF(7),n.nI1(8,"scoreFormat"),n.k0s()),2&o){const e=a.$implicit;n.vxM(e.rank>30?0:-1),n.R7$(),n.AVh("current",e.current),n.R7$(),n.JRh(null==e?null:e.rank),n.R7$(),n.AVh("current",e.current),n.R7$(),n.JRh(n.bMT(5,10,null==e?null:e.nickName)),n.R7$(2),n.AVh("current",e.current),n.R7$(),n.JRh(n.i5U(8,12,null==e?null:e.score,5))}}function k(o,a){1&o&&(n.j41(0,"div",3),n.Z7z(1,U,9,15,null,null,n.fX1),n.k0s()),2&o&&(n.R7$(),n.Dyx(a))}function S(o,a){1&o&&n.nrm(0,"div",6)}function B(o,a){if(1&o&&(n.nVh(0,S,1,0,"div",6),n.j41(1,"div",7),n.EFF(2),n.k0s(),n.j41(3,"div",8),n.EFF(4),n.nI1(5,"formatNickPhone"),n.k0s(),n.j41(6,"div",9),n.EFF(7),n.nI1(8,"scoreFormat"),n.k0s()),2&o){const e=a.$implicit;n.vxM(e.rank>30?0:-1),n.R7$(),n.AVh("current",e.current),n.R7$(),n.JRh(null==e?null:e.rank),n.R7$(),n.AVh("current",e.current),n.R7$(),n.JRh(n.bMT(5,10,null==e?null:e.nickName)),n.R7$(2),n.AVh("current",e.current),n.R7$(),n.JRh(n.i5U(8,12,null==e?null:e.score,5))}}function F(o,a){1&o&&(n.j41(0,"div",3),n.Z7z(1,B,9,15,null,null,n.fX1),n.k0s()),2&o&&(n.R7$(),n.Dyx(a))}let K=(()=>{var o;class a{constructor(){this.destroyRef=(0,_.WQX)(_.abz),this.platform=(0,_.WQX)(n.Agw),this.horseService=(0,_.WQX)(f.Y),this.authService=(0,_.WQX)(T.u),this.breakpointObserver=(0,_.WQX)(C.B),this.loaderService=(0,_.WQX)($.Z),this._isMobile$=new g.t(!0),this.isMobile$=this._isMobile$.asObservable().pipe((0,P.n)(()=>this.breakpointObserver.observe(O.n.TabletDown)),(0,v.T)(r=>r?.matches)),this._ratingList$=new g.t(null),this.ratingList$=this._ratingList$.asObservable(),this.isActivePromo$=this.horseService.isHorsePromoActive()}ngOnInit(){this.getRatingList(),this.authStateSubscription()}ngAfterViewInit(){this.scrollTop()}authStateSubscription(){this.authService.authState().pipe((0,y.pQ)(this.destroyRef),(0,d.M)(()=>this.getRatingList())).subscribe()}getRatingList(){this.loaderService.start(),this.horseService.horseTopScores().pipe((0,x.$)(),(0,d.M)(r=>this.handleRatingData(r)),(0,E.j)(()=>this.loaderService.finish())).subscribe()}handleRatingData(r){this._ratingList$.next(this.markCurrentUserScore(r))}markCurrentUserScore(r){const{topScores:i,userScore:l}=r;if(!l||null===l.rank)return i;const c=i.findIndex(s=>s?.rank===l?.rank);if(-1!==c){const s=[...i];return s[c]={...s[c],current:!0},s}return[...i,{...l,current:!0}]}get splitIndex(){const i=this._ratingList$?.value?.length;return i>30?Math.ceil(i/2):15}firstHalf(r,i){return i?r?.slice(0):r?.slice(0,this.splitIndex)}secondHalf(r){return r?.slice(this.splitIndex)}scrollTop(){(0,u.UE)(this.platform)&&(0,L.F)()}}return(o=a).\u0275fac=function(r){return new(r||o)},o.\u0275cmp=n.VBU({type:o,selectors:[["app-horse-rating"]],decls:17,vars:15,consts:[[1,"horse-rating","relative","flex-container","flex-dir-column"],[1,"font-pixel"],[1,"horse-rating_list","flex-container","flex-wrap","align-justify"],[1,"horse-rating_column"],["appDynamicBottomPadding","",1,"horse-rating-bottom"],[1,"button","light-blue","horse-rating_bottom-btn",3,"routerLink"],[1,"horse-rating_empty"],[1,"horse-rating_rank"],[1,"horse-rating_p
1hone"],[1,"horse-rating_score"]],template:function(r,i){if(1&r&&(n.SS7(0),n.nI1(1,"async"),n.SS7(2),n.nI1(3,"async"),n.SS7(4),n.nI1(5,"async"),n.j41(6,"section",0)(7,"h1",1),n.EFF(8),n.nI1(9,"translate"),n.k0s(),n.j41(10,"div",2),n.nVh(11,k,3,0,"div",3),n.nVh(12,F,3,0,"div",3),n.k0s(),n.j41(13,"div",4)(14,"a",5),n.EFF(15),n.nI1(16,"translate"),n.k0s()()()),2&r){let l,c;const s=n.bMT(1,5,i.ratingList$),p=n.bMT(3,7,i.isMobile$),m=n.bMT(5,9,i.isActivePromo$);n.R7$(8),n.JRh(n.bMT(9,11,"promo.snake.rating.title")),n.R7$(3),n.vxM((l=i.firstHalf(s,p))?11:-1,l),n.R7$(),n.vxM((c=!p&&i.secondHalf(s))?12:-1,c),n.R7$(2),n.Y8G("routerLink",m?"../":"../rules"),n.R7$(),n.SpI(" ",n.bMT(16,13,m?"\u0427\u0430\u0441 \u0441\u0442\u0440\u0438\u0431\u0430\u0442\u0438":"promo.snake.head.link-text")," ")}},dependencies:[R.Wk,I.t,M.Jj,D.B,A.D9,W.K],styles:['.horse-rating[_ngcontent-%COMP%]{color:var(--text-color);padding:0 8px}@media only screen and (max-width: 1023.8px){.horse-rating[_ngcontent-%COMP%]{height:calc(100vh - 125px);overflow:hidden}}@media only screen and (min-width: 1024px){.horse-rating[_ngcontent-%COMP%]{padding:0 24px;min-height:592px}}.horse-rating[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{text-align:center;font-size:24px;font-weight:400;line-height:.9;color:var(--text-color);padding:24px 0 15px;margin:0}@media only screen and (max-width: 1023.8px){.horse-rating_list[_ngcontent-%COMP%]{overflow-y:auto;max-height:fit-content;flex:1 1 auto}}.horse-rating_column[_ngcontent-%COMP%]{display:grid;grid-auto-rows:minmax(8px,auto);grid-template-columns:minmax(50px,min-content) auto minmax(56px,min-content);grid-flow:dense;align-items:center;width:100%;font-size:16px;font-weight:400;line-height:28px}@media only screen and (min-width: 1024px){.horse-rating_column[_ngcontent-%COMP%]{max-width:calc(50% - 24px);grid-auto-rows:30px}}.horse-rating_rank[_ngcontent-%COMP%]{font-weight:700;padding:0 8px}@media only screen and (min-width: 1024px){.horse-rating_rank[_ngcontent-%COMP%]{padding:0 3px}}
1.horse-rating_phone[_ngcontent-%COMP%]{padding-right:8px;text-align:center}.horse-rating_score[_ngcontent-%COMP%]{text-align:right;font-family:"Press Start 2P";padding:0 8px}@media only screen and (min-width: 1024px){.horse-rating_score[_ngcontent-%COMP%]{padding:0 3px}}.horse-rating_empty[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:4;background-image:url(https://cdn.easypay.ua/images/new-year-25/snake-game/green-rect.svg);background-repeat:repeat-x;background-position:left center;filter:hue-rotate(86deg) brightness(1.4) saturate(.7);height:8px}.horse-rating[_ngcontent-%COMP%]   .current.horse-rating_phone[_ngcontent-%COMP%], .horse-rating[_ngcontent-%COMP%]   .current.horse-rating_score[_ngcontent-%COMP%], .horse-rating[_ngcontent-%COMP%]   .current.horse-rating_rank[_ngcontent-%COMP%]{background:#e6eff6}.horse-rating-bottom[_ngcontent-%COMP%]{text-align:center;width:100%;margin-top:auto}@media only screen and (max-width: 1023.8px){.horse-rating-bottom[_ngcontent-%COMP%]{padding:8px 0 20px;transition:padding-bottom .1s}}@media only screen and (min-width: 1024px){.horse-rating-bottom[_ngcontent-%COMP%]{padding:8px 0 12px}}.horse-rating_bottom-btn[_ngcontent-%COMP%]{max-width:288px;width:100%;height:40px;line-height:38px}'],changeDetection:0}),a})()}}]);
2//# sourceMappingURL=5356.346a03692f0edbaf.js.map

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.