;/*!node_modules/papaparse/papaparse.min.js*/amis.define('c68beff',function(require,exports,module,define){/* @license Papa Parse v5.4.1 https://github.com/mholt/PapaParse License: MIT */!function(e,t){"function"==typeofdefine&&define.amd?define([],t):"object"==typeofmodule&&"undefined"!=typeofexports?module.exports=t():e.Papa=t()}(this,functions(){"use strict";varf="undefined"!=typeofself?self:"undefined"!=typeofwindow?window:void0!==f?f:{};varn=!f.document&&!!f.postMessage,o=f.IS_PAPA_WORKER||!1,a={},u=0,b={parse:function(e,t){varr=(t=t||{}).dynamicTyping||!1;J(r)&&(t.dynamicTypingFunction=r,r={});if(t.dynamicTyping=r,t.transform=!!J(t.transform)&&t.transform,t.worker&&b.WORKERS_SUPPORTED){vari=function(){if(!b.WORKERS_SUPPORTED)return!1;vare=(r=f.URL||f.webkitURL||null,i=s.toString(),b.BLOB_URL||(b.BLOB_URL=r.createObjectURL(newBlob(["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; ","(",i,")();"],{type:"text/javascript"})))),t=newf.Worker(e);varr,i;returnt.onmessage=_,t.id=u++,a[t.id]=t}();returni.userStep=t.step,i.userChunk=t.chunk,i.userComplete=t.complete,i.userError=t.error,t.step=J(t.step),t.chunk=J(t.chunk),t.complete=J(t.complete),t.error=J(t.error),deletet.worker,voidi.postMessage({input:e,config:t,workerId:i.id})}varn=null;b.NODE_STREAM_INPUT,"string"==typeofe?(e=function(e){if(65279===e.charCodeAt(0))returne.slice(1);returne}(e),n=t.download?newl(t):newp(t)):!0===e.readable&&J(e.read)&&J(e.on)?n=newg(t):(f.File&&einstanceofFile||einstanceofObject)&&(n=newc(t));returnn.stream(e)},unparse:function(e,t){varn=!1,_=!0,m=",",y="\r\n",s='"',a=s+s,r=!1,i=null,o=!1;!function(){if("object"!=typeoft)return;"string"!=typeoft.delimiter||b.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(m=t.delimiter);("boolean"==typeoft.quotes||"function"==typeoft.quotes||Array.isArray(t.quotes))&&(n=t.quotes);"boolean"!=typeoft.skipEmptyLines&&"string"!=typeoft.skipEmptyLines||(r=t.skipEmptyLines);"string"==typeoft.newline&&(y=t.newline);"string"==typeoft.quoteChar&&(s=t.quoteChar);"boolean"==typeoft.header&&(_=t.header);if(Array.isArray(t.columns)){if(0===t.columns.length)thrownewError("Option columns is empty");i=t.columns}void0!==t.escapeChar&&(a=t.escapeChar+s);("boolean"==typeoft.escapeFormulae||t.escapeFormulaeinstanceofRegExp)&&(o=t.escapeFormulaeinstanceofRegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}();varu=newRegExp(Q(s),"g");"string"==typeofe&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))returnh(null,e,r);if("object"==typeofe[0])returnh(i||Object.keys(e[0]),e,r)}elseif("object"==typeofe)return"string"==typeofe.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||i),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeofe.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeofe.data[0]||(e.data=[e.data])),h(e.fields||[],e.data||[],r);thrownewError("Unable to serialize unrecognized input");functionh(e,t,r){vari="";"string"==typeofe&&(e=JSON.parse(e)),"string"==typeoft&&(t=JSON.parse(t));varn=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(n&&_){for(vara=0;a<e.length;a++)0<a&&(i+=m),i+=v(e[a],a);0<t.length&&(i+=y)}for(varo=0;o<t.length;o++){varu=n?e.length:t[o].length,h=!1,f=n?0===Object.keys(t[o]).length:0===t[o].length;if(r&&!n&&(h="greedy"===r?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===r&&n){for(vard=[],l=0;l<u;l++){varc=s?e[l]:l;d.push(t[o][c])}h=""===d.join("").trim()}if(!h){for(varp=0;p<u;p++){0<p&&!f&&(i+=m);varg=n&&s?e[p]:p;i+=v(t[o][g],p)}o<t.length-1&&(!r||0<u&&!f)&&(i+=y)}}returni}functionv(e,t){if(null==e)return"";if(e.constructor===Date)returnJSON.stringify(e).slice(1,25);varr=!1;o&&"string"==typeofe&&o.test(e)&&(e="'"+e,r=!0);vari=e.toString().replace(u,a);return(r=r||!0===n||"function"==typeofn&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(varr=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1}(i,b.BAD_DELIMITERS)||-1<i.indexOf(m)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?s+i+s:i}}};if(b.RECORD_SEP=String.fromCharCode(30),b.UNIT_SEP=String.fromCharCode(31),b.BYTE_ORDER_MARK="\ufeff",b.BAD_DELIMITERS=["\r","\n",'"',b.BYTE_ORDER_MARK],b.WORKERS_SUPPORTED=!n&&!!f.Worker,b.NODE_STREAM_INPUT=1,b.LocalChunkSize=10485760,b.RemoteChunkSize=5242880,b.DefaultDelimiter=",",b.Parser=E,b.ParserHandle=r,b.NetworkStreamer=l,b.FileStreamer=c,b.StringStreamer=p,b.ReadableStreamStreamer=g,f.jQuery){vard=f.jQuery;d.fn.parse=function(o){varr=o.config||{},u=[];returnthis.each(function(e){if(!("INPUT"===d(this).prop("tagName").toUpperCase()&&"file"===d(this).attr("type").toLowerCase()&&f.FileReader)||!this.files||0===this.files.length)return!0;for(vart=0;t<this.files.length;t++)u.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},r)})}),e(),this;functione(){if(0!==u.length){vare,t,r,i,n=u[0];if(J(o.before)){vars=o.before(n.file,n.inputElem);if("object"==typeofs){if("abort"===s.action)returne="AbortError",t=n.file,r=n.inputElem,i=s.reason,void(J(o.error)&&o.error({name:e},t,r,i));if("skip"===s.action)returnvoidh();"object"==typeofs.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config))}elseif("skip"===s)returnvoidh()}vara=n.instanceConfig.complete;n.instanceConfig.complete=function(e){J(a)&&a(e,n.file,n.inputElem),h()},b.parse(n.file,n.instanceConfig)}elseJ(o.complete)&&o.complete()}functionh(){u.splice(0,1),e()}}}functionh(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(e){vart=w(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=newr(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&J(this._config.beforeFirstChunk)){varr=this._config.beforeFirstChunk(e);void0!==r&&(e=r)}this.isFirstChunk=!1,this._halted=!1;vari=this._partialLine+e;this._partialLine="";varn=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){vars=n.meta.cursor;this._finished||(this._partialLine=i.substring(s-this._baseIndex),this._baseIndex=s),n&&n.data&&(this._rowCount+=n.data.length);vara=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)f.postMessage({results:n,workerId:b.WORKER_ID,finished:a});elseif(J(this._config.chunk)&&!t){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())returnvoid(this._halted=!0);n=void0,this._completeResults=void0}returnthis._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!a||!J(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0},this._sendError=function(e){J(this._config.error)?this._config.error(e):o&&this._config.error&&f.postMessage({workerId:b.WORKER_ID,error:e,finished:!1})}}functionl(e){vari;(e=e||{}).chunkSize||(e.chunkSize=b.RemoteChunkSize),h.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(i=newXMLHttpRequest,this._config.withCredentials&&(i.withCredentials=this._config.withCredentials),n||(i.onload=v(this._chunkLoaded,this),i.onerror=v(this._chunkError,this)),i.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){vare=this._config.downloadRequestHeaders;for(vartine)i.setRequestHeader(t,e[t])}if(this._config.chunkSize){varr=this._start+this._config.chunkSize-1;i.setRequestHeader("Range","bytes="+this._start+"-"+r)}try{i.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===i.status&&this._chunkError()}},this._chunkLoaded=function(){4===i.readyState&&(i.status<200||400<=i.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:i.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){vart=e.getResponseHeader("Content-Range");if(null===t)return-1;returnparseInt(t.substring(t.lastIndexOf("/")+1))}(i),this.parseChunk(i.responseText)))},this._chunkError=function(e){vart=i.statusText||e;this._sendError(newError(t))}}functionc(e){vari,n;(e=e||{}).chunkSize||(e.chunkSize=b.LocalChunkSize),h.call(this,e);vars="undefined"!=typeofFileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,s?((i=newFileReader).onload=v(this._chunkLoaded,this),i.onerror=v(this._chunkError,this)):i=newFileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){vare=this._input;if(this._config.chunkSize){vart=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,t)}varr=i.readAsText(e,this._config.encoding);s||this._chunkLoaded({target:{result:r}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(i.error)}}functionp(e){varr;h.call(this,e=e||{}),this.stream=function(e){returnr=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){vare,t=this._config.chunkSize;returnt?(e=r.substring(0,t),r=r.substring(t)):(e=r,r=""),this._finished=!r,this.parseChunk(e)}}}functiong(e){h.call(this,e=e||{});vart=[],r=!0,i=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=v(function(e){try{t.push("string"==typeofe?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=v(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=v(function(){this._streamCleanUp(),i=!0,this._streamData("")},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}functionr(m){vara,o,u,i=Math.pow(2,53),n=-i,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,h=/^((\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)))$/,t=this,r=0,f=0,d=!1,e=!1,l=[],c={data:[],errors:[],meta:{}};if(J(m.step)){varp=m.step;m.step=function(e){if(c=e,_())g();else{if(g(),0===c.data.length)return;r+=e.data.length,m.preview&&r>m.preview?o.abort():(c.data=c.data[0],p(c,t))}}}functiony(e){return"greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}functiong(){returnc&&u&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),u=!1),m.skipEmptyLines&&(c.data=c.data.filter(function(e){return!y(e)})),_()&&function(){if(!c)return;functione(e,t){J(m.transformHeader)&&(e=m.transformHeader(e,t)),l.push(e)}if(Array.isArray(c.data[0])){for(vart=0;_()&&t<c.data.length;t++)c.data[t].forEach(e);c.data.splice(0,1)}elsec.data.forEach(e)}(),function(){if(!c||!m.header&&!m.dynamicTyping&&!m.transform)returnc;functione(e,t){varr,i=m.header?{}:[];for(r=0;r<e.length;r++){varn=r,s=e[r];m.header&&(n=r>=l.length?"__parsed_extra":l[r]),m.transform&&(s=m.transform(s,n)),s=v(n,s),"__parsed_extra"===n?(i[n]=i[n]||[],i[n].push(s)):i[n]=s}returnm.header&&(r>l.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+l.length+" fields but parsed "+r,f+t):r<l.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+l.length+" fields but parsed "+r,f+t)),i}vart=1;!c.data.length||Array.isArray(c.data[0])?(c.data=c.data.map(e),t=c.data.length):c.data=e(c.data,0);m.header&&c.meta&&(c.meta.fields=l);returnf+=t,c}()}function_(){returnm.header&&0===l.length}functionv(e,t){returnr=e,m.dynamicTypingFunction&&void0===m.dynamicTyping[r]&&(m.dynamicTyping[r]=m.dynamicTypingFunction(r)),!0===(m.dynamicTyping[r]||m.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(function(e){if(s.test(e)){vart=parseFloat(e);if(n<t&&t<i)return!0}return!1}(t)?parseFloat(t):h.test(t)?newDate(t):""===t?null:t):t;varr}functionk(e,t,r,i){varn={type:e,code:t,message:r};void0!==i&&(n.row=i),c.errors.push(n)}this.parse=function(e,t,r){vari=m.quoteChar||'"';if(m.newline||(m.newline=function(e,t){e=e.substring(0,1048576);varr=newRegExp(Q(t)+"([^]*?)"+Q(t),"gm"),i=(e=e.replace(r,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<i[0].length;if(1===i.length||s)return"\n";for(vara=0,o=0;o<i.length;o++)"\n"===i[o][0]&&a++;returna>=i.length/2?"\r\n":"\r"}(e,i)),u=!1,m.delimiter)J(m.delimiter)&&(m.delimiter=m.delimiter(e),c.meta.delimiter=m.delimiter);else{varn=function(e,t,r,i,n){vars,a,o,u;n=n||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(varh=0;h<n.length;h++){varf=n[h],d=0,l=0,c=0;o=void0;for(varp=newE({comments:i,delimiter:f,newline:t,preview:10}).parse(e),g=0;g<p.data.length;g++)if(r&&y(p.data[g]))c++;else{var_=p.data[g].length;l+=_,void0!==o?0<_&&(d+=Math.abs(_-o),o=_):o=_}0<p.data.length&&(l/=p.data.length-c),(void0===a||d<=a)&&(void0===u||u<l)&&1.99<l&&(a=d,s=f,u=l)}return{successful:!!(m.delimiter=s),bestDelimiter:s}}(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess);n.successful?m.delimiter=n.bestDelimiter:(u=!0,m.delimiter=b.DefaultDelimiter),c.meta.delimiter=m.delimiter}vars=w(m);returnm.preview&&m.header&&s.preview++,a=e,o=newE(s),c=o.parse(a,t,r),g(),d?{meta:{paused:!0}}:c||{meta:{paused:!1}}},this.paused=function(){returnd},this.pause=function(){d=!0,o.abort(),a=J(m.chunk)?"":a.substring(o.getCharIndex())},this.resume=function(){t.streamer._halted?(d=!1,t.streamer.parseChunk(a,!0)):setTimeout(t.resume,3)},this.aborted=function(){returne},this.abort=function(){e=!0,o.abort(),c.meta.aborted=!0,J(m.complete)&&m.complete(c),a=""}}functionQ(e){returne.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}functionE(j){varz,M=(j=j||{}).delimiter,P=j.newline,U=j.comments,q=j.step,N=j.preview,B=j.fastMode,K=z=void0===j.quoteChar||null===j.quoteChar?'"':j.quoteChar;if(void0!==j.escapeChar&&(K=j.escapeChar),("string"!=typeofM||-1<b.BAD_DELIMITERS.indexOf(M))&&(M=","),U===M)thrownewError("Comment character same as delimiter");!0===U?U="#":("string"!=typeofU||-1<b.BAD_DELIMITERS.indexOf(U))&&(U=!1),"\n"!==P&&"\r"!==P&&"\r\n"!==P&&(P="\n");varW=0,H=!1;this.parse=function(i,t,r){if("string"!=typeofi)thrownewError("Input must be a string");varn=i.length,e=M.length,s=P.length,a=U.length,o=J(q),u=[],h=[],f=[],d=W=0;if(!i)returnL();if(j.header&&!t){varl=i.split(P)[0].split(M),c=[],p={},g=!1;for(var_inl){varm=l[_];J(j.transformHeader)&&(m=j.transformHeader(m,_));vary=m,v=p[m]||0;for(0<v&&(g=!0,y=m+"_"+v),p[m]=v+1;c.includes(y);)y=y+"_"+v;c.push(y)}if(g){vark=i.split(P);k[0]=c.join(M),i=k.join(P)}}if(B||!1!==B&&-1===i.indexOf(z)){for(varb=i.split(P),E=0;E<b.length;E++){if(f=b[E],W+=f.length,E!==b.length-1)W+=P.length;elseif(r)returnL();if(!U||f.substring(0,a)!==U){if(o){if(u=[],I(f.split(M)),F(),H)returnL()}elseI(f.split(M));if(N&&N<=E)returnu=u.slice(0,N),L(!0)}}returnL()}for(varw=i.indexOf(M,W),R=i.indexOf(P,W),C=newRegExp(Q(K)+Q(z),"g"),S=i.indexOf(z,W);;)if(i[W]!==z)if(U&&0===f.length&&i.substring(W,W+a)===U){if(-1===R)returnL();W=R+s,R=i.indexOf(P,W),w=i.indexOf(M,W)}elseif(-1!==w&&(w<R||-1===R))f.push(i.substring(W,w)),W=w+e,w=i.indexOf(M,W);else{if(-1===R)break;if(f.push(i.substring(W,R)),D(R+s),o&&(F(),H))returnL();if(N&&u.length>=N)returnL(!0)}elsefor(S=W,W++;;){if(-1===(S=i.indexOf(z,S+1)))returnr||h.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:u.length,index:W}),T();if(S===n-1)returnT(i.substring(W,S).replace(C,z));if(z!==K||i[S+1]!==K){if(z===K||0===S||i[S-1]!==K){-1!==w&&w<S+1&&(w=i.indexOf(M,S+1)),-1!==R&&R<S+1&&(R=i.indexOf(P,S+1));varO=A(-1===R?w:Math.min(w,R));if(i.substr(S+1+O,e)===M){f.push(i.substring(W,S).replace(C,z)),i[W=S+1+O+e]!==z&&(S=i.indexOf(z,W)),w=i.indexOf(M,W),R=i.indexOf(P,W);break}varx=A(R);if(i.substring(S+1+x,S+1+x+s)===P){if(f.push(i.substring(W,S).replace(C,z)),D(S+1+x+s),w=i.indexOf(M,W),S=i.indexOf(z,W),o&&(F(),H))returnL();if(N&&u.length>=N)returnL(!0);break}h.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:u.length,index:W}),S++}}elseS++}returnT();functionI(e){u.push(e),d=W}functionA(e){vart=0;if(-1!==e){varr=i.substring(S+1,e);r&&""===r.trim()&&(t=r.length)}returnt}functionT(e){returnr||(void0===e&&(e=i.substring(W)),f.push(e),W=n,I(f),o&&F()),L()}functionD(e){W=e,I(f),f=[],R=i.indexOf(P,W)}functionL(e){return{data:u,errors:h,meta:{delimiter:M,linebreak:P,aborted:H,truncated:!!e,cursor:d+(t||0)}}}functionF(){q(L()),u=[],h=[]}},this.abort=function(){H=!0},this.getCharIndex=function(){returnW}}function_(e){vart=e.data,r=a[t.workerId],i=!1;if(t.error)r.userError(t.error,t.file);elseif(t.results&&t.results.data){varn={abort:function(){i=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(J(r.userStep)){for(vars=0;s<t.results.data.length&&(r.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!i);s++);deletet.results}elseJ(r.userChunk)&&(r.userChunk(t.results,n,t.file),deletet.results)}t.finished&&!i&&m(t.workerId,t.results)}functionm(e,t){varr=a[e];J(r.userComplete)&&r.userComplete(t),r.terminate(),deletea[e]}functiony(){thrownewError("Not implemented.")}functionw(e){if("object"!=typeofe||null===e)returne;vart=Array.isArray(e)?[]:{};for(varrine)t[r]=w(e[r]);returnt}functionv(e,t){returnfunction(){e.apply(t,arguments)}}functionJ(e){return"function"==typeofe}returno&&(f.onmessage=function(e){vart=e.data;void0===b.WORKER_ID&&t&&(b.WORKER_ID=t.workerId);if("string"==typeoft.input)f.postMessage({workerId:b.WORKER_ID,results:b.parse(t.input,t.config),finished:!0});elseif(f.File&&t.inputinstanceofFile||t.inputinstanceofObject){varr=b.parse(t.input,t.config);r&&f.postMessage({workerId:b.WORKER_ID,results:r,finished:!0})}}),(l.prototype=Object.create(h.prototype)).constructor=l,(c.prototype=Object.create(h.prototype)).constructor=c,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(h.prototype)).constructor=g,b});});