@digital-blueprint/greenlight-app
Version:
[GitHub Repository](https://github.com/digital-blueprint/greenlight-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/greenlight-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/greenlight-app/) | [Greenlight Bundle](ht
36 lines • 1.11 MB
JavaScript
let _2=e=>e,_t2,_t3,_t4,_t5,_t6,_t7,_t8,_t9,_t10,_t11,_t12,_t13,_t14,_t15,_t16,_t17,_t18,_t19,_t20,_t21,_t22,_t23,_t24,_t25,_t26,_t27,_t28,_t29,_t30,_t31,_t32,_t33,_t34,_t35,_t36,_t37,_t38,_t39,_t40,_t41,_t42,_t43,_t44,_t45,_t46,_t47,_t48,_t49,_t50,_t51,_t52,_t53,_t54,_t55,_t56,_t57,_t58,_t59,_t60,_t61,_t62,_t63,_t64,_t65,_t66,_t67,_t68,_t69,_t70,_t71,_t72;function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},_extends.apply(this,arguments)}
/*!
* License: LGPL-2.1-or-later
* Dependencies:
*
* @webcomponents/scoped-custom-element-registry: 0.0.7 (BSD-3-Clause)
* @dbp-toolkit/app-shell: 0.3.3 (LGPL-2.1-or-later)
* @dbp-toolkit/language-select: 0.3.1 (LGPL-2.1-or-later)
* @dbp-toolkit/common: 0.3.4 (LGPL-2.1-or-later)
* @dbp-toolkit/auth: 0.3.1 (LGPL-2.1-or-later)
* event-target-shim: 6.0.2 (MIT)
* @dbp-toolkit/notification: 0.3.1 (LGPL-2.1-or-later)
* @dbp-toolkit/theme-switcher: 0.0.5 (LGPL-2.1-or-later)
* path-to-regexp: 6.2.0 (MIT)
* universal-router: 9.1.0 (MIT)
* generateUrls: 9.1.0 (MIT)
* @dbp-toolkit/matomo: 0.2.6 (LGPL-2.1-or-later)
* @tugraz/web-components: 0.3.6 (LGPL-2.1-or-later)
* @babel/runtime: 7.20.13 (MIT)
* i18next: 22.4.9 (MIT)
* @lit/reactive-element: 1.6.1 (BSD-3-Clause)
* lit-html: 2.6.1 (BSD-3-Clause)
* lit-element: 3.2.2 (BSD-3-Clause)
* @open-wc/dedupe-mixin: 1.3.1 (MIT)
* @open-wc/scoped-elements: 2.1.4 (MIT)
* jose: 4.11.2 (MIT)
* @dbp-toolkit/file-handling: 0.3.5 (LGPL-2.1-or-later)
* webdav: 4.8.0 (MIT)
* tabulator-tables: 5.1.8 (MIT)
* file-saver: 2.0.5 (MIT)
* @dbp-toolkit/qr-code-scanner: 0.3.1 (LGPL-2.1-or-later)
* async-mutex: 0.4.0 (MIT)
* pdfjs-dist: 2.16.105 (Apache-2.0)
* dommatrix: 1.0.3 (MIT)
* web-streams-polyfill: 3.2.1 (MIT)
*/import{c as checkKeyType,J as JOSENotSupported,a as JWEInvalid,d as decode,u as unwrap,b as unwrap$1,e as decrypt$1,f as decrypt$2,i as isObject,g as ecdhAllowed,h as importJWK,j as deriveKey,k as bitLength,l as decoder,m as isDisjoint,v as validateCrit,n as JOSEAlgNotAllowed,o as generateCek,p as encoder,q as concat,r as decrypt$3,s as inflate,t as encode,C as CompactEncrypt,w as name$2,D as DBPGreenlightLitElement,x as createInstance$3,A as Activity,y as i18nKey,z as combineURLs,B as getCheckinCss,E as escapeRegExp,F as i18nForKey}from"./shared/activity.ebfdd5fd.es.js";import{a as createInstance$2,c as commonjsGlobal,i as i$1,S as ScopedElementsMixin,D as DBPLitElement,I as Icon,M as MiniSpinner,q as humanFileSize,y,e as getGeneralCSS,j as getButtonCSS,r as getTextUtilities,t as getModalDialogCSS,u as getRadioAndCheckboxCss,v as getTabulatorStyles,w as getAssetURL,o,A as AdapterLitElement,s as send,g as getThemeCSS,x as asyncArrayForEach,z as asyncObjectForEach,B as getMimeTypeOfFile,C as getBaseName,E as getFileExtension,F as getSelect2CSS,G as r,H as getIconSVGURL,J as getAugmentedNamespace,K as getDefaultExportFromCjs,L as LoadingButton,f as getNotificationCSS,N as getActivityCSS,m as defineCustomElement}from"./shared/notification.23e517da.es.js";import{I as InlineNotification,a as InfoTooltip}from"./shared/tooltip.bfc4555f.es.js";import{T as TextSwitch}from"./shared/textswitch.aac4259d.es.js";async function decryptKeyManagement(e,t,i,r,n){switch(checkKeyType(e,t,"decrypt"),e){case"dir":if(void 0!==i)throw new JWEInvalid("Encountered unexpected JWE Encrypted Key");return t;case"ECDH-ES":if(void 0!==i)throw new JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!isObject(r.epk))throw new JWEInvalid('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!ecdhAllowed(t))throw new JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const n=await importJWK(r.epk,e);let o,s;if(void 0!==r.apu){if("string"!=typeof r.apu)throw new JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');o=decode(r.apu)}if(void 0!==r.apv){if("string"!=typeof r.apv)throw new JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');s=decode(r.apv)}const a=await deriveKey(n,t,"ECDH-ES"===e?r.enc:e,"ECDH-ES"===e?bitLength(r.enc):parseInt(e.slice(-5,-2),10),o,s);if("ECDH-ES"===e)return a;if(void 0===i)throw new JWEInvalid("JWE Encrypted Key missing");return unwrap$1(e.slice(-6),a,i)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===i)throw new JWEInvalid("JWE Encrypted Key missing");return decrypt$2(e,t,i);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===i)throw new JWEInvalid("JWE Encrypted Key missing");if("number"!=typeof r.p2c)throw new JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');const o=(null==n?void 0:n.maxPBES2Count)||1e4;if(r.p2c>o)throw new JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof r.p2s)throw new JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');return decrypt$1(e,t,i,r.p2c,decode(r.p2s))}case"A128KW":case"A192KW":case"A256KW":if(void 0===i)throw new JWEInvalid("JWE Encrypted Key missing");return unwrap$1(e,t,i);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===i)throw new JWEInvalid("JWE Encrypted Key missing");if("string"!=typeof r.iv)throw new JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof r.tag)throw new JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');const n=decode(r.iv),o=decode(r.tag);return unwrap(e,t,i,n,o)}default:throw new JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}const validateAlgorithms=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some((e=>"string"!=typeof e))))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)};async function flattenedDecrypt(e,t,i){var r;if(!isObject(e))throw new JWEInvalid("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new JWEInvalid("JOSE Header missing");if("string"!=typeof e.iv)throw new JWEInvalid("JWE Initialization Vector missing or incorrect type");if("string"!=typeof e.ciphertext)throw new JWEInvalid("JWE Ciphertext missing or incorrect type");if("string"!=typeof e.tag)throw new JWEInvalid("JWE Authentication Tag missing or incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new JWEInvalid("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new JWEInvalid("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new JWEInvalid("JWE AAD incorrect type");if(void 0!==e.header&&!isObject(e.header))throw new JWEInvalid("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!isObject(e.unprotected))throw new JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type");let n;if(e.protected)try{const t=decode(e.protected);n=JSON.parse(decoder.decode(t))}catch(e){throw new JWEInvalid("JWE Protected Header is invalid")}if(!isDisjoint(n,e.header,e.unprotected))throw new JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const o=_extends({},n,e.header,e.unprotected);if(validateCrit(JWEInvalid,new Map,null==i?void 0:i.crit,n,o),void 0!==o.zip){if(!n||!n.zip)throw new JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if("DEF"!==o.zip)throw new JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}const{alg:s,enc:a}=o;if("string"!=typeof s||!s)throw new JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof a||!a)throw new JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");const l=i&&validateAlgorithms("keyManagementAlgorithms",i.keyManagementAlgorithms),c=i&&validateAlgorithms("contentEncryptionAlgorithms",i.contentEncryptionAlgorithms);if(l&&!l.has(s))throw new JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(c&&!c.has(a))throw new JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let d;void 0!==e.encrypted_key&&(d=decode(e.encrypted_key));let h,u=!1;"function"==typeof t&&(t=await t(n,e),u=!0);try{h=await decryptKeyManagement(s,t,d,o,i)}catch(e){if(e instanceof TypeError||e instanceof JWEInvalid||e instanceof JOSENotSupported)throw e;h=generateCek(a)}const p=decode(e.iv),m=decode(e.tag),f=encoder.encode(null!==(r=e.protected)&&void 0!==r?r:"");let g;g=void 0!==e.aad?concat(f,encoder.encode("."),encoder.encode(e.aad)):f;let b=await decrypt$3(a,h,decode(e.ciphertext),p,m,g);"DEF"===o.zip&&(b=await((null==i?void 0:i.inflateRaw)||inflate)(b));const v={plaintext:b};return void 0!==e.protected&&(v.protectedHeader=n),void 0!==e.aad&&(v.additionalAuthenticatedData=decode(e.aad)),void 0!==e.unprotected&&(v.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(v.unprotectedHeader=e.header),u?_extends({},v,{key:t}):v}async function compactDecrypt(e,t,i){if(e instanceof Uint8Array&&(e=decoder.decode(e)),"string"!=typeof e)throw new JWEInvalid("Compact JWE must be a string or Uint8Array");const{0:r,1:n,2:o,3:s,4:a,length:l}=e.split(".");if(5!==l)throw new JWEInvalid("Invalid Compact JWE");const c=await flattenedDecrypt({ciphertext:s,iv:o||void 0,protected:r||void 0,tag:a||void 0,encrypted_key:n||void 0},t,i),d={plaintext:c.plaintext,protectedHeader:c.protectedHeader};return"function"==typeof t?_extends({},d,{key:c.key}):d}var clipboard$1={"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!"},intro$1="Sie können in diesem Bereich Dateien per Drag & Drop oder per Direktauswahl hochladen. Die Dateien dürfen sich auch in ZIP-Archiven befinden.",de$1={clipboard:clipboard$1,"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:intro$1,"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"},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!"},intro="Upload multiple files with the file dialog or by dragging and dropping images onto the dashed region.",en$1={clipboard:clipboard,"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:intro,"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 createInstance$1(){return createInstance$2({en:en$1,de:de$1},"de","en")}var webExports={},web={get exports(){return webExports},set exports(e){webExports=e}};self,web.exports=(()=>{var e={5056:(e,t,i)=>{e.exports=i(203)},3198:(e,t,i)=>{var r=i(3401),n=i(5888),o=i(4963),s=i(8826),a=i(4466),l=i(8418),c=i(6130),d=i(1824),h=i(3570),u=i(4900);e.exports=function(e){return new Promise((function(t,i){var p,m=e.data,f=e.headers,g=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(m)&&delete f["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+w)}var _=a(e.baseURL,e.url);function C(){if(v){var r="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:e,request:v};n((function(e){t(e),b()}),(function(e){i(e),b()}),o),v=null}}if(v.open(e.method.toUpperCase(),s(_,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=C:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(C)},v.onabort=function(){v&&(i(d("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){i(d("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||h.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(d(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||c(_))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(f[e.xsrfHeaderName]=x)}"setRequestHeader"in v&&r.forEach(f,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete f[t]:v.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),g&&"json"!==g&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){v&&(i(!e||e&&e.type?new u("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null),v.send(m)}))}},203:(e,t,i)=>{var r=i(3401),n=i(9366),o=i(1112),s=i(3674),a=function e(t){var i=new o(t),a=n(o.prototype.request,i);return r.extend(a,o.prototype,i),r.extend(a,i),a.create=function(i){return e(s(t,i))},a}(i(3570));a.Axios=o,a.Cancel=i(4900),a.CancelToken=i(4078),a.isCancel=i(1907),a.VERSION=i(8963).version,a.all=function(e){return Promise.all(e)},a.spread=i(7998),a.isAxiosError=i(1720),e.exports=a,e.exports.default=a},4900:e=>{function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4078:(e,t,i)=>{var r=i(4900);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,r=i._listeners.length;for(t=0;t<r;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){i.subscribe(e),t=e})).then(e);return r.cancel=function(){i.unsubscribe(t)},r},e((function(e){i.reason||(i.reason=new r(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},1907:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},1112:(e,t,i)=>{var r=i(3401),n=i(8826),o=i(9655),s=i(4412),a=i(3674),l=i(3465),c=l.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,i.unshift(t.fulfilled,t.rejected))}));var n,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var d=[s,void 0];for(Array.prototype.unshift.apply(d,i),d=d.concat(o),n=Promise.resolve(e);d.length;)n=n.then(d.shift(),d.shift());return n}for(var h=e;i.length;){var u=i.shift(),p=i.shift();try{h=u(h)}catch(e){p(e);break}}try{n=s(h)}catch(e){return Promise.reject(e)}for(;o.length;)n=n.then(o.shift(),o.shift());return n},d.prototype.getUri=function(e){return e=a(this.defaults,e),n(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.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}))}})),r.forEach(["post","put","patch"],(function(e){d.prototype[e]=function(t,i,r){return this.request(a(r||{},{method:e,url:t,data:i}))}})),e.exports=d},9655:(e,t,i)=>{var r=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){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=n},4466:(e,t,i)=>{var r=i(4206),n=i(7955);e.exports=function(e,t){return e&&!r(t)?n(e,t):t}},1824:(e,t,i)=>{var r=i(834);e.exports=function(e,t,i,n,o){var s=new Error(e);return r(s,t,i,n,o)}},4412:(e,t,i)=>{var r=i(3401),n=i(8092),o=i(1907),s=i(3570),a=i(4900);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=n.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.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 o(t)||(l(e),t&&t.response&&(t.response.data=n.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},834:e=>{e.exports=function(e,t,i,r,n){return e.config=t,i&&(e.code=i),e.request=r,e.response=n,e.isAxiosError=!0,e.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}},e}},3674:(e,t,i)=>{var r=i(3401);e.exports=function(e,t){t=t||{};var i={};function n(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(i){return r.isUndefined(t[i])?r.isUndefined(e[i])?void 0:n(void 0,e[i]):n(e[i],t[i])}function s(e){if(!r.isUndefined(t[e]))return n(void 0,t[e])}function a(i){return r.isUndefined(t[i])?r.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 c={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,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,n=t(e);r.isUndefined(n)&&t!==l||(i[e]=n)})),i}},5888:(e,t,i)=>{var r=i(1824);e.exports=function(e,t,i){var n=i.config.validateStatus;i.status&&n&&!n(i.status)?t(r("Request failed with status code "+i.status,i.config,null,i.request,i)):e(i)}},8092:(e,t,i)=>{var r=i(3401),n=i(3570);e.exports=function(e,t,i){var o=this||n;return r.forEach(i,(function(i){e=i.call(o,e,t)})),e}},3570:(e,t,i)=>{var r=i(3401),n=i(5854),o=i(834),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=i(3198)),l),transformRequest:[function(e,t){return n(t,"Accept"),n(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e,t,i){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,i=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,s=!i&&"json"===this.responseType;if(s||n&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(s)})),e.exports=c},8963:e=>{e.exports={version:"0.24.0"}},9366:e=>{e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),r=0;r<i.length;r++)i[r]=arguments[r];return e.apply(t,i)}}},8826:(e,t,i)=>{var r=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 o;if(i)o=i(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7955:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4963:(e,t,i)=>{var r=i(3401);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,i,n,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),r.isString(n)&&a.push("path="+n),r.isString(o)&&a.push("domain="+o),!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=>{function t(e){return(t="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})(e)}e.exports=function(e){return"object"===t(e)&&!0===e.isAxiosError}},6130:(e,t,i)=>{var r=i(3401);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function n(e){var r=e;return t&&(i.setAttribute("href",r),r=i.href),i.setAttribute("href",r),{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=r.isString(t)?n(t):t;return i.protocol===e.protocol&&i.host===e.host}}():function(){return!0}},5854:(e,t,i)=>{var r=i(3401);e.exports=function(e,t){r.forEach(e,(function(i,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=i,delete e[r])}))}},8418:(e,t,i)=>{var r=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,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),i=r.trim(e.substr(o+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}},7998:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},3465:(e,t,i)=>{function r(e){return(r="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})(e)}var n=i(8963).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(i){return r(i)===e||"a"+(t<1?"n ":" ")+e}}));var s={};o.transitional=function(e,t,i){function r(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,n,o){if(!1===e)throw new Error(r(n," has been removed"+(t?" in "+t:"")));return t&&!s[n]&&(s[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,n,o)}},e.exports={assertOptions:function(e,t,i){if("object"!==r(e))throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var s=n[o],a=t[s];if(a){var l=e[s],c=void 0===l||a(l,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==i)throw Error("Unknown option "+s)}},validators:o}},3401:(e,t,i)=>{function r(e){return(r="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})(e)}var n=i(9366),o=Object.prototype.toString;function s(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function l(e){return null!==e&&"object"===r(e)}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){return"[object Function]"===o.call(e)}function h(e,t){if(null!=e)if("object"!==r(e)&&(e=[e]),s(e))for(var i=0,n=e.length;i<n;i++)t.call(null,e[i],i,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:s,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:d,isStream:function(e){return l(e)&&d(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:h,merge:function e(){var t={};function i(i,r){c(t[r])&&c(i)?t[r]=e(t[r],i):c(i)?t[r]=e({},i):s(i)?t[r]=i.slice():t[r]=i}for(var r=0,n=arguments.length;r<n;r++)h(arguments[r],i);return t},extend:function(e,t,i){return h(t,(function(t,r){e[r]=i&&"function"==typeof t?n(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}}},9584:e=>{function t(e,t,n){e instanceof RegExp&&(e=i(e,n)),t instanceof RegExp&&(t=i(t,n));var o=r(e,t,n);return o&&{start:o[0],end:o[1],pre:n.slice(0,o[0]),body:n.slice(o[0]+e.length,o[1]),post:n.slice(o[1]+t.length)}}function i(e,t){var i=t.match(e);return i?i[0]:null}function r(e,t,i){var r,n,o,s,a,l=i.indexOf(e),c=i.indexOf(t,l+1),d=l;if(l>=0&&c>0){for(r=[],o=i.length;d>=0&&!a;)d==l?(r.push(d),l=i.indexOf(e,d+1)):1==r.length?a=[r.pop(),c]:((n=r.pop())<o&&(o=n,s=c),c=i.indexOf(t,d+1)),d=l<c&&l>=0?l:c;r.length&&(a=[o,s])}return a}e.exports=t,t.range=r},9146:function(e,t,i){var r;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})(e)}e=i.nmd(e),function(o){var s="object"==n(t)&&t,a="object"==n(e)&&e&&e.exports==s&&e,l="object"==(void 0===commonjsGlobal?"undefined":n(commonjsGlobal))&&commonjsGlobal;l.global!==l&&l.window!==l||(o=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,r,n,o=e.length%3,s="",a=-1,l=e.length-o;++a<l;)t=e.charCodeAt(a)<<16,i=e.charCodeAt(++a)<<8,r=e.charCodeAt(++a),s+=h.charAt((n=t+i+r)>>18&63)+h.charAt(n>>12&63)+h.charAt(n>>6&63)+h.charAt(63&n);return 2==o?(t=e.charCodeAt(a)<<8,i=e.charCodeAt(++a),s+=h.charAt((n=t+i)>>10)+h.charAt(n>>4&63)+h.charAt(n<<2&63)+"="):1==o&&(n=e.charCodeAt(a),s+=h.charAt(n>>2)+h.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))&&d("Invalid character: the string to be decoded is not correctly encoded.");for(var i,r,n=0,o="",s=-1;++s<t;)r=h.indexOf(e.charAt(s)),i=n%4?64*i+r:r,n++%4&&(o+=String.fromCharCode(255&i>>(-2*n&6)));return o},version:"1.0.0"};if("object"==n(i.amdO)&&i.amdO)void 0===(r=function(){return p}.call(t,i,t,e))||(e.exports=r);else if(s&&!s.nodeType)if(a)a.exports=p;else for(var m in p)p.hasOwnProperty(m)&&(s[m]=p[m]);else o.base64=p}(this)},7562:(e,t,i)=>{var r=i(8824),n=i(9584);e.exports=function(e){return e?("{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2)),b(function(e){return e.split("\\\\").join(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(l).split("\\.").join(c)}(e),!0).map(h)):[]};var o="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",l="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function d(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function h(e){return e.split(o).join("\\").split(s).join("{").split(a).join("}").split(l).join(",").split(c).join(".")}function u(e){if(!e)return[""];var t=[],i=n("{","}",e);if(!i)return e.split(",");var r=i.pre,o=i.body,s=i.post,a=r.split(",");a[a.length-1]+="{"+o+"}";var l=u(s);return s.length&&(a[a.length-1]+=l.shift(),a.push.apply(a,l)),t.push.apply(t,a),t}function p(e){return"{"+e+"}"}function m(e){return/^-?0\d/.test(e)}function f(e,t){return e<=t}function g(e,t){return e>=t}function b(e,t){var i=[],o=n("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var s,l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),h=l||c,v=o.body.indexOf(",")>=0;if(!h&&!v)return o.post.match(/,.*\}/)?b(e=o.pre+"{"+o.body+a+o.post):[e];if(h)s=o.body.split(/\.\./);else if(1===(s=u(o.body)).length&&1===(s=b(s[0],!1).map(p)).length)return(_=o.post.length?b(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var y,w=o.pre,_=o.post.length?b(o.post,!1):[""];if(h){var C=d(s[0]),x=d(s[1]),E=Math.max(s[0].length,s[1].length),S=3==s.length?Math.abs(d(s[2])):1,k=f;x<C&&(S*=-1,k=g);var A=s.some(m);y=[];for(var T=C;k(T,x);T+=S){var R;if(c)"\\"===(R=String.fromCharCode(T))&&(R="");else if(R=String(T),A){var P=E-R.length;if(P>0){var M=new Array(P+1).join("0");R=T<0?"-"+M+R.slice(1):M+R}}y.push(R)}}else y=r(s,(function(e){return b(e,!1)}));for(var F=0;F<y.length;F++)for(var D=0;D<_.length;D++){var O=w+y[F]+_[D];(!t||h||O)&&i.push(O)}return i}},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},8824:e=>{e.exports=function(e,i){for(var r=[],n=0;n<e.length;n++){var o=i(e[n],n);t(o)?r.push.apply(r,o):r.push(o)}return r};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},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,r=0;i<e.length;i++,r+=8)t[r>>>5]|=e[i]<<24-r%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=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?i.push(t.charAt(n>>>6*(3-o)&63)):i.push("=");return i.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&i.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return i}},e.exports=i},7412:(e,t,i)=>{function r(e){return(r="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})(e)}var n=i(6410).buildOptions,o={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,o,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=c,this.replaceCDATAarr=d,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=h),this.buildTextValNode=p,this.buildObjectNode=h}function l(e,t,i){var r=this.j2x(e,i+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextNode(r.val,t,r.attrStr,i):this.buildObjNode(r.val,t,r.attrStr,i)}function c(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 d(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 h(e,t,i,r){return i&&-1===e.indexOf("<")?this.indentate(r)+"<"+t+i+">"+e+"</"+t+this.tagEndChar:this.indentate(r)+"<"+t+i+this.tagEndChar+e+this.indentate(r)+"</"+t+this.tagEndChar}function u(e,t,i,r){return""!==e?this.buildObjectNode(e,t,i,r):this.indentate(r)+"<"+t+i+"/"+this.tagEndChar}function p(e,t,i,r){return this.inden