PageSourceSearch

https://gradient-match-10334491.firebaseapp.com/20-es2015.cbd3f7ed305d3b364b2d.js

js gradient-match-10334491.firebaseapp.com collected 2026-10-03 14:06:20 UTC 5,287 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"Pk4+":function(l,n,t){"use strict";t.r(n);var e=t("8Y7J");class i{}var o=t("pMnS"),a=t("SVse"),r=t("oBZk"),s=t("ZZ/e"),c=t("6uu6"),u=t("1liP");class b{constructor(l,n,t,e){this.service=l,this.router=n,this.analytics=t,this.platform=e,this.level=1}ngOnInit(){}ionViewDidEnter(){this.service.getUserPoints(localStorage.getItem("FbUserID")).then(l=>{this.level=l[0].level?l[0].level:1,this.calculate(this.level)}),this.analytics.logAnalytics("level_view","Enter")}startMatch(l){l==this.level&&(this.router.navigate(["/dashboard/gradient"]),this.analytics.logAnalytics("level_startGame","Start form level"),this.analytics.button(!1))}calculate(l){let n=l/10,t=10*Math.floor(n),e=10*Math.ceil(n);t==e&&(t-=10),this.levelArray=[];for(let i=t;i<e;i++)this.levelArray.push(i+1);console.log(this.levelArray,"..",n,"..",t,"..",e)}}var v=t("iInd"),p=e.zb({encapsulation:0,styles:[[".levels[_ngcontent-%COMP%]{position:relative;z-index:2}.levels__item[_ngcontent-%COMP%]{--bg-color:#dcebec;--text-color:#c3dadb;display:flex;justify-content:center;align-items:center;width:21.86vw;margin:4% 5%;border:.416vw solid #dcebec;text-align:center;height:19.46vw;background:var(--bg-color);font-size:5.97vw;font-family:var(--boldFont);font-weight:900;color:var(--text-color);border-radius:3.472vw}.levels__item--is-active[_ngcontent-%COMP%]{--bg-color:var(--white);--text-color:var(--button-text-color);border-color:var(--button-text-color);box-shadow:0 0 8px 0 rgba(154,154,154,.25)}.levels__item--is-complete[_ngcontent-%COMP%]{--bg-color:#96f1c2;border-color:#96f1c2;--text-color:var(--button-text-color);box-shadow:0 0 8px 0 rgba(154,154,154,.25);background-image:url(/assets/tick.svg);background-size:4.53vw;background-repeat:no-repeat;background-position:calc(100% - 1vw) 1vw}@media (min-width:767px){.levels__item[_ngcontent-%COMP%]{margin:3% 6.6%;width:18vw;height:17vw}}@media (min-width:1024px){.levels__item[_ngcontent-%COMP%]{margin:3% 6.9%}}.levels__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;justify-content:flex-start;align-items:center;flex-direction:row;flex-wrap:wrap}@media (orientation:landscape){.content-wrapper[_ngcontent-%COMP%]   .levels__item[_ngcontent-%COMP%]{width:82px!important;height:73px!important;border-width:1.5px!important;margin:4% 5%!important;font-size:22.4px!important;border-radius:13px!important}.content-wrapper[_ngcontent-%COMP%]   .levels__item--is-active[_ngcontent-%COMP%]{box-shadow:rgba(154,154,154,.25) 0 0 8px 0!important}.content-wrapper[_ngcontent-%COMP%]   .levels__item--is-complete[_ngcontent-%COMP%]{background-size:17px;background-position:calc(100% - 3.75px) 3.75px}}"]],data:{}});function g(l){return e.Tb(0,[(l()(),e.Bb(0,0,null,null,4,"li",[],null,[[null,"click"]],(function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.startMatch(l.context.$implicit)&&e),e}),null,null)),e.Pb(512,null,a.s,a.t,[e.x,e.y,e.p,e.K]),e.Ab(2,278528,null,0,a.h,[a.s],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e.Ob(3,{"levels__item--is-complete":0}),(l()(),e.Sb(4,null,["",""]))],(function(l,n){var t=n.component,e=n.context.$implicit<=t.level?"levels__item levels__item--is-active":"levels__item",i=l(n,3,0,n.context.$implicit<t.level);l(n,2,0,e,i)}),(function(l,n){l(n,4,0,n.context.$implicit)}))}function m(l){return e.Tb(0,[(l()(),e.Bb(0,0,null,null,10,"ion-content",[["class","content-wrapper"]],null,null,null,r.o,r.c)),e.Ab(1,49152,null,0,s.s,[e.j,e.p,e.F],null,null),(l()(),e.Bb(2,0,null,0,8,"div",[["class","content-wrapper__inner"]],null,null,null,null,null)),(l()(),e.Bb(3,0,null,null,2,"h1",[["class","title has-back-icon"]],null,null,null,null,null)),(l()(),e.Bb(4,0,null,null,0,"img",[["alt","back arrow"],["class","back-btn"],["src","assets/prev.svg"]],null,[[null,"click"]],(function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.analytics.button("/dashboard/main")&&e),e}),null,null)),(l()(),e.Sb(-1,null,[" Levels"])),(l()(),e.Bb(6,0,null,null,3,"div",[["class","levels"]],null,null,null,null,null)),(l()(),e.Bb(7,0,null,null,2,"ul",[["class","levels__list"]],null,null,null,null,null)),(l()(),e.qb(16777216,null,null,1,null,g)),e.Ab(9,278528,null,0,a.i,[e.W,e.S,e.x],{ngForOf:[0,"ngForOf"]},null),(l()(),e.Bb(10,0,null,null,0,"img",[["alt","gradient shape"],["class","bottom-center-shape-image"],["src","assets/bottom-center-shape.svg"]],null,null,null,null,null))],(function(l,n){l(n,9,0,n.component.levelArray)}),null)}function d(l){return e.Tb(0,[(l()(),e.Bb(0,0,null,null,1,"app-levels",[],null,
1null,null,m,p)),e.Ab(1,114688,null,0,b,[c.a,v.m,u.a,s.Hb],null,null)],(function(l,n){l(n,1,0)}),null)}var h=e.xb("app-levels",b,d,{},{},[]),_=t("s7LF");class w{}t.d(n,"LevelsPageModuleNgFactory",(function(){return x}));var x=e.yb(i,[],(function(l){return e.Kb([e.Lb(512,e.m,e.jb,[[8,[o.a,h]],[3,e.m],e.D]),e.Lb(4608,a.l,a.k,[e.z,[2,a.x]]),e.Lb(4608,_.j,_.j,[]),e.Lb(4608,s.b,s.b,[e.F,e.g]),e.Lb(4608,s.Fb,s.Fb,[s.b,e.m,e.w]),e.Lb(4608,s.Ib,s.Ib,[s.b,e.m,e.w]),e.Lb(1073742336,a.b,a.b,[]),e.Lb(1073742336,_.i,_.i,[]),e.Lb(1073742336,_.c,_.c,[]),e.Lb(1073742336,s.Cb,s.Cb,[]),e.Lb(1073742336,v.o,v.o,[[2,v.t],[2,v.m]]),e.Lb(1073742336,w,w,[]),e.Lb(1073742336,i,i,[]),e.Lb(1024,v.k,(function(){return[[{path:"",component:b}]]}),[])])}))}}]);

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.