PageSourceSearch

https://supercolortuts.com/chunk-PO4BCA7V.js

js supercolortuts.com collected 2026-10-04 19:57:36 UTC 4,944 bytes, 1 lines download raw bytes

1import{j as A}from"./chunk-LBFZVMBI.js";import{J as q,O as z,x as W}from"./chunk-2RZNBXEW.js";import{e as L,i as $,j as V,k as J,q as U,r as H,sa as R}from"./chunk-LKIBVTZY.js";import{A as I,B as C,Da as v,Ia as o,Ja as p,Ka as O,La as P,Ma as M,Oa as F,Ra as y,Sa as d,ab as N,bb as m,cb as B,db as _,ga as n,gb as w,ha as f,nb as j,p as E,sb as s,tb as l,xa as u,xb as G}from"./chunk-LZGEQQYD.js";function Q(i,r){if(i&1&&(o(0,"p",22),m(1),s(2,"translate"),s(3,"translate"),s(4,"translate"),p()),i&2){let a=d(2).$implicit;n(),w(" ",l(2,4,"From")," ",a.nextCloseTime," ",l(3,6,"To")," ",l(4,8,"UntilFurtherNotice")," ")}}function X(i,r){if(i&1&&(o(0,"p",22),m(1),s(2,"translate"),s(3,"translate"),p()),i&2){let a=d(2).$implicit;n(),w(" ",l(2,4,"From")," ",a.nextCloseTime," ",l(3,6,"To")," ",a.nextOpenTime," ")}}function Y(i,r){if(i&1&&(o(0,"div",13)(1,"div",14),O(2,"span",15),p(),o(3,"div",16)(4,"p",17)(5,"strong",18),m(6),p(),o(7,"span",19),m(8),s(9,"translate"),p()(),u(10,Q,5,10,"p",20)(11,X,4,8,"ng-template",null,0,G),o(13,"span",21),m(14),p()()()),i&2){let a=N(12),e=d().$implicit,t=d(2);n(2),v("className",t.getLogo(e.providerLogo)),n(4),_("[",e.displayValue,"]"),n(2),_(" ",l(9,6,"ScheduledToMaintenanceOn")," "),n(2),v("ngIf",e.untilNotice)("ngIfElse",a),n(4),_("GMT",e.offsetGmt,"")}}function Z(i,r){if(i&1&&(P(0),u(1,Y,15,8,"div",12),M()),i&2){let a=r.$implicit,e=d(2);n(),v("ngIf",e.isDisplay(a))}}function ee(i,r){if(i&1){let a=F();P(0),o(1,"div",2)(2,"div",3)(3,"strong"),m(4),s(5,"translate"),p(),o(6,"p",4),m(7),s(8,"translate"),p()(),o(9,"div",5)(10,"div",6)(11,"div",7),u(12,Z,2,1,"ng-container",8),p()(),o(13,"div",9),y("click",function(){I(a);let t=d();return C(t.close())}),o(14,"button",10),m(15),s(16,"translate"),p()()()(),o(17,"div",11),y("click",function(){I(a);let t=d();return C(t.close())}),p(),M()}if(i&2){let a=d();n(),v("@loadFadeIn",void 0),n(3),_(" ",l(5,5,"ProviderMaintenanceInfo")," "),n(3),_(" ",l(8,7,"ProviderWillBeClosed")," "),n(5),v("ngForOf",a.maintenanceData),n(3),B(l(16,9,"confirm"))}}var fe=(()=>{let r=class r{constructor(e,t,c,g,S,h){this.globalData=e,this.cmsService=t,this.httpService=c,this.storageService=g,this.langService=S,this.getProviderMaintenancePopUpInfoCacheService=h,this.type=null,this.provider=null}ngOnInit(){this.loadIndex()}loadIndex(){let e={language:this.langService.language,RangeType:3};this.getProviderMaintenancePopUpInfoCacheService.getJsonData({name:"maintenance",obs:this.httpService.GetProviderMaintenancePopUpInfo(e)}).subscribe(t=>{var c,g,S;if((c=t.data)!=null&&c.list&&((g=t.data)==null?void 0:g.list.length)>0){this.maintenanceData=t.data.list;let h=this.storageService.getStorage("maintenanceInfo"),K=h?JSON.parse(h):null;(!h||this.diff(K,this.maintenanceData))&&(this.storageService.delCookie("isShowProviderMaintenancePop"),this.storageService.delCookie("isShowMaintenanceInGame"),this.storageService.setStorage("maintenanceInfo",JSON.stringify(this.maintenanceData)));let D=new Date(new Date().setHours(23,59,59,999)),b=this.storageService.getCookie("isShowMaintenanceInGame"),T=this.storageService.getCookie("isShowProviderMaintenancePop");if(this.type==="home"&&(!T||T==="false")&&((S=t.data)!=null&&S.homeMaintenancePopup)&&(this.globalData.isShowProviderMaintenancePop=!0,document.cookie="isShowProviderMaintenancePop=true;expires=".concat(D,";path=/")),this.type==="game"){let x=[];b&&(x=b.split(",")),this.maintenanceData.map(k=>{k.providerId===this.provider&&x.indexOf(this.provider)<0&&(this.globalData.isShowProviderMaintenancePop=!0,x.push(k.providerId))}),document.cookie="isShowMaintenanceInGame=".concat(x,"; expires=").concat(D,"; path=/")}}})}diff(e,t){let c=JSON.stringify(e),g=JSON.stringify(t);return c!==g}isDisplay(e){return this.type==="home"?!0:this.provider?e.providerId===this.provider:!1}getLogo(e){return e}close(){this.globalData.isShowProviderMaintenancePop=!1}};r.\u0275fac=function(t){return new(t||r)(f(R),f(z),f(W),f(L),f(J),f(q))},r.\u0275cmp=E({type:r,selectors:[["app-maintenance-info"]],inputs:{type:"type",provider:"provider"},standalone:!0,features:[j],decls:1,vars:1,consts:[["otherDate",""],[4,"ngIf"],[1,"popup-box","full-width"],[1,"popup-title","no-border"],[1,"subtitle"],[1,"popup-block"],[1,"scroll-wrap"],[1,"provider-mainten-content"],[4,"ngFor","ngForOf"],[1,"btn-group",3,"click"],[1,"btn-submit"],[1,"mask","popup",3,"click"],["class","item",4,"ngIf"],[1,"item"],[1,"avartar"],[3,"className"],[1,"content"],[1,"heading"],[1,"provider-name"],[1,"info"],["class","date-info",4,"ngIf","ngIfElse"],[1,"time-tag"],[1,"date-info"]],template:function(t,c){t&1&&u(0,ee,18,11,"ng-container",1),t&2&&v("ngIf",c.globalData.isShowProviderMaintenancePop&&c.maintenanceData&&(c.type==="game"||c.globalData.isShowedHomepagePopup))},dependencies:[H,U,V,$],styles:[".scroll-wrap[_ngcontent-%COMP%]{scrollbar-width:none;overflow-y:auto;overflow-y:overlay}"],data:{animation:[A]}});let i=r;return i})();export{fe as a};

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.