1import{f as nt,g as it}from"./chunk-JTCHKRVK.js";import{p as W}from"./chunk-4PH4GHWA.js";import{Ea as Y,Fb as tt,Gb as et,T as Q,wa as X}from"./chunk-ZNDNIMMX.js";import{$c as H,B as w,Fd as G,Hc as j,Hd as J,Ic as d,Jb as x,Jc as f,Ka as O,Kb as C,La as F,Ld as K,Mb as I,Nb as E,Pb as P,Qb as r,Vc as A,Xb as c,Zb as $,Zc as k,_b as R,aa as M,cd as Z,ec as u,f as b,gd as B,ia as z,id as U,jc as p,kc as m,lc as _,mc as h,md as q,na as g,nc as T,oc as L,tb as a,ub as y,uc as o,xa as S}from"./chunk-X4UZFQOI.js";var at=(()=>{class t{transform(e,n="HH:mm:ss"){let i=Number(e||0);return W.reduce((s,[N,V])=>{if(s.indexOf(N)!==-1){let D=Math.floor(i/V);return i-=D*V,s.replace(new RegExp(`${N}+`,"g"),lt=>Q(D.toString(),lt.length,"0"))}return s},n)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=I({name:"nzTimeRange",type:t,pure:!0})}return t})(),ot=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=z({})}return t})();var ct=t=>({$implicit:t});function pt(t,l){if(t&1&&L(0,1),t&2){let e=o();c("ngTemplateOutlet",e.nzValueTemplate)("ngTemplateOutletContext",A(2,ct,e.nzValue))}}function mt(t,l){if(t&1&&(p(0,"span",2),d(1),m()),t&2){let e=o(2);a(),f(e.displayInt)}}function ut(t,l){if(t&1&&(p(0,"span",3),d(1),m()),t&2){let e=o(2);a(),f(e.displayDecimal)}}function dt(t,l){if(t&1&&r(0,mt,2,1,"span",2)(1,ut,2,1,"span",3),t&2){let e=o();u(e.displayInt?0:-1),a(),u(e.displayDecimal?1:-1)}}function ft(t,l){if(t&1&&(h(0),d(1),T()),t&2){let e=o();a(),f(e.nzTitle)}}function zt(t,l){t&1&&_(0,"nz-skeleton",2),t&2&&c("nzParagraph",!1)}function gt(t,l){if(t&1&&(h(0),d(1),T()),t&2){let e=o(3);a(),f(e.nzPrefix)}}function xt(t,l){if(t&1&&(p(0,"span",5),r(1,gt,2,1,"ng-container",1),m()),t&2){let e=o(2);a(),c("nzStringTemplateOutlet",e.nzPrefix)}}function Ct(t,l){if(t&1&&(h(0),d(1),T()),t&2){let e=o(3);a(),f(e.nzSuffix)}}function _t(t,l){if(t&1&&(p(0,"span",7),r(1,Ct,2,1,"ng-container",1),m()),t&2){let e=o(2);a(),c("nzStringTemplateOutlet",e.nzSuffix)}}function ht(t,l){if(t&1&&(p(0,"div",4),r(1,xt,2,1,"span",5),_(2,"nz-statistic-number",6),r(3,_t,2,1,"span",7),m()),t&2){let e=o();R(e.nzValueStyle),a(),u(e.nzPrefix?1:-1),a(),c("nzValue",e.nzValue)("nzValueTemplate",e.nzValueTemplate),a(),u(e.nzSuffix?3:-1)}}function Tt(t,l){if(t&1&&(d(0),k(1,"nzTimeRange")),t&2){let e=o();f(H(1,1,e.diff,e.nzFormat))}}var St=(()=>{class t{nzValue;nzValueTemplate;displayInt="";displayDecimal="";locale_id=g(B);ngOnChanges(){this.formatNumber()}formatNumber(){let e=typeof this.nzValue=="number"?".":J(this.locale_id,G.Decimal),n=String(this.nzValue),[i,s]=n.split(e);this.displayInt=i,this.displayDecimal=s?`${e}${s}`:""}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["nz-statistic-number"]],inputs:{nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatisticNumber"],features:[S],decls:3,vars:1,consts:[[1,"ant-statistic-content-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-statistic-content-value-int"],[1,"ant-statistic-content-value-decimal"]],template:function(n,i){n&1&&(p(0,"span",0),r(1,pt,1,4,"ng-container",1)(2,dt,2,2),m()),n&2&&(a(),u(i.nzValueTemplate?1:2))},dependencies:[K],encapsulation:2,changeDetection:0})}return t})(),v=(()=>{class t{nzPrefix;nzSuffix;nzTitle;nzValue;nzValueStyle={};nzValueTemplate;nzLoading=!1;dir="ltr";destroy$=new b;cdr=g(U);directionality=g(Y);ngOnInit(){this.directionality.change?.pipe(M(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["nz-statistic"]],hostAttrs:[1,"ant-statistic"],hostVars:2,hostBindings:function(n,i){n&2&&$("ant-statistic-rtl",i.dir==="rtl")},inputs:{nzPrefix:"nzPrefix",nzSuffix:"nzSuffix",nzTitle:"nzTitle",nzValue:"nzValue",nzValueStyle:"nzValueStyle",nzValueTemplate:"nzValueTemplate",nzLoading:[2,"nzLoading","nzLoading",q]},exportAs:["nzStatistic"],features:[P],decls:4,vars:2,consts:[[1,"ant-statistic-title"],[4,"nzStringTemplateOutlet"],[1,"ant-statistic-skeleton",3,"nzParagraph"],[1,"ant-statistic-content",3,"style"],[1,"ant-statistic-content"],[1,"ant-statistic-content-prefix"],[3,"nzValue","nzValueTemplate"],[1,"ant-statistic-content-suffix"]],template:function(n,i){n&1&&(p(0,"div",0),r(1,ft,2,1,"ng-container",1),m(),r(2,zt,1,1,"nz-skeleton",2)(3,ht,4,6,"div",3)),n&2&&(a(),c("nzStringTemplateOutlet",i.nzTitle),a(),u(i.nzLoading?2:3))},dependencies:[it,nt,St,et,tt],encapsulation:2,changeDetection:0})}return t})(),yt=1e3/30,vt=(()=>{class t extends v{ngZone;platform;nzFormat="HH:mm:ss";nzCountdownFinish=new O;diff;target=0;updater_;constructor(e,n){super(),this.ngZone=e,this.platform=n}
1ngOnChanges(e){e.nzValue&&(this.target=Number(e.nzValue.currentValue),e.nzValue.isFirstChange()||this.syncTimer())}ngOnInit(){super.ngOnInit(),this.syncTimer()}ngOnDestroy(){this.stopTimer()}syncTimer(){this.target>=Date.now()?this.startTimer():this.stopTimer()}startTimer(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.stopTimer(),this.updater_=w(yt).subscribe(()=>{this.updateValue(),this.cdr.detectChanges()})})}stopTimer(){this.updater_&&(this.updater_.unsubscribe(),this.updater_=null)}updateValue(){this.diff=Math.max(this.target-Date.now(),0),this.diff===0&&(this.stopTimer(),this.nzCountdownFinish.observers.length&&this.ngZone.run(()=>this.nzCountdownFinish.emit()))}static \u0275fac=function(n){return new(n||t)(y(F),y(X))};static \u0275cmp=x({type:t,selectors:[["nz-countdown"]],inputs:{nzFormat:"nzFormat"},outputs:{nzCountdownFinish:"nzCountdownFinish"},exportAs:["nzCountdown"],features:[E,S],decls:3,vars:6,consts:[["countDownTpl",""],[3,"nzValue","nzValueStyle","nzValueTemplate","nzTitle","nzPrefix","nzSuffix"]],template:function(n,i){if(n&1&&(_(0,"nz-statistic",1),r(1,Tt,2,4,"ng-template",null,0,Z)),n&2){let s=j(2);c("nzValue",i.diff)("nzValueStyle",i.nzValueStyle)("nzValueTemplate",i.nzValueTemplate||s)("nzTitle",i.nzTitle)("nzPrefix",i.nzPrefix)("nzSuffix",i.nzSuffix)}},dependencies:[v,ot,at],encapsulation:2,changeDetection:0})}return t})(),Bt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=z({imports:[v,vt]})}return t})();export{v as a,vt as b,Bt as c};
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.