UNPKG

@dbp-topics/dispatch

Version:

[GitHub Repository](https://github.com/digital-blueprint/dispatch-frontend) | [npmjs package](https://www.npmjs.com/package/@dbp-topics/dispatch) | [Unpkg CDN](https://unpkg.com/browse/@dbp-topics/dispatch/) | [Dispatch Bundle](https://github.com/digital-

35 lines 667 kB
const e=["ext","key_ops","alg","use"],t=["encryptedKey"],i=["encryptedKey"];let o,n,r,s,a,l,h,c,d,u,p,m,f,g,b,v,w,y,C,E,x,k,T,R,S,A,P,M,D,L,O,_,F,H,z,N,B,I,j,W=e=>e;function V(e,t){if(null==e)return{};var i,o,n={},r=Object.keys(e);for(o=0;o<r.length;o++)i=r[o],t.indexOf(i)>=0||(n[i]=e[i]);return n}function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},U.apply(this,arguments)} /*! * License: LGPL-2.1-or-later * Dependencies: * * @webcomponents/scoped-custom-element-registry: BSD-3-Clause * @dbp-toolkit/app-shell: LGPL-2.1-or-later * @dbp-toolkit/language-select: LGPL-2.1-or-later * @dbp-toolkit/common: LGPL-2.1-or-later * @dbp-toolkit/auth: LGPL-2.1-or-later * event-target-shim: MIT * @dbp-toolkit/notification: LGPL-2.1-or-later * @dbp-toolkit/theme-switcher: LGPL-2.1-or-later * path-to-regexp: MIT * universal-router: MIT * generateUrls: MIT * @dbp-toolkit/matomo: LGPL-2.1-or-later * @tugraz/web-components: LGPL-2.1-or-later * @babel/runtime: MIT * i18next: MIT * @lit/reactive-element: BSD-3-Clause * lit-html: BSD-3-Clause * lit-element: BSD-3-Clause * @open-wc/dedupe-mixin: MIT * @open-wc/scoped-elements: MIT * @popperjs/core: MIT * tippy.js: MIT * @dbp-toolkit/tooltip: LGPL-2.1-or-later * @dbp-toolkit/person-select: LGPL-2.1-or-later * @dbp-toolkit/file-handling: LGPL-2.1-or-later * file-saver: MIT * webdav: MIT * tabulator-tables: MIT * jose: MIT */import{c as G,i as $,S as K,D as J,I as q,M as X,z as Y,y as Z,b as Q,f as ee,O as te,t as ie,v as oe,u as ne,n as re,o as se,A as ae,s as le,g as he}from"./notification.431b7aff.es.js";import{c as ce}from"./_commonjsHelpers.e3705ba7.es.js";var de={clipboard:{"add-files":"Dateien der Zwischenablage hinzufügen","add-files-btn":"Dateien hinzufügen","clear-clipboard-body":"Die Zwischenablage wurde erfolgreich geleert.","clear-clipboard-title":"Zwischenablage geleert","clear-count-clipboard-body":"Eine Datei wurde erfolgreich aus der Zwischenablage entfernt.","clear-count-clipboard-body_plural":"{{count}} Dateien wurde erfolgreich aus der Zwischenablage entfernt.","clear-count-clipboard-title":"Datei entfernt","clear-count-clipboard-title_plural":"Dateien entfernt","file-mod":"Geändert","file-name":"Name","file-size":"Größe","file-type":"Art","file-warning":"Achtung!","file-warning-body":"Es befindet sich noch eine Datei in der Zwischenablage. Die Zwischenablage wird beim Verlassen der Seite verworfen.","file-warning-body_plural":"Es befinden sich noch {{count}} Dateien in der Zwischenablage. Die Zwischenablage wird beim Verlassen der Seite verworfen.","no-data":"Aktuell befinden sich keine Dateien in der Zwischenablage.","remove-all":"Alle Dateien aus der Zwischenablage entfernen","remove-all-btn":"Dateien entfernen","remove-count":"Eine Datei aus der Zwischenablage entfernen","remove-count_plural":"{{count}} Dateien aus der Zwischenablage entfernen","remove-count-btn":"Datei entfernen","remove-count-btn_plural":"{{count}} Dateien entfernen","save-all":"Alle Dateien aus der Zwischenablage sichern","save-all-btn":"Dateien sichern","save-count":"Eine Datei aus der Zwischenablage sichern","save-count_plural":"{{count}} Dateien aus der Zwischenablage sichern","save-count-btn":"Datei sichern","save-count-btn_plural":"{{count}} Dateien sichern","saved-files-body":"Eine Datei wurde erfolgreich temporär in der Zwischenablage abgelegt und kann jetzt innerhalb dieser Applikation verwendet werden.","saved-files-body_plural":"{{count}} Dateien wurde erfolgreich temporär in der Zwischenablage abgelegt und können jetzt innerhalb dieser Applikation verwendet werden.","saved-files-title":"Datei erfolgreich abgelegt","saved-files-title_plural":"Dateien erfolgreich abgelegt","select-all":"Alle auswählen","select-nothing":"Nichts auswählen","sink-btn":"{{count}} Datei ablegen","sink-btn_plural":"{{count}} Dateien ablegen","sink-title":"Dateien in der Zwischenablage ablegen","source-btn":"Datei auswählen","source-btn_plural":"{{count}} Dateien auswählen","source-btn-none":"Dateien auswählen","source-title":"Von der Zwischenablage auswählen","upload-area-text":"Sie können in diesem Bereich Dokumente per Drag & Drop oder per Direktauswahl hochladen.","upload-button-label":"Dateien auswählen",warning:"Vorsicht! Wenn Sie den Browser schließen oder die Seite neu laden wird die bestehende Zwischenablage automatisch verworfen!"},"demo-title":"Datei Abgabe Demo","file-sink":{clipboard:"Zwischenablage","local-button":"Datei herunterladen","local-button_plural":"Dateien herunterladen","local-intro":"{{count}} Datei herunterladen","local-intro_plural":"{{count}} Dateien herunterladen","modal-close":"Dialog schließen","nav-local":"Lokaler Computer","select-directory":"","upload-success-body":"Sie haben {{count}} Datei erfolgreich in {{name}} hochgeladen.","upload-success-body_plural":"Sie haben {{count}} Dateien erfolgreich in {{name}} hochgeladen.","upload-success-title":"Erfolgreich hochgeladen"},"file-source":{clipboard:"Zwischenablage","mime-type-body":"Das Dateiformat wird von dieser Applikation nicht unterstützt.","mime-type-title":"Nicht unterstützes Dateiformat","modal-close":"Dialog schließen","nav-local":"Lokaler Computer","no-usable-files-hint":"Laden Sie eine ZIP Datei mit Dateien von folgendem Typ hoch: ","no-usable-files-in-zip":"ZIP Datei enthält keine verwendbaren Dateien","open-menu":"","too-big-file-body":"Die Datei darf maximal {{size}} haben.","too-big-file-title":"Datei ist zu groß!"},intro:"Sie können in diesem Bereich Dateien per Drag & Drop oder per Direktauswahl hochladen. Die Dateien dürfen sich auch in ZIP-Archiven befinden.","nextcloud-file-picker":{abort:"Vorgang abbrechen","abort-message":"Vorgang wurde abgebrochen.","add-folder":"Neuen Ordner erstellen","add-folder-close":"Neuer Ordner Dialog schließen","add-folder-error":'Die Ressource "{{folder}}" ist bereits vorhanden.',"add-folder-error-empty":"Der Ordnername darf nicht leer sein.","add-folder-open":"Neuer Ordner Dialog öffnen","add-folder-success":'Der Ordner "{{folder}}" wurde erfolgreich erstellt.',"all-recent-files-link-text":"Alle neuesten Dateien","auth-info":"Eine neue Seite wird geöffnet, um Ihr Konto zu verbinden.","auth-progress":"Anmeldung läuft","connect-nextcloud":"{{name}} verbinden","error-save-to-favorites":"Speichern in Favoriten nicht möglich! Bitte wählen Sie einen Ordner innerhalb der Favoriten aus.","error-save-to-recent":"Speichern in den neuesten Dateien nicht möglich! Bitte wählen Sie einen Ordner innerhalb der neuesten Dateien aus.","favorites-link-text":"Meine Favoriten","favorites-title":"Favoriten",filename:"Name","folder-home":"In das Home Verzeichnis springen","init-text-1":"Wählen Sie Ihre Dateien von {{name}}.","init-text-2":"Sie müssen sich zuerst authentifizieren.","last-modified":"Geändert","load-in-folder":"Ins aktuelle Verzeichnis laden","load-path-link":"Gehe zu {{path}}","load-to-folder":"Im ausgewählten Ordner hochladen","loadpath-nextcloud-file-picker":"Das {{name}} Verzeichnis wird geladen.","log-out":"Verbindung trennen","mime-type":"Art","more-menu":"","my-recent-files-link-text":"Meine neuesten Dateien","my-recent-files-title":"Meine neuesten Dateien","new-folder-dialog-button-cancel":"Abbrechen","new-folder-dialog-button-ok":"Erstellen","new-folder-dialog-default-name":"Neuer Ordner","new-folder-dialog-label":"Name eingeben:","new-folder-dialog-title":"Neuen Ordner erstellen","new-folder-placeholder":"Neuer Ordner","no-data":"In diesem Ordner befinden sich keine Dateien.","no-data-type":"In diesem Ordner befinden sich keine Dateien vom benötigten Typ.","no-favorites":"Es wurden keine Favoriten des entsprechenden Typs gefunden. Definieren Sie Dateien und Ordner in Ihrer {{name}} als Favoriten, um diese hier anzuzeigen.","no-recent-files":"Es wurden keine entsprechenden Dateien und Ordner innerhalb der letzten 3 Monate gefunden.",onlycreate:"Sie dürfen in diesem Ordner nur neue Dateien erstellen.",onlyedit:"Sie dürfen in diesem Ordner nur Dateien bearbeiten.","open-nextcloud-file-picker":"Dateien von {{name}} wählen",readonly:"Sie dürfen in diesem Ordner nichts hochladen.","recent-files-title":"Neueste Dateien","refresh-nextcloud-file-picker":"Erneut verbinden","remember-me":"Mit {{name}} verbunden bleiben","replace-cancel":"Abbrechen","replace-cancel-all":"Alle abbrechen","replace-mode-all":"Für alle zukünftigen Konflikte übernehmen","replace-new_name":"Neuer Name","replace-replace":"Ersetzen","replace-skip":"Überspringen","replace-text":"Was möchten Sie tun","replace-title-1":"Es ist bereits eine Datei mit dem Namen ","replace-title-2":" vorhanden","select-files":"Dateien auswählen","select-files-btn":"Datei auswählen","select-files-btn_plural":"{{count}} Dateien auswählen",size:"Größe","something-went-wrong":"Etwas ist schief gelaufen. Bitte verbinden Sie sich erneut.","upload-to":"Es wird nach {{- path}} hochgeladen ...","webdav-error":"Etwas ist schief gelaufen: {{error}}","file-error":"Das Dateiformat wird nicht unterstützt oder die Datei ist fehlerhaft und konnte nicht hochgeladen werden.",forbidden:"Sie sind nicht berechtigt, diese Aktion in diesem Ordner auszuführen.","file-upload-error":"Entschuldigung, etwas ist schief gelaufen. Bitte versuchen Sie es später noch einmal."},"upload-label":"Dateiauswahl"},ue={clipboard:{"add-files":"Add files to clipboard","add-files-btn":"Add files","clear-clipboard-body":"The clipboard was successfully cleared.","clear-clipboard-title":"Clipboard cleared","clear-count-clipboard-body":"One file was successfully removed from clipboard.","clear-count-clipboard-body_plural":"{{count}} files were successfully removed from clipboard.","clear-count-clipboard-title":"File removed","clear-count-clipboard-title_plural":"Files removed","file-mod":"Last modified","file-name":"Name","file-size":"Size","file-type":"Type","file-warning":"Attention!","file-warning-body":"There is still a file on the clipboard. The clipboard is discarded when you exit the page.","file-warning-body_plural":"There are still {{count}} files on the clipboard. The clipboard is discarded when you exit the page.","no-data":"There are no files","remove-all":"Remove all files from the clipboard","remove-all-btn":"Remove all","remove-count":"Remove file from the clipboard","remove-count_plural":"Remove {{count}} files from the clipboard","remove-count-btn":"Remove file","remove-count-btn_plural":"Remove {{count}} files","save-all":"Save all files from the clipboard","save-all-btn":"Save all","save-count":"Save one file from the clipboard","save-count_plural":"Save {{count}} files from the clipboard","save-count-btn":"Save file","save-count-btn_plural":"Save {{count}} files","saved-files-body":"A file was successfully stored temporarily in the clipboard and can now be used within this application.","saved-files-body_plural":"{{count}} files were successfully stored temporarily in the clipboard and can now be used within this application.","saved-files-title":"File successfully filed","saved-files-title_plural":"Files successfully filed","select-all":"Select all","select-nothing":"Select nothing","sink-btn":"Store {{count}} file","sink-btn_plural":"Store {{count}} files","sink-title":"Store files on the clipboard","source-btn":"Select file","source-btn_plural":"Select {{count}} files","source-btn-none":"Select files","source-title":"Select files from clipboard","upload-area-text":"In this area you can upload documents up to a size of 32MB via Drag & Drop or by selecting them directly. ","upload-button-label":"Load to clipboard",warning:"Attention! If you close the browser or reload the page the existing clipboard is automatically discarded!"},"demo-title":"File Upload Demo","file-sink":{clipboard:"Clipboard","local-button":"Download file","local-button_plural":"Download files","local-intro":"Download {{count}} file","local-intro_plural":"Download {{count}} files","modal-close":"Close dialog","nav-local":"My device","select-directory":"","upload-success-body":"You have successfully uploaded {{count}} file to {{name}}.","upload-success-body_plural":"You have successfully uploaded {{count}} files to {{name}}.","upload-success-title":"Successful uploaded"},"file-source":{clipboard:"Clipboard","mime-type-body":"The file format is not supported by this application.","mime-type-title":"Unsupported file format","modal-close":"Close dialog","nav-local":"My device","no-usable-files-hint":"Upload a ZIP file with file type(s) of ","no-usable-files-in-zip":"ZIP file does not contain any usable files","open-menu":"","too-big-file-body":"The file can have a maximum of {{size}}.","too-big-file-title":"The file is too big!"},intro:"Upload multiple files with the file dialog or by dragging and dropping images onto the dashed region.","nextcloud-file-picker":{abort:"Cancel process","abort-message":"The process was canceled.","add-folder":"Add new folder","add-folder-close":"Close new folder dialogue","add-folder-error":'The resource "{{folder}}" you tried to create already exists.',"add-folder-error-empty":"The folder name can not be empty.","add-folder-open":"Open new folder dialogue","add-folder-success":"The folder '{{folder}}' was created successfully.","all-recent-files-link-text":"All Recent Files","auth-info":"A new page will open to connect your account.","auth-progress":"Authentification in progress","connect-nextcloud":"Connect {{name}}","error-save-to-favorites":"Saving to Favorites not possible! Please select a folder within the Favorites.","error-save-to-recent":"Saving to Recent Files not possible! Please select a folder within the Recent Files.","favorites-link-text":"My Favorites","favorites-title":"Favorites",filename:"Filename","folder-home":"Jump to the home directory","init-text-1":"Chose your files from {{name}}.","init-text-2":"You need to authenticate first.","last-modified":"Last modified","load-in-folder":"Load into the current directory","load-path-link":"Go to {{path}}","load-to-folder":"Upload to the selected folder","loadpath-nextcloud-file-picker":"Loading directory from {{name}}.","log-out":"Disconnect","mime-type":"Type","more-menu":"","my-recent-files-link-text":"My Recent Files","my-recent-files-title":"My Recent Files","new-folder-dialog-button-cancel":"Cancel","new-folder-dialog-button-ok":"Create","new-folder-dialog-default-name":"New folder","new-folder-dialog-label":"Enter a name:","new-folder-dialog-title":"Create a new folder","new-folder-placeholder":"New folder","no-data":"No data available in this folder.","no-data-type":"No data available in this folder.","no-favorites":"No favorites of the relevant type were found. Define files and folders as favorites in your {{name}} to display them here","no-recent-files":"No relevant files and folders were found within the last 3 months.",onlycreate:"You are only allowed to create new files in this directory.",onlyedit:"You are only allowed to edit files in this directory.","open-nextcloud-file-picker":"Select files from your {{name}}",readonly:"You are not allowed to uploade files in this directory.","recent-files-title":"Recent Files","refresh-nextcloud-file-picker":"Connect again","remember-me":"Stay connected with {{name}}","replace-cancel":"Cancel","replace-cancel-all":"Cancel all","replace-mode-all":"Do this for the next conflicts","replace-new_name":"New Name","replace-replace":"Replace","replace-skip":"Ignore","replace-text":"What do you want to do","replace-title-1":"There is already a file with the name ","replace-title-2":" in this location","select-files":"Select files","select-files-btn":"Select file","select-files-btn_plural":"Select {{count}} files",size:"Size","something-went-wrong":"Something went wrong. Please reload.","upload-to":"Uploading to {{- path}} ...","webdav-error":"Something went wrong","file-error":"The file format is not supported or the file is corrupt and could not be uploaded.",forbidden:"You don't have permissions to perform this action in this folder.","file-upload-error":"Sorry, something went wrong. Please try again later."},"upload-label":"Select some files"};function pe(){return G({en:ue,de:de},"de","en")}var me,fe={};self,me=()=>(()=>{var e={5056:(e,t,i)=>{e.exports=i(203)},3198:(e,t,i)=>{var o=i(3401),n=i(5888),r=i(4963),s=i(8826),a=i(4466),l=i(8418),h=i(6130),c=i(8760),d=i(4200),u=i(2800),p=i(4830);e.exports=function(e){return new Promise((function(t,i){var m,f=e.data,g=e.headers,b=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}o.isFormData(f)&&o.isStandardBrowserEnv()&&delete g["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+C)}var E=a(e.baseURL,e.url);function x(){if(w){var o="getAllResponseHeaders"in w?l(w.getAllResponseHeaders()):null,r={data:b&&"text"!==b&&"json"!==b?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:o,config:e,request:w};n((function(e){t(e),v()}),(function(e){i(e),v()}),r),w=null}}if(w.open(e.method.toUpperCase(),s(E,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=x:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(x)},w.onabort=function(){w&&(i(new d("Request aborted",d.ECONNABORTED,e,w)),w=null)},w.onerror=function(){i(new d("Network Error",d.ERR_NETWORK,e,w,w)),w=null},w.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",o=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new d(t,o.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,w)),w=null},o.isStandardBrowserEnv()){var k=(e.withCredentials||h(E))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;k&&(g[e.xsrfHeaderName]=k)}"setRequestHeader"in w&&o.forEach(g,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete g[t]:w.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),b&&"json"!==b&&(w.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(e){w&&(i(!e||e&&e.type?new u:e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),f||(f=null);var T=p(E);T&&-1===["http","https","file"].indexOf(T)?i(new d("Unsupported protocol "+T+":",d.ERR_BAD_REQUEST,e)):w.send(f)}))}},203:(e,t,i)=>{var o=i(3401),n=i(9366),r=i(1112),s=i(3674),a=function e(t){var i=new r(t),a=n(r.prototype.request,i);return o.extend(a,r.prototype,i),o.extend(a,i),a.create=function(i){return e(s(t,i))},a}(i(9050));a.Axios=r,a.CanceledError=i(2800),a.CancelToken=i(4078),a.isCancel=i(1907),a.VERSION=i(8963).version,a.toFormData=i(7427),a.AxiosError=i(4200),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=i(7998),a.isAxiosError=i(1720),e.exports=a,e.exports.default=a},4078:(e,t,i)=>{var o=i(2800);function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var i=this;this.promise.then((function(e){if(i._listeners){var t,o=i._listeners.length;for(t=0;t<o;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,o=new Promise((function(e){i.subscribe(e),t=e})).then(e);return o.cancel=function(){i.unsubscribe(t)},o},e((function(e){i.reason||(i.reason=new o(e),t(i.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},n.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},n.source=function(){var e;return{token:new n((function(t){e=t})),cancel:e}},e.exports=n},2800:(e,t,i)=>{var o=i(4200);function n(e){o.call(this,null==e?"canceled":e,o.ERR_CANCELED),this.name="CanceledError"}i(3401).inherits(n,o,{__CANCEL__:!0}),e.exports=n},1907:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},1112:(e,t,i)=>{var o=i(3401),n=i(8826),r=i(9655),s=i(4412),a=i(3674),l=i(4466),h=i(3465),c=h.validators;function d(e){this.defaults=e,this.interceptors={request:new r,response:new r}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var i=t.transitional;void 0!==i&&h.assertOptions(i,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var o=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var r,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!n){var d=[s,void 0];for(Array.prototype.unshift.apply(d,o),d=d.concat(l),r=Promise.resolve(t);d.length;)r=r.then(d.shift(),d.shift());return r}for(var u=t;o.length;){var p=o.shift(),m=o.shift();try{u=p(u)}catch(e){m(e);break}}try{r=s(u)}catch(e){return Promise.reject(e)}for(;l.length;)r=r.then(l.shift(),l.shift());return r},d.prototype.getUri=function(e){e=a(this.defaults,e);var t=l(e.baseURL,e.url);return n(t,e.params,e.paramsSerializer)},o.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,i){return this.request(a(i||{},{method:e,url:t,data:(i||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){function t(t){return function(i,o,n){return this.request(a(n||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},4200:(e,t,i)=>{var o=i(3401);function n(e,t,i,o,n){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),o&&(this.request=o),n&&(this.response=n)}o.inherits(n,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=n.prototype,s={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){s[e]={value:e}})),Object.defineProperties(n,s),Object.defineProperty(r,"isAxiosError",{value:!0}),n.from=function(e,t,i,s,a,l){var h=Object.create(r);return o.toFlatObject(e,h,(function(e){return e!==Error.prototype})),n.call(h,e.message,t,i,s,a),h.name=e.name,l&&Object.assign(h,l),h},e.exports=n},9655:(e,t,i)=>{var o=i(3401);function n(){this.handlers=[]}n.prototype.use=function(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=n},4466:(e,t,i)=>{var o=i(4206),n=i(7955);e.exports=function(e,t){return e&&!o(t)?n(e,t):t}},4412:(e,t,i)=>{var o=i(3401),n=i(8092),r=i(1907),s=i(9050),a=i(2800);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=n.call(e,e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return l(e),t.data=n.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(l(e),t&&t.response&&(t.response.data=n.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},3674:(e,t,i)=>{var o=i(3401);e.exports=function(e,t){t=t||{};var i={};function n(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function r(i){return o.isUndefined(t[i])?o.isUndefined(e[i])?void 0:n(void 0,e[i]):n(e[i],t[i])}function s(e){if(!o.isUndefined(t[e]))return n(void 0,t[e])}function a(i){return o.isUndefined(t[i])?o.isUndefined(e[i])?void 0:n(void 0,e[i]):n(void 0,t[i])}function l(i){return i in t?n(e[i],t[i]):i in e?n(void 0,e[i]):void 0}var h={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return o.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=h[e]||r,n=t(e);o.isUndefined(n)&&t!==l||(i[e]=n)})),i}},5888:(e,t,i)=>{var o=i(4200);e.exports=function(e,t,i){var n=i.config.validateStatus;i.status&&n&&!n(i.status)?t(new o("Request failed with status code "+i.status,[o.ERR_BAD_REQUEST,o.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}},8092:(e,t,i)=>{var o=i(3401),n=i(9050);e.exports=function(e,t,i){var r=this||n;return o.forEach(i,(function(i){e=i.call(r,e,t)})),e}},9050:(e,t,i)=>{var o=i(3401),n=i(5854),r=i(4200),s=i(8760),a=i(7427),l={"Content-Type":"application/x-www-form-urlencoded"};function h(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=i(3198)),c),transformRequest:[function(e,t){if(n(t,"Accept"),n(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return h(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var i,r=o.isObject(e),s=t&&t["Content-Type"];if((i=o.isFileList(e))||r&&"multipart/form-data"===s){var l=this.env&&this.env.FormData;return a(i?{"files[]":e}:e,l&&new l)}return r||"application/json"===s?(h(t,"application/json"),function(e,t,i){if(o.isString(e))try{return(0,JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,i=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,s=!i&&"json"===this.responseType;if(s||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw r.from(e,r.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:i(846)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(l)})),e.exports=d},8760:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},8963:e=>{e.exports={version:"0.27.2"}},9366:e=>{e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];return e.apply(t,i)}}},8826:(e,t,i)=>{var o=i(3401);function n(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,i){if(!t)return e;var r;if(i)r=i(t);else if(o.isURLSearchParams(t))r=t.toString();else{var s=[];o.forEach(t,(function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))})))})),r=s.join("&")}if(r){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},7955:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4963:(e,t,i)=>{var o=i(3401);e.exports=o.isStandardBrowserEnv()?{write:function(e,t,i,n,r,s){var a=[];a.push(e+"="+encodeURIComponent(t)),o.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),o.isString(n)&&a.push("path="+n),o.isString(r)&&a.push("domain="+r),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},4206:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},1720:(e,t,i)=>{var o=i(3401);e.exports=function(e){return o.isObject(e)&&!0===e.isAxiosError}},6130:(e,t,i)=>{var o=i(3401);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function n(e){var o=e;return t&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return e=n(window.location.href),function(t){var i=o.isString(t)?n(t):t;return i.protocol===e.protocol&&i.host===e.host}}():function(){return!0}},5854:(e,t,i)=>{var o=i(3401);e.exports=function(e,t){o.forEach(e,(function(i,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=i,delete e[o])}))}},846:e=>{e.exports=null},8418:(e,t,i)=>{var o=i(3401),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,i,r,s={};return e?(o.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=o.trim(e.substr(0,r)).toLowerCase(),i=o.trim(e.substr(r+1)),t){if(s[t]&&n.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([i]):s[t]?s[t]+", "+i:i}})),s):s}},4830:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},7998:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},7427:(e,t,i)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var n=i(3401);e.exports=function(e,t){t=t||new FormData;var i=[];function r(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(s,a){if(n.isPlainObject(s)||n.isArray(s)){if(-1!==i.indexOf(s))throw Error("Circular reference detected in "+a);i.push(s),n.forEach(s,(function(i,s){if(!n.isUndefined(i)){var l,h=a?a+"."+s:s;if(i&&!a&&"object"===o(i))if(n.endsWith(s,"{}"))i=JSON.stringify(i);else if(n.endsWith(s,"[]")&&(l=n.toArray(i)))return void l.forEach((function(e){!n.isUndefined(e)&&t.append(h,r(e))}));e(i,h)}})),i.pop()}else t.append(a,r(s))}(e),t}},3465:(e,t,i)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var n=i(8963).version,r=i(4200),s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(i){return o(i)===e||"a"+(t<1?"n ":" ")+e}}));var a={};s.transitional=function(e,t,i){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,n,s){if(!1===e)throw new r(o(n," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,n,s)}},e.exports={assertOptions:function(e,t,i){if("object"!==o(e))throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),s=n.length;s-- >0;){var a=n[s],l=t[a];if(l){var h=e[a],c=void 0===h||l(h,a,e);if(!0!==c)throw new r("option "+a+" must be "+c,r.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:s}},3401:(e,t,i)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var n,r=i(9366),s=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=s.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function h(e){return Array.isArray(e)}function c(e){return void 0===e}var d=l("ArrayBuffer");function u(e){return null!==e&&"object"===o(e)}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var m=l("Date"),f=l("File"),g=l("Blob"),b=l("FileList");function v(e){return"[object Function]"===s.call(e)}var w=l("URLSearchParams");function y(e,t){if(null!=e)if("object"!==o(e)&&(e=[e]),h(e))for(var i=0,n=e.length;i<n;i++)t.call(null,e[i],i,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var C,E=(C="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return C&&e instanceof C});e.exports={isArray:h,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||s.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:p,isUndefined:c,isDate:m,isFile:f,isBlob:g,isFunction:v,isStream:function(e){return u(e)&&v(e.pipe)},isURLSearchParams:w,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:y,merge:function e(){var t={};function i(i,o){p(t[o])&&p(i)?t[o]=e(t[o],i):p(i)?t[o]=e({},i):h(i)?t[o]=i.slice():t[o]=i}for(var o=0,n=arguments.length;o<n;o++)y(arguments[o],i);return t},extend:function(e,t,i){return y(t,(function(t,o){e[o]=i&&"function"==typeof t?r(t,i):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,i,o){e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,i&&Object.assign(e.prototype,i)},toFlatObject:function(e,t,i){var o,n,r,s={};t=t||{};do{for(n=(o=Object.getOwnPropertyNames(e)).length;n-- >0;)s[r=o[n]]||(t[r]=e[r],s[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:function(e,t,i){e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;var o=e.indexOf(t,i);return-1!==o&&o===i},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var i=new Array(t);t-- >0;)i[t]=e[t];return i},isTypedArray:E,isFileList:b}},9584:e=>{function t(e,t,n){e instanceof RegExp&&(e=i(e,n)),t instanceof RegExp&&(t=i(t,n));var r=o(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function i(e,t){var i=t.match(e);return i?i[0]:null}function o(e,t,i){var o,n,r,s,a,l=i.indexOf(e),h=i.indexOf(t,l+1),c=l;if(l>=0&&h>0){for(o=[],r=i.length;c>=0&&!a;)c==l?(o.push(c),l=i.indexOf(e,c+1)):1==o.length?a=[o.pop(),h]:((n=o.pop())<r&&(r=n,s=h),h=i.indexOf(t,c+1)),c=l<h&&l>=0?l:h;o.length&&(a=[r,s])}return a}e.exports=t,t.range=o},9146:function(e,t,i){var o;function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}e=i.nmd(e),function(r){var s="object"==n(t)&&t,a="object"==n(e)&&e&&e.exports==s&&e,l="object"==(void 0===ce?"undefined":n(ce))&&ce;l.global!==l&&l.window!==l||(r=l);var h=function(e){this.message=e};(h.prototype=new Error).name="InvalidCharacterError";var c=function(e){throw new h(e)},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,p={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var t,i,o,n,r=e.length%3,s="",a=-1,l=e.length-r;++a<l;)t=e.charCodeAt(a)<<16,i=e.charCodeAt(++a)<<8,o=e.charCodeAt(++a),s+=d.charAt((n=t+i+o)>>18&63)+d.charAt(n>>12&63)+d.charAt(n>>6&63)+d.charAt(63&n);return 2==r?(t=e.charCodeAt(a)<<8,i=e.charCodeAt(++a),s+=d.charAt((n=t+i)>>10)+d.charAt(n>>4&63)+d.charAt(n<<2&63)+"="):1==r&&(n=e.charCodeAt(a),s+=d.charAt(n>>2)+d.charAt(n<<4&63)+"=="),s},decode:function(e){var t=(e=String(e).replace(u,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var i,o,n=0,r="",s=-1;++s<t;)o=d.indexOf(e.charAt(s)),i=n%4?64*i+o:o,n++%4&&(r+=String.fromCharCode(255&i>>(-2*n&6)));return r},version:"1.0.0"};if("object"==n(i.amdO)&&i.amdO)void 0===(o=function(){return p}.call(t,i,t,e))||(e.exports=o);else if(s&&!s.nodeType)if(a)a.exports=p;else for(var m in p)p.hasOwnProperty(m)&&(s[m]=p[m]);else r.base64=p}(this)},8918:(e,t)=>{t.k=function(e){if(!e)return 0;for(var t=(e=e.toString()).length,i=e.length;i--;){var o=e.charCodeAt(i);56320<=o&&o<=57343&&i--,127<o&&o<=2047?t++:2047<o&&o<=65535&&(t+=2)}return t}},5106:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],i=0;i<e.length;i++)t.push(255&e.charCodeAt(i));return t},bytesToString:function(e){for(var t=[],i=0;i<e.length;i++)t.push(String.fromCharCode(e[i]));return t.join("")}}};e.exports=t},3718:e=>{var t,i;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&i.rotl(e,8)|4278255360&i.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=i.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],i=0,o=0;i<e.length;i++,o+=8)t[o>>>5]|=e[i]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],i=0;i<32*e.length;i+=8)t.push(e[i>>>5]>>>24-i%32&255);return t},bytesToHex:function(e){for(var t=[],i=0;i<e.length;i++)t.push((e[i]>>>4).toString(16)),t.push((15&e[i]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],i=0;i<e.length;i+=2)t.push(parseInt(e.substr(i,2),16));return t},bytesToBase64:function(e){for(var i=[],o=0;o<e.length;o+=3)for(var n=e[o]<<16|e[o+1]<<8|e[o+2],r=0;r<4;r++)8*o+6*r<=8*e.length?i.push(t.charAt(n>>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],o=0,n=0;o<e.length;n=++o%4)0!=n&&i.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(o))>>>6-2*n);return i}},e.exports=i},7412:(e,t,i)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var n=i(6410).buildOptions,r={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},s=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function a(e){this.options=n(e,r,s),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=g),this.options.cdataTagName?this.isCDATA=b:this.isCDATA=function(){return!1},this.replaceCDATAstr=h,this.replaceCDATAarr=c,this.processTextOrObjNode=l,this.options.format?(this.indentate=f,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=m,this.buildObjNode=u):(this.buildTextNode=p,this.buildObjNode=d),this.buildTextValNode=p,this.buildObjectNode=d}function l(e,t,i){var o=this.j2x(e,i+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextNode(o.val,t,o.attrStr,i):this.buildObjNode(o.val,t,o.attrStr,i)}function h(e,t){return e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e?e+"<![CDATA["+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function c(e,t){if(e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e)return e+"<![CDATA["+t.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(var i in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[i]+"]]>");return e+this.newLine}function d(e,t,i,o){return i&&-1===e.indexOf("<")?this.indentate(o)+"<"+t+i+">"+e+"</"+t+this.tagEndChar:this.indentate(o)+"<"+t+i+this.tagEndChar+e+this.indentate(o)+"</"+t+this.tagEndChar}function u(e,t,i,o){return""!==e?this.buildObjectNode(e,t,i,o):this.indentate(o)+"<"+t+i+"/"+this.tagEndChar}function p(e,t,i,o){return this.indentate(o)+"<"+t+i+">"+this.options.tagValueProcessor(e)+"</"+t+this.tagEndChar}function m(e,t,i,o){return""!==e?this.buildTextValNode(e,t,i,o):this.indentate(o)+"<"+t+i+"/"+this.tagEndChar}function f(e){return this.options.indentBy.repeat(e)}function g(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}function b(e){return e===this.options.cdataTagName}a.prototype.parse=function(e){var t,i,o;return Array.isArray(e)&&this.options.rootNodeName&&this.options.rootNodeName.length>1&&(t={},o=e,(i=this.options.rootNodeName)in t?Object.defineProperty(t,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[i]=o,e=t),this.j2x(e,0).val},a.prototype.j2x=function(e,t){var i="",n="";for(var r in e)if(void 0===e[r]);else if(null===e[r])n+=this.indentate(t)+"<"+r+"/"+this.tagEndChar;else if(e[r]instanceof Date)n+=this.buildTextNode(e[r],r,"",t);else if("object"!==o(e[r])){var s=this.isAttribute(r);s?i+=" "+s+'="'+this.options.attrValueProcessor(""+e[r])+'"':this.isCDATA(r)?e[this.options.textNodeName]?n+=this.replaceCDATAstr(e[this.options.textNodeName],e[r]):n+=this.replaceCDATAstr("",e[r]):r===this.options.textNodeName?e[this.options.cdataTagName]||(n+=this.options.tagValueProcessor(""+e[r])):n+=this.buildTextNode(e[r],r,"",t)}else if(Array.isArray(e[r]))if(this.isCDATA(r))n+=this.indentate(t),e[this.options.textNodeName]?n+=this.replaceCDATAarr(e[this.options.textNodeName],e[r]):n+=this.replaceCDATAarr("",e[r]);else for(var a=e[r].length,l=0;l<a;l++){var h=e[r][l];void 0===h||(null===h?n+=this.indentate(t)+"<"+r+"/"+this.tagEndChar:"object"===o(h)?n+=this.processTextOrObjNode(h,r,t):n+=this.buildTextNode(h,r,"",t))}else if(this.options.attrNodeName&&r===this.options.attrNodeName)for(var c=Object.keys(e[r]),d=c.length,u=0;u<d;u++)i+=" "+c[u]+'="'+this.options.attrValueProcessor(""+e[r][c[u]])+'"';else n+=this.processTextOrObjNode(e[r],r,t);return{attrStr:i,val:n}},e.exports=a},3927:(e,t,i)=>{var o=function(e){return String.fromCharCode(e)},n={nilChar:o(176),missingChar:o(201),nilPremitive:o(175),missingPremitive:o(200),emptyChar:o(178),emptyValue:o(177),boundryChar:o(179),objStart:o(198),arrStart:o(204),arrayEnd:o(185)},r=[n.nilChar,n.nilPremitive,n.missingChar,n.missingPremitive,n.boundryChar,n.emptyChar,n.emptyValue,n.arrayEnd,n.objStart,n.arrStart],s=function e(t,i,o){if("string"==typeof i)return t&&t[0]&&void 0!==t[0].val?a(t[0].val):a(t);var r,s=void 0===(r=t)?n.missingChar:null===r?n.nilChar:!(r.child&&0===Object.keys(r.child).length&&(!r.attrsMap||0===Object.keys(r.attrsMap).length))||n.emptyChar;if(!0===s){var h="";if(Array.isArray(i)){h+=n.arrStart;var c=i[0],d=t.length;if("string"==typeof c)for(var u=0;u<d;u++){var p=a(t[u].val);h=l(h,p)}else for(var m=0;m<d;m++){var f=e(t[m],c,o);h=l(h,f)}h+=n.arrayEnd}else{h+=n.objStart;var g=Object.keys(i);for(var b in Array.isArray(t)&&(t=t[0]),g){var v,w=g[b];v=!o.ignoreAttributes&&t.attrsMap&&t.attrsMap[w]?e(t.attrsMap[w],i[w],o):w===o.textNodeName?e(t.val,i[w],o):e(t.child[w],i[w],o),h=l(h,v)}}return h}return s},a=function(e){switch(e){case void 0:return n.missingPremitive;case null:return n.nilPremitive;case"":return n.emptyValue;default:return e}},l=function(e,t){return h(t[0])||h(e[e.length-1])||(e+=n.boundryChar),e+t},h=function(e){return-1!==r.indexOf(e)},c=i(4369),d=i(6410).buildOptions;t.convert2nimn=function(e,t,i){return i=d(i,c.defaultOptions,c.props),s(e,t,i)}},504:(e,t,i)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var n=i(6410);t.convertToJson=function e(t,i,r){var s={};if(!i.alwaysCreateTextNode&&(!t.child||n.isEmptyObject(t.child))&&(!t.attrsMap||n.isEmptyObject(t.attrsMap)))return n.isExist(t.val)?t.val:"";if(n.isExist(t.val)&&("string"!=typeof t.val||""!==t.val&&t.val!==i.cdataPositionChar)){var a=n.isTagNameInArrayMode(t.tagname,i.arrayMode,r);s[i.textNodeName]=a?[t.val]:t.val}n.merge(s,t.attrsMap,i.arrayMode);for(var l=Object.keys(t.child),h=0;h<l.length;h++){var c=l[h];if(t.child[c]&&t.child[c].length>1)for(var d in s[c]=[],t.child[c])t.child[c].hasOwnProperty(d)&&s[c].push(e(t.child[c][d],i,c));else{var u=e(t.child[c][0],i,c),p=!0===i.arrayMode&&"object"===o(u)||n.isTagNameInArrayMode(c,i.arrayMode,r);s[c]=p?[u]:u}}return s}},5651:(e,t,i)=>{var o=i(6410),n=i(6410).buildOptions,r=i(4369),s=function e(t,i,n){for(var r,s="{",a=Object.keys(t.child),l=0;l<a.length;l++){var h=a[l];if(t.child[h]&&t.child[h].length>1){for(var c in s+='"'+h+'" : [ ',t.child[h])s+=e(t.child[h][c],i)+" , ";s=s.substr(0,s.length-1)+" ] "}else s+='"'+h+'" : '+e(t.child[h][0],i)+" ,"}return o.merge(s,t.attrsMap),o.isEmptyObject(s)?o.isExist(t.val)?t.val:"":(o.isExist(t.val)&&("string"!=typeof t.val||""!==t.val&&t.val!==i.cdataPositionChar)&&(s+='"'+i.textNodeName+'" : '+(!0!==(r=t.val)&&!1!==r&&isNaN(r)?'"'+r+'"':r)),","===s[s.length-1]&&(s=s.substr(0,s.length-2)),s+"}")};t.convertToJsonString=function(e,t){return(t=n(t,r.defaultOptions,r.props)).indentBy=t.indentBy||"",s(e,t)}},8819:(e,t,i)=>{var o=i(504),n=i(4369),r=i(4369),s=i(6410).buildOptions,a=i(1135);t.parse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(i){!0===i&&(i={});var l=a.validate(e,i);if(!0!==l)throw Error(l.err.msg)}t.parseTrueNumberOnly&&!1!==t.parseNodeValue&&!t.numParseOptions&&(t.numParseOptions={leadingZeros:!1});var h=s(t,r.defaultOptions,r.props),c=n.getTraversalObj(e,h);return o.convertToJson(c,h)},t.convertTonimn=i(3927).convert2nimn,t.getTraversalObj=n.getTraversalObj,t.convertToJson=o.convertToJson,t.convertToJsonString=i(5651).convertToJsonString,t.validate=a.validate,t.j2xParser=i(7412),t.parseToNimn=function(e,i,o){return t.convertTonimn(t.getTraversalObj(e,o),i,o)}},6410:(e,t)=>{var i="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+i+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,i){if(t)for(var o=Object.keys(t),n=o.length,r=0;r<n;r++)e[o[r]]="strict"===i?[t[o[r]]]:t[o[r]]},t.getValue=function(e){return t.isExist(e)?e:""},t.buildOptions=function(e,t,i){var o={};if(!e)return t;for(var n=0;n<i.length;n++)void 0!==e[i[n]]?o[i[n]]=e[i[n]]:o[i[n]]=t[i[n]];return o},t.isTagNameInArrayMode=function(e,t,i){return!1!==t&&(t instanceof RegExp?t.test(e):"function"==typeof t?!!t(e,i):"strict"===t)},t.isName=function(e){return!(null==o.exec(e))},t.getAllMatches=function(e,t){for(var i=[],o=t.exec(e);o;){var n=[];n.startIndex=t.lastIndex-o[0].length;for(var r=o.length,s=0;s<r;s++)n.push(o[s]);i.push(n),o=t.exec(e)}return i},t.nameRegexp=i},1135:(e,t,i)=>{var o=i(6410),n={allowBooleanAttributes:!1},r=["allowBooleanAttributes"];function s(e,t){for(va