PageSourceSearch

https://preview-9267-ng-zorro-antd.surge.sh/chunk-DTZUD37P.js

js preview-9267-ng-zorro-antd.surge.sh collected 2026-10-03 14:59:01 UTC 2,630 bytes, 1 lines download raw bytes

1import{B as g,xa as c,ya as f,za as d}from"./chunk-FE3MHUBC.js";import{ha as m,la as y,xb as l,zb as s}from"./chunk-OQ4XWHPB.js";var x=(()=>{class t{transform(e,r){if(!Array.isArray(e))return e;if(e.length!==0)switch(r){case"sum":return d(e);case"avg":return d(e)/e.length;case"max":return Math.max(...e);case"min":return Math.min(...e);default:throw Error("Invalid Pipe Arguments: Aggregate pipe doesn't support this type")}}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=s({name:"nzAggregate",type:t,pure:!0})}return t})(),M=class t{static formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};transform(n,e=0,r="B",o){if(!(c(n)&&c(e)&&e%1===0&&e>=0))return n;let i=n,u=r;for(;u!=="B";)i*=1024,u=t.formats[u].prev;if(o){let a=t.formats[o],p=f(t.calculateResult(a,i),e);return t.formatResult(p,o)}for(let a in t.formats)if(t.formats.hasOwnProperty(a)){let p=t.formats[a];if(i<p.max){let h=f(t.calculateResult(p,i),e);return t.formatResult(h,a)}}}static formatResult(n,e){return`${n} ${e}`}static calculateResult(n,e){let r=n.prev?t.formats[n.prev]:void 0;return r?e/r.max:e}static \u0275fac=function(e){return new(e||t)};static \u0275pipe=s({name:"nzBytes",type:t,pure:!0})},N=(()=>{class t{transform(e,r="px"){return typeof e=="number"?`${e}${r}`:e}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=s({name:"nzToCssUnit",type:t,pure:!0})}return t})(),T=(()=>{class t{transform(e,r,o=""){if(typeof e!="string")return e;let i=typeof r>"u"?e.length:r;return e.length<=i?e:e.substring(0,i)+o}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=s({name:"nzEllipsis",type:t,pure:!0})}return t})(),F=(()=>{class t{sanitizer=y(g);transform(e,r="html"){switch(r){case"html":return this.sanitizer.bypassSecurityTrustHtml(e);case"style":return this.sanitizer.bypassSecurityTrustStyle(e);case"url":return this.sanitizer.bypassSecurityTrustUrl(e);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(e);default:throw new Error("Invalid safe type specified")}}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=s({name:"nzSanitizer",type:t,pure:!0})}return t})(),S=(()=>{class t{transform(e){return e.trim()}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=s({name:"nzTrim",type:t,pure:!0})}return t})();var b=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=l({type:t});static \u0275inj=m({})}return t})();export{x as a,M as b,N as c,T as d,F as e,S as f,b as g};

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.