@oardi/ts-utils 0.0.37 → 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/index.umd.js CHANGED
@@ -1,10 +1,10 @@
1
- (function(z,we){typeof exports=="object"&&typeof module<"u"?we(exports):typeof define=="function"&&define.amd?define(["exports"],we):(z=typeof globalThis<"u"?globalThis:z||self,we(z["ts-utils"]={}))})(this,(function(z){"use strict";const we=(s,e,i)=>s.localeCompare(e)*(i?1:-1),Ue=(s,e)=>s<e?-1:s===e?0:1,Ye=(s,e,i)=>Ue(s,e)*(i?1:-1),Ne=(s,e,i)=>{let a=0;return typeof s=="string"&&typeof e=="string"?a=we(s,e,i):a=Ye(s,e,i),a},Ce=(s,e,i,a)=>{const b=i(s),R=i(e);return Ne(b,R,a)};function We(){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)=>Ce(i,a,s,e)),this},Array.prototype.removeBy=function(s,e){return this.filter(i=>s(i)!==e)}}function Me(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ke={exports:{}},Pe=ke.exports,$e;function qe(){return $e||($e=1,(function(s,e){(function(i,a){s.exports=a()})(Pe,(function(){var i=1e3,a=6e4,b=36e5,R="millisecond",L="second",q="minute",K="hour",w="day",J="week",W="month",ne="quarter",Z="year",te="date",ie="Invalid Date",ce=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,me=/\[([^\]]+)]|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,be={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 l=["th","st","nd","rd"],d=m%100;return"["+m+(l[(d-20)%10]||l[d]||l[0])+"]"}},le=function(m,l,d){var o=String(m);return!o||o.length>=l?m:""+Array(l+1-o.length).join(d)+m},xe={s:le,z:function(m){var l=-m.utcOffset(),d=Math.abs(l),o=Math.floor(d/60),c=d%60;return(l<=0?"+":"-")+le(o,2,"0")+":"+le(c,2,"0")},m:function m(l,d){if(l.date()<d.date())return-m(d,l);var o=12*(d.year()-l.year())+(d.month()-l.month()),c=l.clone().add(o,W),f=d-c<0,y=l.clone().add(o+(f?-1:1),W);return+(-(o+(d-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:W,y:Z,w:J,d:w,D:te,h:K,m:q,s:L,ms:R,Q:ne}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},fe="en",Q={};Q[fe]=be;var $="$isDayjsObject",t=function(m){return m instanceof g||!(!m||!m[$])},r=function m(l,d,o){var c;if(!l)return fe;if(typeof l=="string"){var f=l.toLowerCase();Q[f]&&(c=f),d&&(Q[f]=d,c=f);var y=l.split("-");if(!c&&y.length>1)return m(y[0])}else{var p=l.name;Q[p]=l,c=p}return!o&&c&&(fe=c),c||!o&&fe},n=function(m,l){if(t(m))return m.clone();var d=typeof l=="object"?l:{};return d.date=m,d.args=arguments,new g(d)},u=xe;u.l=r,u.i=t,u.w=function(m,l){return n(m,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var g=(function(){function m(d){this.$L=r(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[$]=!0}var l=m.prototype;return l.parse=function(d){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(ce);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)})(d),this.init()},l.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},l.$utils=function(){return u},l.isValid=function(){return this.$d.toString()!==ie},l.isSame=function(d,o){var c=n(d);return this.startOf(o)<=c&&c<=this.endOf(o)},l.isAfter=function(d,o){return n(d)<this.startOf(o)},l.isBefore=function(d,o){return this.endOf(o)<n(d)},l.$g=function(d,o,c){return u.u(d)?this[o]:this.set(c,d)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(d,o){var c=this,f=!!u.u(o)||o,y=u.p(d),p=function(D,O){var _=u.w(c.$u?Date.UTC(c.$y,O,D):new Date(c.$y,O,D),c);return f?_:_.endOf(w)},v=function(D,O){return u.w(c.toDate()[D].apply(c.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(O)),c)},h=this.$W,x=this.$M,C=this.$D,j="set"+(this.$u?"UTC":"");switch(y){case Z:return f?p(1,0):p(31,11);case W:return f?p(1,x):p(0,x+1);case J:var N=this.$locale().weekStart||0,S=(h<N?h+7:h)-N;return p(f?C-S:C+(6-S),x);case w:case te:return v(j+"Hours",0);case K:return v(j+"Minutes",1);case q:return v(j+"Seconds",2);case L:return v(j+"Milliseconds",3);default:return this.clone()}},l.endOf=function(d){return this.startOf(d,!1)},l.$set=function(d,o){var c,f=u.p(d),y="set"+(this.$u?"UTC":""),p=(c={},c[w]=y+"Date",c[te]=y+"Date",c[W]=y+"Month",c[Z]=y+"FullYear",c[K]=y+"Hours",c[q]=y+"Minutes",c[L]=y+"Seconds",c[R]=y+"Milliseconds",c)[f],v=f===w?this.$D+(o-this.$W):o;if(f===W||f===Z){var h=this.clone().set(te,1);h.$d[p](v),h.init(),this.$d=h.set(te,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](v);return this.init(),this},l.set=function(d,o){return this.clone().$set(d,o)},l.get=function(d){return this[u.p(d)]()},l.add=function(d,o){var c,f=this;d=Number(d);var y=u.p(o),p=function(x){var C=n(f);return u.w(C.date(C.date()+Math.round(x*d)),f)};if(y===W)return this.set(W,this.$M+d);if(y===Z)return this.set(Z,this.$y+d);if(y===w)return p(1);if(y===J)return p(7);var v=(c={},c[q]=a,c[K]=b,c[L]=i,c)[y]||1,h=this.$d.getTime()+d*v;return u.w(h,this)},l.subtract=function(d,o){return this.add(-1*d,o)},l.format=function(d){var o=this,c=this.$locale();if(!this.isValid())return c.invalidDate||ie;var f=d||"YYYY-MM-DDTHH:mm:ssZ",y=u.z(this),p=this.$H,v=this.$m,h=this.$M,x=c.weekdays,C=c.months,j=c.meridiem,N=function(O,_,T,U){return O&&(O[_]||O(o,f))||T[_].slice(0,U)},S=function(O){return u.s(p%12||12,O,"0")},D=j||function(O,_,T){var U=O<12?"AM":"PM";return T?U.toLowerCase():U};return f.replace(me,(function(O,_){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 N(c.monthsShort,h,C,3);case"MMMM":return N(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 N(c.weekdaysMin,o.$W,x,2);case"ddd":return N(c.weekdaysShort,o.$W,x,3);case"dddd":return x[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 D(p,v,!0);case"A":return D(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})(O)||y.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(d,o,c){var f,y=this,p=u.p(o),v=n(d),h=(v.utcOffset()-this.utcOffset())*a,x=this-v,C=function(){return u.m(y,v)};switch(p){case Z:f=C()/12;break;case W:f=C();break;case ne:f=C()/3;break;case J:f=(x-h)/6048e5;break;case w:f=(x-h)/864e5;break;case K:f=x/b;break;case q:f=x/a;break;case L:f=x/i;break;default:f=x}return c?f:u.a(f)},l.daysInMonth=function(){return this.endOf(W).$D},l.$locale=function(){return Q[this.$L]},l.locale=function(d,o){if(!d)return this.$L;var c=this.clone(),f=r(d,o,!0);return f&&(c.$L=f),c},l.clone=function(){return u.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},m})(),E=g.prototype;return n.prototype=E,[["$ms",R],["$s",L],["$m",q],["$H",K],["$W",w],["$M",W],["$y",Z],["$D",te]].forEach((function(m){E[m[1]]=function(l){return this.$g(l,m[0],m[1])}})),n.extend=function(m,l){return m.$i||(m(l,g,n),m.$i=!0),n},n.locale=r,n.isDayjs=t,n.unix=function(m){return n(1e3*m)},n.en=Q[fe],n.Ls=Q,n.p={},n}))})(ke)),ke.exports}var Be=qe();const H=Me(Be);var De={exports:{}},Ke=De.exports,Te;function Je(){return Te||(Te=1,(function(s,e){(function(i,a){s.exports=a()})(Ke,(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,q=L.format;R.en.formats=i,L.format=function(K){K===void 0&&(K="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,J=(function(W,ne){return W.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(Z,te,ie){var ce=ie&&ie.toUpperCase();return te||ne[ie]||i[ie]||ne[ce].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(me,be,le){return be||le.slice(1)}))}))})(K,w===void 0?{}:w);return q.call(this,J)}}}))})(De)),De.exports}var Qe=Je();const Ve=Me(Qe);H.extend(Ve);function Ze(){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 Ge(){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||""}}const Ae={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class _e{static getScreenWidth(){return window.innerWidth}static getScreenHeight(){return window.innerHeight}}class F{static breakPoints=Ae;static listeners=new Set;static currentBreakpoint=F.getBreakpointByScreenWidth();static initialized=!1;static resizeTimeout=null;static getCurrentBreakpoint(){return F.getBreakpointByScreenWidth(_e.getScreenWidth())}static getBreakpointByScreenWidth(e=_e.getScreenWidth()){let i="xs";for(const a of Object.keys(F.breakPoints))F.breakPoints[a]<=e&&(i=a);return{breakpoint:i,screenWidth:e}}isScreenGreaterThan(e){return _e.getScreenWidth()>F.breakPoints[e]}isScreenSmallerThan(e){return _e.getScreenWidth()<F.breakPoints[e]}static onResize(e,i=!1){if(F.initialized||F.initResizeListener(),i){const a=b=>{try{return e(b)}finally{F.listeners.delete(a)}};return F.listeners.add(a),()=>F.listeners.delete(a)}return F.listeners.add(e),()=>F.listeners.delete(e)}static initResizeListener(){F.initialized||(window.addEventListener("resize",()=>{F.resizeTimeout&&window.clearTimeout(F.resizeTimeout),F.resizeTimeout=window.setTimeout(()=>{const e=F.getCurrentBreakpoint();if(e.breakpoint!==F.currentBreakpoint.breakpoint){F.currentBreakpoint=e;for(const i of F.listeners)i(e)}},150)}),F.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 ue=(typeof navigator<"u"?navigator.userAgent:"").toLowerCase();class ee{static isBrowserEnv(){return typeof window<"u"&&typeof navigator<"u"}static isOpera(e=ue){return this.isBrowserEnv()?e.includes("opr/")||e.includes("opera"):!1}static isFirefox(e=ue){return this.isBrowserEnv()?e.includes("firefox")||typeof globalThis.InstallTrigger<"u":!1}static isSafari(e=ue){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=ue){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&&!ue.includes("edg/"):!1}static isEdg(e=ue){return this.isBrowserEnv()?e.includes("edg/"):!1}static isIE(){return!this.isBrowserEnv()&&typeof document>"u"?!1:!!document.documentMode}static isChrome(e=ue){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=ue){return typeof process<"u"&&process.versions?.electron?!0:e.includes("electron")}static isHeadlessChrome(e=ue){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 He(s){return navigator.clipboard.writeText(s)}var Oe={exports:{}};var Xe=Oe.exports,Ie;function et(){return Ie||(Ie=1,(function(s,e){((i,a)=>{s.exports=a()})(Xe,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,q={},K=0,w={};function J(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=fe(r);n.chunkSize=parseInt(n.chunkSize),r.step||r.chunk||(n.chunkSize=null),this._handle=new ie(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 W(t){var r;(t=t||{}).chunkSize||(t.chunkSize=w.RemoteChunkSize),J.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=Q(this._chunkLoaded,this),r.onerror=Q(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 ne(t){(t=t||{}).chunkSize||(t.chunkSize=w.LocalChunkSize),J.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=Q(this._chunkLoaded,this),r.onerror=Q(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 Z(t){var r;J.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 te(t){J.call(this,t=t||{});var r=[],n=!0,u=!1;this.pause=function(){J.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){J.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=Q(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=Q(function(g){this._streamCleanUp(),this._sendError(g)},this),this._streamEnd=Q(function(){this._streamCleanUp(),u=!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 ie(t){var r,n,u,g,E=Math.pow(2,53),m=-E,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,d=/^((\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 x(S){return t.skipEmptyLines==="greedy"?S.join("").trim()==="":S.length===1&&S[0].length===0}function C(){if(h&&u&&(N("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),u=!1),t.skipEmptyLines&&(h.data=h.data.filter(function(_){return!x(_)})),j()){let _=function(T,U){$(t.transformHeader)&&(T=t.transformHeader(T,U)),v.push(T)};if(h)if(Array.isArray(h.data[0])){for(var S=0;j()&&S<h.data.length;S++)h.data[S].forEach(_);h.data.splice(0,1)}else h.data.forEach(_)}function D(_,T){for(var U=t.header?{}:[],A=0;A<_.length;A++){var I=A,M=_[A],M=((re,k)=>(Y=>(t.dynamicTypingFunction&&t.dynamicTyping[Y]===void 0&&(t.dynamicTyping[Y]=t.dynamicTypingFunction(Y)),(t.dynamicTyping[Y]||t.dynamicTyping)===!0))(re)?k==="true"||k==="TRUE"||k!=="false"&&k!=="FALSE"&&((Y=>{if(l.test(Y)&&(Y=parseFloat(Y),m<Y&&Y<E))return 1})(k)?parseFloat(k):d.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"?(U[I]=U[I]||[],U[I].push(M)):U[I]=M}return t.header&&(A>v.length?N("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+A,f+T):A<v.length&&N("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+A,f+T)),U}var O;h&&(t.header||t.dynamicTyping||t.transform)&&(O=1,!h.data.length||Array.isArray(h.data[0])?(h.data=h.data.map(D),O=h.data.length):h.data=D(h.data,0),t.header&&h.meta&&(h.meta.fields=v),f+=O)}function j(){return t.header&&v.length===0}function N(S,D,O,_){S={type:S,code:D,message:O},_!==void 0&&(S.row=_),h.errors.push(S)}$(t.step)&&(g=t.step,t.step=function(S){h=S,j()?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,D,O){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,U,A,I,M)=>{var re,k,Y,he;M=M||[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var ye=0;ye<M.length;ye++){for(var se,Se=M[ye],V=0,ae=0,P=0,G=(Y=void 0,new me({comments:I,delimiter:Se,newline:U,preview:10}).parse(T)),de=0;de<G.data.length;de++)A&&x(G.data[de])?P++:(se=G.data[de].length,ae+=se,Y===void 0?Y=se:0<se&&(V+=Math.abs(se-Y),Y=se));0<G.data.length&&(ae/=G.data.length-P),(k===void 0||V<=k)&&(he===void 0||he<ae)&&1.99<ae&&(k=V,re=Se,he=ae)}return{successful:!!(t.delimiter=re),bestDelimiter:re}})(S,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=_.bestDelimiter:(u=!0,t.delimiter=w.DefaultDelimiter),h.meta.delimiter=t.delimiter),fe(t));return t.preview&&t.header&&_.preview++,r=S,n=new me(_),h=n.parse(r,D,O),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(ce(_)+"([^]*?)"+ce(_),"gm"),O=(T=T.replace(_,"")).split("\r"),_=T.split(`
1
+ (function(z,ge){typeof exports=="object"&&typeof module<"u"?ge(exports):typeof define=="function"&&define.amd?define(["exports"],ge):(z=typeof globalThis<"u"?globalThis:z||self,ge(z["ts-utils"]={}))})(this,(function(z){"use strict";const ge={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class _e{static getScreenWidth(){return window.innerWidth}static getScreenHeight(){return window.innerHeight}}class F{static breakPoints=ge;static listeners=new Set;static currentBreakpoint=F.getBreakpointByScreenWidth();static initialized=!1;static resizeTimeout=null;static getCurrentBreakpoint(){return F.getBreakpointByScreenWidth(_e.getScreenWidth())}static getBreakpointByScreenWidth(e=_e.getScreenWidth()){let i="xs";for(const a of Object.keys(F.breakPoints))F.breakPoints[a]<=e&&(i=a);return{breakpoint:i,screenWidth:e}}isScreenGreaterThan(e){return _e.getScreenWidth()>F.breakPoints[e]}isScreenSmallerThan(e){return _e.getScreenWidth()<F.breakPoints[e]}static onResize(e,i=!1){if(F.initialized||F.initResizeListener(),i){const a=b=>{try{return e(b)}finally{F.listeners.delete(a)}};return F.listeners.add(a),()=>F.listeners.delete(a)}return F.listeners.add(e),()=>F.listeners.delete(e)}static initResizeListener(){F.initialized||(window.addEventListener("resize",()=>{F.resizeTimeout&&window.clearTimeout(F.resizeTimeout),F.resizeTimeout=window.setTimeout(()=>{const e=F.getCurrentBreakpoint();if(e.breakpoint!==F.currentBreakpoint.breakpoint){F.currentBreakpoint=e;for(const i of F.listeners)i(e)}},150)}),F.initialized=!0)}}var H=(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))(H||{});const ue=(typeof navigator<"u"?navigator.userAgent:"").toLowerCase();class X{static isBrowserEnv(){return typeof window<"u"&&typeof navigator<"u"}static isOpera(e=ue){return this.isBrowserEnv()?e.includes("opr/")||e.includes("opera"):!1}static isFirefox(e=ue){return this.isBrowserEnv()?e.includes("firefox")||typeof globalThis.InstallTrigger<"u":!1}static isSafari(e=ue){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=ue){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&&!ue.includes("edg/"):!1}static isEdg(e=ue){return this.isBrowserEnv()?e.includes("edg/"):!1}static isIE(){return!this.isBrowserEnv()&&typeof document>"u"?!1:!!document.documentMode}static isChrome(e=ue){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=ue){return typeof process<"u"&&process.versions?.electron?!0:e.includes("electron")}static isHeadlessChrome(e=ue){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(X.isOpera())return H.opera;if(X.isFirefox())return H.firefox;if(X.isSafari())return H.safari;if(X.isIE())return H.ie;if(X.isEdgeLegacy())return H.edgeLegacy;if(X.isEdg())return H.edg;if(X.isChrome())return H.chrome;if(X.isIOS(e))return H.iOS;if(X.isElectron(e))return H.electron;if(X.isHeadlessChrome(e))return H.headlessChrome;if(X.isNodeRuntime())return H.nodeRuntime;throw new Error("Browser could not be detected: "+e)}}function je(s){return navigator.clipboard.writeText(s)}function Me(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ke={exports:{}};var Ue=ke.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,q={},K=0,w={};function J(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=fe(r);n.chunkSize=parseInt(n.chunkSize),r.step||r.chunk||(n.chunkSize=null),this._handle=new ie(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 W(t){var r;(t=t||{}).chunkSize||(t.chunkSize=w.RemoteChunkSize),J.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=Q(this._chunkLoaded,this),r.onerror=Q(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 ne(t){(t=t||{}).chunkSize||(t.chunkSize=w.LocalChunkSize),J.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=Q(this._chunkLoaded,this),r.onerror=Q(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 Z(t){var r;J.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 te(t){J.call(this,t=t||{});var r=[],n=!0,u=!1;this.pause=function(){J.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){J.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=Q(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=Q(function(g){this._streamCleanUp(),this._sendError(g)},this),this._streamEnd=Q(function(){this._streamCleanUp(),u=!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 ie(t){var r,n,u,g,E=Math.pow(2,53),m=-E,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,d=/^((\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 x(S){return t.skipEmptyLines==="greedy"?S.join("").trim()==="":S.length===1&&S[0].length===0}function C(){if(h&&u&&(N("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),u=!1),t.skipEmptyLines&&(h.data=h.data.filter(function(_){return!x(_)})),j()){let _=function(T,U){$(t.transformHeader)&&(T=t.transformHeader(T,U)),v.push(T)};if(h)if(Array.isArray(h.data[0])){for(var S=0;j()&&S<h.data.length;S++)h.data[S].forEach(_);h.data.splice(0,1)}else h.data.forEach(_)}function D(_,T){for(var U=t.header?{}:[],A=0;A<_.length;A++){var I=A,M=_[A],M=((re,k)=>(Y=>(t.dynamicTypingFunction&&t.dynamicTyping[Y]===void 0&&(t.dynamicTyping[Y]=t.dynamicTypingFunction(Y)),(t.dynamicTyping[Y]||t.dynamicTyping)===!0))(re)?k==="true"||k==="TRUE"||k!=="false"&&k!=="FALSE"&&((Y=>{if(l.test(Y)&&(Y=parseFloat(Y),m<Y&&Y<E))return 1})(k)?parseFloat(k):d.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"?(U[I]=U[I]||[],U[I].push(M)):U[I]=M}return t.header&&(A>v.length?N("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+A,f+T):A<v.length&&N("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+A,f+T)),U}var O;h&&(t.header||t.dynamicTyping||t.transform)&&(O=1,!h.data.length||Array.isArray(h.data[0])?(h.data=h.data.map(D),O=h.data.length):h.data=D(h.data,0),t.header&&h.meta&&(h.meta.fields=v),f+=O)}function j(){return t.header&&v.length===0}function N(S,D,O,_){S={type:S,code:D,message:O},_!==void 0&&(S.row=_),h.errors.push(S)}$(t.step)&&(g=t.step,t.step=function(S){h=S,j()?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,D,O){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,U,A,I,M)=>{var re,k,Y,he;M=M||[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var ve=0;ve<M.length;ve++){for(var se,Se=M[ve],V=0,ae=0,P=0,G=(Y=void 0,new ye({comments:I,delimiter:Se,newline:U,preview:10}).parse(T)),de=0;de<G.data.length;de++)A&&x(G.data[de])?P++:(se=G.data[de].length,ae+=se,Y===void 0?Y=se:0<se&&(V+=Math.abs(se-Y),Y=se));0<G.data.length&&(ae/=G.data.length-P),(k===void 0||V<=k)&&(he===void 0||he<ae)&&1.99<ae&&(k=V,re=Se,he=ae)}return{successful:!!(t.delimiter=re),bestDelimiter:re}})(S,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=_.bestDelimiter:(u=!0,t.delimiter=w.DefaultDelimiter),h.meta.delimiter=t.delimiter),fe(t));return t.preview&&t.header&&_.preview++,r=S,n=new ye(_),h=n.parse(r,D,O),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(ce(_)+"([^]*?)"+ce(_),"gm"),O=(T=T.replace(_,"")).split("\r"),_=T.split(`
2
2
  `),T=1<_.length&&_[0].length<O[0].length;if(O.length===1||T)return`
3
3
  `;for(var U=0,A=0;A<O.length;A++)O[A][0]===`
4
4
  `&&U++;return U>=O.length/2?`\r
5
- `:"\r"}}function ce(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function me(t){var r=(t=t||{}).delimiter,n=t.newline,u=t.comments,g=t.step,E=t.preview,m=t.fastMode,l=null,d=!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!==`
5
+ `:"\r"}}function ce(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ye(t){var r=(t=t||{}).delimiter,n=t.newline,u=t.comments,g=t.step,E=t.preview,m=t.fastMode,l=null,d=!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 f=0,y=!1;this.parse=function(p,v,h){if(typeof p!="string")throw new Error("Input must be a string");var x=p.length,C=r.length,j=n.length,N=u.length,S=$(g),D=[],O=[],_=[],T=f=0;if(!p)return V();if(m||m!==!1&&p.indexOf(o)===-1){for(var U=p.split(n),A=0;A<U.length;A++){if(_=U[A],f+=_.length,A!==U.length-1)f+=n.length;else if(h)return V();if(!u||_.substring(0,N)!==u){if(S){if(D=[],he(_.split(r)),ae(),y)return V()}else he(_.split(r));if(E&&E<=A)return D=D.slice(0,E),V(!0)}}return V()}for(var I=p.indexOf(r,f),M=p.indexOf(n,f),re=new RegExp(ce(c)+ce(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||O.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:D.length,index:f}),se();if(k===x-1)return se(p.substring(f,k).replace(re,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 Y=ye((M=M!==-1&&M<k+1?p.indexOf(n,k+1):M)===-1?I:Math.min(I,M));if(p.substr(k+1+Y,C)===r){_.push(p.substring(f,k).replace(re,o)),p[f=k+1+Y+C]!==o&&(k=p.indexOf(o,f)),I=p.indexOf(r,f),M=p.indexOf(n,f);break}if(Y=ye(M),p.substring(k+1+Y,k+1+Y+j)===n){if(_.push(p.substring(f,k).replace(re,o)),Se(k+1+Y+j),I=p.indexOf(r,f),k=p.indexOf(o,f),S&&(ae(),y))return V();if(E&&D.length>=E)return V(!0);break}O.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:D.length,index:f}),k++}}else if(u&&_.length===0&&p.substring(f,f+N)===u){if(M===-1)return V();f=M+j,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)),Se(M+j),S&&(ae(),y))return V();if(E&&D.length>=E)return V(!0)}return se();function he(P){D.push(P),T=f}function ye(P){var G=0;return G=P!==-1&&(P=p.substring(k+1,P))&&P.trim()===""?P.length:G}function se(P){return h||(P===void 0&&(P=p.substring(f)),_.push(P),f=x,he(_),S&&ae()),V()}function Se(P){f=P,he(_),_=[],M=p.indexOf(n,f)}function V(P){if(t.header&&!v&&D.length&&!d){var G=D[0],de=Object.create(null),Re=new Set(G);let Fe=!1;for(let ve=0;ve<G.length;ve++){let oe=G[ve];if(de[oe=$(t.transformHeader)?t.transformHeader(oe,ve):oe]){let Ee,je=de[oe];for(;Ee=oe+"_"+je,je++,Re.has(Ee););Re.add(Ee),G[ve]=Ee,de[oe]++,Fe=!0,(l=l===null?{}:l)[Ee]=oe}else de[oe]=1,G[ve]=oe;Re.add(oe)}Fe&&console.warn("Duplicate headers found and renamed."),d=!0}return{data:D,errors:O,meta:{delimiter:r,linebreak:n,aborted:y,truncated:!!P,cursor:T+(v||0),renamedHeaders:l}}}function ae(){g(V()),D=[],O=[]}},this.abort=function(){y=!0},this.getCharIndex=function(){return f}}function be(t){var r=t.data,n=q[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:xe,resume:xe};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=q[t];$(n.userComplete)&&n.userComplete(r),n.terminate(),delete q[t]}function xe(){throw new Error("Not implemented.")}function fe(t){if(typeof t!="object"||t===null)return t;var r,n=Array.isArray(t)?[]:{};for(r in t)n[r]=fe(t[r]);return n}function Q(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?W:Z)(r)):t.readable===!0&&$(t.read)&&$(t.on)?n=new te(r):(a.File&&t instanceof File||t instanceof Object)&&(n=new ne(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=be,u.id=K++,q[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
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 x=p.length,C=r.length,j=n.length,N=u.length,S=$(g),D=[],O=[],_=[],T=f=0;if(!p)return V();if(m||m!==!1&&p.indexOf(o)===-1){for(var U=p.split(n),A=0;A<U.length;A++){if(_=U[A],f+=_.length,A!==U.length-1)f+=n.length;else if(h)return V();if(!u||_.substring(0,N)!==u){if(S){if(D=[],he(_.split(r)),ae(),y)return V()}else he(_.split(r));if(E&&E<=A)return D=D.slice(0,E),V(!0)}}return V()}for(var I=p.indexOf(r,f),M=p.indexOf(n,f),re=new RegExp(ce(c)+ce(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||O.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:D.length,index:f}),se();if(k===x-1)return se(p.substring(f,k).replace(re,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 Y=ve((M=M!==-1&&M<k+1?p.indexOf(n,k+1):M)===-1?I:Math.min(I,M));if(p.substr(k+1+Y,C)===r){_.push(p.substring(f,k).replace(re,o)),p[f=k+1+Y+C]!==o&&(k=p.indexOf(o,f)),I=p.indexOf(r,f),M=p.indexOf(n,f);break}if(Y=ve(M),p.substring(k+1+Y,k+1+Y+j)===n){if(_.push(p.substring(f,k).replace(re,o)),Se(k+1+Y+j),I=p.indexOf(r,f),k=p.indexOf(o,f),S&&(ae(),y))return V();if(E&&D.length>=E)return V(!0);break}O.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:D.length,index:f}),k++}}else if(u&&_.length===0&&p.substring(f,f+N)===u){if(M===-1)return V();f=M+j,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)),Se(M+j),S&&(ae(),y))return V();if(E&&D.length>=E)return V(!0)}return se();function he(P){D.push(P),T=f}function ve(P){var G=0;return G=P!==-1&&(P=p.substring(k+1,P))&&P.trim()===""?P.length:G}function se(P){return h||(P===void 0&&(P=p.substring(f)),_.push(P),f=x,he(_),S&&ae()),V()}function Se(P){f=P,he(_),_=[],M=p.indexOf(n,f)}function V(P){if(t.header&&!v&&D.length&&!d){var G=D[0],de=Object.create(null),Re=new Set(G);let ze=!1;for(let we=0;we<G.length;we++){let oe=G[we];if(de[oe=$(t.transformHeader)?t.transformHeader(oe,we):oe]){let Ee,Fe=de[oe];for(;Ee=oe+"_"+Fe,Fe++,Re.has(Ee););Re.add(Ee),G[we]=Ee,de[oe]++,ze=!0,(l=l===null?{}:l)[Ee]=oe}else de[oe]=1,G[we]=oe;Re.add(oe)}ze&&console.warn("Duplicate headers found and renamed."),d=!0}return{data:D,errors:O,meta:{delimiter:r,linebreak:n,aborted:y,truncated:!!P,cursor:T+(v||0),renamedHeaders:l}}}function ae(){g(V()),D=[],O=[]}},this.abort=function(){y=!0},this.getCharIndex=function(){return f}}function be(t){var r=t.data,n=q[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:xe,resume:xe};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=q[t];$(n.userComplete)&&n.userComplete(r),n.terminate(),delete q[t]}function xe(){throw new Error("Not implemented.")}function fe(t){if(typeof t!="object"||t===null)return t;var r,n=Array.isArray(t)?[]:{};for(r in t)n[r]=fe(t[r]);return n}function Q(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?W:Z)(r)):t.readable===!0&&$(t.read)&&$(t.on)?n=new te(r):(a.File&&t instanceof File||t instanceof Object)&&(n=new ne(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=be,u.id=K++,q[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
9
  `,m='"',l=m+m,d=!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"||(d=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&&(l=r.escapeChar+m),r.escapeFormulae instanceof RegExp?c=r.escapeFormulae:typeof r.escapeFormulae=="boolean"&&r.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),new RegExp(ce(m),"g"));if(typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return y(null,t,d);if(typeof t[0]=="object")return y(o||Object.keys(t[0]),t,d)}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||[],d);throw new Error("Unable to serialize unrecognized input");function y(v,h,x){var C="",j=(typeof v=="string"&&(v=JSON.parse(v)),typeof h=="string"&&(h=JSON.parse(h)),Array.isArray(v)&&0<v.length),N=!Array.isArray(h[0]);if(j&&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 D=0;D<h.length;D++){var O=(j?v:h[D]).length,_=!1,T=j?Object.keys(h[D]).length===0:h[D].length===0;if(x&&!j&&(_=x==="greedy"?h[D].join("").trim()==="":h[D].length===1&&h[D][0].length===0),x==="greedy"&&j){for(var U=[],A=0;A<O;A++){var I=N?v[A]:A;U.push(h[D][I])}_=U.join("").trim()===""}if(!_){for(var M=0;M<O;M++){0<M&&!T&&(C+=g);var re=j&&N?v[M]:M;C+=p(h[D][re],M)}D<h.length-1&&(!x||0<O&&!T)&&(C+=E)}}return C}function p(v,h){var x,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),x=v.toString().replace(f,l),(C=C||n===!0||typeof n=="function"&&n(v,h)||Array.isArray(n)&&n[h]||((j,N)=>{for(var S=0;S<N.length;S++)if(-1<j.indexOf(N[S]))return!0;return!1})(x,w.BAD_DELIMITERS)||-1<x.indexOf(g)||x.charAt(0)===" "||x.charAt(x.length-1)===" ")?m+x+m:x)}},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=me,w.ParserHandle=ie,w.NetworkStreamer=W,w.FileStreamer=ne,w.StringStreamer=Z,w.ReadableStreamStreamer=te,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,l,d,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,l=o.inputElem,d=c.reason,void($(t.error)&&t.error({name:E},m,l,d));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})}),(W.prototype=Object.create(J.prototype)).constructor=W,(ne.prototype=Object.create(J.prototype)).constructor=ne,(Z.prototype=Object.create(Z.prototype)).constructor=Z,(te.prototype=Object.create(J.prototype)).constructor=te,w})})(Oe)),Oe.exports}var tt=et();const rt=Me(tt),{parse:nt,unparse:it}=rt;class st{static unparse(e,i){return it(e,i)}static parse(e){return new Promise((i,a)=>{nt(e,{header:!0,complete:b=>i(b),error:b=>a(b)})})}}async function Le(s,e,i){const a=i?.mimeType??ot(e),b=at(s,a);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const K=await(await window.showSaveFilePicker({suggestedName:e,types:[{description:"Datei",accept:{[a]:[`.${ze(e)}`]}}]})).createWritable();await K.write(b),await K.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),ut(L),window.setTimeout(()=>{document.body.removeChild(L),URL.revokeObjectURL(R)},0),ct()&&window.open(R,"_blank","noopener,noreferrer")}function at(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 ot(s){switch(ze(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 ze(s){const e=s.lastIndexOf(".");return e>=0&&e<s.length-1?s.slice(e+1):""}function ut(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 ct(){const s=navigator.userAgent,e=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return e||i}class ft{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 dt{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 q=e/Math.pow(b,L);return`${parseFloat(q.toFixed(i))} ${R[L]}`}static save(e,i,a){const b=new Blob([e],{type:a});Le(b,i)}}class ge{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=!!ge.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 pe=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(pe||{});class B{static listeners=new Set;static enabled=!0;static log(...e){B.doLog(pe.log,e)}static info(...e){B.doLog(pe.info,e)}static warn(...e){B.doLog(pe.warn,e)}static debug(...e){B.doLog(pe.debug,e)}static error(...e){B.doLog(pe.error,e)}static clearListeners(){B.listeners.clear()}static setEnabled(e){B.enabled=e}static doLog(e,i){if(!B.enabled)return;const a={type:e,args:i,timestamp:new Date().toISOString()};for(const b of B.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{B.listeners.delete(a)}};return B.listeners.add(a),()=>B.listeners.delete(a)}return B.listeners.add(e),()=>B.listeners.delete(e)}}class lt{static get(e){return ge.get(e)}static set(e,i){ge.set(e,i)}static remove(e){ge.remove(e)}}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))}}z.BreakPointHelper=F,z.BreakPoints=Ae,z.BrowserHelper=ee,z.BrowserService=ht,z.BrowserType=X,z.CsvHelper=st,z.EnumHelper=ft,z.FileHelper=dt,z.LocalStorageHelper=ge,z.LoggerHelper=B,z.LoggerType=pe,z.ScreenHelper=_e,z.TokenHelper=lt,z.copyToClipboard=He,z.initArrayExtensions=We,z.initDateExtensions=Ze,z.initStringExtensions=Ge,z.saveAs=Le,z.sortHelper=Ce,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})}));
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=ye,w.ParserHandle=ie,w.NetworkStreamer=W,w.FileStreamer=ne,w.StringStreamer=Z,w.ReadableStreamStreamer=te,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,l,d,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,l=o.inputElem,d=c.reason,void($(t.error)&&t.error({name:E},m,l,d));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})}),(W.prototype=Object.create(J.prototype)).constructor=W,(ne.prototype=Object.create(J.prototype)).constructor=ne,(Z.prototype=Object.create(Z.prototype)).constructor=Z,(te.prototype=Object.create(J.prototype)).constructor=te,w})})(ke)),ke.exports}var Ne=Ye();const We=Me(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 $e(s,e,i){const a=i?.mimeType??Je(e),b=Ke(s,a);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const K=await(await window.showSaveFilePicker({suggestedName:e,types:[{description:"Datei",accept:{[a]:[`.${Te(e)}`]}}]})).createWritable();await K.write(b),await K.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(Te(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 Te(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 q=e/Math.pow(b,L);return`${parseFloat(q.toFixed(i))} ${R[L]}`}static save(e,i,a){const b=new Blob([e],{type:a});$e(b,i)}}class me{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=!!me.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 pe=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(pe||{});class B{static listeners=new Set;static enabled=!0;static log(...e){B.doLog(pe.log,e)}static info(...e){B.doLog(pe.info,e)}static warn(...e){B.doLog(pe.warn,e)}static debug(...e){B.doLog(pe.debug,e)}static error(...e){B.doLog(pe.error,e)}static clearListeners(){B.listeners.clear()}static setEnabled(e){B.enabled=e}static doLog(e,i){if(!B.enabled)return;const a={type:e,args:i,timestamp:new Date().toISOString()};for(const b of B.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{B.listeners.delete(a)}};return B.listeners.add(a),()=>B.listeners.delete(a)}return B.listeners.add(e),()=>B.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},Ae=(s,e,i,a)=>{const b=i(s),R=i(e);return tt(b,R,a)};class rt{static get(e){return me.get(e)}static set(e,i){me.set(e,i)}static remove(e){me.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)=>Ae(i,a,s,e)),this},Array.prototype.removeBy=function(s,e){return this.filter(i=>s(i)!==e)}}var De={exports:{}},it=De.exports,Ie;function st(){return Ie||(Ie=1,(function(s,e){(function(i,a){s.exports=a()})(it,(function(){var i=1e3,a=6e4,b=36e5,R="millisecond",L="second",q="minute",K="hour",w="day",J="week",W="month",ne="quarter",Z="year",te="date",ie="Invalid Date",ce=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ye=/\[([^\]]+)]|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,be={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 l=["th","st","nd","rd"],d=m%100;return"["+m+(l[(d-20)%10]||l[d]||l[0])+"]"}},le=function(m,l,d){var o=String(m);return!o||o.length>=l?m:""+Array(l+1-o.length).join(d)+m},xe={s:le,z:function(m){var l=-m.utcOffset(),d=Math.abs(l),o=Math.floor(d/60),c=d%60;return(l<=0?"+":"-")+le(o,2,"0")+":"+le(c,2,"0")},m:function m(l,d){if(l.date()<d.date())return-m(d,l);var o=12*(d.year()-l.year())+(d.month()-l.month()),c=l.clone().add(o,W),f=d-c<0,y=l.clone().add(o+(f?-1:1),W);return+(-(o+(d-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:W,y:Z,w:J,d:w,D:te,h:K,m:q,s:L,ms:R,Q:ne}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},fe="en",Q={};Q[fe]=be;var $="$isDayjsObject",t=function(m){return m instanceof g||!(!m||!m[$])},r=function m(l,d,o){var c;if(!l)return fe;if(typeof l=="string"){var f=l.toLowerCase();Q[f]&&(c=f),d&&(Q[f]=d,c=f);var y=l.split("-");if(!c&&y.length>1)return m(y[0])}else{var p=l.name;Q[p]=l,c=p}return!o&&c&&(fe=c),c||!o&&fe},n=function(m,l){if(t(m))return m.clone();var d=typeof l=="object"?l:{};return d.date=m,d.args=arguments,new g(d)},u=xe;u.l=r,u.i=t,u.w=function(m,l){return n(m,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var g=(function(){function m(d){this.$L=r(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[$]=!0}var l=m.prototype;return l.parse=function(d){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(ce);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)})(d),this.init()},l.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},l.$utils=function(){return u},l.isValid=function(){return this.$d.toString()!==ie},l.isSame=function(d,o){var c=n(d);return this.startOf(o)<=c&&c<=this.endOf(o)},l.isAfter=function(d,o){return n(d)<this.startOf(o)},l.isBefore=function(d,o){return this.endOf(o)<n(d)},l.$g=function(d,o,c){return u.u(d)?this[o]:this.set(c,d)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(d,o){var c=this,f=!!u.u(o)||o,y=u.p(d),p=function(D,O){var _=u.w(c.$u?Date.UTC(c.$y,O,D):new Date(c.$y,O,D),c);return f?_:_.endOf(w)},v=function(D,O){return u.w(c.toDate()[D].apply(c.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(O)),c)},h=this.$W,x=this.$M,C=this.$D,j="set"+(this.$u?"UTC":"");switch(y){case Z:return f?p(1,0):p(31,11);case W:return f?p(1,x):p(0,x+1);case J:var N=this.$locale().weekStart||0,S=(h<N?h+7:h)-N;return p(f?C-S:C+(6-S),x);case w:case te:return v(j+"Hours",0);case K:return v(j+"Minutes",1);case q:return v(j+"Seconds",2);case L:return v(j+"Milliseconds",3);default:return this.clone()}},l.endOf=function(d){return this.startOf(d,!1)},l.$set=function(d,o){var c,f=u.p(d),y="set"+(this.$u?"UTC":""),p=(c={},c[w]=y+"Date",c[te]=y+"Date",c[W]=y+"Month",c[Z]=y+"FullYear",c[K]=y+"Hours",c[q]=y+"Minutes",c[L]=y+"Seconds",c[R]=y+"Milliseconds",c)[f],v=f===w?this.$D+(o-this.$W):o;if(f===W||f===Z){var h=this.clone().set(te,1);h.$d[p](v),h.init(),this.$d=h.set(te,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](v);return this.init(),this},l.set=function(d,o){return this.clone().$set(d,o)},l.get=function(d){return this[u.p(d)]()},l.add=function(d,o){var c,f=this;d=Number(d);var y=u.p(o),p=function(x){var C=n(f);return u.w(C.date(C.date()+Math.round(x*d)),f)};if(y===W)return this.set(W,this.$M+d);if(y===Z)return this.set(Z,this.$y+d);if(y===w)return p(1);if(y===J)return p(7);var v=(c={},c[q]=a,c[K]=b,c[L]=i,c)[y]||1,h=this.$d.getTime()+d*v;return u.w(h,this)},l.subtract=function(d,o){return this.add(-1*d,o)},l.format=function(d){var o=this,c=this.$locale();if(!this.isValid())return c.invalidDate||ie;var f=d||"YYYY-MM-DDTHH:mm:ssZ",y=u.z(this),p=this.$H,v=this.$m,h=this.$M,x=c.weekdays,C=c.months,j=c.meridiem,N=function(O,_,T,U){return O&&(O[_]||O(o,f))||T[_].slice(0,U)},S=function(O){return u.s(p%12||12,O,"0")},D=j||function(O,_,T){var U=O<12?"AM":"PM";return T?U.toLowerCase():U};return f.replace(ye,(function(O,_){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 N(c.monthsShort,h,C,3);case"MMMM":return N(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 N(c.weekdaysMin,o.$W,x,2);case"ddd":return N(c.weekdaysShort,o.$W,x,3);case"dddd":return x[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 D(p,v,!0);case"A":return D(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})(O)||y.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(d,o,c){var f,y=this,p=u.p(o),v=n(d),h=(v.utcOffset()-this.utcOffset())*a,x=this-v,C=function(){return u.m(y,v)};switch(p){case Z:f=C()/12;break;case W:f=C();break;case ne:f=C()/3;break;case J:f=(x-h)/6048e5;break;case w:f=(x-h)/864e5;break;case K:f=x/b;break;case q:f=x/a;break;case L:f=x/i;break;default:f=x}return c?f:u.a(f)},l.daysInMonth=function(){return this.endOf(W).$D},l.$locale=function(){return Q[this.$L]},l.locale=function(d,o){if(!d)return this.$L;var c=this.clone(),f=r(d,o,!0);return f&&(c.$L=f),c},l.clone=function(){return u.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},m})(),E=g.prototype;return n.prototype=E,[["$ms",R],["$s",L],["$m",q],["$H",K],["$W",w],["$M",W],["$y",Z],["$D",te]].forEach((function(m){E[m[1]]=function(l){return this.$g(l,m[0],m[1])}})),n.extend=function(m,l){return m.$i||(m(l,g,n),m.$i=!0),n},n.locale=r,n.isDayjs=t,n.unix=function(m){return n(1e3*m)},n.en=Q[fe],n.Ls=Q,n.p={},n}))})(De)),De.exports}var at=st();const ee=Me(at);var Oe={exports:{}},ot=Oe.exports,Le;function ut(){return Le||(Le=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,q=L.format;R.en.formats=i,L.format=function(K){K===void 0&&(K="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,J=(function(W,ne){return W.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(Z,te,ie){var ce=ie&&ie.toUpperCase();return te||ne[ie]||i[ie]||ne[ce].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(ye,be,le){return be||le.slice(1)}))}))})(K,w===void 0?{}:w);return q.call(this,J)}}}))})(Oe)),Oe.exports}var ct=ut();const ft=Me(ct);ee.extend(ft);function dt(){Date.prototype.add=function(s,e){return ee(this).add(s,e).toDate()},Date.prototype.diff=function(s,e){return ee(this).diff(s,e)},Date.prototype.endOf=function(s){return ee(this).endOf(s).toDate()},Date.prototype.firstDayOfMonth=function(){return ee(this).startOf("month").toDate()},Date.prototype.isAfter=function(s,e){return ee(this).isAfter(s,e)},Date.prototype.isBefore=function(s,e){return ee(this).isBefore(s,e)},Date.prototype.format=function(s){return ee(this).format(s)},Date.prototype.isValid=function(){return ee(this).isValid()},Date.prototype.subtract=function(s,e){return ee(this).subtract(s,e).toDate()},Date.prototype.lastDayOfMonth=function(){return ee(this).endOf("month").toDate()},Date.prototype.set=function(s,e){return ee(this).set(s,e).toDate()},Date.prototype.startOf=function(s){return ee(this).startOf(s).toDate()}}function lt(){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))}}z.BreakPointHelper=F,z.BreakPoints=ge,z.BrowserHelper=X,z.BrowserService=ht,z.BrowserType=H,z.CsvHelper=Be,z.EnumHelper=Ze,z.FileHelper=Ge,z.LocalStorageHelper=me,z.LoggerHelper=B,z.LoggerType=pe,z.ScreenHelper=_e,z.TokenHelper=rt,z.copyToClipboard=je,z.initArrayExtensions=nt,z.initDateExtensions=dt,z.initStringExtensions=lt,z.saveAs=$e,z.sortHelper=Ae,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oardi/ts-utils",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "utility services, types",
5
5
  "main": "index.cjs.js",
6
6
  "module": "index.es.js",