UNPKG

@digital-blueprint/formalize-app

Version:

[GitHub Repository](https://github.com/digital-blueprint/formalize-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/formalize-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/formalize-app/) | [Formalize Bundle](https:

30 lines 1.04 MB
const e=["ext","key_ops","alg","use"],t=["encryptedKey"],i=["encryptedKey"];let n,s,r,o,a,l,c,d,h,u,p,f,m,g,b,v,y,w,x,A,_,S,k,E,j,C,T,P,M,R,F,D,O,I,L,$,N,B,W,z,U,H,q,G,V,K,J,X,Q,Y,Z,ee,te,ie,ne,se,re,oe,ae,le,ce,de,he,ue,pe,fe,me,ge,be,ve,ye,we,xe,Ae,_e,Se,ke,Ee,je,Ce,Te,Pe,Me,Re,Fe,De,Oe,Ie,Le,$e,Ne,Be,We,ze,Ue,He,qe,Ge,Ve,Ke,Je,Xe,Qe,Ye,Ze,et,tt,it,nt,st,rt,ot,at,lt,ct,dt,ht,ut,pt,ft,mt,gt,bt,vt,yt,wt,xt,At,_t,St,kt,Et,jt,Ct,Tt,Pt,Mt=e=>e;function Rt(e,t,i){t||(t=[]);var n=t.length++;return Object.defineProperty({},"_",{set:function(s){t[n]=s,e.apply(i,t)}})}function Ft(e,t){It(e,t),t.add(e)}function Dt(e,t,i){return i(Nt(e,t))}function Ot(e,t,i){It(e,t),t.set(e,i)}function It(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Lt(e,t){return e.get(Nt(e,t))}function $t(e,t,i){return e.set(Nt(e,t),i),i}function Nt(e,t,i){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:i;throw new TypeError("Private element is not present on this object")}function Bt(e,t){if(null==e)return{};var i,n,s=function(e,t){if(null==e)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],-1===t.indexOf(i)&&{}.propertyIsEnumerable.call(e,i)&&(s[i]=e[i])}return s}function Wt(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function zt(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(i),!0).forEach((function(t){Ut(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Wt(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Ut(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)} /*! * 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/auth: LGPL-2.1-or-later * @dbp-toolkit/theme-switcher: LGPL-2.1-or-later * universal-router: MIT * @dbp-toolkit/matomo: LGPL-2.1-or-later * @dbp-toolkit/tabulator-table: LGPL-2.1-or-later * xlsx: Apache-2.0 * jspdf-autotable: MIT * xss: MIT * cssfilter: MIT * @dbp-toolkit/common: LGPL-2.1-or-later * lit-html: BSD-3-Clause * @dbp-toolkit/file-handling: LGPL-2.1-or-later * webdav: MIT * jose: MIT * file-saver: MIT * @dbp-toolkit/grant-permission-dialog: LGPL-2.1-or-later * @dbp-toolkit/pdf-viewer: LGPL-2.1-or-later * pdfjs-dist: Apache-2.0 * html2pdf.js: MIT * jspdf: MIT */(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}import{e as Ht,n as qt,f as Gt,m as Vt,B as Kt,a as Jt,g as Xt}from"./shared/ref.Ds46LGIc.es.js";import{c as Qt,i as Yt,L as Zt,S as ei,D as ti,M as ii,I as ni,C as si,x as ri,d as oi,e as ai,E as li,q as ci,m as di,l as hi,f as ui,A as pi,s as fi,g as mi,F as gi,G as bi,H as vi,J as yi,K as wi,N as xi,p as Ai,B as _i,O as Si,P as ki,Q as Ei,T as ji,R as Ci}from"./shared/notification.DekX2Yn_.es.js";import{T as Ti,g as Pi,j as Mi}from"./shared/jspdf.es.min.bkR0MRZ5.es.js";import{c as Ri,g as Fi,a as Di}from"./shared/_commonjsHelpers.NVLIRKl0.es.js";import{N as Oi}from"./shared/notification.BMahxT1M.es.js";import{P as Ii}from"./shared/person-select.DccVd1jv.es.js";import{b as Li,a as $i,S as Ni,h as Bi,f as Wi}from"./shared/utils.BRAAprrM.es.js";import{b as zi,d as Ui}from"./shared/i18n.sFs-myza.es.js";import{g as Hi,h as qi,i as Gi,a as Vi,D as Ki,c as Ji,d as Xi}from"./shared/enum.1OT3_9bb.es.js";import{r as Qi}from"./shared/html2canvas.DPQB3bw1.es.js";import"./shared/utils.CegV9Vgv.es.js";import"./shared/error.CxyP7_gO.es.js";var Yi={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_one":"Eine Datei wurde erfolgreich aus der Zwischenablage entfernt.","clear-count-clipboard-body_other":"{{count}} Dateien wurde erfolgreich aus der Zwischenablage entfernt.","clear-count-clipboard-title_one":"Datei entfernt","clear-count-clipboard-title_other":"Dateien entfernt","file-mod":"Geändert","file-name":"Name","file-size":"Größe","file-type":"Art","file-warning":"Achtung!","file-warning-body_one":"Es befindet sich noch eine Datei in der Zwischenablage. Die Zwischenablage wird beim Verlassen der Seite verworfen.","file-warning-body_other":"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_one":"Eine Datei aus der Zwischenablage entfernen","remove-count_other":"{{count}} Dateien aus der Zwischenablage entfernen","remove-count-btn_one":"Datei entfernen","remove-count-btn_other":"{{count}} Dateien entfernen","save-all":"Alle Dateien aus der Zwischenablage sichern","save-all-btn":"Dateien sichern","save-count_one":"Eine Datei aus der Zwischenablage sichern","save-count_other":"{{count}} Dateien aus der Zwischenablage sichern","save-count-btn_one":"Datei sichern","save-count-btn_other":"{{count}} Dateien sichern","saved-files-body_one":"Eine Datei wurde erfolgreich temporär in der Zwischenablage abgelegt und kann jetzt innerhalb dieser Applikation verwendet werden.","saved-files-body_other":"{{count}} Dateien wurde erfolgreich temporär in der Zwischenablage abgelegt und können jetzt innerhalb dieser Applikation verwendet werden.","saved-files-title_one":"Datei erfolgreich abgelegt","saved-files-title_other":"Dateien erfolgreich abgelegt","select-all":"Alle auswählen","select-nothing":"Nichts auswählen","sink-btn_one":"{{count}} Datei ablegen","sink-btn_other":"{{count}} Dateien ablegen","sink-title":"Dateien in der Zwischenablage ablegen","source-btn_one":"Datei auswählen","source-btn_other":"{{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_one":"Datei herunterladen","local-button_other":"Dateien herunterladen","local-intro_one":"{{count}} Datei herunterladen","local-intro_other":"{{count}} Dateien herunterladen","modal-close":"Dialog schließen","nav-local":"Lokaler Computer","select-directory":"","upload-success-body_one":"Sie haben {{count}} Datei erfolgreich in {{name}} hochgeladen.","upload-success-body_other":"Sie haben {{count}} Dateien erfolgreich in {{name}} hochgeladen.","upload-success-title":"Erfolgreich hochgeladen"},"file-source":{clipboard:"Zwischenablage","empty-file-error-text":"{{filename}} hat size=0 und wird abgelehnt!","empty-file-error-title":"Leere Dateien sind nicht erlaubt","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","not-allowed-mime-type-file-error-text":"{{filename}} hat nicht erlaubt mime type","not-allowed-mime-type-file-error-title":"Nicht erlaubt MIME-Type","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","file-error":"Das Dateiformat wird nicht unterstützt oder die Datei ist fehlerhaft und konnte nicht hochgeladen werden.","file-upload-error":"Entschuldigung, etwas ist schief gelaufen. Bitte versuchen Sie es später noch einmal.",filename:"Name","folder-home":"In das Home Verzeichnis springen",forbidden:"Sie sind nicht berechtigt, diese Aktion in diesem Ordner auszuführen.","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_one":"Datei auswählen","select-files-btn_other":"{{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}}"},"upload-label":"Dateiauswahl"},Zi={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":"One file was successfully removed from clipboard.","clear-count-clipboard-body_other":"{{count}} files were successfully removed from clipboard.","clear-count-clipboard-title_one":"File removed","clear-count-clipboard-title_other":"Files removed","file-mod":"Last modified","file-name":"Name","file-size":"Size","file-type":"Type","file-warning":"Attention!","file-warning-body_one":"There is still a file on the clipboard. The clipboard is discarded when you exit the page.","file-warning-body_other":"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_one":"Remove file from the clipboard","remove-count_other":"Remove {{count}} files from the clipboard","remove-count-btn_one":"Remove file","remove-count-btn_other":"Remove {{count}} files","save-all":"Save all files from the clipboard","save-all-btn":"Save all","save-count_one":"Save one file from the clipboard","save-count_other":"Save {{count}} files from the clipboard","save-count-btn_one":"Save file","save-count-btn_other":"Save {{count}} files","saved-files-body_one":"A file was successfully stored temporarily in the clipboard and can now be used within this application.","saved-files-body_other":"{{count}} files were successfully stored temporarily in the clipboard and can now be used within this application.","saved-files-title_one":"File successfully filed","saved-files-title_other":"Files successfully filed","select-all":"Select all","select-nothing":"Select nothing","sink-btn_one":"Store {{count}} file","sink-btn_other":"Store {{count}} files","sink-title":"Store files on the clipboard","source-btn_one":"Select file","source-btn_other":"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_one":"Download file","local-button_other":"Download files","local-intro_one":"Download {{count}} file","local-intro_other":"Download {{count}} files","modal-close":"Close dialog","nav-local":"My device","select-directory":"","upload-success-body_one":"You have successfully uploaded {{count}} file to {{name}}.","upload-success-body_other":"You have successfully uploaded {{count}} files to {{name}}.","upload-success-title":"Successful uploaded"},"file-source":{clipboard:"Clipboard","empty-file-error-text":"{{filename}} has size=0 and is denied!","empty-file-error-title":"Empty files are not allowed","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","not-allowed-mime-type-file-error-text":"{{filename}} has not allowed MIME-Type","not-allowed-mime-type-file-error-title":"Not allowed MIME-Type","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","file-error":"The file format is not supported or the file is corrupt and could not be uploaded.","file-upload-error":"Sorry, something went wrong. Please try again later.",filename:"Filename","folder-home":"Jump to the home directory",forbidden:"You don't have permissions to perform this action in this folder.","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_one":"Select file","select-files-btn_other":"Select {{count}} files",size:"Size","something-went-wrong":"Something went wrong. Please reload.","upload-to":"Uploading to {{- path}} ...","webdav-error":"Something went wrong"},"upload-label":"Select some files"};function en(){return Qt({en:Zi,de:Yi},"de","en")}var tn,nn={exports:{}}; /*! For license information please see webdav.js.LICENSE.txt */tn=nn,function(e,t){tn.exports=t()}(self,(()=>(()=>{var e={2948:(e,t,i)=>{e.exports=i(338)},3643:(e,t,i)=>{var n=i(4361),s=i(5379),r=i(9297),o=i(6641),a=i(5868),l=i(4151),c=i(4731),d=i(177),h=i(2952),u=i(8628),p=i(2637);e.exports=function(e){return new Promise((function(t,i){var f,m=e.data,g=e.headers,b=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+x)}var A=a(e.baseURL,e.url);function _(){if(y){var n="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,r={data:b&&"text"!==b&&"json"!==b?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};s((function(e){t(e),v()}),(function(e){i(e),v()}),r),y=null}}if(y.open(e.method.toUpperCase(),o(A,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(i(new h("Request aborted",h.ECONNABORTED,e,y)),y=null)},y.onerror=function(){i(new h("Network Error",h.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new h(t,n.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,e,y)),y=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||c(A))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;S&&(g[e.xsrfHeaderName]=S)}"setRequestHeader"in y&&n.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(i(!e||e&&e.type?new u:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null);var k=p(A);k&&-1===["http","https","file"].indexOf(k)?i(new h("Unsupported protocol "+k+":",h.ERR_BAD_REQUEST,e)):y.send(m)}))}},338:(e,t,i)=>{var n=i(4361),s=i(6759),r=i(6696),o=i(2512),a=function e(t){var i=new r(t),a=s(r.prototype.request,i);return n.extend(a,r.prototype,i),n.extend(a,i),a.create=function(i){return e(o(t,i))},a}(i(427));a.Axios=r,a.CanceledError=i(8628),a.CancelToken=i(9992),a.isCancel=i(2817),a.VERSION=i(9834).version,a.toFormData=i(2339),a.AxiosError=i(2952),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=i(6111),a.isAxiosError=i(8904),e.exports=a,e.exports.default=a},9992:(e,t,i)=>{var n=i(8628);function s(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,n=i._listeners.length;for(t=0;t<n;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e((function(e){i.reason||(i.reason=new n(e),t(i.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},s.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},8628:(e,t,i)=>{var n=i(2952);function s(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}i(4361).inherits(s,n,{__CANCEL__:!0}),e.exports=s},2817:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},6696:(e,t,i)=>{var n=i(4361),s=i(6641),r=i(5042),o=i(3025),a=i(2512),l=i(5868),c=i(2040),d=c.validators;function h(e){this.defaults=e,this.interceptors={request:new r,response:new r}}h.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&&c.assertOptions(i,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var n=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!s){var h=[o,void 0];for(Array.prototype.unshift.apply(h,n),h=h.concat(l),r=Promise.resolve(t);h.length;)r=r.then(h.shift(),h.shift());return r}for(var u=t;n.length;){var p=n.shift(),f=n.shift();try{u=p(u)}catch(e){f(e);break}}try{r=o(u)}catch(e){return Promise.reject(e)}for(;l.length;)r=r.then(l.shift(),l.shift());return r},h.prototype.getUri=function(e){e=a(this.defaults,e);var t=l(e.baseURL,e.url);return s(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){h.prototype[e]=function(t,i){return this.request(a(i||{},{method:e,url:t,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(i,n,s){return this.request(a(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}h.prototype[e]=t(),h.prototype[e+"Form"]=t(!0)})),e.exports=h},2952:(e,t,i)=>{var n=i(4361);function s(e,t,i,n,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),s&&(this.response=s)}n.inherits(s,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=s.prototype,o={};["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){o[e]={value:e}})),Object.defineProperties(s,o),Object.defineProperty(r,"isAxiosError",{value:!0}),s.from=function(e,t,i,o,a,l){var c=Object.create(r);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),s.call(c,e.message,t,i,o,a),c.name=e.name,l&&Object.assign(c,l),c},e.exports=s},5042:(e,t,i)=>{var n=i(4361);function s(){this.handlers=[]}s.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},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},5868:(e,t,i)=>{var n=i(3644),s=i(3601);e.exports=function(e,t){return e&&!n(t)?s(e,t):t}},3025:(e,t,i)=>{var n=i(4361),s=i(9782),r=i(2817),o=i(427),a=i(8628);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=s.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return l(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(l(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},2512:(e,t,i)=>{var n=i(4361);e.exports=function(e,t){t=t||{};var i={};function s(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function r(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:s(void 0,e[i]):s(e[i],t[i])}function o(e){if(!n.isUndefined(t[e]))return s(void 0,t[e])}function a(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:s(void 0,e[i]):s(void 0,t[i])}function l(i){return i in t?s(e[i],t[i]):i in e?s(void 0,e[i]):void 0}var c={url:o,method:o,data:o,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 n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||r,s=t(e);n.isUndefined(s)&&t!==l||(i[e]=s)})),i}},5379:(e,t,i)=>{var n=i(2952);e.exports=function(e,t,i){var s=i.config.validateStatus;i.status&&s&&!s(i.status)?t(new n("Request failed with status code "+i.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}},9782:(e,t,i)=>{var n=i(4361),s=i(427);e.exports=function(e,t,i){var r=this||s;return n.forEach(i,(function(i){e=i.call(r,e,t)})),e}},427:(e,t,i)=>{var n=i(4361),s=i(5639),r=i(2952),o=i(177),a=i(2339),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,h={transitional:o,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=i(3643)),d),transformRequest:[function(e,t){if(s(t,"Accept"),s(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var i,r=n.isObject(e),o=t&&t["Content-Type"];if((i=n.isFileList(e))||r&&"multipart/form-data"===o){var l=this.env&&this.env.FormData;return a(i?{"files[]":e}:e,l&&new l)}return r||"application/json"===o?(c(t,"application/json"),function(e){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||h.transitional,i=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,o=!i&&"json"===this.responseType;if(o||s&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){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(8677)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){h.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){h.headers[e]=n.merge(l)})),e.exports=h},177:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},9834:e=>{e.exports={version:"0.27.2"}},6759:e=>{e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return e.apply(t,i)}}},6641:(e,t,i)=>{var n=i(4361);function s(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(n.isURLSearchParams(t))r=t.toString();else{var o=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(s(t)+"="+s(e))})))})),r=o.join("&")}if(r){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},3601:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9297:(e,t,i)=>{var n=i(4361);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,i,s,r,o){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(s)&&a.push("path="+s),n.isString(r)&&a.push("domain="+r),!0===o&&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(){}}},3644:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},8904:(e,t,i)=>{var n=i(4361);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},4731:(e,t,i)=>{var n=i(4361);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function s(e){var n=e;return t&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{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=s(window.location.href),function(t){var i=n.isString(t)?s(t):t;return i.protocol===e.protocol&&i.host===e.host}}():function(){return!0}},5639:(e,t,i)=>{var n=i(4361);e.exports=function(e,t){n.forEach(e,(function(i,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=i,delete e[n])}))}},8677:e=>{e.exports=null},4151:(e,t,i)=>{var n=i(4361),s=["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,o={};return e?(n.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=n.trim(e.substr(0,r)).toLowerCase(),i=n.trim(e.substr(r+1)),t){if(o[t]&&s.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([i]):o[t]?o[t]+", "+i:i}})),o):o}},2637:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},6111:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},2339:(e,t,i)=>{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)}var s=i(4361);e.exports=function(e,t){t=t||new FormData;var i=[];function r(e){return null===e?"":s.isDate(e)?e.toISOString():s.isArrayBuffer(e)||s.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(s.isPlainObject(o)||s.isArray(o)){if(-1!==i.indexOf(o))throw Error("Circular reference detected in "+a);i.push(o),s.forEach(o,(function(i,o){if(!s.isUndefined(i)){var l,c=a?a+"."+o:o;if(i&&!a&&"object"===n(i))if(s.endsWith(o,"{}"))i=JSON.stringify(i);else if(s.endsWith(o,"[]")&&(l=s.toArray(i)))return void l.forEach((function(e){!s.isUndefined(e)&&t.append(c,r(e))}));e(i,c)}})),i.pop()}else t.append(a,r(o))}(e),t}},2040:(e,t,i)=>{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)}var s=i(9834).version,r=i(2952),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(i){return n(i)===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,i){function n(e,t){return"[Axios v"+s+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,s,o){if(!1===e)throw new r(n(s," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[s]&&(a[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,s,o)}},e.exports={assertOptions:function(e,t,i){if("object"!==n(e))throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var s=Object.keys(e),o=s.length;o-- >0;){var a=s[o],l=t[a];if(l){var c=e[a],d=void 0===c||l(c,a,e);if(!0!==d)throw new r("option "+a+" must be "+d,r.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},4361:(e,t,i)=>{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)}var s,r=i(6759),o=Object.prototype.toString,a=(s=Object.create(null),function(e){var t=o.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function c(e){return Array.isArray(e)}function d(e){return void 0===e}var h=l("ArrayBuffer");function u(e){return null!==e&&"object"===n(e)}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=l("Date"),m=l("File"),g=l("Blob"),b=l("FileList");function v(e){return"[object Function]"===o.call(e)}var y=l("URLSearchParams");function w(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),c(e))for(var i=0,s=e.length;i<s;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 x,A=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x});e.exports={isArray:c,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(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||o.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:p,isUndefined:d,isDate:f,isFile:m,isBlob:g,isFunction:v,isStream:function(e){return u(e)&&v(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function i(i,n){p(t[n])&&p(i)?t[n]=e(t[n],i):p(i)?t[n]=e({},i):c(i)?t[n]=i.slice():t[n]=i}for(var n=0,s=arguments.length;n<s;n++)w(arguments[n],i);return t},extend:function(e,t,i){return w(t,(function(t,n){e[n]=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,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,i&&Object.assign(e.prototype,i)},toFlatObject:function(e,t,i){var n,s,r,o={};t=t||{};do{for(s=(n=Object.getOwnPropertyNames(e)).length;s-- >0;)o[r=n[s]]||(t[r]=e[r],o[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 n=e.indexOf(t,i);return-1!==n&&n===i},toArray:function(e){if(!e)return null;var t=e.length;if(d(t))return null;for(var i=new Array(t);t-- >0;)i[t]=e[t];return i},isTypedArray:A,isFileList:b}},6002:e=>{function t(e,t,s){e instanceof RegExp&&(e=i(e,s)),t instanceof RegExp&&(t=i(t,s));var r=n(e,t,s);return r&&{start:r[0],end:r[1],pre:s.slice(0,r[0]),body:s.slice(r[0]+e.length,r[1]),post:s.slice(r[1]+t.length)}}function i(e,t){var i=t.match(e);return i?i[0]:null}function n(e,t,i){var n,s,r,o,a,l=i.indexOf(e),c=i.indexOf(t,l+1),d=l;if(l>=0&&c>0){for(n=[],r=i.length;d>=0&&!a;)d==l?(n.push(d),l=i.indexOf(e,d+1)):1==n.length?a=[n.pop(),c]:((s=n.pop())<r&&(r=s,o=c),c=i.indexOf(t,d+1)),d=l<c&&l>=0?l:c;n.length&&(a=[r,o])}return a}e.exports=t,t.range=n},1101:function(e,t,i){var n;function s(e){return s="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},s(e)}e=i.nmd(e),function(r){var o="object"==s(t)&&t,a="object"==s(e)&&e&&e.exports==o&&e,l="object"==(void 0===Ri?"undefined":s(Ri))&&Ri;l.global!==l&&l.window!==l||(r=l);var c=function(e){this.message=e};(c.prototype=new Error).name="InvalidCharacterError";var d=function(e){throw new c(e)},h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,p={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&d("The string to be encoded contains characters outside of the Latin1 range.");for(var t,i,n,s,r=e.length%3,o="",a=-1,l=e.length-r;++a<l;)t=e.charCodeAt(a)<<16,i=e.charCodeAt(++a)<<8,n=e.charCodeAt(++a),o+=h.charAt((s=t+i+n)>>18&63)+h.charAt(s>>12&63)+h.charAt(s>>6&63)+h.charAt(63&s);return 2==r?(t=e.charCodeAt(a)<<8,i=e.charCodeAt(++a),o+=h.charAt((s=t+i)>>10)+h.charAt(s>>4&63)+h.charAt(s<<2&63)+"="):1==r&&(s=e.charCodeAt(a),o+=h.charAt(s>>2)+h.charAt(s<<4&63)+"=="),o},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))&&d("Invalid character: the string to be decoded is not correctly encoded.");for(var i,n,s=0,r="",o=-1;++o<t;)n=h.indexOf(e.charAt(o)),i=s%4?64*i+n:n,s++%4&&(r+=String.fromCharCode(255&i>>(-2*s&6)));return r},version:"1.0.0"};if("object"==s(i.amdO)&&i.amdO)void 0===(n=function(){return p}.call(t,i,t,e))||(e.exports=n);else if(o&&!o.nodeType)if(a)a.exports=p;else for(var f in p)p.hasOwnProperty(f)&&(o[f]=p[f]);else r.base64=p}(this)},9172:(e,t)=>{t.d=function(e){if(!e)return 0;for(var t=(e=e.toString()).length,i=e.length;i--;){var n=e.charCodeAt(i);56320<=n&&n<=57343&&i--,127<n&&n<=2047?t++:2047<n&&n<=65535&&(t+=2)}return t}},4526: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},7298: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,n=0;i<e.length;i++,n+=8)t[n>>>5]|=e[i]<<24-n%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=[],n=0;n<e.length;n+=3)for(var s=e[n]<<16|e[n+1]<<8|e[n+2],r=0;r<4;r++)8*n+6*r<=8*e.length?i.push(t.charAt(s>>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],n=0,s=0;n<e.length;s=++n%4)0!=s&&i.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*s+8)-1)<<2*s|t.indexOf(e.charAt(n))>>>6-2*s);return i}},e.exports=i},2635:(e,t,i)=>{var n=i(7031),s=i(2338),r=i(4221);e.exports={XMLParser:s,XMLValidator:n,XMLBuilder:r}},9118:e=>{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}e.exports=function(e){return"function"==typeof e?e:Array.isArray(e)?function(i){var n,s=function(e){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,i){if(e){if("string"==typeof e)return t(e,i);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,i):void 0}}(e))){i&&(e=i);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){a=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw r}}}}(e);try{for(s.s();!(n=s.n()).done;){var r=n.value;if("string"==typeof r&&i===r)return!0;if(r instanceof RegExp&&r.test(i))return!0}}catch(e){s.e(e)}finally{s.f()}}:function(){return!1}}},9705:(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",n="["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",s=new RegExp("^"+n+"$");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 n=Object.keys(t),s=n.length,r=0;r<s;r++)e[n[r]]="strict"===i?[t[n[r]]]:t[n[r]]},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=function(e){return!(null==s.exec(e))},t.getAllMatches=function(e,t){for(var i=[],n=t.exec(e);n;){var s=[];s.startIndex=t.lastIndex-n[0].length;for(var r=n.length,o=0;o<r;o++)s.push(n[o]);i.push(s),n=t.exec(e)}return i},t.nameRegexp=n},7031:(e,t,i)=>{var n=i(9705),s={allowBooleanAttributes:!1,unpairedTags:[]};function r(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function o(e,t){for(var i=t;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{var n=e.substr(i,t-i);if(t>5&&"xml"===n)return f("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function a(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){var i=1;for(t+=8;t<e.length;t++)if("<"===e[t])i++;else if(">"===e[t]&&0==--i)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=Object.assign({},s,t);var i,l=[],c=!1,h=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(var m=0;m<e.length;m++)if("<"===e[m]&&"?"===e[m+1]){if((m=o(e,m+=2)).err)return m}else{if("<"!==e[m]){if(r(e[m]))continue;return f("InvalidChar","char '"+e[m]+"' is not expected.",g(e,m))}var b=m;if("!"===e[++m]){m=a(e,m);continue}var v=!1;"/"===e[m]&&(v=!0,m++);for(var y="";m<e.length&&">"!==e[m]&&" "!==e[m]&&"\t"!==e[m]&&"\n"!==e[m]&&"\r"!==e[m];m++)y+=e[m];if("/"===(y=y.trim())[y.length-1]&&(y=y.substring(0,y.length-1),m--),i=y,!n.isName(i))return f("InvalidTag",0===y.trim().length?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",g(e,m));var w=d(e,m);if(!1===w)return f("InvalidAttr","Attributes for '"+y+"' have open quote.",g(e,m));var x=w.value;if(m=w.index,"/"===x[x.length-1]){var A=m-x.length,_=u(x=x.substring(0,x.length-1),t);if(!0!==_)return f(_.err.code,_.err.msg,g(e,A+_.err.line));c=!0}else if(v){if(!w.tagClosed)return f("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",g(e,m));if(x.trim().length>0)return f("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",g(e,b));if(0===l.length)return f("InvalidTag","Closing tag '"+y+"' has not been opened.",g(e,b));var S=l.pop();if(y!==S.tagName){var k=g(e,S.tagStartPos);return f("InvalidTag","Expected closing tag '"+S.tagName+"' (opened in line "+k.line+", col "+k.col+") instead of closing tag '"+y+"'.",g(e,b))}0==l.length&&(h=!0)}else{var E=u(x,t);if(!0!==E)return f(E.err.code,E.err.msg,g(e,m-x.length+E.err.line));if(!0===h)return f("InvalidXml","Multiple possible root nodes found.",g(e,m));-1!==t.unpairedTags.indexOf(y)||l.push({tagName:y,tagStartPos:b}),c=!0}for(m++;m<e.length;m++)if("<"===e[m]){if("!"===e[m+1]){m=a(e,++m);continue}if("?"!==e[m+1])break;if((m=o(e,++m)).err)return m}else if("&"===e[m]){var j=p(e,m);if(-1==j)return f("InvalidChar","char '&' is not expected.",g(e,m));m=j}else if(!0===h&&!r(e[m]))return f("InvalidXml","Extra text at the end",g(e,m));"<"===e[m]&&m--}return c?1==l.length?f("InvalidTag","Unclosed tag '"+l[0].tagName+"'.",g(e,l[0].tagStartPos)):!(l.length>0)||f("InvalidXml","Invalid '"+JSON.stringify(l.map((function(e){return e.tagName})),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):f("InvalidXml","Start tag expected.",1)};var l='"',c="'";function d(e,t){for(var i="",n="",s=!1;t<e.length;t++){if(e[t]===l||e[t]===c)""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){s=!0;break}i+=e[t]}return""===n&&{value:i,index:t,tagClosed:s}}var h=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function u(e,t){for(var i=n.getAllMatches(e,h),s={},r=0;r<i.length;r++){if(0===i[r][1].length)return f("InvalidAttr","Attribute '"+i[r][2]+"' has no space in starting.",b(i[r]));if(void 0!==i[r][3]&&void 0===i[r][4])return f("InvalidAttr","Attribute '"+i[r][2]+"' is without value.",b(i[r]));if(void 0===i[r][3]&&!t.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+i[r][2]+"' is not allowed.",b(i[r]));var o=i[r][2];if(!m(o))return f("InvalidAttr","Attribute '"+o+"' is an invalid name.",b(i[r]));if(s.hasOwnProperty(o))return f("InvalidAttr","Attribute '"+o+"' is repeated.",b(i[r]));s[o]=1}return!0}function p(e,t){if(";"===e[++t])return-1;if("#"===e[t])return fu