@oardi/ts-utils 0.0.36 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions/array-extensions.d.ts +10 -9
- package/extensions/array-extensions.d.ts.map +1 -1
- package/extensions/date-extensions.d.ts +16 -16
- package/extensions/date-extensions.d.ts.map +1 -1
- package/extensions/index.d.ts +0 -3
- package/extensions/index.d.ts.map +1 -1
- package/extensions/string-extensions.d.ts +8 -7
- package/extensions/string-extensions.d.ts.map +1 -1
- package/helpers/index.d.ts +2 -0
- package/helpers/index.d.ts.map +1 -1
- package/index.cjs.js +8 -8
- package/index.es.js +820 -685
- package/index.umd.js +8 -8
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
|
|
3
2
|
declare global {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
interface Array<T> {
|
|
4
|
+
distinct<T>(this: T[], comparator?: (obj1: T, obj2: T) => boolean): T[];
|
|
5
|
+
filterBy<T>(this: T[], valueGetter: (a: T) => boolean): T[];
|
|
6
|
+
first(this: T[]): T;
|
|
7
|
+
groupBy(this: T[], valueGetter: (a: T) => string): Record<string, T[]>;
|
|
8
|
+
orderBy<T, G>(this: T[], valueGetter: (a: T) => G, ascending?: boolean): T[];
|
|
9
|
+
removeBy<T, G>(this: T[], valueGetter: (a: T) => G, val: G): T[];
|
|
10
|
+
}
|
|
12
11
|
}
|
|
12
|
+
export declare function initArrayExtensions(): void;
|
|
13
|
+
//# sourceMappingURL=array-extensions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/array-extensions.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"array-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/array-extensions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,KAAK,CAAC,CAAC;QAChB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,OAAO,GAAG,CAAC,EAAE,CAAC;QACxE,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,GAAG,CAAC,EAAE,CAAC;QAC5D,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;QACpB,OAAO,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;QACvE,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,EAAE,CAAC;QAC7E,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;KACjE;CACD;AAED,wBAAgB,mBAAmB,SAoClC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ConfigType, ManipulateType, OpUnitType, UnitType } from 'dayjs';
|
|
2
|
-
export {};
|
|
3
|
-
|
|
4
2
|
declare global {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
3
|
+
interface Date {
|
|
4
|
+
add(value: number, unit?: ManipulateType): Date;
|
|
5
|
+
diff(date: Date, unit?: UnitType): number;
|
|
6
|
+
endOf(unit: UnitType): Date;
|
|
7
|
+
firstDayOfMonth(): Date;
|
|
8
|
+
format(template?: string): string;
|
|
9
|
+
lastDayOfMonth(): Date;
|
|
10
|
+
isAfter(date: ConfigType, unit?: OpUnitType): boolean;
|
|
11
|
+
isBefore(date: ConfigType, unit?: OpUnitType): boolean;
|
|
12
|
+
isValid(): boolean;
|
|
13
|
+
set(unit: UnitType, value: number): Date;
|
|
14
|
+
subtract(value: number, unit?: ManipulateType): Date;
|
|
15
|
+
startOf(unit: UnitType): Date;
|
|
16
|
+
}
|
|
19
17
|
}
|
|
18
|
+
export declare function initDateExtensions(): void;
|
|
19
|
+
//# sourceMappingURL=date-extensions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/date-extensions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/date-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAK9E,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,IAAI;QACb,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QAChD,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;QAC1C,KAAK,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;QAC5B,eAAe,IAAI,IAAI,CAAC;QACxB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAClC,cAAc,IAAI,IAAI,CAAC;QACvB,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;QACtD,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;QACvD,OAAO,IAAI,OAAO,CAAC;QACnB,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QACrD,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;KAC9B;CACD;AAED,wBAAgB,kBAAkB,IAAI,IAAI,CAgDzC"}
|
package/extensions/index.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
export * from './array-extensions';
|
|
2
|
-
export * from './array-extensions.d';
|
|
3
2
|
export * from './date-extensions';
|
|
4
|
-
export * from './date-extensions.d';
|
|
5
3
|
export * from './string-extensions';
|
|
6
|
-
export * from './string-extensions.d';
|
|
7
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
|
|
3
2
|
declare global {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
interface String {
|
|
4
|
+
capitalize(): string;
|
|
5
|
+
isNumber(): boolean;
|
|
6
|
+
isEmpty(): boolean;
|
|
7
|
+
stripTags(): string;
|
|
8
|
+
}
|
|
10
9
|
}
|
|
10
|
+
export declare function initStringExtensions(): void;
|
|
11
|
+
//# sourceMappingURL=string-extensions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/string-extensions.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,IAAI,IAAI,CAiB3C"}
|
|
1
|
+
{"version":3,"file":"string-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/string-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,UAAU,IAAI,MAAM,CAAC;QACrB,QAAQ,IAAI,OAAO,CAAC;QACpB,OAAO,IAAI,OAAO,CAAC;QACnB,SAAS,IAAI,MAAM,CAAC;KACpB;CACD;AACD,wBAAgB,oBAAoB,IAAI,IAAI,CAiB3C"}
|
package/helpers/index.d.ts
CHANGED
package/helpers/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
package/index.cjs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ce(s){return navigator.clipboard.writeText(s)}function ke(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var _e={exports:{}};var Ae=_e.exports,Ee;function Te(){return Ee||(Ee=1,(function(s,r){((i,f)=>{s.exports=f()})(Ae,function i(){var f=typeof self<"u"?self:typeof window<"u"?window:f!==void 0?f:{},b,$=!f.document&&!!f.postMessage,I=f.IS_PAPA_WORKER||!1,Y={},H=0,w={};function N(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(t){var n=se(t);n.chunkSize=parseInt(n.chunkSize),t.step||t.chunk||(n.chunkSize=null),this._handle=new ee(n),(this._handle.streamer=this)._config=n}).call(this,e),this.parseChunk=function(t,n){var o=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<o){let S=this._config.newline;S||(g=this._config.quoteChar||'"',S=this._handle.guessLineEndings(t,g)),t=[...t.split(S).slice(o)].join(S)}this.isFirstChunk&&C(this._config.beforeFirstChunk)&&(g=this._config.beforeFirstChunk(t))!==void 0&&(t=g),this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+t,g=(this._partialLine="",this._handle.parse(o,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(t=g.meta.cursor,o=(this._finished||(this._partialLine=o.substring(t-this._baseIndex),this._baseIndex=t),g&&g.data&&(this._rowCount+=g.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),I)f.postMessage({results:g,workerId:w.WORKER_ID,finished:o});else if(C(this._config.chunk)&&!n){if(this._config.chunk(g,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=g=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(g.data),this._completeResults.errors=this._completeResults.errors.concat(g.errors),this._completeResults.meta=g.meta),this._completed||!o||!C(this._config.complete)||g&&g.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),o||g&&g.meta.paused||this._nextChunk(),g}this._halted=!0},this._sendError=function(t){C(this._config.error)?this._config.error(t):I&&this._config.error&&f.postMessage({workerId:w.WORKER_ID,error:t,finished:!1})}}function B(e){var t;(e=e||{}).chunkSize||(e.chunkSize=w.RemoteChunkSize),N.call(this,e),this._nextChunk=$?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(n){this._input=n,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),$||(t.onload=q(this._chunkLoaded,this),t.onerror=q(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!$),this._config.downloadRequestHeaders){var n,o=this._config.downloadRequestHeaders;for(n in o)t.setRequestHeader(n,o[n])}var g;this._config.chunkSize&&(g=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+g));try{t.send(this._config.downloadRequestBody)}catch(S){this._chunkError(S.message)}$&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(n=>(n=n.getResponseHeader("Content-Range"))!==null?parseInt(n.substring(n.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(n){n=t.statusText||n,this._sendError(new Error(n))}}function X(e){(e=e||{}).chunkSize||(e.chunkSize=w.LocalChunkSize),N.call(this,e);var t,n,o=typeof FileReader<"u";this.stream=function(g){this._input=g,n=g.slice||g.webkitSlice||g.mozSlice,o?((t=new FileReader).onload=q(this._chunkLoaded,this),t.onerror=q(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var g=this._input,S=(this._config.chunkSize&&(S=Math.min(this._start+this._config.chunkSize,this._input.size),g=n.call(g,this._start,S)),t.readAsText(g,this._config.encoding));o||this._chunkLoaded({target:{result:S}})},this._chunkLoaded=function(g){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(g.target.result)},this._chunkError=function(){this._sendError(t.error)}}function J(e){var t;N.call(this,e=e||{}),this.stream=function(n){return t=n,this._nextChunk()},this._nextChunk=function(){var n,o;if(!this._finished)return n=this._config.chunkSize,t=n?(o=t.substring(0,n),t.substring(n)):(o=t,""),this._finished=!t,this.parseChunk(o)}}function V(e){N.call(this,e=e||{});var t=[],n=!0,o=!1;this.pause=function(){N.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){N.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(g){this._input=g,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){o&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=q(function(g){try{t.push(typeof g=="string"?g:g.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(S){this._streamError(S)}},this),this._streamError=q(function(g){this._streamCleanUp(),this._sendError(g)},this),this._streamEnd=q(function(){this._streamCleanUp(),o=!0,this._streamData("")},this),this._streamCleanUp=q(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ee(e){var t,n,o,g,S=Math.pow(2,53),m=-S,h=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,a=this,u=0,c=0,y=!1,p=!1,_=[],d={data:[],errors:[],meta:{}};function M(k){return e.skipEmptyLines==="greedy"?k.join("").trim()==="":k.length===1&&k[0].length===0}function R(){if(d&&o&&(U("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),o=!1),e.skipEmptyLines&&(d.data=d.data.filter(function(v){return!M(v)})),F()){let v=function(A,z){C(e.transformHeader)&&(A=e.transformHeader(A,z)),_.push(A)};if(d)if(Array.isArray(d.data[0])){for(var k=0;F()&&k<d.data.length;k++)d.data[k].forEach(v);d.data.splice(0,1)}else d.data.forEach(v)}function E(v,A){for(var z=e.header?{}:[],T=0;T<v.length;T++){var L=T,O=v[T],O=((G,D)=>(j=>(e.dynamicTypingFunction&&e.dynamicTyping[j]===void 0&&(e.dynamicTyping[j]=e.dynamicTypingFunction(j)),(e.dynamicTyping[j]||e.dynamicTyping)===!0))(G)?D==="true"||D==="TRUE"||D!=="false"&&D!=="FALSE"&&((j=>{if(h.test(j)&&(j=parseFloat(j),m<j&&j<S))return 1})(D)?parseFloat(D):l.test(D)?new Date(D):D===""?null:D):D)(L=e.header?T>=_.length?"__parsed_extra":_[T]:L,O=e.transform?e.transform(O,L):O);L==="__parsed_extra"?(z[L]=z[L]||[],z[L].push(O)):z[L]=O}return e.header&&(T>_.length?U("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+T,c+A):T<_.length&&U("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+T,c+A)),z}var x;d&&(e.header||e.dynamicTyping||e.transform)&&(x=1,!d.data.length||Array.isArray(d.data[0])?(d.data=d.data.map(E),x=d.data.length):d.data=E(d.data,0),e.header&&d.meta&&(d.meta.fields=_),c+=x)}function F(){return e.header&&_.length===0}function U(k,E,x,v){k={type:k,code:E,message:x},v!==void 0&&(k.row=v),d.errors.push(k)}C(e.step)&&(g=e.step,e.step=function(k){d=k,F()?R():(R(),d.data.length!==0&&(u+=k.data.length,e.preview&&u>e.preview?n.abort():(d.data=d.data[0],g(d,a))))}),this.parse=function(k,E,x){var v=e.quoteChar||'"',v=(e.newline||(e.newline=this.guessLineEndings(k,v)),o=!1,e.delimiter?C(e.delimiter)&&(e.delimiter=e.delimiter(k),d.meta.delimiter=e.delimiter):((v=((A,z,T,L,O)=>{var G,D,j,ue;O=O||[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var fe=0;fe<O.length;fe++){for(var te,ge=O[fe],W=0,re=0,P=0,Q=(j=void 0,new le({comments:L,delimiter:ge,newline:z,preview:10}).parse(A)),ae=0;ae<Q.data.length;ae++)T&&M(Q.data[ae])?P++:(te=Q.data[ae].length,re+=te,j===void 0?j=te:0<te&&(W+=Math.abs(te-j),j=te));0<Q.data.length&&(re/=Q.data.length-P),(D===void 0||W<=D)&&(ue===void 0||ue<re)&&1.99<re&&(D=W,G=ge,ue=re)}return{successful:!!(e.delimiter=G),bestDelimiter:G}})(k,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=v.bestDelimiter:(o=!0,e.delimiter=w.DefaultDelimiter),d.meta.delimiter=e.delimiter),se(e));return e.preview&&e.header&&v.preview++,t=k,n=new le(v),d=n.parse(t,E,x),R(),y?{meta:{paused:!0}}:d||{meta:{paused:!1}}},this.paused=function(){return y},this.pause=function(){y=!0,n.abort(),t=C(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){a.streamer._halted?(y=!1,a.streamer.parseChunk(t,!0)):setTimeout(a.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),d.meta.aborted=!0,C(e.complete)&&e.complete(d),t=""},this.guessLineEndings=function(A,v){A=A.substring(0,1048576);var v=new RegExp(ie(v)+"([^]*?)"+ie(v),"gm"),x=(A=A.replace(v,"")).split("\r"),v=A.split(`
|
|
2
|
-
`),
|
|
3
|
-
`;for(var
|
|
4
|
-
`&&
|
|
5
|
-
`:"\r"}}function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ae={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class be{static getScreenWidth(){return window.innerWidth}static getScreenHeight(){return window.innerHeight}}class j{static breakPoints=Ae;static listeners=new Set;static currentBreakpoint=j.getBreakpointByScreenWidth();static initialized=!1;static resizeTimeout=null;static getCurrentBreakpoint(){return j.getBreakpointByScreenWidth(be.getScreenWidth())}static getBreakpointByScreenWidth(e=be.getScreenWidth()){let i="xs";for(const a of Object.keys(j.breakPoints))j.breakPoints[a]<=e&&(i=a);return{breakpoint:i,screenWidth:e}}isScreenGreaterThan(e){return be.getScreenWidth()>j.breakPoints[e]}isScreenSmallerThan(e){return be.getScreenWidth()<j.breakPoints[e]}static onResize(e,i=!1){if(j.initialized||j.initResizeListener(),i){const a=b=>{try{return e(b)}finally{j.listeners.delete(a)}};return j.listeners.add(a),()=>j.listeners.delete(a)}return j.listeners.add(e),()=>j.listeners.delete(e)}static initResizeListener(){j.initialized||(window.addEventListener("resize",()=>{j.resizeTimeout&&window.clearTimeout(j.resizeTimeout),j.resizeTimeout=window.setTimeout(()=>{const e=j.getCurrentBreakpoint();if(e.breakpoint!==j.currentBreakpoint.breakpoint){j.currentBreakpoint=e;for(const i of j.listeners)i(e)}},150)}),j.initialized=!0)}}var X=(s=>(s.opera="opera",s.firefox="firefox",s.safari="safari",s.ie="ie",s.edgeLegacy="edgeLegacy",s.edg="edg",s.chrome="chrome",s.iOS="iOS",s.headlessChrome="headlessChrome",s.nodeRuntime="nodeRuntime",s.electron="electron",s))(X||{});const Fe=typeof navigator<"u"?navigator.userAgent:"",fe=Fe.toLowerCase();class ee{static isBrowserEnv(){return typeof window<"u"&&typeof navigator<"u"}static isOpera(e=fe){return this.isBrowserEnv()?e.includes("opr/")||e.includes("opera"):!1}static isFirefox(e=fe){return this.isBrowserEnv()?e.includes("firefox")||typeof globalThis.InstallTrigger<"u":!1}static isSafari(e=fe){if(!this.isBrowserEnv())return!1;const i=navigator.vendor&&navigator.vendor.includes("Apple"),a=e.includes("safari"),b=!(e.includes("crios")||e.includes("chrome")||e.includes("android")||e.includes("opr/")||e.includes("edg"));return i&&a&&b}static isIOS(e=fe){if(!this.isBrowserEnv())return!1;const i=/iphone|ipad|ipod/.test(e),a=e.includes("macintosh")&&navigator.maxTouchPoints>1;return i||a}static isEdgeLegacy(){return this.isBrowserEnv()?!!window.StyleMedia&&!fe.includes("edg/"):!1}static isEdg(e=fe){return this.isBrowserEnv()?e.includes("edg/"):!1}static isIE(){return!this.isBrowserEnv()&&typeof document>"u"?!1:!!document.documentMode}static isChrome(e=fe){if(!this.isBrowserEnv())return!1;const i=navigator.vendor&&navigator.vendor.includes("Google"),a=e.includes("chrome")||e.includes("crios"),b=!this.isEdg(e)&&!this.isOpera(e);return i&&a&&b}static isElectron(e=fe){return typeof process<"u"&&process.versions?.electron?!0:e.includes("electron")}static isHeadlessChrome(e=fe){return e.includes("headlesschrome")}static isNodeRuntime(){return typeof process<"u"&&!!process.versions?.node&&!this.isBrowserEnv()}static getCurrentBrowser(){const e=navigator.userAgent.toLowerCase();if(typeof navigator>"u")throw new Error("navigator not set");if(ee.isOpera())return X.opera;if(ee.isFirefox())return X.firefox;if(ee.isSafari())return X.safari;if(ee.isIE())return X.ie;if(ee.isEdgeLegacy())return X.edgeLegacy;if(ee.isEdg())return X.edg;if(ee.isChrome())return X.chrome;if(ee.isIOS(e))return X.iOS;if(ee.isElectron(e))return X.electron;if(ee.isHeadlessChrome(e))return X.headlessChrome;if(ee.isNodeRuntime())return X.nodeRuntime;throw new Error("Browser could not be detected: "+e)}}function je(s){return navigator.clipboard.writeText(s)}function Oe(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Ee={exports:{}};var Ue=Ee.exports,Ce;function Ye(){return Ce||(Ce=1,(function(s,e){((i,a)=>{s.exports=a()})(Ue,function i(){var a=typeof self<"u"?self:typeof window<"u"?window:a!==void 0?a:{},b,R=!a.document&&!!a.postMessage,L=a.IS_PAPA_WORKER||!1,P={},q=0,w={};function B(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(r){var n=ue(r);n.chunkSize=parseInt(n.chunkSize),r.step||r.chunk||(n.chunkSize=null),this._handle=new ne(n),(this._handle.streamer=this)._config=n}).call(this,t),this.parseChunk=function(r,n){var u=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<u){let E=this._config.newline;E||(g=this._config.quoteChar||'"',E=this._handle.guessLineEndings(r,g)),r=[...r.split(E).slice(u)].join(E)}this.isFirstChunk&&$(this._config.beforeFirstChunk)&&(g=this._config.beforeFirstChunk(r))!==void 0&&(r=g),this.isFirstChunk=!1,this._halted=!1;var u=this._partialLine+r,g=(this._partialLine="",this._handle.parse(u,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(r=g.meta.cursor,u=(this._finished||(this._partialLine=u.substring(r-this._baseIndex),this._baseIndex=r),g&&g.data&&(this._rowCount+=g.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),L)a.postMessage({results:g,workerId:w.WORKER_ID,finished:u});else if($(this._config.chunk)&&!n){if(this._config.chunk(g,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=g=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(g.data),this._completeResults.errors=this._completeResults.errors.concat(g.errors),this._completeResults.meta=g.meta),this._completed||!u||!$(this._config.complete)||g&&g.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),u||g&&g.meta.paused||this._nextChunk(),g}this._halted=!0},this._sendError=function(r){$(this._config.error)?this._config.error(r):L&&this._config.error&&a.postMessage({workerId:w.WORKER_ID,error:r,finished:!1})}}function N(t){var r;(t=t||{}).chunkSize||(t.chunkSize=w.RemoteChunkSize),B.call(this,t),this._nextChunk=R?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(n){this._input=n,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),R||(r.onload=K(this._chunkLoaded,this),r.onerror=K(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!R),this._config.downloadRequestHeaders){var n,u=this._config.downloadRequestHeaders;for(n in u)r.setRequestHeader(n,u[n])}var g;this._config.chunkSize&&(g=this._start+this._config.chunkSize-1,r.setRequestHeader("Range","bytes="+this._start+"-"+g));try{r.send(this._config.downloadRequestBody)}catch(E){this._chunkError(E.message)}R&&r.status===0&&this._chunkError()}},this._chunkLoaded=function(){r.readyState===4&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize||r.responseText.length,this._finished=!this._config.chunkSize||this._start>=(n=>(n=n.getResponseHeader("Content-Range"))!==null?parseInt(n.substring(n.lastIndexOf("/")+1)):-1)(r),this.parseChunk(r.responseText)))},this._chunkError=function(n){n=r.statusText||n,this._sendError(new Error(n))}}function re(t){(t=t||{}).chunkSize||(t.chunkSize=w.LocalChunkSize),B.call(this,t);var r,n,u=typeof FileReader<"u";this.stream=function(g){this._input=g,n=g.slice||g.webkitSlice||g.mozSlice,u?((r=new FileReader).onload=K(this._chunkLoaded,this),r.onerror=K(this._chunkError,this)):r=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var g=this._input,E=(this._config.chunkSize&&(E=Math.min(this._start+this._config.chunkSize,this._input.size),g=n.call(g,this._start,E)),r.readAsText(g,this._config.encoding));u||this._chunkLoaded({target:{result:E}})},this._chunkLoaded=function(g){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(g.target.result)},this._chunkError=function(){this._sendError(r.error)}}function V(t){var r;B.call(this,t=t||{}),this.stream=function(n){return r=n,this._nextChunk()},this._nextChunk=function(){var n,u;if(!this._finished)return n=this._config.chunkSize,r=n?(u=r.substring(0,n),r.substring(n)):(u=r,""),this._finished=!r,this.parseChunk(u)}}function G(t){B.call(this,t=t||{});var r=[],n=!0,u=!1;this.pause=function(){B.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){B.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(g){this._input=g,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){u&&r.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),r.length?this.parseChunk(r.shift()):n=!0},this._streamData=K(function(g){try{r.push(typeof g=="string"?g:g.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(r.shift()))}catch(E){this._streamError(E)}},this),this._streamError=K(function(g){this._streamCleanUp(),this._sendError(g)},this),this._streamEnd=K(function(){this._streamCleanUp(),u=!0,this._streamData("")},this),this._streamCleanUp=K(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ne(t){var r,n,u,g,E=Math.pow(2,53),m=-E,d=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,o=this,c=0,f=0,y=!1,p=!1,v=[],h={data:[],errors:[],meta:{}};function O(S){return t.skipEmptyLines==="greedy"?S.join("").trim()==="":S.length===1&&S[0].length===0}function C(){if(h&&u&&(Y("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),u=!1),t.skipEmptyLines&&(h.data=h.data.filter(function(_){return!O(_)})),z()){let _=function(T,F){$(t.transformHeader)&&(T=t.transformHeader(T,F)),v.push(T)};if(h)if(Array.isArray(h.data[0])){for(var S=0;z()&&S<h.data.length;S++)h.data[S].forEach(_);h.data.splice(0,1)}else h.data.forEach(_)}function x(_,T){for(var F=t.header?{}:[],A=0;A<_.length;A++){var I=A,M=_[A],M=((te,k)=>(U=>(t.dynamicTypingFunction&&t.dynamicTyping[U]===void 0&&(t.dynamicTyping[U]=t.dynamicTypingFunction(U)),(t.dynamicTyping[U]||t.dynamicTyping)===!0))(te)?k==="true"||k==="TRUE"||k!=="false"&&k!=="FALSE"&&((U=>{if(d.test(U)&&(U=parseFloat(U),m<U&&U<E))return 1})(k)?parseFloat(k):l.test(k)?new Date(k):k===""?null:k):k)(I=t.header?A>=v.length?"__parsed_extra":v[A]:I,M=t.transform?t.transform(M,I):M);I==="__parsed_extra"?(F[I]=F[I]||[],F[I].push(M)):F[I]=M}return t.header&&(A>v.length?Y("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+A,f+T):A<v.length&&Y("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+A,f+T)),F}var D;h&&(t.header||t.dynamicTyping||t.transform)&&(D=1,!h.data.length||Array.isArray(h.data[0])?(h.data=h.data.map(x),D=h.data.length):h.data=x(h.data,0),t.header&&h.meta&&(h.meta.fields=v),f+=D)}function z(){return t.header&&v.length===0}function Y(S,x,D,_){S={type:S,code:x,message:D},_!==void 0&&(S.row=_),h.errors.push(S)}$(t.step)&&(g=t.step,t.step=function(S){h=S,z()?C():(C(),h.data.length!==0&&(c+=S.data.length,t.preview&&c>t.preview?n.abort():(h.data=h.data[0],g(h,o))))}),this.parse=function(S,x,D){var _=t.quoteChar||'"',_=(t.newline||(t.newline=this.guessLineEndings(S,_)),u=!1,t.delimiter?$(t.delimiter)&&(t.delimiter=t.delimiter(S),h.meta.delimiter=t.delimiter):((_=((T,F,A,I,M)=>{var te,k,U,de;M=M||[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var ge=0;ge<M.length;ge++){for(var ie,we=M[ge],J=0,se=0,W=0,Z=(U=void 0,new pe({comments:I,delimiter:we,newline:F,preview:10}).parse(T)),ce=0;ce<Z.data.length;ce++)A&&O(Z.data[ce])?W++:(ie=Z.data[ce].length,se+=ie,U===void 0?U=ie:0<ie&&(J+=Math.abs(ie-U),U=ie));0<Z.data.length&&(se/=Z.data.length-W),(k===void 0||J<=k)&&(de===void 0||de<se)&&1.99<se&&(k=J,te=we,de=se)}return{successful:!!(t.delimiter=te),bestDelimiter:te}})(S,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=_.bestDelimiter:(u=!0,t.delimiter=w.DefaultDelimiter),h.meta.delimiter=t.delimiter),ue(t));return t.preview&&t.header&&_.preview++,r=S,n=new pe(_),h=n.parse(r,x,D),C(),y?{meta:{paused:!0}}:h||{meta:{paused:!1}}},this.paused=function(){return y},this.pause=function(){y=!0,n.abort(),r=$(t.chunk)?"":r.substring(n.getCharIndex())},this.resume=function(){o.streamer._halted?(y=!1,o.streamer.parseChunk(r,!0)):setTimeout(o.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),h.meta.aborted=!0,$(t.complete)&&t.complete(h),r=""},this.guessLineEndings=function(T,_){T=T.substring(0,1048576);var _=new RegExp(oe(_)+"([^]*?)"+oe(_),"gm"),D=(T=T.replace(_,"")).split("\r"),_=T.split(`
|
|
2
|
+
`),T=1<_.length&&_[0].length<D[0].length;if(D.length===1||T)return`
|
|
3
|
+
`;for(var F=0,A=0;A<D.length;A++)D[A][0]===`
|
|
4
|
+
`&&F++;return F>=D.length/2?`\r
|
|
5
|
+
`:"\r"}}function oe(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pe(t){var r=(t=t||{}).delimiter,n=t.newline,u=t.comments,g=t.step,E=t.preview,m=t.fastMode,d=null,l=!1,o=t.quoteChar==null?'"':t.quoteChar,c=o;if(t.escapeChar!==void 0&&(c=t.escapeChar),(typeof r!="string"||-1<w.BAD_DELIMITERS.indexOf(r))&&(r=","),u===r)throw new Error("Comment character same as delimiter");u===!0?u="#":(typeof u!="string"||-1<w.BAD_DELIMITERS.indexOf(u))&&(u=!1),n!==`
|
|
6
6
|
`&&n!=="\r"&&n!==`\r
|
|
7
7
|
`&&(n=`
|
|
8
|
-
`);var
|
|
9
|
-
`,m='"',
|
|
10
|
-
`,'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!$&&!!f.Worker,w.NODE_STREAM_INPUT=1,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=le,w.ParserHandle=ee,w.NetworkStreamer=B,w.FileStreamer=X,w.StringStreamer=J,w.ReadableStreamStreamer=V,f.jQuery&&((b=f.jQuery).fn.parse=function(e){var t=e.config||{},n=[];return this.each(function(S){if(!(b(this).prop("tagName").toUpperCase()==="INPUT"&&b(this).attr("type").toLowerCase()==="file"&&f.FileReader)||!this.files||this.files.length===0)return!0;for(var m=0;m<this.files.length;m++)n.push({file:this.files[m],inputElem:this,instanceConfig:b.extend({},t)})}),o(),this;function o(){if(n.length===0)C(e.complete)&&e.complete();else{var S,m,h,l,a=n[0];if(C(e.before)){var u=e.before(a.file,a.inputElem);if(typeof u=="object"){if(u.action==="abort")return S="AbortError",m=a.file,h=a.inputElem,l=u.reason,void(C(e.error)&&e.error({name:S},m,h,l));if(u.action==="skip")return void g();typeof u.config=="object"&&(a.instanceConfig=b.extend(a.instanceConfig,u.config))}else if(u==="skip")return void g()}var c=a.instanceConfig.complete;a.instanceConfig.complete=function(y){C(c)&&c(y,a.file,a.inputElem),g()},w.parse(a.file,a.instanceConfig)}}function g(){n.splice(0,1),o()}}),I&&(f.onmessage=function(e){e=e.data,w.WORKER_ID===void 0&&e&&(w.WORKER_ID=e.workerId),typeof e.input=="string"?f.postMessage({workerId:w.WORKER_ID,results:w.parse(e.input,e.config),finished:!0}):(f.File&&e.input instanceof File||e.input instanceof Object)&&(e=w.parse(e.input,e.config))&&f.postMessage({workerId:w.WORKER_ID,results:e,finished:!0})}),(B.prototype=Object.create(N.prototype)).constructor=B,(X.prototype=Object.create(N.prototype)).constructor=X,(J.prototype=Object.create(J.prototype)).constructor=J,(V.prototype=Object.create(N.prototype)).constructor=V,w})})(_e)),_e.exports}var Le=Te();const Ie=ke(Le),{parse:Fe,unparse:ze}=Ie;class je{static unparse(r,i){return ze(r,i)}static parse(r){return new Promise((i,f)=>{Fe(r,{header:!0,complete:b=>i(b),error:b=>f(b)})})}}async function Oe(s,r,i){const f=i?.mimeType??Be(r),b=Ue(s,f);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const H=await(await window.showSaveFilePicker({suggestedName:r,types:[{description:"Datei",accept:{[f]:[`.${$e(r)}`]}}]})).createWritable();await H.write(b),await H.close();return}catch{}const $=URL.createObjectURL(b),I=document.createElement("a");I.href=$,I.download=r,I.rel="noopener",I.style.display="none",document.body.appendChild(I),Pe(I),window.setTimeout(()=>{document.body.removeChild(I),URL.revokeObjectURL($)},0),Ye()&&window.open($,"_blank","noopener,noreferrer")}function Ue(s,r){if(s instanceof Blob)return s.type?s:new Blob([s],{type:r});if(s instanceof ArrayBuffer||s instanceof Uint8Array){const i=s instanceof Uint8Array?s:new Uint8Array(s);return new Blob([i],{type:r})}return new Blob([s],{type:r||"text/plain;charset=utf-8"})}function Be(s){switch($e(s).toLowerCase()){case"txt":return"text/plain;charset=utf-8";case"csv":return"text/csv;charset=utf-8";case"json":return"application/json;charset=utf-8";case"pdf":return"application/pdf";case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"svg":return"image/svg+xml";case"zip":return"application/zip";default:return"application/octet-stream"}}function $e(s){const r=s.lastIndexOf(".");return r>=0&&r<s.length-1?s.slice(r+1):""}function Pe(s){const r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(r)}function Ye(){const s=navigator.userAgent,r=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return r||i}class He{static getEnumValue(r,i){if(i in r)return r[i];throw Error(`${i} not found in ${r}`)}static getKeyValues(r){return Object.keys(r).filter(i=>!isNaN(Number(i))).map(i=>({key:Number(i),value:r[i]}))}}class Ne{static getFileExtension(r){let i="";const f=r.lastIndexOf(".");return f>0&&f<r.length-1&&(i=`.${r.substring(f+1).toLowerCase()}`),i}static readAsText(r){const i=new FileReader;return new Promise((f,b)=>{i.onload=()=>{i.onload=null,i.onerror=null,typeof i.result=="string"?f(i.result):b(new Error("Unexpected result type"))},i.onerror=()=>{const $=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,b($)},i.readAsText(r)})}static readAsArrayBuffer(r){const i=new FileReader;return new Promise((f,b)=>{i.onload=()=>{i.onload=null,i.onerror=null,i.result instanceof ArrayBuffer?f(i.result):b(new Error("Unexpected result type"))},i.onerror=()=>{const $=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,b($)},i.readAsArrayBuffer(r)})}static readAsDataUrl(r){const i=new FileReader;return new Promise((f,b)=>{i.onload=$=>{f($)},i.onerror=$=>b($),i.readAsDataURL(r)})}static formatFileSize(r,i=2,f){if(r===0)return"0 Bytes";const b=1024,$=["Bytes","KB","MB","GB","TB"];let I=Math.floor(Math.log(r)/Math.log(b));f&&$.includes(f)&&(I=$.indexOf(f));const Y=r/Math.pow(b,I);return`${parseFloat(Y.toFixed(i))} ${$[I]}`}static save(r,i,f){const b=new Blob([r],{type:f});Oe(b,i)}}class de{static set(r,i){localStorage.setItem(r,JSON.stringify(i))}static get(r){let i=null;const f=localStorage.getItem(r);return f&&(i=JSON.parse(f)),i}static remove(r){let i=!!de.get(r);return i&&localStorage.removeItem(r),i}static removeAll(){localStorage.clear()}static getKeysBy(r){return Object.keys(localStorage).filter(i=>i.startsWith(r))}}var ce=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(ce||{});class K{static listeners=new Set;static enabled=!0;static log(...r){K.doLog(ce.log,r)}static info(...r){K.doLog(ce.info,r)}static warn(...r){K.doLog(ce.warn,r)}static debug(...r){K.doLog(ce.debug,r)}static error(...r){K.doLog(ce.error,r)}static clearListeners(){K.listeners.clear()}static setEnabled(r){K.enabled=r}static doLog(r,i){if(!K.enabled)return;const f={type:r,args:i,timestamp:new Date().toISOString()};for(const b of K.listeners)try{if(b(f)===!1)return}catch{}console[r].apply(console,i)}static onLog(r,i=!1){if(i){const f=b=>{try{return r(b)}finally{K.listeners.delete(f)}};return K.listeners.add(f),()=>K.listeners.delete(f)}return K.listeners.add(r),()=>K.listeners.delete(r)}}class qe{static getScreenWidth(){return window.innerWidth}static getScreenHeight(){return window.innerHeight}}const We=(s,r,i)=>s.localeCompare(r)*(i?1:-1),Ke=(s,r)=>s<r?-1:s===r?0:1,Je=(s,r,i)=>Ke(s,r)*(i?1:-1),Qe=(s,r,i)=>{let f=0;return typeof s=="string"&&typeof r=="string"?f=We(s,r,i):f=Je(s,r,i),f},Re=(s,r,i,f)=>{const b=i(s),$=i(r);return Qe(b,$,f)};class Ve{static get(r){return de.get(r)}static set(r,i){de.set(r,i)}static remove(r){de.remove(r)}}function Ze(){Array.prototype.distinct=function(s){return s?this.filter((i,f,b)=>b.findIndex($=>s($,i))===f):this.filter((i,f,b)=>b.indexOf(i)===f)},Array.prototype.filterBy=function(s){return this.filter(r=>s(r))},Array.prototype.first=function(){return this.length>0?this[0]:null},Array.prototype.groupBy=function(s){return this.reduce((r,i)=>{const f=s(i);return r[f]||(r[f]=[]),r[f].push(i),r},{})},Array.prototype.orderBy=function(s,r=!0){return this?.sort((i,f)=>Re(i,f,s,r)),this},Array.prototype.removeBy=function(s,r){return this.filter(i=>s(i)!==r)}}var we={exports:{}},Ge=we.exports,xe;function Xe(){return xe||(xe=1,(function(s,r){(function(i,f){s.exports=f()})(Ge,(function(){var i=1e3,f=6e4,b=36e5,$="millisecond",I="second",Y="minute",H="hour",w="day",N="week",B="month",X="quarter",J="year",V="date",ee="Invalid Date",ie=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,le=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,pe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var h=["th","st","nd","rd"],l=m%100;return"["+m+(h[(l-20)%10]||h[l]||h[0])+"]"}},oe=function(m,h,l){var a=String(m);return!a||a.length>=h?m:""+Array(h+1-a.length).join(l)+m},ye={s:oe,z:function(m){var h=-m.utcOffset(),l=Math.abs(h),a=Math.floor(l/60),u=l%60;return(h<=0?"+":"-")+oe(a,2,"0")+":"+oe(u,2,"0")},m:function m(h,l){if(h.date()<l.date())return-m(l,h);var a=12*(l.year()-h.year())+(l.month()-h.month()),u=h.clone().add(a,B),c=l-u<0,y=h.clone().add(a+(c?-1:1),B);return+(-(a+(l-u)/(c?u-y:y-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:B,y:J,w:N,d:w,D:V,h:H,m:Y,s:I,ms:$,Q:X}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},se="en",q={};q[se]=pe;var C="$isDayjsObject",e=function(m){return m instanceof g||!(!m||!m[C])},t=function m(h,l,a){var u;if(!h)return se;if(typeof h=="string"){var c=h.toLowerCase();q[c]&&(u=c),l&&(q[c]=l,u=c);var y=h.split("-");if(!u&&y.length>1)return m(y[0])}else{var p=h.name;q[p]=h,u=p}return!a&&u&&(se=u),u||!a&&se},n=function(m,h){if(e(m))return m.clone();var l=typeof h=="object"?h:{};return l.date=m,l.args=arguments,new g(l)},o=ye;o.l=t,o.i=e,o.w=function(m,h){return n(m,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var g=(function(){function m(l){this.$L=t(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[C]=!0}var h=m.prototype;return h.parse=function(l){this.$d=(function(a){var u=a.date,c=a.utc;if(u===null)return new Date(NaN);if(o.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var y=u.match(ie);if(y){var p=y[2]-1||0,_=(y[7]||"0").substring(0,3);return c?new Date(Date.UTC(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)):new Date(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)}}return new Date(u)})(l),this.init()},h.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},h.$utils=function(){return o},h.isValid=function(){return this.$d.toString()!==ee},h.isSame=function(l,a){var u=n(l);return this.startOf(a)<=u&&u<=this.endOf(a)},h.isAfter=function(l,a){return n(l)<this.startOf(a)},h.isBefore=function(l,a){return this.endOf(a)<n(l)},h.$g=function(l,a,u){return o.u(l)?this[a]:this.set(u,l)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(l,a){var u=this,c=!!o.u(a)||a,y=o.p(l),p=function(E,x){var v=o.w(u.$u?Date.UTC(u.$y,x,E):new Date(u.$y,x,E),u);return c?v:v.endOf(w)},_=function(E,x){return o.w(u.toDate()[E].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(x)),u)},d=this.$W,M=this.$M,R=this.$D,F="set"+(this.$u?"UTC":"");switch(y){case J:return c?p(1,0):p(31,11);case B:return c?p(1,M):p(0,M+1);case N:var U=this.$locale().weekStart||0,k=(d<U?d+7:d)-U;return p(c?R-k:R+(6-k),M);case w:case V:return _(F+"Hours",0);case H:return _(F+"Minutes",1);case Y:return _(F+"Seconds",2);case I:return _(F+"Milliseconds",3);default:return this.clone()}},h.endOf=function(l){return this.startOf(l,!1)},h.$set=function(l,a){var u,c=o.p(l),y="set"+(this.$u?"UTC":""),p=(u={},u[w]=y+"Date",u[V]=y+"Date",u[B]=y+"Month",u[J]=y+"FullYear",u[H]=y+"Hours",u[Y]=y+"Minutes",u[I]=y+"Seconds",u[$]=y+"Milliseconds",u)[c],_=c===w?this.$D+(a-this.$W):a;if(c===B||c===J){var d=this.clone().set(V,1);d.$d[p](_),d.init(),this.$d=d.set(V,Math.min(this.$D,d.daysInMonth())).$d}else p&&this.$d[p](_);return this.init(),this},h.set=function(l,a){return this.clone().$set(l,a)},h.get=function(l){return this[o.p(l)]()},h.add=function(l,a){var u,c=this;l=Number(l);var y=o.p(a),p=function(M){var R=n(c);return o.w(R.date(R.date()+Math.round(M*l)),c)};if(y===B)return this.set(B,this.$M+l);if(y===J)return this.set(J,this.$y+l);if(y===w)return p(1);if(y===N)return p(7);var _=(u={},u[Y]=f,u[H]=b,u[I]=i,u)[y]||1,d=this.$d.getTime()+l*_;return o.w(d,this)},h.subtract=function(l,a){return this.add(-1*l,a)},h.format=function(l){var a=this,u=this.$locale();if(!this.isValid())return u.invalidDate||ee;var c=l||"YYYY-MM-DDTHH:mm:ssZ",y=o.z(this),p=this.$H,_=this.$m,d=this.$M,M=u.weekdays,R=u.months,F=u.meridiem,U=function(x,v,A,z){return x&&(x[v]||x(a,c))||A[v].slice(0,z)},k=function(x){return o.s(p%12||12,x,"0")},E=F||function(x,v,A){var z=x<12?"AM":"PM";return A?z.toLowerCase():z};return c.replace(le,(function(x,v){return v||(function(A){switch(A){case"YY":return String(a.$y).slice(-2);case"YYYY":return o.s(a.$y,4,"0");case"M":return d+1;case"MM":return o.s(d+1,2,"0");case"MMM":return U(u.monthsShort,d,R,3);case"MMMM":return U(R,d);case"D":return a.$D;case"DD":return o.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return U(u.weekdaysMin,a.$W,M,2);case"ddd":return U(u.weekdaysShort,a.$W,M,3);case"dddd":return M[a.$W];case"H":return String(p);case"HH":return o.s(p,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return E(p,_,!0);case"A":return E(p,_,!1);case"m":return String(_);case"mm":return o.s(_,2,"0");case"s":return String(a.$s);case"ss":return o.s(a.$s,2,"0");case"SSS":return o.s(a.$ms,3,"0");case"Z":return y}return null})(x)||y.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(l,a,u){var c,y=this,p=o.p(a),_=n(l),d=(_.utcOffset()-this.utcOffset())*f,M=this-_,R=function(){return o.m(y,_)};switch(p){case J:c=R()/12;break;case B:c=R();break;case X:c=R()/3;break;case N:c=(M-d)/6048e5;break;case w:c=(M-d)/864e5;break;case H:c=M/b;break;case Y:c=M/f;break;case I:c=M/i;break;default:c=M}return u?c:o.a(c)},h.daysInMonth=function(){return this.endOf(B).$D},h.$locale=function(){return q[this.$L]},h.locale=function(l,a){if(!l)return this.$L;var u=this.clone(),c=t(l,a,!0);return c&&(u.$L=c),u},h.clone=function(){return o.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},m})(),S=g.prototype;return n.prototype=S,[["$ms",$],["$s",I],["$m",Y],["$H",H],["$W",w],["$M",B],["$y",J],["$D",V]].forEach((function(m){S[m[1]]=function(h){return this.$g(h,m[0],m[1])}})),n.extend=function(m,h){return m.$i||(m(h,g,n),m.$i=!0),n},n.locale=t,n.isDayjs=e,n.unix=function(m){return n(1e3*m)},n.en=q[se],n.Ls=q,n.p={},n}))})(we)),we.exports}var et=Xe();const Z=ke(et);var ve={exports:{}},tt=ve.exports,Me;function rt(){return Me||(Me=1,(function(s,r){(function(i,f){s.exports=f()})(tt,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(f,b,$){var I=b.prototype,Y=I.format;$.en.formats=i,I.format=function(H){H===void 0&&(H="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,N=(function(B,X){return B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(J,V,ee){var ie=ee&&ee.toUpperCase();return V||X[ee]||i[ee]||X[ie].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(le,pe,oe){return pe||oe.slice(1)}))}))})(H,w===void 0?{}:w);return Y.call(this,N)}}}))})(ve)),ve.exports}var nt=rt();const it=ke(nt);Z.extend(it);function st(){Date.prototype.add=function(s,r){return Z(this).add(s,r).toDate()},Date.prototype.diff=function(s,r){return Z(this).diff(s,r)},Date.prototype.endOf=function(s){return Z(this).endOf(s).toDate()},Date.prototype.firstDayOfMonth=function(){return Z(this).startOf("month").toDate()},Date.prototype.isAfter=function(s,r){return Z(this).isAfter(s,r)},Date.prototype.isBefore=function(s,r){return Z(this).isBefore(s,r)},Date.prototype.format=function(s){return Z(this).format(s)},Date.prototype.isValid=function(){return Z(this).isValid()},Date.prototype.subtract=function(s,r){return Z(this).subtract(s,r).toDate()},Date.prototype.lastDayOfMonth=function(){return Z(this).endOf("month").toDate()},Date.prototype.set=function(s,r){return Z(this).set(s,r).toDate()},Date.prototype.startOf=function(s){return Z(this).startOf(s).toDate()}}function at(){String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},String.prototype.isNumber=function(){return!isNaN(Number(this))&&this.trim()!==""},String.prototype.isEmpty=function(){return this===void 0||!this||this.length===0},String.prototype.stripTags=function(){return new DOMParser().parseFromString(this.toString(),"text/html").body.textContent||""}}class ot{resizeListener;onResizeCallbacks=new Set;rafId=null;emitTimeoutId=null;duplicateThresholdMs=60;constructor(){typeof window<"u"&&(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener,{passive:!0}))}destroy(){typeof window<"u"&&window.removeEventListener("resize",this.resizeListener),this.onResizeCallbacks.clear(),this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null)}onResizeChange(r){this.onResizeCallbacks.add(r)}offResizeChange(r){this.onResizeCallbacks.delete(r)}onResize=()=>{typeof window>"u"||(this.emitTimeoutId&&clearTimeout(this.emitTimeoutId),this.emitTimeoutId=window.setTimeout(()=>{this.emitTimeoutId=null},this.duplicateThresholdMs))}}exports.BrowserService=ot;exports.CsvHelper=je;exports.EnumHelper=He;exports.FileHelper=Ne;exports.LocalStorageHelper=de;exports.LoggerHelper=K;exports.LoggerType=ce;exports.ScreenHelper=qe;exports.TokenHelper=Ve;exports.copyToClipboard=Ce;exports.initArrayExtensions=Ze;exports.initDateExtensions=st;exports.initStringExtensions=at;exports.saveAs=Oe;exports.sortHelper=Re;
|
|
8
|
+
`);var f=0,y=!1;this.parse=function(p,v,h){if(typeof p!="string")throw new Error("Input must be a string");var O=p.length,C=r.length,z=n.length,Y=u.length,S=$(g),x=[],D=[],_=[],T=f=0;if(!p)return J();if(m||m!==!1&&p.indexOf(o)===-1){for(var F=p.split(n),A=0;A<F.length;A++){if(_=F[A],f+=_.length,A!==F.length-1)f+=n.length;else if(h)return J();if(!u||_.substring(0,Y)!==u){if(S){if(x=[],de(_.split(r)),se(),y)return J()}else de(_.split(r));if(E&&E<=A)return x=x.slice(0,E),J(!0)}}return J()}for(var I=p.indexOf(r,f),M=p.indexOf(n,f),te=new RegExp(oe(c)+oe(o),"g"),k=p.indexOf(o,f);;)if(p[f]===o)for(k=f,f++;;){if((k=p.indexOf(o,k+1))===-1)return h||D.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:f}),ie();if(k===O-1)return ie(p.substring(f,k).replace(te,o));if(o===c&&p[k+1]===c)k++;else if(o===c||k===0||p[k-1]!==c){I!==-1&&I<k+1&&(I=p.indexOf(r,k+1));var U=ge((M=M!==-1&&M<k+1?p.indexOf(n,k+1):M)===-1?I:Math.min(I,M));if(p.substr(k+1+U,C)===r){_.push(p.substring(f,k).replace(te,o)),p[f=k+1+U+C]!==o&&(k=p.indexOf(o,f)),I=p.indexOf(r,f),M=p.indexOf(n,f);break}if(U=ge(M),p.substring(k+1+U,k+1+U+z)===n){if(_.push(p.substring(f,k).replace(te,o)),we(k+1+U+z),I=p.indexOf(r,f),k=p.indexOf(o,f),S&&(se(),y))return J();if(E&&x.length>=E)return J(!0);break}D.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:f}),k++}}else if(u&&_.length===0&&p.substring(f,f+Y)===u){if(M===-1)return J();f=M+z,M=p.indexOf(n,f),I=p.indexOf(r,f)}else if(I!==-1&&(I<M||M===-1))_.push(p.substring(f,I)),f=I+C,I=p.indexOf(r,f);else{if(M===-1)break;if(_.push(p.substring(f,M)),we(M+z),S&&(se(),y))return J();if(E&&x.length>=E)return J(!0)}return ie();function de(W){x.push(W),T=f}function ge(W){var Z=0;return Z=W!==-1&&(W=p.substring(k+1,W))&&W.trim()===""?W.length:Z}function ie(W){return h||(W===void 0&&(W=p.substring(f)),_.push(W),f=O,de(_),S&&se()),J()}function we(W){f=W,de(_),_=[],M=p.indexOf(n,f)}function J(W){if(t.header&&!v&&x.length&&!l){var Z=x[0],ce=Object.create(null),De=new Set(Z);let Me=!1;for(let me=0;me<Z.length;me++){let ae=Z[me];if(ce[ae=$(t.transformHeader)?t.transformHeader(ae,me):ae]){let _e,Re=ce[ae];for(;_e=ae+"_"+Re,Re++,De.has(_e););De.add(_e),Z[me]=_e,ce[ae]++,Me=!0,(d=d===null?{}:d)[_e]=ae}else ce[ae]=1,Z[me]=ae;De.add(ae)}Me&&console.warn("Duplicate headers found and renamed."),l=!0}return{data:x,errors:D,meta:{delimiter:r,linebreak:n,aborted:y,truncated:!!W,cursor:T+(v||0),renamedHeaders:d}}}function se(){g(J()),x=[],D=[]}},this.abort=function(){y=!0},this.getCharIndex=function(){return f}}function ve(t){var r=t.data,n=P[r.workerId],u=!1;if(r.error)n.userError(r.error,r.file);else if(r.results&&r.results.data){var g={abort:function(){u=!0,le(r.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:Se,resume:Se};if($(n.userStep)){for(var E=0;E<r.results.data.length&&(n.userStep({data:r.results.data[E],errors:r.results.errors,meta:r.results.meta},g),!u);E++);delete r.results}else $(n.userChunk)&&(n.userChunk(r.results,g,r.file),delete r.results)}r.finished&&!u&&le(r.workerId,r.results)}function le(t,r){var n=P[t];$(n.userComplete)&&n.userComplete(r),n.terminate(),delete P[t]}function Se(){throw new Error("Not implemented.")}function ue(t){if(typeof t!="object"||t===null)return t;var r,n=Array.isArray(t)?[]:{};for(r in t)n[r]=ue(t[r]);return n}function K(t,r){return function(){t.apply(r,arguments)}}function $(t){return typeof t=="function"}return w.parse=function(t,r){var n=(r=r||{}).dynamicTyping||!1;if($(n)&&(r.dynamicTypingFunction=n,n={}),r.dynamicTyping=n,r.transform=!!$(r.transform)&&r.transform,!r.worker||!w.WORKERS_SUPPORTED)return n=null,w.NODE_STREAM_INPUT,typeof t=="string"?(t=(u=>u.charCodeAt(0)!==65279?u:u.slice(1))(t),n=new(r.download?N:V)(r)):t.readable===!0&&$(t.read)&&$(t.on)?n=new G(r):(a.File&&t instanceof File||t instanceof Object)&&(n=new re(r)),n.stream(t);(n=(()=>{var u;return!!w.WORKERS_SUPPORTED&&(u=(()=>{var g=a.URL||a.webkitURL||null,E=i.toString();return w.BLOB_URL||(w.BLOB_URL=g.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",E,")();"],{type:"text/javascript"})))})(),(u=new a.Worker(u)).onmessage=ve,u.id=q++,P[u.id]=u)})()).userStep=r.step,n.userChunk=r.chunk,n.userComplete=r.complete,n.userError=r.error,r.step=$(r.step),r.chunk=$(r.chunk),r.complete=$(r.complete),r.error=$(r.error),delete r.worker,n.postMessage({input:t,config:r,workerId:n.id})},w.unparse=function(t,r){var n=!1,u=!0,g=",",E=`\r
|
|
9
|
+
`,m='"',d=m+m,l=!1,o=null,c=!1,f=((()=>{if(typeof r=="object"){if(typeof r.delimiter!="string"||w.BAD_DELIMITERS.filter(function(v){return r.delimiter.indexOf(v)!==-1}).length||(g=r.delimiter),typeof r.quotes!="boolean"&&typeof r.quotes!="function"&&!Array.isArray(r.quotes)||(n=r.quotes),typeof r.skipEmptyLines!="boolean"&&typeof r.skipEmptyLines!="string"||(l=r.skipEmptyLines),typeof r.newline=="string"&&(E=r.newline),typeof r.quoteChar=="string"&&(m=r.quoteChar),typeof r.header=="boolean"&&(u=r.header),Array.isArray(r.columns)){if(r.columns.length===0)throw new Error("Option columns is empty");o=r.columns}r.escapeChar!==void 0&&(d=r.escapeChar+m),r.escapeFormulae instanceof RegExp?c=r.escapeFormulae:typeof r.escapeFormulae=="boolean"&&r.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),new RegExp(oe(m),"g"));if(typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return y(null,t,l);if(typeof t[0]=="object")return y(o||Object.keys(t[0]),t,l)}else if(typeof t=="object")return typeof t.data=="string"&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||o),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:typeof t.data[0]=="object"?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||typeof t.data[0]=="object"||(t.data=[t.data])),y(t.fields||[],t.data||[],l);throw new Error("Unable to serialize unrecognized input");function y(v,h,O){var C="",z=(typeof v=="string"&&(v=JSON.parse(v)),typeof h=="string"&&(h=JSON.parse(h)),Array.isArray(v)&&0<v.length),Y=!Array.isArray(h[0]);if(z&&u){for(var S=0;S<v.length;S++)0<S&&(C+=g),C+=p(v[S],S);0<h.length&&(C+=E)}for(var x=0;x<h.length;x++){var D=(z?v:h[x]).length,_=!1,T=z?Object.keys(h[x]).length===0:h[x].length===0;if(O&&!z&&(_=O==="greedy"?h[x].join("").trim()==="":h[x].length===1&&h[x][0].length===0),O==="greedy"&&z){for(var F=[],A=0;A<D;A++){var I=Y?v[A]:A;F.push(h[x][I])}_=F.join("").trim()===""}if(!_){for(var M=0;M<D;M++){0<M&&!T&&(C+=g);var te=z&&Y?v[M]:M;C+=p(h[x][te],M)}x<h.length-1&&(!O||0<D&&!T)&&(C+=E)}}return C}function p(v,h){var O,C;return v==null?"":v.constructor===Date?JSON.stringify(v).slice(1,25):(C=!1,c&&typeof v=="string"&&c.test(v)&&(v="'"+v,C=!0),O=v.toString().replace(f,d),(C=C||n===!0||typeof n=="function"&&n(v,h)||Array.isArray(n)&&n[h]||((z,Y)=>{for(var S=0;S<Y.length;S++)if(-1<z.indexOf(Y[S]))return!0;return!1})(O,w.BAD_DELIMITERS)||-1<O.indexOf(g)||O.charAt(0)===" "||O.charAt(O.length-1)===" ")?m+O+m:O)}},w.RECORD_SEP="",w.UNIT_SEP="",w.BYTE_ORDER_MARK="\uFEFF",w.BAD_DELIMITERS=["\r",`
|
|
10
|
+
`,'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!R&&!!a.Worker,w.NODE_STREAM_INPUT=1,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=pe,w.ParserHandle=ne,w.NetworkStreamer=N,w.FileStreamer=re,w.StringStreamer=V,w.ReadableStreamStreamer=G,a.jQuery&&((b=a.jQuery).fn.parse=function(t){var r=t.config||{},n=[];return this.each(function(E){if(!(b(this).prop("tagName").toUpperCase()==="INPUT"&&b(this).attr("type").toLowerCase()==="file"&&a.FileReader)||!this.files||this.files.length===0)return!0;for(var m=0;m<this.files.length;m++)n.push({file:this.files[m],inputElem:this,instanceConfig:b.extend({},r)})}),u(),this;function u(){if(n.length===0)$(t.complete)&&t.complete();else{var E,m,d,l,o=n[0];if($(t.before)){var c=t.before(o.file,o.inputElem);if(typeof c=="object"){if(c.action==="abort")return E="AbortError",m=o.file,d=o.inputElem,l=c.reason,void($(t.error)&&t.error({name:E},m,d,l));if(c.action==="skip")return void g();typeof c.config=="object"&&(o.instanceConfig=b.extend(o.instanceConfig,c.config))}else if(c==="skip")return void g()}var f=o.instanceConfig.complete;o.instanceConfig.complete=function(y){$(f)&&f(y,o.file,o.inputElem),g()},w.parse(o.file,o.instanceConfig)}}function g(){n.splice(0,1),u()}}),L&&(a.onmessage=function(t){t=t.data,w.WORKER_ID===void 0&&t&&(w.WORKER_ID=t.workerId),typeof t.input=="string"?a.postMessage({workerId:w.WORKER_ID,results:w.parse(t.input,t.config),finished:!0}):(a.File&&t.input instanceof File||t.input instanceof Object)&&(t=w.parse(t.input,t.config))&&a.postMessage({workerId:w.WORKER_ID,results:t,finished:!0})}),(N.prototype=Object.create(B.prototype)).constructor=N,(re.prototype=Object.create(B.prototype)).constructor=re,(V.prototype=Object.create(V.prototype)).constructor=V,(G.prototype=Object.create(B.prototype)).constructor=G,w})})(Ee)),Ee.exports}var Ne=Ye();const We=Oe(Ne),{parse:Pe,unparse:qe}=We;class Be{static unparse(e,i){return qe(e,i)}static parse(e){return new Promise((i,a)=>{Pe(e,{header:!0,complete:b=>i(b),error:b=>a(b)})})}}async function Ie(s,e,i){const a=i?.mimeType??Je(e),b=Ke(s,a);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const q=await(await window.showSaveFilePicker({suggestedName:e,types:[{description:"Datei",accept:{[a]:[`.${Le(e)}`]}}]})).createWritable();await q.write(b),await q.close();return}catch{}const R=URL.createObjectURL(b),L=document.createElement("a");L.href=R,L.download=e,L.rel="noopener",L.style.display="none",document.body.appendChild(L),Qe(L),window.setTimeout(()=>{document.body.removeChild(L),URL.revokeObjectURL(R)},0),Ve()&&window.open(R,"_blank","noopener,noreferrer")}function Ke(s,e){if(s instanceof Blob)return s.type?s:new Blob([s],{type:e});if(s instanceof ArrayBuffer||s instanceof Uint8Array){const i=s instanceof Uint8Array?s:new Uint8Array(s);return new Blob([i],{type:e})}return new Blob([s],{type:e||"text/plain;charset=utf-8"})}function Je(s){switch(Le(s).toLowerCase()){case"txt":return"text/plain;charset=utf-8";case"csv":return"text/csv;charset=utf-8";case"json":return"application/json;charset=utf-8";case"pdf":return"application/pdf";case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"svg":return"image/svg+xml";case"zip":return"application/zip";default:return"application/octet-stream"}}function Le(s){const e=s.lastIndexOf(".");return e>=0&&e<s.length-1?s.slice(e+1):""}function Qe(s){const e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(e)}function Ve(){const s=navigator.userAgent,e=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return e||i}class Ze{static getEnumValue(e,i){if(i in e)return e[i];throw Error(`${i} not found in ${e}`)}static getKeyValues(e){return Object.keys(e).filter(i=>!isNaN(Number(i))).map(i=>({key:Number(i),value:e[i]}))}}class Ge{static getFileExtension(e){let i="";const a=e.lastIndexOf(".");return a>0&&a<e.length-1&&(i=`.${e.substring(a+1).toLowerCase()}`),i}static readAsText(e){const i=new FileReader;return new Promise((a,b)=>{i.onload=()=>{i.onload=null,i.onerror=null,typeof i.result=="string"?a(i.result):b(new Error("Unexpected result type"))},i.onerror=()=>{const R=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,b(R)},i.readAsText(e)})}static readAsArrayBuffer(e){const i=new FileReader;return new Promise((a,b)=>{i.onload=()=>{i.onload=null,i.onerror=null,i.result instanceof ArrayBuffer?a(i.result):b(new Error("Unexpected result type"))},i.onerror=()=>{const R=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,b(R)},i.readAsArrayBuffer(e)})}static readAsDataUrl(e){const i=new FileReader;return new Promise((a,b)=>{i.onload=R=>{a(R)},i.onerror=R=>b(R),i.readAsDataURL(e)})}static formatFileSize(e,i=2,a){if(e===0)return"0 Bytes";const b=1024,R=["Bytes","KB","MB","GB","TB"];let L=Math.floor(Math.log(e)/Math.log(b));a&&R.includes(a)&&(L=R.indexOf(a));const P=e/Math.pow(b,L);return`${parseFloat(P.toFixed(i))} ${R[L]}`}static save(e,i,a){const b=new Blob([e],{type:a});Ie(b,i)}}class ye{static set(e,i){localStorage.setItem(e,JSON.stringify(i))}static get(e){let i=null;const a=localStorage.getItem(e);return a&&(i=JSON.parse(a)),i}static remove(e){let i=!!ye.get(e);return i&&localStorage.removeItem(e),i}static removeAll(){localStorage.clear()}static getKeysBy(e){return Object.keys(localStorage).filter(i=>i.startsWith(e))}}var he=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(he||{});class Q{static listeners=new Set;static enabled=!0;static log(...e){Q.doLog(he.log,e)}static info(...e){Q.doLog(he.info,e)}static warn(...e){Q.doLog(he.warn,e)}static debug(...e){Q.doLog(he.debug,e)}static error(...e){Q.doLog(he.error,e)}static clearListeners(){Q.listeners.clear()}static setEnabled(e){Q.enabled=e}static doLog(e,i){if(!Q.enabled)return;const a={type:e,args:i,timestamp:new Date().toISOString()};for(const b of Q.listeners)try{if(b(a)===!1)return}catch{}console[e].apply(console,i)}static onLog(e,i=!1){if(i){const a=b=>{try{return e(b)}finally{Q.listeners.delete(a)}};return Q.listeners.add(a),()=>Q.listeners.delete(a)}return Q.listeners.add(e),()=>Q.listeners.delete(e)}}const He=(s,e,i)=>s.localeCompare(e)*(i?1:-1),Xe=(s,e)=>s<e?-1:s===e?0:1,et=(s,e,i)=>Xe(s,e)*(i?1:-1),tt=(s,e,i)=>{let a=0;return typeof s=="string"&&typeof e=="string"?a=He(s,e,i):a=et(s,e,i),a},ze=(s,e,i,a)=>{const b=i(s),R=i(e);return tt(b,R,a)};class rt{static get(e){return ye.get(e)}static set(e,i){ye.set(e,i)}static remove(e){ye.remove(e)}}function nt(){Array.prototype.distinct=function(s){return s?this.filter((i,a,b)=>b.findIndex(R=>s(R,i))===a):this.filter((i,a,b)=>b.indexOf(i)===a)},Array.prototype.filterBy=function(s){return this.filter(e=>s(e))},Array.prototype.first=function(){return this.length>0?this[0]:null},Array.prototype.groupBy=function(s){return this.reduce((e,i)=>{const a=s(i);return e[a]||(e[a]=[]),e[a].push(i),e},{})},Array.prototype.orderBy=function(s,e=!0){return this?.sort((i,a)=>ze(i,a,s,e)),this},Array.prototype.removeBy=function(s,e){return this.filter(i=>s(i)!==e)}}var ke={exports:{}},it=ke.exports,$e;function st(){return $e||($e=1,(function(s,e){(function(i,a){s.exports=a()})(it,(function(){var i=1e3,a=6e4,b=36e5,R="millisecond",L="second",P="minute",q="hour",w="day",B="week",N="month",re="quarter",V="year",G="date",ne="Invalid Date",oe=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ve={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var d=["th","st","nd","rd"],l=m%100;return"["+m+(d[(l-20)%10]||d[l]||d[0])+"]"}},le=function(m,d,l){var o=String(m);return!o||o.length>=d?m:""+Array(d+1-o.length).join(l)+m},Se={s:le,z:function(m){var d=-m.utcOffset(),l=Math.abs(d),o=Math.floor(l/60),c=l%60;return(d<=0?"+":"-")+le(o,2,"0")+":"+le(c,2,"0")},m:function m(d,l){if(d.date()<l.date())return-m(l,d);var o=12*(l.year()-d.year())+(l.month()-d.month()),c=d.clone().add(o,N),f=l-c<0,y=d.clone().add(o+(f?-1:1),N);return+(-(o+(l-c)/(f?c-y:y-c))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:N,y:V,w:B,d:w,D:G,h:q,m:P,s:L,ms:R,Q:re}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},ue="en",K={};K[ue]=ve;var $="$isDayjsObject",t=function(m){return m instanceof g||!(!m||!m[$])},r=function m(d,l,o){var c;if(!d)return ue;if(typeof d=="string"){var f=d.toLowerCase();K[f]&&(c=f),l&&(K[f]=l,c=f);var y=d.split("-");if(!c&&y.length>1)return m(y[0])}else{var p=d.name;K[p]=d,c=p}return!o&&c&&(ue=c),c||!o&&ue},n=function(m,d){if(t(m))return m.clone();var l=typeof d=="object"?d:{};return l.date=m,l.args=arguments,new g(l)},u=Se;u.l=r,u.i=t,u.w=function(m,d){return n(m,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var g=(function(){function m(l){this.$L=r(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[$]=!0}var d=m.prototype;return d.parse=function(l){this.$d=(function(o){var c=o.date,f=o.utc;if(c===null)return new Date(NaN);if(u.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var y=c.match(oe);if(y){var p=y[2]-1||0,v=(y[7]||"0").substring(0,3);return f?new Date(Date.UTC(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,v)):new Date(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,v)}}return new Date(c)})(l),this.init()},d.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},d.$utils=function(){return u},d.isValid=function(){return this.$d.toString()!==ne},d.isSame=function(l,o){var c=n(l);return this.startOf(o)<=c&&c<=this.endOf(o)},d.isAfter=function(l,o){return n(l)<this.startOf(o)},d.isBefore=function(l,o){return this.endOf(o)<n(l)},d.$g=function(l,o,c){return u.u(l)?this[o]:this.set(c,l)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(l,o){var c=this,f=!!u.u(o)||o,y=u.p(l),p=function(x,D){var _=u.w(c.$u?Date.UTC(c.$y,D,x):new Date(c.$y,D,x),c);return f?_:_.endOf(w)},v=function(x,D){return u.w(c.toDate()[x].apply(c.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(D)),c)},h=this.$W,O=this.$M,C=this.$D,z="set"+(this.$u?"UTC":"");switch(y){case V:return f?p(1,0):p(31,11);case N:return f?p(1,O):p(0,O+1);case B:var Y=this.$locale().weekStart||0,S=(h<Y?h+7:h)-Y;return p(f?C-S:C+(6-S),O);case w:case G:return v(z+"Hours",0);case q:return v(z+"Minutes",1);case P:return v(z+"Seconds",2);case L:return v(z+"Milliseconds",3);default:return this.clone()}},d.endOf=function(l){return this.startOf(l,!1)},d.$set=function(l,o){var c,f=u.p(l),y="set"+(this.$u?"UTC":""),p=(c={},c[w]=y+"Date",c[G]=y+"Date",c[N]=y+"Month",c[V]=y+"FullYear",c[q]=y+"Hours",c[P]=y+"Minutes",c[L]=y+"Seconds",c[R]=y+"Milliseconds",c)[f],v=f===w?this.$D+(o-this.$W):o;if(f===N||f===V){var h=this.clone().set(G,1);h.$d[p](v),h.init(),this.$d=h.set(G,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](v);return this.init(),this},d.set=function(l,o){return this.clone().$set(l,o)},d.get=function(l){return this[u.p(l)]()},d.add=function(l,o){var c,f=this;l=Number(l);var y=u.p(o),p=function(O){var C=n(f);return u.w(C.date(C.date()+Math.round(O*l)),f)};if(y===N)return this.set(N,this.$M+l);if(y===V)return this.set(V,this.$y+l);if(y===w)return p(1);if(y===B)return p(7);var v=(c={},c[P]=a,c[q]=b,c[L]=i,c)[y]||1,h=this.$d.getTime()+l*v;return u.w(h,this)},d.subtract=function(l,o){return this.add(-1*l,o)},d.format=function(l){var o=this,c=this.$locale();if(!this.isValid())return c.invalidDate||ne;var f=l||"YYYY-MM-DDTHH:mm:ssZ",y=u.z(this),p=this.$H,v=this.$m,h=this.$M,O=c.weekdays,C=c.months,z=c.meridiem,Y=function(D,_,T,F){return D&&(D[_]||D(o,f))||T[_].slice(0,F)},S=function(D){return u.s(p%12||12,D,"0")},x=z||function(D,_,T){var F=D<12?"AM":"PM";return T?F.toLowerCase():F};return f.replace(pe,(function(D,_){return _||(function(T){switch(T){case"YY":return String(o.$y).slice(-2);case"YYYY":return u.s(o.$y,4,"0");case"M":return h+1;case"MM":return u.s(h+1,2,"0");case"MMM":return Y(c.monthsShort,h,C,3);case"MMMM":return Y(C,h);case"D":return o.$D;case"DD":return u.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return Y(c.weekdaysMin,o.$W,O,2);case"ddd":return Y(c.weekdaysShort,o.$W,O,3);case"dddd":return O[o.$W];case"H":return String(p);case"HH":return u.s(p,2,"0");case"h":return S(1);case"hh":return S(2);case"a":return x(p,v,!0);case"A":return x(p,v,!1);case"m":return String(v);case"mm":return u.s(v,2,"0");case"s":return String(o.$s);case"ss":return u.s(o.$s,2,"0");case"SSS":return u.s(o.$ms,3,"0");case"Z":return y}return null})(D)||y.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(l,o,c){var f,y=this,p=u.p(o),v=n(l),h=(v.utcOffset()-this.utcOffset())*a,O=this-v,C=function(){return u.m(y,v)};switch(p){case V:f=C()/12;break;case N:f=C();break;case re:f=C()/3;break;case B:f=(O-h)/6048e5;break;case w:f=(O-h)/864e5;break;case q:f=O/b;break;case P:f=O/a;break;case L:f=O/i;break;default:f=O}return c?f:u.a(f)},d.daysInMonth=function(){return this.endOf(N).$D},d.$locale=function(){return K[this.$L]},d.locale=function(l,o){if(!l)return this.$L;var c=this.clone(),f=r(l,o,!0);return f&&(c.$L=f),c},d.clone=function(){return u.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},m})(),E=g.prototype;return n.prototype=E,[["$ms",R],["$s",L],["$m",P],["$H",q],["$W",w],["$M",N],["$y",V],["$D",G]].forEach((function(m){E[m[1]]=function(d){return this.$g(d,m[0],m[1])}})),n.extend=function(m,d){return m.$i||(m(d,g,n),m.$i=!0),n},n.locale=r,n.isDayjs=t,n.unix=function(m){return n(1e3*m)},n.en=K[ue],n.Ls=K,n.p={},n}))})(ke)),ke.exports}var at=st();const H=Oe(at);var xe={exports:{}},ot=xe.exports,Te;function ut(){return Te||(Te=1,(function(s,e){(function(i,a){s.exports=a()})(ot,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(a,b,R){var L=b.prototype,P=L.format;R.en.formats=i,L.format=function(q){q===void 0&&(q="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,B=(function(N,re){return N.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(V,G,ne){var oe=ne&&ne.toUpperCase();return G||re[ne]||i[ne]||re[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(pe,ve,le){return ve||le.slice(1)}))}))})(q,w===void 0?{}:w);return P.call(this,B)}}}))})(xe)),xe.exports}var ct=ut();const ft=Oe(ct);H.extend(ft);function lt(){Date.prototype.add=function(s,e){return H(this).add(s,e).toDate()},Date.prototype.diff=function(s,e){return H(this).diff(s,e)},Date.prototype.endOf=function(s){return H(this).endOf(s).toDate()},Date.prototype.firstDayOfMonth=function(){return H(this).startOf("month").toDate()},Date.prototype.isAfter=function(s,e){return H(this).isAfter(s,e)},Date.prototype.isBefore=function(s,e){return H(this).isBefore(s,e)},Date.prototype.format=function(s){return H(this).format(s)},Date.prototype.isValid=function(){return H(this).isValid()},Date.prototype.subtract=function(s,e){return H(this).subtract(s,e).toDate()},Date.prototype.lastDayOfMonth=function(){return H(this).endOf("month").toDate()},Date.prototype.set=function(s,e){return H(this).set(s,e).toDate()},Date.prototype.startOf=function(s){return H(this).startOf(s).toDate()}}function dt(){String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},String.prototype.isNumber=function(){return!isNaN(Number(this))&&this.trim()!==""},String.prototype.isEmpty=function(){return this===void 0||!this||this.length===0},String.prototype.stripTags=function(){return new DOMParser().parseFromString(this.toString(),"text/html").body.textContent||""}}class ht{resizeListener;onResizeCallbacks=new Set;rafId=null;emitTimeoutId=null;duplicateThresholdMs=60;constructor(){typeof window<"u"&&(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener,{passive:!0}))}destroy(){typeof window<"u"&&window.removeEventListener("resize",this.resizeListener),this.onResizeCallbacks.clear(),this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null)}onResizeChange(e){this.onResizeCallbacks.add(e)}offResizeChange(e){this.onResizeCallbacks.delete(e)}onResize=()=>{typeof window>"u"||(this.emitTimeoutId&&clearTimeout(this.emitTimeoutId),this.emitTimeoutId=window.setTimeout(()=>{this.emitTimeoutId=null},this.duplicateThresholdMs))}}exports.BreakPointHelper=j;exports.BreakPoints=Ae;exports.BrowserHelper=ee;exports.BrowserService=ht;exports.BrowserType=X;exports.CsvHelper=Be;exports.EnumHelper=Ze;exports.FileHelper=Ge;exports.LocalStorageHelper=ye;exports.LoggerHelper=Q;exports.LoggerType=he;exports.ScreenHelper=be;exports.TokenHelper=rt;exports.copyToClipboard=je;exports.initArrayExtensions=nt;exports.initDateExtensions=lt;exports.initStringExtensions=dt;exports.saveAs=Ie;exports.sortHelper=ze;
|