From 5cd2c8461d8550ab727a3544dae1778f785e43c1 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Mon, 23 Jan 2023 03:21:41 +0000 Subject: [PATCH 01/23] =?UTF-8?q?Fix(l10n):=20=F0=9F=94=A0=20Update=20tran?= =?UTF-8?q?slations=20from=20Transifex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nextcloud bot --- l10n/de_DE.js | 8 ++++---- l10n/de_DE.json | 8 ++++---- l10n/th.js | 2 +- l10n/th.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/l10n/de_DE.js b/l10n/de_DE.js index 1c32929..2b6303c 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -13,10 +13,10 @@ OC.L10N.register( "The file is locked." : "Die Datei ist gesperrt.", "You can not write to a folder" : "Sie können nicht in einen Ordner schreiben", "The file you are working on was updated in the meantime." : "Die Datei die Sie bearbeiten wurde zwischenzeitig aktualisiert.", - "Could not write to file." : "Konnte Datei nicht schreiben.", - "Insufficient permissions" : "Nicht ausreichende Berechtigungen", + "Could not write to file." : "In die Datei konnte nicht geschrieben werden.", + "Insufficient permissions" : "Unzureichende Berechtigungen", "File content not supplied" : "Dateiinhalt nicht angegeben", - "File etag not supplied" : "Datei-Etage nicht angegeben", + "File etag not supplied" : "Datei-Etag nicht angegeben", "You can not write to this path" : "Sie können in diesen Pfad nicht schreiben", "Incorrect parameters" : "Falsche Parameter", "The required folder was not found" : "Der erforderliche Ordner wurde nicht gefunden", @@ -35,7 +35,7 @@ OC.L10N.register( "Error: Creating a new file failed." : "Fehler: Erstellen einer neuen Datei fehlgeschlagen.", "Edit in Draw.io" : "In Draw.io bearbeiten", "Saving..." : "Speichere…", - "Settings have been successfully saved" : "Einstellungen wurde gespeichert", + "Settings have been successfully saved" : "Einstellungen wurden gespeichert", "Error when trying to connect" : "Fehler beim Verbindungsversuch", "Auto" : "Automatisch", "Draw.io URL" : "Draw.io URL", diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 9a37144..3a76187 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -11,10 +11,10 @@ "The file is locked." : "Die Datei ist gesperrt.", "You can not write to a folder" : "Sie können nicht in einen Ordner schreiben", "The file you are working on was updated in the meantime." : "Die Datei die Sie bearbeiten wurde zwischenzeitig aktualisiert.", - "Could not write to file." : "Konnte Datei nicht schreiben.", - "Insufficient permissions" : "Nicht ausreichende Berechtigungen", + "Could not write to file." : "In die Datei konnte nicht geschrieben werden.", + "Insufficient permissions" : "Unzureichende Berechtigungen", "File content not supplied" : "Dateiinhalt nicht angegeben", - "File etag not supplied" : "Datei-Etage nicht angegeben", + "File etag not supplied" : "Datei-Etag nicht angegeben", "You can not write to this path" : "Sie können in diesen Pfad nicht schreiben", "Incorrect parameters" : "Falsche Parameter", "The required folder was not found" : "Der erforderliche Ordner wurde nicht gefunden", @@ -33,7 +33,7 @@ "Error: Creating a new file failed." : "Fehler: Erstellen einer neuen Datei fehlgeschlagen.", "Edit in Draw.io" : "In Draw.io bearbeiten", "Saving..." : "Speichere…", - "Settings have been successfully saved" : "Einstellungen wurde gespeichert", + "Settings have been successfully saved" : "Einstellungen wurden gespeichert", "Error when trying to connect" : "Fehler beim Verbindungsversuch", "Auto" : "Automatisch", "Draw.io URL" : "Draw.io URL", diff --git a/l10n/th.js b/l10n/th.js index bc7b84e..86d616d 100644 --- a/l10n/th.js +++ b/l10n/th.js @@ -4,7 +4,7 @@ OC.L10N.register( "An internal server error occurred." : "มีข้อผิดพลาดเกิดขึ้นภายในเซิร์ฟเวอร์", "This file is too big to be opened. Please download the file instead." : "เปิดไฟล์นี้ไม่ได้ เพราะมีขนาดใหญ่เกินไป กรุณาดาวน์โหลดไฟล์แทน", "Cannot read the file." : "ไม่สามารถอ่านไฟล์", - "The file is locked." : "ไฟล์ถูกล็อค", + "The file is locked." : "ไฟล์ถูกล็อก", "Insufficient permissions" : "สิทธิ์ไม่เพียงพอ", "Saving..." : "กำลังบันทึกข้อมูล...", "Dark" : "เข้ม", diff --git a/l10n/th.json b/l10n/th.json index 9282020..924ee8f 100644 --- a/l10n/th.json +++ b/l10n/th.json @@ -2,7 +2,7 @@ "An internal server error occurred." : "มีข้อผิดพลาดเกิดขึ้นภายในเซิร์ฟเวอร์", "This file is too big to be opened. Please download the file instead." : "เปิดไฟล์นี้ไม่ได้ เพราะมีขนาดใหญ่เกินไป กรุณาดาวน์โหลดไฟล์แทน", "Cannot read the file." : "ไม่สามารถอ่านไฟล์", - "The file is locked." : "ไฟล์ถูกล็อค", + "The file is locked." : "ไฟล์ถูกล็อก", "Insufficient permissions" : "สิทธิ์ไม่เพียงพอ", "Saving..." : "กำลังบันทึกข้อมูล...", "Dark" : "เข้ม", From 607aa3d6a60b0c416938ddc4ee8eb6670dad76cf Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Tue, 24 Jan 2023 03:19:36 +0000 Subject: [PATCH 02/23] =?UTF-8?q?Fix(l10n):=20=F0=9F=94=A0=20Update=20tran?= =?UTF-8?q?slations=20from=20Transifex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nextcloud bot --- l10n/eu.js | 1 + l10n/eu.json | 1 + l10n/sv.js | 40 ++++++++++++++++++++++++++++++++++++++++ l10n/sv.json | 40 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+) diff --git a/l10n/eu.js b/l10n/eu.js index 0451776..92e01bc 100644 --- a/l10n/eu.js +++ b/l10n/eu.js @@ -29,6 +29,7 @@ OC.L10N.register( "No" : "Ez", "Language" : "Hizkuntza", "Enable libraries?" : "Gaitu liburutegiak?", + "Enable diagram previews?" : "Gaitu diagramen aurreikuspenak?", "Save" : "Gorde" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/eu.json b/l10n/eu.json index ca204ef..d13d06e 100644 --- a/l10n/eu.json +++ b/l10n/eu.json @@ -27,6 +27,7 @@ "No" : "Ez", "Language" : "Hizkuntza", "Enable libraries?" : "Gaitu liburutegiak?", + "Enable diagram previews?" : "Gaitu diagramen aurreikuspenak?", "Save" : "Gorde" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/sv.js b/l10n/sv.js index b69bb87..e14fe94 100644 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -1,21 +1,61 @@ OC.L10N.register( "drawio", { + "Versions plugin is not enabled" : "Versions-plugin är inte aktiverat", "You can not open a folder" : "Du kan inte öppna en mapp", + "Invalid fileId/revId supplied." : "Ogiltigt filId/revId har angetts.", "An internal server error occurred." : "Ett internt serverfel uppstod.", + "Invalid fileId supplied." : "Ogiltigt filId har angetts.", "This file is too big to be opened. Please download the file instead." : "Denna fil är för stor för att öppnas. Vänligen hämta filen istället.", "Cannot read the file." : "Kan inte läsa av fil.", + "Invalid fileId/shareToken supplied." : "Ogiltigt filId/delnings-Token har angetts.", "File not found." : "Filen hittades ej.", "The file is locked." : "Denna filen är låst.", "You can not write to a folder" : "Du kan inte skriva till en mapp", + "The file you are working on was updated in the meantime." : "Filen du arbetar med har uppdaterats under tiden.", "Could not write to file." : "Kunde inte skriva till fil.", "Insufficient permissions" : "Otillräcklig behörighet.", + "File content not supplied" : "Filinnehåll tillhandahålls inte", + "File etag not supplied" : "Filens etag tillhandahålls inte", + "You can not write to this path" : "Du kan inte skriva till denna sökväg", + "Incorrect parameters" : "Felaktiga parametrar", + "The required folder was not found" : "Den nödvändiga mappen hittades inte", + "You don't have enough permission to create file" : "Du har inte tillräcklig behörighet för att skapa en fil", + "Can't create file" : "Kan inte skapa filen", + "Draw.io app not configured! Please contact admin." : "Draw.io-appen är inte konfigurerad! Vänligen kontakta administratören.", + "Draw.io" : "Draw.io", + "Draw.io integration app" : "Draw.io integrationsapp", + "Integrates draw.io diagrams editor with Nextcloud" : "Integrerar Draw.io diagramredigerare med Nextcloud", + "FileId is empty" : "Fil-ID är tomt", + "Loading, please wait." : "Laddar, vänta.", + "Error loading the file" : "Det gick inte att ladda filen", + "New draw.io Diagram" : "Nytt Draw.io diagram", + "New draw.io Whiteboard" : "Ny Draw.io whiteboard", + "Open in Draw.io" : "Öppna i Draw.io", + "Error: Creating a new file failed." : "Fel: Det gick inte att skapa en ny fil.", + "Edit in Draw.io" : "Redigera i Draw.io", "Saving..." : "Sparar...", + "Settings have been successfully saved" : "Inställningarna har sparats", + "Error when trying to connect" : "Fel vid försök att ansluta", "Auto" : "Auto", + "Draw.io URL" : "Draw.io URL", + "Note: To enable realtime collaboration, leave blank or enter (https://embed.diagrams.net)" : "Obs! För att aktivera realtidssamarbete, lämna tomt eller ange (https://embed.diagrams.net)", + "Theme:" : "Tema:", + "Classic" : "Klassisk", + "Modern" : "Modern", + "Minimal" : "Minimal", + "Atlas" : "Atlas", "Dark" : "Mörkt", "Yes" : "Ja", "No" : "Nej", "Language" : "Språk", + "Activate offline mode in Draw.io?" : "Aktivera offlineläge i Draw.io?", + "When the \"offline mode\" is active, this disables all remote operations and features to protect the users privacy. Draw.io will then also only be in English, even if you set a different language manually." : "När \"offlineläget\" är aktivt inaktiverar detta alla fjärroperationer och funktioner för att skydda användarnas integritet. Draw.io kommer då också bara att finnas på engelska, även om du ställer in ett annat språk manuellt.", + "Activate autosave?" : "Aktivera autospara?", + "Note: To enable realtime collaboration, autosave must be active." : "Obs: För att möjliggöra samarbete i realtid måste autospara vara aktivt.", + "Enable libraries?" : "Aktivera bibliotek?", + "Enable diagram previews?" : "Aktivera förhandsgranskningar av diagram?", + "Note: Disable previews to save storage space used to store diagram preview images" : "Obs! Inaktivera förhandsgranskningar för att spara lagringsutrymme som används för att lagra diagramförhandsvisningsbilder", "Save" : "Spara" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/sv.json b/l10n/sv.json index 61c350a..0ceb39c 100644 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -1,19 +1,59 @@ { "translations": { + "Versions plugin is not enabled" : "Versions-plugin är inte aktiverat", "You can not open a folder" : "Du kan inte öppna en mapp", + "Invalid fileId/revId supplied." : "Ogiltigt filId/revId har angetts.", "An internal server error occurred." : "Ett internt serverfel uppstod.", + "Invalid fileId supplied." : "Ogiltigt filId har angetts.", "This file is too big to be opened. Please download the file instead." : "Denna fil är för stor för att öppnas. Vänligen hämta filen istället.", "Cannot read the file." : "Kan inte läsa av fil.", + "Invalid fileId/shareToken supplied." : "Ogiltigt filId/delnings-Token har angetts.", "File not found." : "Filen hittades ej.", "The file is locked." : "Denna filen är låst.", "You can not write to a folder" : "Du kan inte skriva till en mapp", + "The file you are working on was updated in the meantime." : "Filen du arbetar med har uppdaterats under tiden.", "Could not write to file." : "Kunde inte skriva till fil.", "Insufficient permissions" : "Otillräcklig behörighet.", + "File content not supplied" : "Filinnehåll tillhandahålls inte", + "File etag not supplied" : "Filens etag tillhandahålls inte", + "You can not write to this path" : "Du kan inte skriva till denna sökväg", + "Incorrect parameters" : "Felaktiga parametrar", + "The required folder was not found" : "Den nödvändiga mappen hittades inte", + "You don't have enough permission to create file" : "Du har inte tillräcklig behörighet för att skapa en fil", + "Can't create file" : "Kan inte skapa filen", + "Draw.io app not configured! Please contact admin." : "Draw.io-appen är inte konfigurerad! Vänligen kontakta administratören.", + "Draw.io" : "Draw.io", + "Draw.io integration app" : "Draw.io integrationsapp", + "Integrates draw.io diagrams editor with Nextcloud" : "Integrerar Draw.io diagramredigerare med Nextcloud", + "FileId is empty" : "Fil-ID är tomt", + "Loading, please wait." : "Laddar, vänta.", + "Error loading the file" : "Det gick inte att ladda filen", + "New draw.io Diagram" : "Nytt Draw.io diagram", + "New draw.io Whiteboard" : "Ny Draw.io whiteboard", + "Open in Draw.io" : "Öppna i Draw.io", + "Error: Creating a new file failed." : "Fel: Det gick inte att skapa en ny fil.", + "Edit in Draw.io" : "Redigera i Draw.io", "Saving..." : "Sparar...", + "Settings have been successfully saved" : "Inställningarna har sparats", + "Error when trying to connect" : "Fel vid försök att ansluta", "Auto" : "Auto", + "Draw.io URL" : "Draw.io URL", + "Note: To enable realtime collaboration, leave blank or enter (https://embed.diagrams.net)" : "Obs! För att aktivera realtidssamarbete, lämna tomt eller ange (https://embed.diagrams.net)", + "Theme:" : "Tema:", + "Classic" : "Klassisk", + "Modern" : "Modern", + "Minimal" : "Minimal", + "Atlas" : "Atlas", "Dark" : "Mörkt", "Yes" : "Ja", "No" : "Nej", "Language" : "Språk", + "Activate offline mode in Draw.io?" : "Aktivera offlineläge i Draw.io?", + "When the \"offline mode\" is active, this disables all remote operations and features to protect the users privacy. Draw.io will then also only be in English, even if you set a different language manually." : "När \"offlineläget\" är aktivt inaktiverar detta alla fjärroperationer och funktioner för att skydda användarnas integritet. Draw.io kommer då också bara att finnas på engelska, även om du ställer in ett annat språk manuellt.", + "Activate autosave?" : "Aktivera autospara?", + "Note: To enable realtime collaboration, autosave must be active." : "Obs: För att möjliggöra samarbete i realtid måste autospara vara aktivt.", + "Enable libraries?" : "Aktivera bibliotek?", + "Enable diagram previews?" : "Aktivera förhandsgranskningar av diagram?", + "Note: Disable previews to save storage space used to store diagram preview images" : "Obs! Inaktivera förhandsgranskningar för att spara lagringsutrymme som används för att lagra diagramförhandsvisningsbilder", "Save" : "Spara" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file From 45a26c503d4380e62af73541cda80aaf9061527e Mon Sep 17 00:00:00 2001 From: Mohamed Mohamedin Date: Tue, 24 Jan 2023 09:07:12 -0500 Subject: [PATCH 03/23] Minor bug fixes --- README.md | 4 ++-- css/editor.css | 9 ++------- js/editor.js | 2 +- package-lock.json | 17 ----------------- src/editor.js | 6 +++--- 5 files changed, 8 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 48edc8e..05d162b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Once installed, you will see an option to create a Draw.io diagram/whiteboard fr ## Changelog ## -[Changelog](https://github.com/jgraph/drawio-nextcloud/blob/release/drawio/CHANGELOG.md) +[Changelog](https://github.com/jgraph/drawio-nextcloud/blob/release/CHANGELOG.md) ## Installation ## 1. Copy Nextcloud draw.io integration app ("drawio" directory) to your Nextcloud server into the /apps/ directory @@ -41,7 +41,7 @@ Realtime collaboration is only possible with **Autosave enabled** and using the ## Known Issues ## - If you're experiencing problems while updating your Nextcloud intance, try to disable/delete Draw.io integration app (/apps/drawio/) and then install/copy it again after the NC update is completed. - Clear PHP cache after updating the app if you have undefined method/classes errors. -- Integrity check of Nextcloud core fails as we add our new MIME types and icons. This is expected and safe to ignore (issue #26)[https://github.com/jgraph/drawio-nextcloud/issues/26]. +- Integrity check of Nextcloud core fails as we add our new MIME types and icons. This is expected and safe to ignore ([issue #26](https://github.com/jgraph/drawio-nextcloud/issues/26)). ## Configuration ## Go to Admin page and change the settings you want: diff --git a/css/editor.css b/css/editor.css index ae76408..72dbd38 100644 --- a/css/editor.css +++ b/css/editor.css @@ -1,10 +1,5 @@ - -#app > iframe -{ - vertical-align: top; -} - -#iframeEditor.error +#app-content.error { color: red; + padding: 20px; } \ No newline at end of file diff --git a/js/editor.js b/js/editor.js index 7d2e89c..17ca10e 100644 --- a/js/editor.js +++ b/js/editor.js @@ -1,2 +1,2 @@ /*! For license information please see editor.js.LICENSE.txt */ -(()=>{var e={9944:(e,t,n)=>{"use strict";n(9070),t.Iu=function(e,t,n,r,a){return"undefined"==typeof OC?(console.warn("No OC found"),t):OC.L10N.translate(e,t,n,r,a)},n(4916),n(5306)},9753:(e,t,n)=>{"use strict";t.nu=void 0,n(5306);const r=(e,t,n)=>{const r=Object.assign({escape:!0},n||{});return"/"!==e.charAt(0)&&(e="/"+e),a=(a=t||{})||{},e.replace(/{([^{}]*)}/g,(function(e,t){var n=a[t];return r.escape?"string"==typeof n||"number"==typeof n?encodeURIComponent(n.toString()):encodeURIComponent(e):"string"==typeof n||"number"==typeof n?n.toString():e}));var a};t.nu=(e,t,n)=>{const o=Object.assign({noRewrite:!1},n||{});return!0!==OC.config.modRewriteWorking||o.noRewrite?a()+"/index.php"+r(e,t,n):a()+r(e,t,n)};const a=()=>OC.webroot},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),a=n(6026),o=n(4372),s=n(5327),l=n(4097),i=n(4109),u=n(7985),c=n(7874),p=n(2648),f=n(644),d=n(205);e.exports=function(e){return new Promise((function(t,n){var m,h=e.data,g=e.headers,v=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}r.isFormData(h)&&r.isStandardBrowserEnv()&&delete g["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var T=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(T+":"+b)}var w=l(e.baseURL,e.url);function E(){if(x){var r="getAllResponseHeaders"in x?i(x.getAllResponseHeaders()):null,o={data:v&&"text"!==v&&"json"!==v?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:r,config:e,request:x};a((function(e){t(e),y()}),(function(e){n(e),y()}),o),x=null}}if(x.open(e.method.toUpperCase(),s(w,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=E:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(E)},x.onabort=function(){x&&(n(new p("Request aborted",p.ECONNABORTED,e,x)),x=null)},x.onerror=function(){n(new p("Network Error",p.ERR_NETWORK,e,x,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new p(t,r.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,x)),x=null},r.isStandardBrowserEnv()){var L=(e.withCredentials||u(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;L&&(g[e.xsrfHeaderName]=L)}"setRequestHeader"in x&&r.forEach(g,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete g[t]:x.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),v&&"json"!==v&&(x.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(e){x&&(n(!e||e&&e.type?new f:e),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),h||(h=null);var C=d(w);C&&-1===["http","https","file"].indexOf(C)?n(new p("Unsupported protocol "+C+":",p.ERR_BAD_REQUEST,e)):x.send(h)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),a=n(1849),o=n(321),s=n(7185),l=function e(t){var n=new o(t),l=a(o.prototype.request,n);return r.extend(l,o.prototype,n),r.extend(l,n),l.create=function(n){return e(s(t,n))},l}(n(5546));l.Axios=o,l.CanceledError=n(644),l.CancelToken=n(4972),l.isCancel=n(6502),l.VERSION=n(7288).version,l.toFormData=n(7675),l.AxiosError=n(2648),l.Cancel=l.CanceledError,l.all=function(e){return Promise.all(e)},l.spread=n(8713),l.isAxiosError=n(6268),e.exports=l,e.exports.default=l},4972:(e,t,n)=>{"use strict";var r=n(644);function a(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t{"use strict";var r=n(2648);function a(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(4867).inherits(a,r,{__CANCEL__:!0}),e.exports=a},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),a=n(5327),o=n(782),s=n(3572),l=n(7185),i=n(4097),u=n(4875),c=u.validators;function p(e){this.defaults=e,this.interceptors={request:new o,response:new o}}p.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=l(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!a){var p=[s,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(i),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var f=t;r.length;){var d=r.shift(),m=r.shift();try{f=d(f)}catch(e){m(e);break}}try{o=s(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},p.prototype.getUri=function(e){e=l(this.defaults,e);var t=i(e.baseURL,e.url);return a(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(l(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}p.prototype[e]=t(),p.prototype[e+"Form"]=t(!0)})),e.exports=p},2648:(e,t,n)=>{"use strict";var r=n(4867);function a(e,t,n,r,a){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}r.inherits(a,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 o=a.prototype,s={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){s[e]={value:e}})),Object.defineProperties(a,s),Object.defineProperty(o,"isAxiosError",{value:!0}),a.from=function(e,t,n,s,l,i){var u=Object.create(o);return r.toFlatObject(e,u,(function(e){return e!==Error.prototype})),a.call(u,e.message,t,n,s,l),u.name=e.name,i&&Object.assign(u,i),u},e.exports=a},782:(e,t,n)=>{"use strict";var r=n(4867);function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},4097:(e,t,n)=>{"use strict";var r=n(1793),a=n(7303);e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},3572:(e,t,n)=>{"use strict";var r=n(4867),a=n(8527),o=n(6502),s=n(5546),l=n(644);function i(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new l}e.exports=function(e){return i(e),e.headers=e.headers||{},e.data=a.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 i(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(i(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={};function a(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(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function l(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function i(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var u={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:i};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,a=t(e);r.isUndefined(a)&&t!==i||(n[e]=a)})),n}},6026:(e,t,n)=>{"use strict";var r=n(2648);e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867),a=n(5546);e.exports=function(e,t,n){var o=this||a;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},5546:(e,t,n)=>{"use strict";var r=n(4867),a=n(6016),o=n(2648),s=n(7874),l=n(7675),i={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=n(5448)),c),transformRequest:[function(e,t){if(a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=r.isObject(e),s=t&&t["Content-Type"];if((n=r.isFileList(e))||o&&"multipart/form-data"===s){var i=this.env&&this.env.FormData;return l(n?{"files[]":e}:e,i&&new i)}return o||"application/json"===s?(u(t,"application/json"),function(e,t,n){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||p.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o.from(e,o.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:n(1623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){p.headers[e]=r.merge(i)})),e.exports=p},7874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.27.2"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function a(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,n){if(!t)return e;var o;if(n)o=n(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(a(t)+"="+a(e))})))})),o=s.join("&")}if(o){var l=e.indexOf("#");-1!==l&&(e=e.slice(0,l)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,a,o,s){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(a)&&l.push("path="+a),r.isString(o)&&l.push("domain="+o),!0===s&&l.push("secure"),document.cookie=l.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(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},1623:e=>{e.exports=null},4109:(e,t,n)=>{"use strict";var r=n(4867),a=["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,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&a.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||new FormData;var n=[];function a(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,s){if(r.isPlainObject(o)||r.isArray(o)){if(-1!==n.indexOf(o))throw Error("Circular reference detected in "+s);n.push(o),r.forEach(o,(function(n,o){if(!r.isUndefined(n)){var l,i=s?s+"."+o:o;if(n&&!s&&"object"==typeof n)if(r.endsWith(o,"{}"))n=JSON.stringify(n);else if(r.endsWith(o,"[]")&&(l=r.toArray(n)))return void l.forEach((function(e){!r.isUndefined(e)&&t.append(i,a(e))}));e(n,i)}})),n.pop()}else t.append(s,a(o))}(e),t}},4875:(e,t,n)=>{"use strict";var r=n(7288).version,a=n(2648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,l){if(!1===e)throw new a(o(r," has been removed"+(t?" in "+t:"")),a.ERR_DEPRECATED);return t&&!s[r]&&(s[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,l)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new a("options must be an object",a.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var s=r[o],l=t[s];if(l){var i=e[s],u=void 0===i||l(i,s,e);if(!0!==u)throw new a("option "+s+" must be "+u,a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new a("Unknown option "+s,a.ERR_BAD_OPTION)}},validators:o}},4867:(e,t,n)=>{"use strict";var r,a=n(1849),o=Object.prototype.toString,s=(r=Object.create(null),function(e){var t=o.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return s(t)===e}}function i(e){return Array.isArray(e)}function u(e){return void 0===e}var c=l("ArrayBuffer");function p(e){return null!==e&&"object"==typeof e}function f(e){if("object"!==s(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var d=l("Date"),m=l("File"),h=l("Blob"),g=l("FileList");function v(e){return"[object Function]"===o.call(e)}var y=l("URLSearchParams");function x(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n0;)s[o=r[a]]||(t[o]=e[o],s[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:l,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:b,isFileList:g}},9662:(e,t,n)=>{var r=n(614),a=n(6330),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(a(e)+" is not a function")}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9670:(e,t,n)=>{var r=n(111),a=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(a(e)+" is not an object")}},1318:(e,t,n)=>{var r=n(5656),a=n(1400),o=n(6244),s=function(e){return function(t,n,s){var l,i=r(t),u=o(i),c=a(s,u);if(e&&n!=n){for(;u>c;)if((l=i[c++])!=l)return!0}else for(;u>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},4326:(e,t,n)=>{var r=n(1702),a=r({}.toString),o=r("".slice);e.exports=function(e){return o(a(e),8,-1)}},648:(e,t,n)=>{var r=n(1694),a=n(614),o=n(4326),s=n(5112)("toStringTag"),l=Object,i="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),s))?n:i?o(t):"Object"==(r=o(t))&&a(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),a=n(3887),o=n(1236),s=n(3070);e.exports=function(e,t,n){for(var l=a(t),i=s.f,u=o.f,c=0;c{var r=n(9781),a=n(3070),o=n(9114);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},8052:(e,t,n)=>{var r=n(614),a=n(3070),o=n(6339),s=n(3072);e.exports=function(e,t,n,l){l||(l={});var i=l.enumerable,u=void 0!==l.name?l.name:t;if(r(n)&&o(n,u,l),l.global)i?e[t]=n:s(t,n);else{try{l.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:a.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},3072:(e,t,n)=>{var r=n(7854),a=Object.defineProperty;e.exports=function(e,t){try{a(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},317:(e,t,n)=>{var r=n(7854),a=n(111),o=r.document,s=a(o)&&a(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,a,o=n(7854),s=n(8113),l=o.process,i=o.Deno,u=l&&l.versions||i&&i.version,c=u&&u.v8;c&&(a=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(a=+r[1]),e.exports=a},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),a=n(1236).f,o=n(8880),s=n(8052),l=n(3072),i=n(9920),u=n(4705);e.exports=function(e,t){var n,c,p,f,d,m=e.target,h=e.global,g=e.stat;if(n=h?r:g?r[m]||l(m,{}):(r[m]||{}).prototype)for(c in t){if(f=t[c],p=e.dontCallGetSet?(d=a(n,c))&&d.value:n[c],!u(h?c:m+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;i(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),s(n,c,f,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1470),a=n(8052),o=n(2261),s=n(7293),l=n(5112),i=n(8880),u=l("species"),c=RegExp.prototype;e.exports=function(e,t,n,p){var f=l(e),d=!s((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),m=d&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!d||!m||n){var h=r(/./[f]),g=t(f,""[e],(function(e,t,n,a,s){var l=r(e),i=t.exec;return i===o||i===c.exec?d&&!s?{done:!0,value:h(t,n,a)}:{done:!0,value:l(n,t,a)}:{done:!1}}));a(String.prototype,e,g[0]),a(c,f,g[1])}p&&i(c[f],"sham",!0)}},2104:(e,t,n)=>{var r=n(4374),a=Function.prototype,o=a.apply,s=a.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),a=Function.prototype.call;e.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},6530:(e,t,n)=>{var r=n(9781),a=n(2597),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,l=a(o,"name"),i=l&&"something"===function(){}.name,u=l&&(!r||r&&s(o,"name").configurable);e.exports={EXISTS:l,PROPER:i,CONFIGURABLE:u}},1470:(e,t,n)=>{var r=n(4326),a=n(1702);e.exports=function(e){if("Function"===r(e))return a(e)}},1702:(e,t,n)=>{var r=n(4374),a=Function.prototype,o=a.call,s=r&&a.bind.bind(o,o);e.exports=r?s:function(e){return function(){return o.apply(e,arguments)}}},5005:(e,t,n)=>{var r=n(7854),a=n(614),o=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},8173:(e,t,n)=>{var r=n(9662),a=n(8554);e.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n)}},647:(e,t,n)=>{var r=n(1702),a=n(7908),o=Math.floor,s=r("".charAt),l=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,p,f){var d=n+e.length,m=r.length,h=c;return void 0!==p&&(p=a(p),h=u),l(f,h,(function(a,l){var u;switch(s(l,0)){case"$":return"$";case"&":return e;case"`":return i(t,0,n);case"'":return i(t,d);case"<":u=p[i(l,1,-1)];break;default:var c=+l;if(0===c)return a;if(c>m){var f=o(c/10);return 0===f?a:f<=m?void 0===r[f-1]?s(l,1):r[f-1]+s(l,1):a}u=r[c-1]}return void 0===u?"":u}))}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),a=n(7908),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(a(e),t)}},3501:e=>{e.exports={}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),a=n(7293),o=n(317);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(1702),a=n(7293),o=n(4326),s=Object,l=r("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?l(e,""):s(e)}:s},2788:(e,t,n)=>{var r=n(1702),a=n(614),o=n(5465),s=r(Function.toString);a(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},9909:(e,t,n)=>{var r,a,o,s=n(4811),l=n(7854),i=n(111),u=n(8880),c=n(2597),p=n(5465),f=n(6200),d=n(3501),m="Object already initialized",h=l.TypeError,g=l.WeakMap;if(s||p.state){var v=p.state||(p.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw h(m);return t.facade=e,v.set(e,t),t},a=function(e){return v.get(e)||{}},o=function(e){return v.has(e)}}else{var y=f("state");d[y]=!0,r=function(e,t){if(c(e,y))throw h(m);return t.facade=e,u(e,y,t),t},a=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!i(t)||(n=a(t)).type!==e)throw h("Incompatible receiver, "+e+" required");return n}}}},614:(e,t,n)=>{var r=n(4154),a=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===a}:function(e){return"function"==typeof e}},4705:(e,t,n)=>{var r=n(7293),a=n(614),o=/#|\.prototype\./,s=function(e,t){var n=i[l(e)];return n==c||n!=u&&(a(t)?r(t):!!t)},l=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},i=s.data={},u=s.NATIVE="N",c=s.POLYFILL="P";e.exports=s},8554:e=>{e.exports=function(e){return null==e}},111:(e,t,n)=>{var r=n(614),a=n(4154),o=a.all;e.exports=a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},2190:(e,t,n)=>{var r=n(5005),a=n(614),o=n(7976),s=n(3307),l=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return a(t)&&o(t.prototype,l(e))}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{var r=n(7293),a=n(614),o=n(2597),s=n(9781),l=n(6530).CONFIGURABLE,i=n(2788),u=n(9909),c=u.enforce,p=u.get,f=Object.defineProperty,d=s&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),m=String(String).split("String"),h=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),d&&n&&o(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return o(r,"source")||(r.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=h((function(){return a(this)&&p(this).source||i(this)}),"toString")},4758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},30:(e,t,n)=>{var r,a=n(9670),o=n(6048),s=n(748),l=n(3501),i=n(490),u=n(317),c=n(6200)("IE_PROTO"),p=function(){},f=function(e){return"